[INFO] fetching crate axum-tasks 0.1.14... [INFO] testing axum-tasks-0.1.14 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate axum-tasks 0.1.14 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate axum-tasks 0.1.14 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate axum-tasks 0.1.14 [INFO] tweaked toml for crates.io crate axum-tasks 0.1.14 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate axum-tasks 0.1.14 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate axum-tasks 0.1.14 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82469b011439ef8e6c9cb67ad73fe117c83260b9e39e20dbbf6d60b79ef41c1b [INFO] running `Command { std: "docker" "start" "-a" "82469b011439ef8e6c9cb67ad73fe117c83260b9e39e20dbbf6d60b79ef41c1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82469b011439ef8e6c9cb67ad73fe117c83260b9e39e20dbbf6d60b79ef41c1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82469b011439ef8e6c9cb67ad73fe117c83260b9e39e20dbbf6d60b79ef41c1b", kill_on_drop: false }` [INFO] [stdout] 82469b011439ef8e6c9cb67ad73fe117c83260b9e39e20dbbf6d60b79ef41c1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fabfd8090f826cca910ea743df1b0261c45dfba9e5c8d95c6639690b2c074aa9 [INFO] running `Command { std: "docker" "start" "-a" "fabfd8090f826cca910ea743df1b0261c45dfba9e5c8d95c6639690b2c074aa9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling error-stack v0.5.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling inventory v0.3.20 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling axum-tasks-derive v0.1.11 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling axum-tasks v0.1.14 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.43s [INFO] running `Command { std: "docker" "inspect" "fabfd8090f826cca910ea743df1b0261c45dfba9e5c8d95c6639690b2c074aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fabfd8090f826cca910ea743df1b0261c45dfba9e5c8d95c6639690b2c074aa9", kill_on_drop: false }` [INFO] [stdout] fabfd8090f826cca910ea743df1b0261c45dfba9e5c8d95c6639690b2c074aa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b300738ce1c1b13fa17031a13b7543ffad3f57ba6b6547a1dc401672ae3b7c6a [INFO] running `Command { std: "docker" "start" "-a" "b300738ce1c1b13fa17031a13b7543ffad3f57ba6b6547a1dc401672ae3b7c6a", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling axum-tasks v0.1.14 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.17s [INFO] running `Command { std: "docker" "inspect" "b300738ce1c1b13fa17031a13b7543ffad3f57ba6b6547a1dc401672ae3b7c6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b300738ce1c1b13fa17031a13b7543ffad3f57ba6b6547a1dc401672ae3b7c6a", kill_on_drop: false }` [INFO] [stdout] b300738ce1c1b13fa17031a13b7543ffad3f57ba6b6547a1dc401672ae3b7c6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 23cb2a1fd7712fca02b69b18e22fa4e64b5410af8c06d0e0db234fa60e843939 [INFO] running `Command { std: "docker" "start" "-a" "23cb2a1fd7712fca02b69b18e22fa4e64b5410af8c06d0e0db234fa60e843939", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/axum_tasks-4a0bf703cf488532) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests axum_tasks [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 7) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 7) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axum_background_tasks` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use axum_background_tasks::{AppTasks, Task, TaskResult, admin_routes, HasTasks}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `axum_background_tasks` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_background_tasks`, use `cargo add axum_background_tasks` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> src/lib.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[task(description = "Processing data", retry = true)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `task` is an attribute that can be used by the derive macro `Task`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 14 + #[derive(Task)] [INFO] [stdout] 15 | struct DataProcessing { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `process_handler` in this scope [INFO] [stdout] --> src/lib.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | .route("/process", post(process_handler)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AppState: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | let app = Router::new() [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Clone` is not implemented for `AppState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Router::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.4/src/routing/mod.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | S: Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^ required by this bound in `Router::::new` [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn new() -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] help: consider annotating `AppState` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(Clone)] [INFO] [stdout] 27 | struct AppState { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AppState: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | .route("/process", post(process_handler)) [INFO] [stdout] | ^^^^^ the trait `Clone` is not implemented for `AppState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Router::::route` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.4/src/routing/mod.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | S: Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^ required by this bound in `Router::::route` [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn route(self, path: &str, method_router: MethodRouter) -> Self { [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] help: consider annotating `AppState` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(Clone)] [INFO] [stdout] 27 | struct AppState { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AppState: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | .route("/process", post(process_handler)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `AppState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.4/src/routing/method_routing.rs:445:1 [INFO] [stdout] | [INFO] [stdout] 445 | top_level_handler_fn!(post, POST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `post` [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `AppState` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(Clone)] [INFO] [stdout] 27 | struct AppState { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AppState: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | .nest("/admin", admin_routes::()) [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `AppState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Router::::nest` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.4/src/routing/mod.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | S: Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^ required by this bound in `Router::::nest` [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn nest(self, path: &str, router: Router) -> Self { [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] help: consider annotating `AppState` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(Clone)] [INFO] [stdout] 27 | struct AppState { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AppState: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | .with_state(app_state); [INFO] [stdout] | ^^^^^^^^^^ the trait `Clone` is not implemented for `AppState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Router::::with_state` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.8.4/src/routing/mod.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | S: Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^ required by this bound in `Router::::with_state` [INFO] [stdout] ... [INFO] [stdout] 407 | pub fn with_state(self, state: S) -> Router { [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] help: consider annotating `AppState` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(Clone)] [INFO] [stdout] 27 | struct AppState { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.40s; merged doctests compilation took 0.20s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "23cb2a1fd7712fca02b69b18e22fa4e64b5410af8c06d0e0db234fa60e843939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23cb2a1fd7712fca02b69b18e22fa4e64b5410af8c06d0e0db234fa60e843939", kill_on_drop: false }` [INFO] [stdout] 23cb2a1fd7712fca02b69b18e22fa4e64b5410af8c06d0e0db234fa60e843939