[INFO] fetching crate axum-core 0.5.2... [INFO] testing axum-core-0.5.2 against try#981ca440e18f6cc4bc9026d4be8ddb1ca8378af7 for pr-145277 [INFO] extracting crate axum-core 0.5.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate axum-core 0.5.2 [INFO] finished tweaking crates.io crate axum-core 0.5.2 [INFO] tweaked toml for crates.io crate axum-core 0.5.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate axum-core 0.5.2 on toolchain 981ca440e18f6cc4bc9026d4be8ddb1ca8378af7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+981ca440e18f6cc4bc9026d4be8ddb1ca8378af7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate axum-core 0.5.2 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" "+981ca440e18f6cc4bc9026d4be8ddb1ca8378af7" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+981ca440e18f6cc4bc9026d4be8ddb1ca8378af7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c4fbd0c529d08ad83918d8fe9877c92035a37cee73b99d61dc69cd9abd78edf [INFO] running `Command { std: "docker" "start" "-a" "0c4fbd0c529d08ad83918d8fe9877c92035a37cee73b99d61dc69cd9abd78edf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c4fbd0c529d08ad83918d8fe9877c92035a37cee73b99d61dc69cd9abd78edf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c4fbd0c529d08ad83918d8fe9877c92035a37cee73b99d61dc69cd9abd78edf", kill_on_drop: false }` [INFO] [stdout] 0c4fbd0c529d08ad83918d8fe9877c92035a37cee73b99d61dc69cd9abd78edf [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+981ca440e18f6cc4bc9026d4be8ddb1ca8378af7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c35a71109736fb279acc35b1e0e7dbb56d39c70642bb3bf6ba1d5f89749706e [INFO] running `Command { std: "docker" "start" "-a" "4c35a71109736fb279acc35b1e0e7dbb56d39c70642bb3bf6ba1d5f89749706e", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling axum-core v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.84s [INFO] running `Command { std: "docker" "inspect" "4c35a71109736fb279acc35b1e0e7dbb56d39c70642bb3bf6ba1d5f89749706e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c35a71109736fb279acc35b1e0e7dbb56d39c70642bb3bf6ba1d5f89749706e", kill_on_drop: false }` [INFO] [stdout] 4c35a71109736fb279acc35b1e0e7dbb56d39c70642bb3bf6ba1d5f89749706e [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+981ca440e18f6cc4bc9026d4be8ddb1ca8378af7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9b8aacae2d73c367bc74049384610ccfc324e199af4d16fb535a2d5453648a1 [INFO] running `Command { std: "docker" "start" "-a" "d9b8aacae2d73c367bc74049384610ccfc324e199af4d16fb535a2d5453648a1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling axum-core v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] error: The #[tokio::test] macro requires rt or rt-multi-thread. [INFO] [stdout] --> src/ext_traits/request.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The #[tokio::test] macro requires rt or rt-multi-thread. [INFO] [stdout] --> src/ext_traits/request.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The #[tokio::test] macro requires rt or rt-multi-thread. [INFO] [stdout] --> src/ext_traits/request.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The #[tokio::test] macro requires rt or rt-multi-thread. [INFO] [stdout] --> src/ext_traits/request.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The #[tokio::test] macro requires rt or rt-multi-thread. [INFO] [stdout] --> src/ext_traits/request.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The #[tokio::test] macro requires rt or rt-multi-thread. [INFO] [stdout] --> src/ext_traits/request_parts.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The #[tokio::test] macro requires rt or rt-multi-thread. [INFO] [stdout] --> src/ext_traits/request_parts.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/extract/request_parts.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | use axum::{extract::Extension, routing::get, test_helpers::*, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum_macros` [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use axum_macros::__private_axum_test as test; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `axum_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_macros`, use `cargo add axum_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> src/extract/request_parts.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | use axum::{extract::Extension, routing::get, test_helpers::*, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/ext_traits/request.rs:339:44 [INFO] [stdout] | [INFO] [stdout] 339 | ext_traits::tests::{RequiresState, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/ext_traits/request_parts.rs:143:44 [INFO] [stdout] | [INFO] [stdout] 143 | ext_traits::tests::{RequiresState, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> src/ext_traits/request_parts.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | use http::{Method, Request}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestClient` [INFO] [stdout] --> src/extract/request_parts.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | let client = TestClient::new(Router::new().route("/", get(handler)).layer(Extension(Ext))); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-core` (lib test) due to 11 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d9b8aacae2d73c367bc74049384610ccfc324e199af4d16fb535a2d5453648a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9b8aacae2d73c367bc74049384610ccfc324e199af4d16fb535a2d5453648a1", kill_on_drop: false }` [INFO] [stdout] d9b8aacae2d73c367bc74049384610ccfc324e199af4d16fb535a2d5453648a1