Skip to content

build(deps): bump tokio from 1.45.0 to 1.45.1#419

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/tokio-1.45.1
Closed

build(deps): bump tokio from 1.45.0 to 1.45.1#419
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/tokio-1.45.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps tokio from 1.45.0 to 1.45.1.

Release notes

Sourced from tokio's releases.

Tokio v1.45.1

1.45.1 (May 24th, 2025)

This fixes a regression on the wasm32-unknown-unknown target, where code that previously did not panic due to calls to Instant::now() started failing. This is due to the stabilization of the first time-based metric.

Fixed

  • Disable time-based metrics on wasm32-unknown-unknown (#7322)

#7322: tokio-rs/tokio#7322

Commits

Dependabot compatibility score

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 [tokio](https://github.com/tokio-rs/tokio) from 1.45.0 to 1.45.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-1.45.0...tokio-1.45.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-version: 1.45.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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
Copy Markdown

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

CI Feedback 🧐

(Feedback updated until commit f3741a4)

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 related to a
function call mismatch in the Template derive macro:

  • Error E0061: "this function takes 1 argument but 2 arguments were supplied"
  • The error occurs in src\main.rs:367:10 at the #[derive(Template)] macro
  • The function datetime defined at src\main.rs:359:19 expects only one argument (ts: &i64), but is
    being called with 2 arguments somewhere in the template
  • The second unexpected argument is of type &dyn _::askama::Values

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

    @dependabot @github
    Copy link
    Copy Markdown
    Contributor Author

    dependabot bot commented on behalf of github Jul 8, 2025

    Superseded by #433.

    @dependabot dependabot bot closed this Jul 8, 2025
    @dependabot dependabot bot deleted the dependabot/cargo/tokio-1.45.1 branch July 8, 2025 00:35
    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