[INFO] fetching crate axum-core 0.5.2... [INFO] checking axum-core-0.5.2 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate axum-core 0.5.2 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate axum-core 0.5.2 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c894f1c305b83e2800603717394ec6e611ad11aefabcc195135c29c13a8f1a4 [INFO] running `Command { std: "docker" "start" "-a" "7c894f1c305b83e2800603717394ec6e611ad11aefabcc195135c29c13a8f1a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c894f1c305b83e2800603717394ec6e611ad11aefabcc195135c29c13a8f1a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c894f1c305b83e2800603717394ec6e611ad11aefabcc195135c29c13a8f1a4", kill_on_drop: false }` [INFO] [stdout] 7c894f1c305b83e2800603717394ec6e611ad11aefabcc195135c29c13a8f1a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 541229f2c5041b3112c2f1d695d08101241ab16a733c42b879b10d62f36bb60f [INFO] running `Command { std: "docker" "start" "-a" "541229f2c5041b3112c2f1d695d08101241ab16a733c42b879b10d62f36bb60f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking tower-http v0.6.2 [INFO] [stderr] Checking axum-core v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking hyper v1.5.2 [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" "541229f2c5041b3112c2f1d695d08101241ab16a733c42b879b10d62f36bb60f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "541229f2c5041b3112c2f1d695d08101241ab16a733c42b879b10d62f36bb60f", kill_on_drop: false }` [INFO] [stdout] 541229f2c5041b3112c2f1d695d08101241ab16a733c42b879b10d62f36bb60f