[INFO] cloning repository https://github.com/antweiss/au [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/antweiss/au" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantweiss%2Fau", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantweiss%2Fau'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6367df30a18bf68935bc45d3d2f94891fb80419 [INFO] checking antweiss/au against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantweiss%2Fau" "/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/antweiss/au [INFO] finished tweaking git repo https://github.com/antweiss/au [INFO] tweaked toml for git repo https://github.com/antweiss/au written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/antweiss/au 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 git repo https://github.com/antweiss/au 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] 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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 658b0c49d0aac07d9ef260bd488ecb3f3b45e7139b895e59767c941ab55120ff [INFO] running `Command { std: "docker" "start" "-a" "658b0c49d0aac07d9ef260bd488ecb3f3b45e7139b895e59767c941ab55120ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "658b0c49d0aac07d9ef260bd488ecb3f3b45e7139b895e59767c941ab55120ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "658b0c49d0aac07d9ef260bd488ecb3f3b45e7139b895e59767c941ab55120ff", kill_on_drop: false }` [INFO] [stdout] 658b0c49d0aac07d9ef260bd488ecb3f3b45e7139b895e59767c941ab55120ff [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 -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] a66108a01f96a5eae6f127cea19cdc7e6a721cc691860e8bda9bca42f0154f15 [INFO] running `Command { std: "docker" "start" "-a" "a66108a01f96a5eae6f127cea19cdc7e6a721cc691860e8bda9bca42f0154f15", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking pin-project v1.0.6 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking tokio-util v0.6.5 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Checking hyper v0.14.5 [INFO] [stderr] Checking au v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Method` [INFO] [stdout] --> src/main.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::{Body, Request, Response, Server, Method}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env_logger::Env` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use env_logger::Env; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `au` (bin "au" test) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:13:74 [INFO] [stdout] | [INFO] [stdout] 13 | async fn echo(_req: Request) -> Result, Infallible> { [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 14 | | info!("Got {:?}", _req); [INFO] [stdout] 15 | | let (parts, body) = _req.into_parts(); [INFO] [stdout] ... | [INFO] [stdout] 30 | | .into())) [INFO] [stdout] 31 | | } [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] --> src/main.rs:13:74 [INFO] [stdout] | [INFO] [stdout] 13 | async fn echo(_req: Request) -> Result, Infallible> { [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 14 | | info!("Got {:?}", _req); [INFO] [stdout] 15 | | let (parts, body) = _req.into_parts(); [INFO] [stdout] ... | [INFO] [stdout] 30 | | .into())) [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / Ok(Response::new(format!("{{\"method\" : \"{}\",\n\ [INFO] [stdout] 20 | | \"uri\" : \"{}\",\n\ [INFO] [stdout] 21 | | \"headers\" : {:?},\n\ [INFO] [stdout] 22 | | \"version\" : \"{:?}\",\n\ [INFO] [stdout] ... | [INFO] [stdout] 29 | | else { "\"none\"".to_string() } ) [INFO] [stdout] 30 | | .into())) [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result) -> impl Future, Infallible>> {echo}, Body>, Infallible> [INFO] [stdout] --> src/main.rs:39:50 [INFO] [stdout] | [INFO] [stdout] 39 | let make_svc = make_service_fn(|_conn| async { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 40 | | Ok::<_, Infallible>(service_fn(echo)) [INFO] [stdout] 41 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result) -> impl Future, Infallible>> {echo}, Body>, Infallible> [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Ok::<_, Infallible>(service_fn(echo)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Method` [INFO] [stdout] --> src/main.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::{Body, Request, Response, Server, Method}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env_logger::Env` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use env_logger::Env; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:13:74 [INFO] [stdout] | [INFO] [stdout] 13 | async fn echo(_req: Request) -> Result, Infallible> { [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 14 | | info!("Got {:?}", _req); [INFO] [stdout] 15 | | let (parts, body) = _req.into_parts(); [INFO] [stdout] ... | [INFO] [stdout] 30 | | .into())) [INFO] [stdout] 31 | | } [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] --> src/main.rs:13:74 [INFO] [stdout] | [INFO] [stdout] 13 | async fn echo(_req: Request) -> Result, Infallible> { [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 14 | | info!("Got {:?}", _req); [INFO] [stdout] 15 | | let (parts, body) = _req.into_parts(); [INFO] [stdout] ... | [INFO] [stdout] 30 | | .into())) [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / Ok(Response::new(format!("{{\"method\" : \"{}\",\n\ [INFO] [stdout] 20 | | \"uri\" : \"{}\",\n\ [INFO] [stdout] 21 | | \"headers\" : {:?},\n\ [INFO] [stdout] 22 | | \"version\" : \"{:?}\",\n\ [INFO] [stdout] ... | [INFO] [stdout] 29 | | else { "\"none\"".to_string() } ) [INFO] [stdout] 30 | | .into())) [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result) -> impl Future, Infallible>> {echo}, Body>, Infallible> [INFO] [stdout] --> src/main.rs:39:50 [INFO] [stdout] | [INFO] [stdout] 39 | let make_svc = make_service_fn(|_conn| async { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 40 | | Ok::<_, Infallible>(service_fn(echo)) [INFO] [stdout] 41 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result) -> impl Future, Infallible>> {echo}, Body>, Infallible> [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Ok::<_, Infallible>(service_fn(echo)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `au` (bin "au") due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a66108a01f96a5eae6f127cea19cdc7e6a721cc691860e8bda9bca42f0154f15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a66108a01f96a5eae6f127cea19cdc7e6a721cc691860e8bda9bca42f0154f15", kill_on_drop: false }` [INFO] [stdout] a66108a01f96a5eae6f127cea19cdc7e6a721cc691860e8bda9bca42f0154f15