Skip to content

build(deps): bump axum-macros from 7b04b17 to dd8d4a4#417

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/axum-macros-dd8d4a4
Closed

build(deps): bump axum-macros from 7b04b17 to dd8d4a4#417
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/axum-macros-dd8d4a4

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github May 19, 2025

Bumps axum-macros from 7b04b17 to dd8d4a4.

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [axum-macros](https://github.com/tokio-rs/axum) from `7b04b17` to `dd8d4a4`.
- [Release notes](https://github.com/tokio-rs/axum/releases)
- [Commits](tokio-rs/axum@7b04b17...dd8d4a4)

---
updated-dependencies:
- dependency-name: axum-macros
  dependency-version: dd8d4a47cb674f71d2163518a69568898f5e9077
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels May 19, 2025
@qodo-free-for-open-source-projects
Copy link
Copy Markdown

qodo-free-for-open-source-projects bot commented May 19, 2025

CI Feedback 🧐

(Feedback updated until commit d1d96e8)

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: Rust (windows-latest)

Failed stage: Compile [❌]

Failure summary:

The action failed due to a Rust compilation error in src\main.rs. The error occurs at line 367 where
the #[derive(Template)] macro is used. The specific error is:

  • Error E0061: "this function takes 1 argument but 2 arguments were supplied"
  • The function datetime defined at line 359 expects only one parameter (ts: &i64), but somewhere in
    the template it's being called with 2 arguments
  • The second unexpected argument is of type &dyn _::askama::Values

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Microsoft Windows Server 2022
    ...
    
    452:  �[1m�[32m  Downloaded�[0m overload v0.1.1
    453:  �[1m�[32m  Downloaded�[0m once_cell v1.21.3
    454:  �[1m�[32m  Downloaded�[0m mime_guess v2.0.5
    455:  �[1m�[32m  Downloaded�[0m matchit v0.8.4
    456:  �[1m�[32m  Downloaded�[0m lock_api v0.4.12
    457:  �[1m�[32m  Downloaded�[0m http-range-header v0.4.2
    458:  �[1m�[32m  Downloaded�[0m clap_derive v4.5.32
    459:  �[1m�[32m  Downloaded�[0m askama v0.14.0
    460:  �[1m�[32m  Downloaded�[0m unicase v2.8.1
    461:  �[1m�[32m  Downloaded�[0m tracing-log v0.2.0
    462:  �[1m�[32m  Downloaded�[0m tokio-macros v2.5.0
    463:  �[1m�[32m  Downloaded�[0m time-core v0.1.4
    464:  �[1m�[32m  Downloaded�[0m winapi v0.3.9
    465:  �[1m�[32m  Downloaded�[0m thread_local v1.1.8
    466:  �[1m�[32m  Downloaded�[0m slab v0.4.9
    467:  �[1m�[32m  Downloaded�[0m serde_path_to_error v0.1.17
    468:  �[1m�[32m  Downloaded�[0m scopeguard v1.2.0
    ...
    
    578:  �[1m�[32m   Compiling�[0m strsim v0.11.1
    579:  �[1m�[32m   Compiling�[0m tokio-util v0.7.15
    580:  �[1m�[32m   Compiling�[0m clap_lex v0.7.4
    581:  �[1m�[32m   Compiling�[0m h2 v0.4.9
    582:  �[1m�[32m   Compiling�[0m clap_builder v4.5.37
    583:  �[1m�[32m   Compiling�[0m askama_derive v0.14.0
    584:  �[1m�[32m   Compiling�[0m hyper v1.6.0
    585:  �[1m�[32m   Compiling�[0m tower v0.5.2
    586:  �[1m�[32m   Compiling�[0m hyper-util v0.1.11
    587:  �[1m�[32m   Compiling�[0m sharded-slab v0.1.7
    588:  �[1m�[32m   Compiling�[0m clap_derive v4.5.32
    589:  �[1m�[32m   Compiling�[0m deranged v0.4.0
    590:  �[1m�[32m   Compiling�[0m nu-ansi-term v0.46.0
    591:  �[1m�[32m   Compiling�[0m serde_urlencoded v0.7.1
    592:  �[1m�[32m   Compiling�[0m axum-core v0.5.2 (https://github.com/tokio-rs/axum.git?branch=main#dd8d4a47)
    593:  �[1m�[32m   Compiling�[0m serde_path_to_error v0.1.17
    594:  �[1m�[32m   Compiling�[0m tracing-log v0.2.0
    595:  �[1m�[32m   Compiling�[0m thread_local v1.1.8
    596:  �[1m�[32m   Compiling�[0m bitflags v2.9.0
    597:  �[1m�[32m   Compiling�[0m matchit v0.8.4
    598:  �[1m�[32m   Compiling�[0m http-range-header v0.4.2
    599:  �[1m�[32m   Compiling�[0m time-core v0.1.4
    600:  �[1m�[32m   Compiling�[0m num-conv v0.1.0
    601:  �[1m�[32m   Compiling�[0m tower-http v0.6.2
    602:  �[1m�[32m   Compiling�[0m axum v0.8.4 (https://github.com/tokio-rs/axum.git?branch=main#dd8d4a47)
    603:  �[1m�[32m   Compiling�[0m time v0.3.41
    604:  �[1m�[32m   Compiling�[0m clap v4.5.37
    605:  �[1m�[32m   Compiling�[0m tracing-subscriber v0.3.19
    606:  �[1m�[32m   Compiling�[0m askama v0.14.0
    607:  �[1m�[32m   Compiling�[0m axum-macros v0.5.0 (https://github.com/tokio-rs/axum.git?branch=main#dd8d4a47)
    608:  �[1m�[32m   Compiling�[0m base64 v0.22.1
    609:  �[1m�[32m   Compiling�[0m static-server v0.5.5 (D:\a\static-server\static-server)
    610:  �[0m�[1m�[38;5;9merror[E0061]�[0m�[0m�[1m�[38;5;15m: this function takes 1 argument but 2 arguments were supplied�[0m
    611:  �[0m   �[0m�[0m�[1m�[38;5;14m--> �[0m�[0msrc\main.rs:367:10�[0m
    612:  �[0m    �[0m�[0m�[1m�[38;5;14m|�[0m
    613:  �[0m�[1m�[38;5;14m367�[0m�[0m �[0m�[0m�[1m�[38;5;14m|�[0m�[0m �[0m�[0m#[derive(Template)]�[0m
    614:  �[0m    �[0m�[0m�[1m�[38;5;14m|�[0m�[0m          �[0m�[0m�[1m�[38;5;9m^^^^^^^^�[0m�[0m �[0m�[0m�[1m�[38;5;9munexpected argument #2 of type `&dyn _::askama::Values`�[0m
    615:  �[0m    �[0m�[0m�[1m�[38;5;14m|�[0m
    616:  �[0m�[1m�[38;5;10mnote�[0m�[0m: function defined here�[0m
    617:  �[0m   �[0m�[0m�[1m�[38;5;14m--> �[0m�[0msrc\main.rs:359:19�[0m
    618:  �[0m    �[0m�[0m�[1m�[38;5;14m|�[0m
    619:  �[0m�[1m�[38;5;14m359�[0m�[0m �[0m�[0m�[1m�[38;5;14m|�[0m�[0m �[0m�[0m    pub(crate) fn datetime(ts: &i64) -> ::askama::Result<String> {�[0m
    620:  �[0m    �[0m�[0m�[1m�[38;5;14m|�[0m�[0m                   �[0m�[0m�[1m�[38;5;10m^^^^^^^^�[0m
    621:  �[0m    �[0m�[0m�[1m�[38;5;14m= �[0m�[0m�[1m�[38;5;15mnote�[0m�[0m: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info)�[0m
    622:  �[0m�[1m�[38;5;15mFor more information about this error, try `rustc --explain E0061`.�[0m
    623:  �[1m�[31merror�[0m�[1m:�[0m could not compile `static-server` (bin "static-server" test) due to 1 previous error
    624:  ##[error]Process completed with exit code 1.
    625:  Post job cleanup.
    

    @dependabot @github
    Copy link
    Copy Markdown
    Contributor Author

    dependabot bot commented on behalf of github May 20, 2025

    Looks like axum-macros is up-to-date now, so this is no longer needed.

    @dependabot dependabot bot closed this May 20, 2025
    @dependabot dependabot bot deleted the dependabot/cargo/axum-macros-dd8d4a4 branch May 20, 2025 02:36
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    dependencies Pull requests that update a dependency file rust Pull requests that update rust code

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    0 participants