[INFO] cloning repository https://github.com/lily-mara/axum-err-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lily-mara/axum-err-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flily-mara%2Faxum-err-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flily-mara%2Faxum-err-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24ad21ad111576735492509f1f2d1b85148d5e47 [INFO] checking lily-mara/axum-err-test against try#863511eff87e66198b396935f3b5c8a543022f53 for pr-139493-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flily-mara%2Faxum-err-test" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lily-mara/axum-err-test [INFO] finished tweaking git repo https://github.com/lily-mara/axum-err-test [INFO] tweaked toml for git repo https://github.com/lily-mara/axum-err-test written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lily-mara/axum-err-test on toolchain 863511eff87e66198b396935f3b5c8a543022f53 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lily-mara/axum-err-test 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" "+863511eff87e66198b396935f3b5c8a543022f53" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking lily-mara/axum-err-test against try#863511eff87e66198b396935f3b5c8a543022f53 for pr-139493-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flily-mara%2Faxum-err-test" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lily-mara/axum-err-test [INFO] finished tweaking git repo https://github.com/lily-mara/axum-err-test [INFO] tweaked toml for git repo https://github.com/lily-mara/axum-err-test written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lily-mara/axum-err-test on toolchain 863511eff87e66198b396935f3b5c8a543022f53 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lily-mara/axum-err-test 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" "+863511eff87e66198b396935f3b5c8a543022f53" "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 axum v0.6.19 [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" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4aa5a9062de63de35045176b907814d0b0bf680ee1e5f7b6da8f77643b170888 [INFO] running `Command { std: "docker" "start" "-a" "4aa5a9062de63de35045176b907814d0b0bf680ee1e5f7b6da8f77643b170888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4aa5a9062de63de35045176b907814d0b0bf680ee1e5f7b6da8f77643b170888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aa5a9062de63de35045176b907814d0b0bf680ee1e5f7b6da8f77643b170888", kill_on_drop: false }` [INFO] [stdout] 4aa5a9062de63de35045176b907814d0b0bf680ee1e5f7b6da8f77643b170888 [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" "+863511eff87e66198b396935f3b5c8a543022f53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa85ed84fa4b6955c98ec1367c04dd57795036d29bdaa79000db796c35fcd54c [INFO] running `Command { std: "docker" "start" "-a" "aa85ed84fa4b6955c98ec1367c04dd57795036d29bdaa79000db796c35fcd54c", kill_on_drop: false }` [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling serde v1.0.174 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling axum v0.6.19 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking matchit v0.7.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Checking serde_json v1.0.103 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Checking pin-project v1.1.2 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking axum-err-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/into_response.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | / format!( [INFO] [stdout] 30 | | "state={} - Something went wrong: {}", [INFO] [stdout] 31 | | todo!("how do i access state??"), [INFO] [stdout] | | -------------------------------- any code following this expression is unreachable [INFO] [stdout] 32 | | self.0 [INFO] [stdout] 33 | | ), [INFO] [stdout] | |_____________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl Future> {handler}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> src/bin/layer.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | .route("/", get(handler)) // Does not compile because eyre::Report can't be used as return type [INFO] [stdout] | --- ^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn() -> impl Future> {handler}` [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, B>` [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.6.19/src/routing/method_routing.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | 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: 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 `HandleError, ..., _>: Service<...>` is not satisfied [INFO] [stdout] --> src/bin/layer.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | .layer(ServiceBuilder::new().layer(HandleErrorLayer::new(handle_error))); // Does not compile [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Service>` is not implemented for `HandleError, fn(State, ...) -> ... {handle_error}, _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Service`: [INFO] [stdout] HandleError [INFO] [stdout] HandleError [INFO] [stdout] HandleError [INFO] [stdout] HandleError [INFO] [stdout] HandleError [INFO] [stdout] HandleError [INFO] [stdout] HandleError [INFO] [stdout] HandleError [INFO] [stdout] and 9 others [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/bin/layer.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | .layer(ServiceBuilder::new().layer(HandleErrorLayer::new(handle_error))); // Does not compile [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Layer::Service` is `HandleError<_, fn(State, Box) -> impl Future {handle_error}, _>` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `ServiceBuilder` [INFO] [stdout] note: required by a bound in `Router::::layer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.19/src/routing/mod.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn layer(self, layer: L) -> Router [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 236 | L::Service: Service> + Clone + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Router::::layer` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/layer-3943f60451cc9363.long-type-15915410814440667278.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/into_response.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | / format!( [INFO] [stdout] 30 | | "state={} - Something went wrong: {}", [INFO] [stdout] 31 | | todo!("how do i access state??"), [INFO] [stdout] | | -------------------------------- any code following this expression is unreachable [INFO] [stdout] 32 | | self.0 [INFO] [stdout] 33 | | ), [INFO] [stdout] | |_____________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl Future> {handler}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> src/bin/layer.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | .route("/", get(handler)) // Does not compile because eyre::Report can't be used as return type [INFO] [stdout] | --- ^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn() -> impl Future> {handler}` [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, B>` [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.6.19/src/routing/method_routing.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | 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: 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 `HandleError, ..., _>: Service<...>` is not satisfied [INFO] [stdout] --> src/bin/layer.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | .layer(ServiceBuilder::new().layer(HandleErrorLayer::new(handle_error))); // Does not compile [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Service>` is not implemented for `HandleError, fn(State, ...) -> ... {handle_error}, _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Service`: [INFO] [stdout] HandleError [INFO] [stdout] HandleError [INFO] [stdout] HandleError [INFO] [stdout] HandleError [INFO] [stdout] HandleError [INFO] [stdout] HandleError [INFO] [stdout] HandleError [INFO] [stdout] HandleError [INFO] [stdout] and 9 others [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/bin/layer.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | .layer(ServiceBuilder::new().layer(HandleErrorLayer::new(handle_error))); // Does not compile [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Layer::Service` is `HandleError<_, fn(State, Box) -> impl Future {handle_error}, _>` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `ServiceBuilder` [INFO] [stdout] note: required by a bound in `Router::::layer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.19/src/routing/mod.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn layer(self, layer: L) -> Router [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 236 | L::Service: Service> + Clone + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Router::::layer` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/layer-fddd9e0b91ba2307.long-type-5142237798163385478.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-err-test` (bin "layer" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `axum-err-test` (bin "layer") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "aa85ed84fa4b6955c98ec1367c04dd57795036d29bdaa79000db796c35fcd54c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa85ed84fa4b6955c98ec1367c04dd57795036d29bdaa79000db796c35fcd54c", kill_on_drop: false }` [INFO] [stdout] aa85ed84fa4b6955c98ec1367c04dd57795036d29bdaa79000db796c35fcd54c