[INFO] fetching crate tower-surf 0.3.0... [INFO] checking tower-surf-0.3.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate tower-surf 0.3.0 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tower-surf 0.3.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa2a60d567d89cfe42947411c71737b69be769b010aa4ba9511f9a8b8da55d78 [INFO] running `Command { std: "docker" "start" "-a" "fa2a60d567d89cfe42947411c71737b69be769b010aa4ba9511f9a8b8da55d78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa2a60d567d89cfe42947411c71737b69be769b010aa4ba9511f9a8b8da55d78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa2a60d567d89cfe42947411c71737b69be769b010aa4ba9511f9a8b8da55d78", kill_on_drop: false }` [INFO] [stdout] fa2a60d567d89cfe42947411c71737b69be769b010aa4ba9511f9a8b8da55d78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1310cc461e6560e611b8cbcff6015f51bb16350b37d8f57f95b785c3c6e49af3 [INFO] running `Command { std: "docker" "start" "-a" "1310cc461e6560e611b8cbcff6015f51bb16350b37d8f57f95b785c3c6e49af3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking auto-future v1.0.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking secstr v0.5.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling maud_macros v0.26.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking reserve-port v2.0.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking rust-multipart-rfc7578_2 v0.6.1 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking tower-cookies v0.10.0 [INFO] [stderr] Checking maud v0.26.0 [INFO] [stderr] Checking 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking 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: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-9759c63ad9be0f12.long-type-4628824559785537399.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: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-9759c63ad9be0f12.long-type-2840631353899035564.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-9759c63ad9be0f12.long-type-290356408733411692.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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1310cc461e6560e611b8cbcff6015f51bb16350b37d8f57f95b785c3c6e49af3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1310cc461e6560e611b8cbcff6015f51bb16350b37d8f57f95b785c3c6e49af3", kill_on_drop: false }` [INFO] [stdout] 1310cc461e6560e611b8cbcff6015f51bb16350b37d8f57f95b785c3c6e49af3