[INFO] cloning repository https://github.com/rthomas/http-header-echo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rthomas/http-header-echo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frthomas%2Fhttp-header-echo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frthomas%2Fhttp-header-echo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a1a06969553181f3f95dc944b137cd771f434a1 [INFO] checking rthomas/http-header-echo 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%2Frthomas%2Fhttp-header-echo" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rthomas/http-header-echo [INFO] finished tweaking git repo https://github.com/rthomas/http-header-echo [INFO] tweaked toml for git repo https://github.com/rthomas/http-header-echo written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rthomas/http-header-echo 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/rthomas/http-header-echo 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 60ad4cc6d364cfa0534c68046208c1cfcb110f62f2ddb27d95e0aeb93192c352 [INFO] running `Command { std: "docker" "start" "-a" "60ad4cc6d364cfa0534c68046208c1cfcb110f62f2ddb27d95e0aeb93192c352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60ad4cc6d364cfa0534c68046208c1cfcb110f62f2ddb27d95e0aeb93192c352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60ad4cc6d364cfa0534c68046208c1cfcb110f62f2ddb27d95e0aeb93192c352", kill_on_drop: false }` [INFO] [stdout] 60ad4cc6d364cfa0534c68046208c1cfcb110f62f2ddb27d95e0aeb93192c352 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b93cc13514ca4368c68d68662c0d255fbde55801f0855cc5a1ffd699894ee1d8 [INFO] running `Command { std: "docker" "start" "-a" "b93cc13514ca4368c68d68662c0d255fbde55801f0855cc5a1ffd699894ee1d8", kill_on_drop: false }` [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking tokio v1.30.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking http_echo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:6:80 [INFO] [stdout] | [INFO] [stdout] 6 | async fn hello_world(req: Request) -> Result, Infallible> { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 7 | | let headers: Vec = req [INFO] [stdout] 8 | | .headers() [INFO] [stdout] 9 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 12 | | Ok(Response::new(headers.join("\n").into())) [INFO] [stdout] 13 | | } [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:6:80 [INFO] [stdout] | [INFO] [stdout] 6 | async fn hello_world(req: Request) -> Result, Infallible> { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 7 | | let headers: Vec = req [INFO] [stdout] 8 | | .headers() [INFO] [stdout] 9 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 12 | | Ok(Response::new(headers.join("\n").into())) [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Ok(Response::new(headers.join("\n").into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result) -> impl Future, Infallible>> {hello_world}, Body>, Infallible> [INFO] [stdout] --> src/main.rs:21:50 [INFO] [stdout] | [INFO] [stdout] 21 | let make_svc = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(hello_world)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result) -> impl Future, Infallible>> {hello_world}, Body>, Infallible> [INFO] [stdout] --> src/main.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | let make_svc = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(hello_world)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http_echo` (bin "http_echo" test) due to 5 previous errors [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:6:80 [INFO] [stdout] | [INFO] [stdout] 6 | async fn hello_world(req: Request) -> Result, Infallible> { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 7 | | let headers: Vec = req [INFO] [stdout] 8 | | .headers() [INFO] [stdout] 9 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 12 | | Ok(Response::new(headers.join("\n").into())) [INFO] [stdout] 13 | | } [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:6:80 [INFO] [stdout] | [INFO] [stdout] 6 | async fn hello_world(req: Request) -> Result, Infallible> { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 7 | | let headers: Vec = req [INFO] [stdout] 8 | | .headers() [INFO] [stdout] 9 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 12 | | Ok(Response::new(headers.join("\n").into())) [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Ok(Response::new(headers.join("\n").into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result) -> impl Future, Infallible>> {hello_world}, Body>, Infallible> [INFO] [stdout] --> src/main.rs:21:50 [INFO] [stdout] | [INFO] [stdout] 21 | let make_svc = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(hello_world)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result) -> impl Future, Infallible>> {hello_world}, Body>, Infallible> [INFO] [stdout] --> src/main.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | let make_svc = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(hello_world)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http_echo` (bin "http_echo") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "b93cc13514ca4368c68d68662c0d255fbde55801f0855cc5a1ffd699894ee1d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b93cc13514ca4368c68d68662c0d255fbde55801f0855cc5a1ffd699894ee1d8", kill_on_drop: false }` [INFO] [stdout] b93cc13514ca4368c68d68662c0d255fbde55801f0855cc5a1ffd699894ee1d8