[INFO] fetching crate rs-express 0.1.0... [INFO] checking rs-express-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate rs-express 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rs-express 0.1.0 [INFO] finished tweaking crates.io crate rs-express 0.1.0 [INFO] tweaked toml for crates.io crate rs-express 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rs-express 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 rs-express 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] eb5d9a673ef56d2e018a8f6c656ce5238c933bcb992aec5c8d5cf1a954f7ea47 [INFO] running `Command { std: "docker" "start" "-a" "eb5d9a673ef56d2e018a8f6c656ce5238c933bcb992aec5c8d5cf1a954f7ea47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb5d9a673ef56d2e018a8f6c656ce5238c933bcb992aec5c8d5cf1a954f7ea47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb5d9a673ef56d2e018a8f6c656ce5238c933bcb992aec5c8d5cf1a954f7ea47", kill_on_drop: false }` [INFO] [stdout] eb5d9a673ef56d2e018a8f6c656ce5238c933bcb992aec5c8d5cf1a954f7ea47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f22505892be88ea8883e5e3c767bb9fb2a8c2510ebe128b65471a4917574b7ed [INFO] running `Command { std: "docker" "start" "-a" "f22505892be88ea8883e5e3c767bb9fb2a8c2510ebe128b65471a4917574b7ed", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking tracing-core v0.1.19 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking h2 v0.3.4 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Checking rs-express v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/app.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 61 | | Ok::<_, Infallible>(service_fn(move |_req| { [INFO] [stdout] 62 | | let middleware = middleware.clone(); [INFO] [stdout] 63 | | let error_middleware = error_middleware.clone(); [INFO] [stdout] ... | [INFO] [stdout] 71 | | })) [INFO] [stdout] 72 | | } [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/app.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | / Ok::<_, Infallible>(service_fn(move |_req| { [INFO] [stdout] 62 | | let middleware = middleware.clone(); [INFO] [stdout] 63 | | let error_middleware = error_middleware.clone(); [INFO] [stdout] 64 | | let app_locals = app_locals.clone(); [INFO] [stdout] ... | [INFO] [stdout] 71 | | })) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/app.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | async move { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 67 | | Ok::<_, Infallible>( [INFO] [stdout] 68 | | run(_req, &middleware, &error_middleware, &app_locals).await, [INFO] [stdout] 69 | | ) [INFO] [stdout] 70 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/app.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | / Ok::<_, Infallible>( [INFO] [stdout] 68 | | run(_req, &middleware, &error_middleware, &app_locals).await, [INFO] [stdout] 69 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/routing.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | let incoming = path.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rs-express` (lib test) due to 4 previous errors; 1 warning 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/app.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 61 | | Ok::<_, Infallible>(service_fn(move |_req| { [INFO] [stdout] 62 | | let middleware = middleware.clone(); [INFO] [stdout] 63 | | let error_middleware = error_middleware.clone(); [INFO] [stdout] ... | [INFO] [stdout] 71 | | })) [INFO] [stdout] 72 | | } [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/app.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | / Ok::<_, Infallible>(service_fn(move |_req| { [INFO] [stdout] 62 | | let middleware = middleware.clone(); [INFO] [stdout] 63 | | let error_middleware = error_middleware.clone(); [INFO] [stdout] 64 | | let app_locals = app_locals.clone(); [INFO] [stdout] ... | [INFO] [stdout] 71 | | })) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/app.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | async move { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 67 | | Ok::<_, Infallible>( [INFO] [stdout] 68 | | run(_req, &middleware, &error_middleware, &app_locals).await, [INFO] [stdout] 69 | | ) [INFO] [stdout] 70 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/app.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | / Ok::<_, Infallible>( [INFO] [stdout] 68 | | run(_req, &middleware, &error_middleware, &app_locals).await, [INFO] [stdout] 69 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rs-express` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "f22505892be88ea8883e5e3c767bb9fb2a8c2510ebe128b65471a4917574b7ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f22505892be88ea8883e5e3c767bb9fb2a8c2510ebe128b65471a4917574b7ed", kill_on_drop: false }` [INFO] [stdout] f22505892be88ea8883e5e3c767bb9fb2a8c2510ebe128b65471a4917574b7ed