[INFO] cloning repository https://github.com/quiet-camp/tower-surf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quiet-camp/tower-surf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquiet-camp%2Ftower-surf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquiet-camp%2Ftower-surf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 260afe99f7f45fa464cc4d65cadb0df0f3a40e8a [INFO] checking quiet-camp/tower-surf against try#0f31acebf540c89e4a4d5d114959fe91973419cb for pr-147017 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquiet-camp%2Ftower-surf" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/quiet-camp/tower-surf [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/quiet-camp/tower-surf [INFO] tweaked toml for git repo https://github.com/quiet-camp/tower-surf written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/quiet-camp/tower-surf on toolchain 0f31acebf540c89e4a4d5d114959fe91973419cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/quiet-camp/tower-surf 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" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded secstr v0.5.1 [INFO] [stderr] Downloaded axum-test v15.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e385228f4d646f2e493232c1150145836e97d58120e390eb590e2868c20067b [INFO] running `Command { std: "docker" "start" "-a" "7e385228f4d646f2e493232c1150145836e97d58120e390eb590e2868c20067b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e385228f4d646f2e493232c1150145836e97d58120e390eb590e2868c20067b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e385228f4d646f2e493232c1150145836e97d58120e390eb590e2868c20067b", kill_on_drop: false }` [INFO] [stdout] 7e385228f4d646f2e493232c1150145836e97d58120e390eb590e2868c20067b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c22aa6001044d75be054a18492b3941a5f0253fd7268a21975f15d5cad38c1e1 [INFO] running `Command { std: "docker" "start" "-a" "c22aa6001044d75be054a18492b3941a5f0253fd7268a21975f15d5cad38c1e1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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 http v0.2.12 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking auto-future v1.0.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [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_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [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 pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling maud_macros v0.26.0 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking reserve-port v2.0.1 [INFO] [stderr] Checking tracing v0.1.40 [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 axum-core v0.4.3 [INFO] [stderr] Checking rust-multipart-rfc7578_2 v0.6.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.4.1 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper-util v0.1.7 [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-9557773739194832184.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-12370840999367569303.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-15850947719292991381.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] 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] [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] running `Command { std: "docker" "inspect" "c22aa6001044d75be054a18492b3941a5f0253fd7268a21975f15d5cad38c1e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c22aa6001044d75be054a18492b3941a5f0253fd7268a21975f15d5cad38c1e1", kill_on_drop: false }` [INFO] [stdout] c22aa6001044d75be054a18492b3941a5f0253fd7268a21975f15d5cad38c1e1