[INFO] fetching crate upstream 0.1.0... [INFO] checking upstream-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate upstream 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate upstream 0.1.0 [INFO] finished tweaking crates.io crate upstream 0.1.0 [INFO] tweaked toml for crates.io crate upstream 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate upstream 0.1.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 upstream 0.1.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] 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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74ab33ec30b0d3670e57a9140720a8c5c1c3a1784cdde9bd57f832de6db2de13 [INFO] running `Command { std: "docker" "start" "-a" "74ab33ec30b0d3670e57a9140720a8c5c1c3a1784cdde9bd57f832de6db2de13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74ab33ec30b0d3670e57a9140720a8c5c1c3a1784cdde9bd57f832de6db2de13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74ab33ec30b0d3670e57a9140720a8c5c1c3a1784cdde9bd57f832de6db2de13", kill_on_drop: false }` [INFO] [stdout] 74ab33ec30b0d3670e57a9140720a8c5c1c3a1784cdde9bd57f832de6db2de13 [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 -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] e9947dcaf792a648300f247d9d04e88c6bc2b4f924d218e0e915c3bb4747effa [INFO] running `Command { std: "docker" "start" "-a" "e9947dcaf792a648300f247d9d04e88c6bc2b4f924d218e0e915c3bb4747effa", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.8 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking clap_builder v4.3.21 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking block-id v0.2.1 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking tokio v1.31.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking clap v4.3.21 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking upstream v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 79 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 80 | | let config = config.clone(); [INFO] [stdout] 81 | | serve(req, config) [INFO] [stdout] 82 | | })) [INFO] [stdout] 83 | | } [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:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 80 | | let config = config.clone(); [INFO] [stdout] 81 | | serve(req, config) [INFO] [stdout] 82 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:94:97 [INFO] [stdout] | [INFO] [stdout] 94 | async fn serve(mut req: Request, config: Arc) -> Result, Infallible> { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 95 | | let id = generate_id(); [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | if !config.quiet { [INFO] [stdout] ... | [INFO] [stdout] 163 | | Ok(response) [INFO] [stdout] 164 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:94:97 [INFO] [stdout] | [INFO] [stdout] 94 | async fn serve(mut req: Request, config: Arc) -> Result, Infallible> { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 95 | | let id = generate_id(); [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | if !config.quiet { [INFO] [stdout] ... | [INFO] [stdout] 163 | | Ok(response) [INFO] [stdout] 164 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `upstream` (bin "upstream") 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:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 79 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 80 | | let config = config.clone(); [INFO] [stdout] 81 | | serve(req, config) [INFO] [stdout] 82 | | })) [INFO] [stdout] 83 | | } [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:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 80 | | let config = config.clone(); [INFO] [stdout] 81 | | serve(req, config) [INFO] [stdout] 82 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:94:97 [INFO] [stdout] | [INFO] [stdout] 94 | async fn serve(mut req: Request, config: Arc) -> Result, Infallible> { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 95 | | let id = generate_id(); [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | if !config.quiet { [INFO] [stdout] ... | [INFO] [stdout] 163 | | Ok(response) [INFO] [stdout] 164 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:94:97 [INFO] [stdout] | [INFO] [stdout] 94 | async fn serve(mut req: Request, config: Arc) -> Result, Infallible> { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 95 | | let id = generate_id(); [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | if !config.quiet { [INFO] [stdout] ... | [INFO] [stdout] 163 | | Ok(response) [INFO] [stdout] 164 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `upstream` (bin "upstream" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "e9947dcaf792a648300f247d9d04e88c6bc2b4f924d218e0e915c3bb4747effa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9947dcaf792a648300f247d9d04e88c6bc2b4f924d218e0e915c3bb4747effa", kill_on_drop: false }` [INFO] [stdout] e9947dcaf792a648300f247d9d04e88c6bc2b4f924d218e0e915c3bb4747effa