[INFO] fetching crate tower-surf 0.3.0... [INFO] building tower-surf-0.3.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate tower-surf 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate tower-surf 0.3.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tower-surf 0.3.0 [INFO] tweaked toml for crates.io crate tower-surf 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tower-surf 0.3.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tower-surf 0.3.0 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d28395509012110931cfdd3964085d6231b38ecdd8db61eb101d32ab8391d02 [INFO] running `Command { std: "docker" "start" "-a" "0d28395509012110931cfdd3964085d6231b38ecdd8db61eb101d32ab8391d02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d28395509012110931cfdd3964085d6231b38ecdd8db61eb101d32ab8391d02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d28395509012110931cfdd3964085d6231b38ecdd8db61eb101d32ab8391d02", kill_on_drop: false }` [INFO] [stdout] 0d28395509012110931cfdd3964085d6231b38ecdd8db61eb101d32ab8391d02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d42034441ef023a7937845f1b4ff29aad217113222aec71f86d69e0296cb0ed5 [INFO] running `Command { std: "docker" "start" "-a" "d42034441ef023a7937845f1b4ff29aad217113222aec71f86d69e0296cb0ed5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling secstr v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tower-cookies v0.10.0 [INFO] [stderr] Compiling tower-surf v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Guard` is never constructed [INFO] [stdout] --> src/guard.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Guard; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.43s [INFO] running `Command { std: "docker" "inspect" "d42034441ef023a7937845f1b4ff29aad217113222aec71f86d69e0296cb0ed5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d42034441ef023a7937845f1b4ff29aad217113222aec71f86d69e0296cb0ed5", kill_on_drop: false }` [INFO] [stdout] d42034441ef023a7937845f1b4ff29aad217113222aec71f86d69e0296cb0ed5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe3a490af9672e35dde459c4b30f826d19d9e74a4e2196ca5429b069e34c2b2b [INFO] running `Command { std: "docker" "start" "-a" "fe3a490af9672e35dde459c4b30f826d19d9e74a4e2196ca5429b069e34c2b2b", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling maud_macros v0.26.0 [INFO] [stderr] Compiling reserve-port v2.0.1 [INFO] [stderr] Compiling auto-future v1.0.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling rust-multipart-rfc7578_2 v0.6.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling tower-cookies v0.10.0 [INFO] [stderr] Compiling maud v0.26.0 [INFO] [stderr] Compiling tower-surf v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stdout] warning: struct `Guard` is never constructed [INFO] [stdout] --> src/guard.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Guard; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling axum-test v15.3.1 [INFO] [stdout] error[E0277]: the trait bound `fn(Token) -> impl Future {set_token}: Handler<_, _>` is not satisfied [INFO] [stdout] --> tests/integration.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | .route("/a", get(set_token)) [INFO] [stdout] | --- ^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Token) -> impl Future> {set_token}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `get` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/integration-9a7927723fbe4933.long-type-9839858342912627850.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Token) -> impl Future {set_token}: Handler<_, _>` is not satisfied [INFO] [stdout] --> tests/integration.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | .route("/a", get(set_token)) [INFO] [stdout] | --- ^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Token) -> impl Future> {set_token}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `get` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/integration-9a7927723fbe4933.long-type-9357722771824518827.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Token) -> impl Future {reset_token}: Handler<_, _>` is not satisfied [INFO] [stdout] --> tests/integration.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | .route("/b", get(reset_token)) [INFO] [stdout] | --- ^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Token) -> impl Future> {reset_token}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `get` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/integration-9a7927723fbe4933.long-type-13818290407020554738.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tower-surf` (test "integration") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `Guard` is never constructed [INFO] [stdout] --> src/guard.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Guard; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fe3a490af9672e35dde459c4b30f826d19d9e74a4e2196ca5429b069e34c2b2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe3a490af9672e35dde459c4b30f826d19d9e74a4e2196ca5429b069e34c2b2b", kill_on_drop: false }` [INFO] [stdout] fe3a490af9672e35dde459c4b30f826d19d9e74a4e2196ca5429b069e34c2b2b