[INFO] cloning repository https://github.com/SuriyaRuk/mock-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SuriyaRuk/mock-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuriyaRuk%2Fmock-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuriyaRuk%2Fmock-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba2d01e214d3a647940ed8d44d1d892aa4f35ecc [INFO] checking SuriyaRuk/mock-rs 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%2FSuriyaRuk%2Fmock-rs" "/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/SuriyaRuk/mock-rs [INFO] finished tweaking git repo https://github.com/SuriyaRuk/mock-rs [INFO] tweaked toml for git repo https://github.com/SuriyaRuk/mock-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SuriyaRuk/mock-rs 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/SuriyaRuk/mock-rs 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-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] e4591cacfa2fe846b5b92091c3e497a8f18156f8df606b9a7af04fd4ac0e92e8 [INFO] running `Command { std: "docker" "start" "-a" "e4591cacfa2fe846b5b92091c3e497a8f18156f8df606b9a7af04fd4ac0e92e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4591cacfa2fe846b5b92091c3e497a8f18156f8df606b9a7af04fd4ac0e92e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4591cacfa2fe846b5b92091c3e497a8f18156f8df606b9a7af04fd4ac0e92e8", kill_on_drop: false }` [INFO] [stdout] e4591cacfa2fe846b5b92091c3e497a8f18156f8df606b9a7af04fd4ac0e92e8 [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] 32b7c679c84e021334f59c8c3bdb508544ec2049da4bc82c613c4a8304a9e517 [INFO] running `Command { std: "docker" "start" "-a" "32b7c679c84e021334f59c8c3bdb508544ec2049da4bc82c613c4a8304a9e517", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking regex v1.11.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling pin-project-internal v1.1.6 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking pin-project v1.1.6 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking hyper v1.5.0 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking mock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:32:99 [INFO] [stdout] | [INFO] [stdout] 32 | async fn hello(_req: Request) -> Result>, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 33 | | let response = Response::builder() [INFO] [stdout] 34 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 35 | | .body(Full::new(Bytes::from("0"))) [INFO] [stdout] ... | [INFO] [stdout] 38 | | Ok(response) [INFO] [stdout] 39 | | } [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:32:99 [INFO] [stdout] | [INFO] [stdout] 32 | async fn hello(_req: Request) -> Result>, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 33 | | let response = Response::builder() [INFO] [stdout] 34 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 35 | | .body(Full::new(Bytes::from("0"))) [INFO] [stdout] ... | [INFO] [stdout] 38 | | Ok(response) [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mock` (bin "mock" test) due to 3 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:32:99 [INFO] [stdout] | [INFO] [stdout] 32 | async fn hello(_req: Request) -> Result>, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 33 | | let response = Response::builder() [INFO] [stdout] 34 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 35 | | .body(Full::new(Bytes::from("0"))) [INFO] [stdout] ... | [INFO] [stdout] 38 | | Ok(response) [INFO] [stdout] 39 | | } [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:32:99 [INFO] [stdout] | [INFO] [stdout] 32 | async fn hello(_req: Request) -> Result>, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 33 | | let response = Response::builder() [INFO] [stdout] 34 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 35 | | .body(Full::new(Bytes::from("0"))) [INFO] [stdout] ... | [INFO] [stdout] 38 | | Ok(response) [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mock` (bin "mock") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "32b7c679c84e021334f59c8c3bdb508544ec2049da4bc82c613c4a8304a9e517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32b7c679c84e021334f59c8c3bdb508544ec2049da4bc82c613c4a8304a9e517", kill_on_drop: false }` [INFO] [stdout] 32b7c679c84e021334f59c8c3bdb508544ec2049da4bc82c613c4a8304a9e517