Skip to content

build(deps): bump axum-macros from 7b04b17 to 0821a9d#409

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

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

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps axum-macros from 7b04b17 to 0821a9d.

Commits
  • 0821a9d axum: Allow body types other than axum::body::Body in serve (#3205)
  • cd1453f Fix compilation (#3338)
  • 6ad76dd Make SSE less dependent on tokio (#3154)
  • bf7c5fc axum/routing: Merge fallbacks with the rest of the router
  • 64563fb Update axum-extra/CHANGELOG.md
  • a9f3172 axum-extra: Remove unused feature
  • ef3a7cc Bring back the breaking changes warning, once again
  • 8762520 Release axum 0.8.4
  • ac75e2f Split up serve functions for Serve and WithGracefulShutdown again
  • c1162d3 Extract handle_connection out of do_serve
  • Additional commits viewable in compare view

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 `0821a9d`.
- [Release notes](https://github.com/tokio-rs/axum/releases)
- [Commits](tokio-rs/axum@7b04b17...0821a9d)

---
updated-dependencies:
- dependency-name: axum-macros
  dependency-version: '0821a9dc09c4f887e49dfcc6f1b6da2e0ddfb9e1'
  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 5, 2025
@qodo-free-for-open-source-projects
Copy link
Copy Markdown

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

CI Feedback 🧐

(Feedback updated until commit 92974b5)

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 during compilation of the Rust project static-server. The error is in src\main.rs
at line 367, where there's a function call issue with the #[derive(Template)] macro. 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 argument (ts: &i64), but it's being
    called with 2 arguments somewhere in the Template derive macro
  • The second unexpected argument is of type &dyn _::askama::Values

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Microsoft Windows Server 2022
    ...
    
    435:  �[1m�[32m  Downloaded�[0m nu-ansi-term v0.46.0
    436:  �[1m�[32m  Downloaded�[0m mime v0.3.17
    437:  �[1m�[32m  Downloaded�[0m lazy_static v1.5.0
    438:  �[1m�[32m  Downloaded�[0m itoa v1.0.15
    439:  �[1m�[32m  Downloaded�[0m is_terminal_polyfill v1.70.1
    440:  �[1m�[32m  Downloaded�[0m httpdate v1.0.3
    441:  �[1m�[32m  Downloaded�[0m http-range-header v0.4.2
    442:  �[1m�[32m  Downloaded�[0m askama_derive v0.14.0
    443:  �[1m�[32m  Downloaded�[0m tower-service v0.3.3
    444:  �[1m�[32m  Downloaded�[0m tower-layer v0.3.3
    445:  �[1m�[32m  Downloaded�[0m winapi v0.3.9
    446:  �[1m�[32m  Downloaded�[0m thread_local v1.1.8
    447:  �[1m�[32m  Downloaded�[0m sync_wrapper v1.0.2
    448:  �[1m�[32m  Downloaded�[0m slab v0.4.9
    449:  �[1m�[32m  Downloaded�[0m serde_urlencoded v0.7.1
    450:  �[1m�[32m  Downloaded�[0m serde_path_to_error v0.1.17
    451:  �[1m�[32m  Downloaded�[0m rustversion v1.0.20
    ...
    
    558:  �[1m�[32m   Compiling�[0m rustc-hash v2.1.1
    559:  �[1m�[32m   Compiling�[0m sharded-slab v0.1.7
    560:  �[1m�[32m   Compiling�[0m clap_derive v4.5.32
    561:  �[1m�[32m   Compiling�[0m clap_builder v4.5.37
    562:  �[1m�[32m   Compiling�[0m askama_parser v0.14.0
    563:  �[1m�[32m   Compiling�[0m tokio-util v0.7.15
    564:  �[1m�[32m   Compiling�[0m h2 v0.4.9
    565:  �[1m�[32m   Compiling�[0m askama_derive v0.14.0
    566:  �[1m�[32m   Compiling�[0m tower v0.5.2
    567:  �[1m�[32m   Compiling�[0m nu-ansi-term v0.46.0
    568:  �[1m�[32m   Compiling�[0m hyper v1.6.0
    569:  �[1m�[32m   Compiling�[0m deranged v0.4.0
    570:  �[1m�[32m   Compiling�[0m hyper-util v0.1.11
    571:  �[1m�[32m   Compiling�[0m serde_urlencoded v0.7.1
    572:  �[1m�[32m   Compiling�[0m axum-core v0.5.2 (https://github.com/tokio-rs/axum.git?branch=main#0821a9dc)
    573:  �[1m�[32m   Compiling�[0m serde_path_to_error v0.1.17
    574:  �[1m�[32m   Compiling�[0m tracing-log v0.2.0
    575:  �[1m�[32m   Compiling�[0m thread_local v1.1.8
    576:  �[1m�[32m   Compiling�[0m num-conv v0.1.0
    577:  �[1m�[32m   Compiling�[0m time-core v0.1.4
    578:  �[1m�[32m   Compiling�[0m matchit v0.8.4
    579:  �[1m�[32m   Compiling�[0m bitflags v2.9.0
    580:  �[1m�[32m   Compiling�[0m http-range-header v0.4.2
    581:  �[1m�[32m   Compiling�[0m tower-http v0.6.2
    582:  �[1m�[32m   Compiling�[0m axum v0.8.4 (https://github.com/tokio-rs/axum.git?branch=main#0821a9dc)
    583:  �[1m�[32m   Compiling�[0m time v0.3.41
    584:  �[1m�[32m   Compiling�[0m tracing-subscriber v0.3.19
    585:  �[1m�[32m   Compiling�[0m askama v0.14.0
    586:  �[1m�[32m   Compiling�[0m clap v4.5.37
    587:  �[1m�[32m   Compiling�[0m axum-macros v0.5.0 (https://github.com/tokio-rs/axum.git?branch=main#0821a9dc)
    588:  �[1m�[32m   Compiling�[0m base64 v0.22.1
    589:  �[1m�[32m   Compiling�[0m static-server v0.5.5 (D:\a\static-server\static-server)
    590:  �[0m�[1m�[38;5;9merror[E0061]�[0m�[0m�[1m�[38;5;15m: this function takes 1 argument but 2 arguments were supplied�[0m
    591:  �[0m   �[0m�[0m�[1m�[38;5;14m--> �[0m�[0msrc\main.rs:367:10�[0m
    592:  �[0m    �[0m�[0m�[1m�[38;5;14m|�[0m
    593:  �[0m�[1m�[38;5;14m367�[0m�[0m �[0m�[0m�[1m�[38;5;14m|�[0m�[0m �[0m�[0m#[derive(Template)]�[0m
    594:  �[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
    595:  �[0m    �[0m�[0m�[1m�[38;5;14m|�[0m
    596:  �[0m�[1m�[38;5;10mnote�[0m�[0m: function defined here�[0m
    597:  �[0m   �[0m�[0m�[1m�[38;5;14m--> �[0m�[0msrc\main.rs:359:19�[0m
    598:  �[0m    �[0m�[0m�[1m�[38;5;14m|�[0m
    599:  �[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
    600:  �[0m    �[0m�[0m�[1m�[38;5;14m|�[0m�[0m                   �[0m�[0m�[1m�[38;5;10m^^^^^^^^�[0m
    601:  �[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
    602:  �[0m�[1m�[38;5;15mFor more information about this error, try `rustc --explain E0061`.�[0m
    603:  �[1m�[31merror�[0m�[1m:�[0m could not compile `static-server` (bin "static-server" test) due to 1 previous error
    604:  ##[error]Process completed with exit code 1.
    605:  Post job cleanup.
    

    @dependabot @github
    Copy link
    Copy Markdown
    Contributor Author

    dependabot bot commented on behalf of github May 12, 2025

    Superseded by #412.

    @dependabot dependabot bot closed this May 12, 2025
    @dependabot dependabot bot deleted the dependabot/cargo/axum-macros-0821a9d branch May 12, 2025 21:14
    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