[INFO] fetching crate axum_guard_logic 0.3.3... [INFO] checking axum_guard_logic-0.3.3 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate axum_guard_logic 0.3.3 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate axum_guard_logic 0.3.3 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate axum_guard_logic 0.3.3 [INFO] finished tweaking crates.io crate axum_guard_logic 0.3.3 [INFO] tweaked toml for crates.io crate axum_guard_logic 0.3.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 84 packages to latest compatible versions [INFO] [stderr] Adding axum v0.6.20 (available: v0.7.6) [INFO] [stderr] Adding axum-core v0.3.4 (available: v0.4.4) [INFO] [stderr] Adding axum-macros v0.3.8 (available: v0.4.2) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding http-range-header v0.3.1 (available: v0.4.1) [INFO] [stderr] Adding hyper v0.14.30 (available: v1.4.1) [INFO] [stderr] Adding matchit v0.7.3 (available: v0.8.4) [INFO] [stderr] Adding sync_wrapper v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.1) [INFO] [stderr] Adding tower-http v0.3.5 (available: v0.6.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33f8649f3a7978c719996d9ae0306705fba067558dd58d2460e87d55f27b8358 [INFO] running `Command { std: "docker" "start" "-a" "33f8649f3a7978c719996d9ae0306705fba067558dd58d2460e87d55f27b8358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33f8649f3a7978c719996d9ae0306705fba067558dd58d2460e87d55f27b8358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33f8649f3a7978c719996d9ae0306705fba067558dd58d2460e87d55f27b8358", kill_on_drop: false }` [INFO] [stdout] 33f8649f3a7978c719996d9ae0306705fba067558dd58d2460e87d55f27b8358 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56b59138f0a3dd5ef9128afa5f75f2606511840489cca3db3030afef7e430908 [INFO] running `Command { std: "docker" "start" "-a" "56b59138f0a3dd5ef9128afa5f75f2606511840489cca3db3030afef7e430908", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling axum-macros v0.3.8 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking tower-http v0.3.5 [INFO] [stderr] Checking axum_guard_logic v0.3.3 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lib.rs (7 fixes) [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/lib.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 124 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/lib.rs:220:30 [INFO] [stdout] | [INFO] [stdout] 220 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/lib.rs:275:30 [INFO] [stdout] | [INFO] [stdout] 275 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/lib.rs:324:30 [INFO] [stdout] | [INFO] [stdout] 324 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BoxBody` [INFO] [stdout] --> src/lib.rs:530:19 [INFO] [stdout] | [INFO] [stdout] 530 | .body(BoxBody::default()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `BoxBody` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 351 + use axum::body::BoxBody; [INFO] [stdout] | [INFO] [stdout] 351 + use axum_core::body::BoxBody; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BoxBody` [INFO] [stdout] --> src/lib.rs:550:19 [INFO] [stdout] | [INFO] [stdout] 550 | .body(BoxBody::default()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `BoxBody` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 351 + use axum::body::BoxBody; [INFO] [stdout] | [INFO] [stdout] 351 + use axum_core::body::BoxBody; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BoxBody` [INFO] [stdout] --> src/lib.rs:575:19 [INFO] [stdout] | [INFO] [stdout] 575 | .body(BoxBody::default()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `BoxBody` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 351 + use axum::body::BoxBody; [INFO] [stdout] | [INFO] [stdout] 351 + use axum_core::body::BoxBody; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BoxBody` [INFO] [stdout] --> src/lib.rs:600:19 [INFO] [stdout] | [INFO] [stdout] 600 | .body(BoxBody::default()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `BoxBody` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 351 + use axum::body::BoxBody; [INFO] [stdout] | [INFO] [stdout] 351 + use axum_core::body::BoxBody; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BoxBody` [INFO] [stdout] --> src/lib.rs:626:19 [INFO] [stdout] | [INFO] [stdout] 626 | .body(BoxBody::default()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `BoxBody` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 351 + use axum::body::BoxBody; [INFO] [stdout] | [INFO] [stdout] 351 + use axum_core::body::BoxBody; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BoxBody` [INFO] [stdout] --> src/lib.rs:658:19 [INFO] [stdout] | [INFO] [stdout] 658 | .body(BoxBody::default()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `BoxBody` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 351 + use axum::body::BoxBody; [INFO] [stdout] | [INFO] [stdout] 351 + use axum_core::body::BoxBody; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BoxBody` [INFO] [stdout] --> src/lib.rs:711:19 [INFO] [stdout] | [INFO] [stdout] 711 | .body(BoxBody::default()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `BoxBody` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 351 + use axum::body::BoxBody; [INFO] [stdout] | [INFO] [stdout] 351 + use axum_core::body::BoxBody; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HandleErrorLayer` and `HandleError` [INFO] [stdout] --> src/lib.rs:353:32 [INFO] [stdout] | [INFO] [stdout] 353 | use axum::error_handling::{HandleError, HandleErrorLayer}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::BoxError` [INFO] [stdout] --> src/lib.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | use axum::BoxError; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::extract::State` [INFO] [stdout] --> src/lib.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | use axum::extract::State; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ServiceBuilder` and `service_fn` [INFO] [stdout] --> src/lib.rs:363:17 [INFO] [stdout] | [INFO] [stdout] 363 | use tower::{service_fn, ServiceBuilder}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::handler::Handler` [INFO] [stdout] --> src/lib.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | use axum::handler::Handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/lib.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 124 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/lib.rs:220:30 [INFO] [stdout] | [INFO] [stdout] 220 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `axum_guard_logic` (lib test) due to 8 previous errors; 10 warnings emitted [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/lib.rs:275:30 [INFO] [stdout] | [INFO] [stdout] 275 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/lib.rs:324:30 [INFO] [stdout] | [INFO] [stdout] 324 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lib.rs:385:31 [INFO] [stdout] | [INFO] [stdout] 385 | .map_err(|err| (StatusCode::INTERNAL_SERVER_ERROR,"error".into()))? [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "56b59138f0a3dd5ef9128afa5f75f2606511840489cca3db3030afef7e430908", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56b59138f0a3dd5ef9128afa5f75f2606511840489cca3db3030afef7e430908", kill_on_drop: false }` [INFO] [stdout] 56b59138f0a3dd5ef9128afa5f75f2606511840489cca3db3030afef7e430908