Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps axum-macros from dd8d4a4 to 769e406.

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 `dd8d4a4` to `769e406`.
- [Release notes](https://github.com/tokio-rs/axum/releases)
- [Commits](tokio-rs/axum@dd8d4a4...769e406)

---
updated-dependencies:
- dependency-name: axum-macros
  dependency-version: 769e4066b1f4da5662641d4097cb9f53f5b4406e
  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 26, 2025
@qodo-free-for-open-source-projects
Copy link

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

CI Feedback 🧐

(Feedback updated until commit 57240b1)

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 #[derive(Template)] macro that's causing an error. The specific error
is E0061: this function takes 1 argument but 2 arguments were supplied.

The function datetime(ts: &i64) defined at line 359 is being called with 2 arguments somewhere in
the template, but it only accepts 1 argument. The second argument is of type &dyn _::askama::Values
which is unexpected.

Relevant error logs:
1:  ##[group]Operating System
2:  Microsoft Windows Server 2022
...

433:  �[1m�[32m  Downloaded�[0m winnow v0.7.7
434:  �[1m�[32m  Downloaded�[0m indexmap v2.9.0
435:  �[1m�[32m  Downloaded�[0m bitflags v2.9.0
436:  �[1m�[32m  Downloaded�[0m base64 v0.22.1
437:  �[1m�[32m  Downloaded�[0m askama_parser v0.14.0
438:  �[1m�[32m  Downloaded�[0m askama v0.14.0
439:  �[1m�[32m  Downloaded�[0m serde_derive v1.0.219
440:  �[1m�[32m  Downloaded�[0m ryu v1.0.20
441:  �[1m�[32m  Downloaded�[0m proc-macro2 v1.0.95
442:  �[1m�[32m  Downloaded�[0m parking_lot_core v0.9.10
443:  �[1m�[32m  Downloaded�[0m log v0.4.27
444:  �[1m�[32m  Downloaded�[0m clap_derive v4.5.32
445:  �[1m�[32m  Downloaded�[0m tracing-attributes v0.1.28
446:  �[1m�[32m  Downloaded�[0m time-macros v0.2.22
447:  �[1m�[32m  Downloaded�[0m serde_urlencoded v0.7.1
448:  �[1m�[32m  Downloaded�[0m serde_path_to_error v0.1.17
449:  �[1m�[32m  Downloaded�[0m pin-project-lite v0.2.16
...

582:  �[1m�[32m   Compiling�[0m h2 v0.4.9
583:  �[1m�[32m   Compiling�[0m overload v0.1.1
584:  �[1m�[32m   Compiling�[0m rustc-hash v2.1.1
585:  �[1m�[32m   Compiling�[0m lazy_static v1.5.0
586:  �[1m�[32m   Compiling�[0m sharded-slab v0.1.7
587:  �[1m�[32m   Compiling�[0m nu-ansi-term v0.46.0
588:  �[1m�[32m   Compiling�[0m clap_builder v4.5.38
589:  �[1m�[32m   Compiling�[0m askama_derive v0.14.0
590:  �[1m�[32m   Compiling�[0m hyper v1.6.0
591:  �[1m�[32m   Compiling�[0m clap_derive v4.5.32
592:  �[1m�[32m   Compiling�[0m hyper-util v0.1.11
593:  �[1m�[32m   Compiling�[0m tower v0.5.2
594:  �[1m�[32m   Compiling�[0m deranged v0.4.0
595:  �[1m�[32m   Compiling�[0m serde_urlencoded v0.7.1
596:  �[1m�[32m   Compiling�[0m axum-core v0.5.2 (https://github.com/tokio-rs/axum.git?branch=main#769e4066)
597:  �[1m�[32m   Compiling�[0m serde_path_to_error v0.1.17
598:  �[1m�[32m   Compiling�[0m tracing-log v0.2.0
599:  �[1m�[32m   Compiling�[0m thread_local v1.1.8
600:  �[1m�[32m   Compiling�[0m bitflags v2.9.0
601:  �[1m�[32m   Compiling�[0m matchit v0.8.4
602:  �[1m�[32m   Compiling�[0m http-range-header v0.4.2
603:  �[1m�[32m   Compiling�[0m num-conv v0.1.0
604:  �[1m�[32m   Compiling�[0m time-core v0.1.4
605:  �[1m�[32m   Compiling�[0m axum v0.8.4 (https://github.com/tokio-rs/axum.git?branch=main#769e4066)
606:  �[1m�[32m   Compiling�[0m time v0.3.41
607:  �[1m�[32m   Compiling�[0m tower-http v0.6.4
608:  �[1m�[32m   Compiling�[0m tracing-subscriber v0.3.19
609:  �[1m�[32m   Compiling�[0m clap v4.5.38
610:  �[1m�[32m   Compiling�[0m askama v0.14.0
611:  �[1m�[32m   Compiling�[0m axum-macros v0.5.0 (https://github.com/tokio-rs/axum.git?branch=main#769e4066)
612:  �[1m�[32m   Compiling�[0m base64 v0.22.1
613:  �[1m�[32m   Compiling�[0m static-server v0.5.5 (D:\a\static-server\static-server)
614:  �[0m�[1m�[38;5;9merror[E0061]�[0m�[0m�[1m�[38;5;15m: this function takes 1 argument but 2 arguments were supplied�[0m
615:  �[0m   �[0m�[0m�[1m�[38;5;14m--> �[0m�[0msrc\main.rs:367:10�[0m
616:  �[0m    �[0m�[0m�[1m�[38;5;14m|�[0m
617:  �[0m�[1m�[38;5;14m367�[0m�[0m �[0m�[0m�[1m�[38;5;14m|�[0m�[0m �[0m�[0m#[derive(Template)]�[0m
618:  �[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
619:  �[0m    �[0m�[0m�[1m�[38;5;14m|�[0m
620:  �[0m�[1m�[38;5;10mnote�[0m�[0m: function defined here�[0m
621:  �[0m   �[0m�[0m�[1m�[38;5;14m--> �[0m�[0msrc\main.rs:359:19�[0m
622:  �[0m    �[0m�[0m�[1m�[38;5;14m|�[0m
623:  �[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
624:  �[0m    �[0m�[0m�[1m�[38;5;14m|�[0m�[0m                   �[0m�[0m�[1m�[38;5;10m^^^^^^^^�[0m
625:  �[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
626:  �[0m�[1m�[38;5;15mFor more information about this error, try `rustc --explain E0061`.�[0m
627:  �[1m�[31merror�[0m�[1m:�[0m could not compile `static-server` (bin "static-server" test) due to 1 previous error
628:  ##[error]Process completed with exit code 1.
629:  Post job cleanup.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 2, 2025

Superseded by #423.

@dependabot dependabot bot closed this Jun 2, 2025
@dependabot dependabot bot deleted the dependabot/cargo/axum-macros-769e406 branch June 2, 2025 21:26
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.

1 participant