[INFO] fetching crate trout 0.4.0... [INFO] checking trout-0.4.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate trout 0.4.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate trout 0.4.0 [INFO] finished tweaking crates.io crate trout 0.4.0 [INFO] tweaked toml for crates.io crate trout 0.4.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate trout 0.4.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate trout 0.4.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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afc6c85f00b71f7d3e08b22087af713236dd23a823be3e03214b6b187e8c8ee8 [INFO] running `Command { std: "docker" "start" "-a" "afc6c85f00b71f7d3e08b22087af713236dd23a823be3e03214b6b187e8c8ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afc6c85f00b71f7d3e08b22087af713236dd23a823be3e03214b6b187e8c8ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afc6c85f00b71f7d3e08b22087af713236dd23a823be3e03214b6b187e8c8ee8", kill_on_drop: false }` [INFO] [stdout] afc6c85f00b71f7d3e08b22087af713236dd23a823be3e03214b6b187e8c8ee8 [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 298c1795e0f4b8358f8ac15dd8e8492da09cd7a0b302025d4f6427934919318d [INFO] running `Command { std: "docker" "start" "-a" "298c1795e0f4b8358f8ac15dd8e8492da09cd7a0b302025d4f6427934919318d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking trout v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn method<'a>(&'a self) -> &Self::Method; [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 30 | fn method<'a>(&'a self) -> &'a Self::Method; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn method<'a>(&'a self) -> &Self::Method; [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 30 | fn method<'a>(&'a self) -> &'a Self::Method; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/hello.rs:6:96 [INFO] [stdout] | [INFO] [stdout] 6 | trout::Node::new().with_handler_async(hyper::Method::GET, |(target,), _, _| async move { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 7 | | Ok::<_, std::convert::Infallible>(hyper::Response::new(hyper::Body::from(format!( [INFO] [stdout] 8 | | "Hello, {}!", [INFO] [stdout] 9 | | target [INFO] [stdout] 10 | | )))) [INFO] [stdout] 11 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/hello.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | / Ok::<_, std::convert::Infallible>(hyper::Response::new(hyper::Body::from(format!( [INFO] [stdout] 8 | | "Hello, {}!", [INFO] [stdout] 9 | | target [INFO] [stdout] 10 | | )))) [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/hello.rs:14:65 [INFO] [stdout] | [INFO] [stdout] 14 | .with_handler_async(hyper::Method::GET, |_, _, _| async { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 15 | | Ok(hyper::Response::new(hyper::Body::from("Hello, world!"))) [INFO] [stdout] 16 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/hello.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(hyper::Response::new(hyper::Body::from("Hello, world!"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/hello.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | async { [INFO] [stdout] | ___________________^ [INFO] [stdout] 28 | | Ok::<_, std::convert::Infallible>(hyper::service::service_fn(move |req| { [INFO] [stdout] 29 | | let root = root.clone(); [INFO] [stdout] 30 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 36 | | })) [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/hello.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | / Ok::<_, std::convert::Infallible>(hyper::service::service_fn(move |req| { [INFO] [stdout] 29 | | let root = root.clone(); [INFO] [stdout] 30 | | async move { [INFO] [stdout] 31 | | match root.route(req, ()) { [INFO] [stdout] ... | [INFO] [stdout] 36 | | })) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/hello.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | async move { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 31 | | match root.route(req, ()) { [INFO] [stdout] 32 | | Ok(task) => task.await, [INFO] [stdout] 33 | | Err(err) => Ok(err.to_simple_response()), [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/hello.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | / match root.route(req, ()) { [INFO] [stdout] 32 | | Ok(task) => task.await, [INFO] [stdout] 33 | | Err(err) => Ok(err.to_simple_response()), [INFO] [stdout] 34 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/hello.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 32 | ... Ok(task) => task.await, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/hello.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | ... Ok(task) => task.await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/hello.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 32 | ... Ok(task) => task.await, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/hello.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | ... Err(err) => Ok(err.to_simple_response()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trout` (example "hello") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "298c1795e0f4b8358f8ac15dd8e8492da09cd7a0b302025d4f6427934919318d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "298c1795e0f4b8358f8ac15dd8e8492da09cd7a0b302025d4f6427934919318d", kill_on_drop: false }` [INFO] [stdout] 298c1795e0f4b8358f8ac15dd8e8492da09cd7a0b302025d4f6427934919318d