[INFO] cloning repository https://github.com/imperialbin/imperial-raw [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imperialbin/imperial-raw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimperialbin%2Fimperial-raw", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimperialbin%2Fimperial-raw'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] faf4998a1a0ee17780cbcdf40695188d607a439b [INFO] checking imperialbin/imperial-raw 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%2Fimperialbin%2Fimperial-raw" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/imperialbin/imperial-raw [INFO] finished tweaking git repo https://github.com/imperialbin/imperial-raw [INFO] tweaked toml for git repo https://github.com/imperialbin/imperial-raw written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/imperialbin/imperial-raw 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/imperialbin/imperial-raw 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c1413c0181702e26c4a7fdf09d550f9364ab99ce253a96d6c96a934014688ee1 [INFO] running `Command { std: "docker" "start" "-a" "c1413c0181702e26c4a7fdf09d550f9364ab99ce253a96d6c96a934014688ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1413c0181702e26c4a7fdf09d550f9364ab99ce253a96d6c96a934014688ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1413c0181702e26c4a7fdf09d550f9364ab99ce253a96d6c96a934014688ee1", kill_on_drop: false }` [INFO] [stdout] c1413c0181702e26c4a7fdf09d550f9364ab99ce253a96d6c96a934014688ee1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e07388b491eff40d2d72081787174438502a4bb07061fe4502df5259d3bd5f7a [INFO] running `Command { std: "docker" "start" "-a" "e07388b491eff40d2d72081787174438502a4bb07061fe4502df5259d3bd5f7a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking generic-array v0.14.5 [INFO] [stderr] Checking tracing-core v0.1.27 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling indexmap v1.9.0 [INFO] [stderr] Compiling semver v1.0.10 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking object v0.28.4 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling quote v1.0.19 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking uname v0.1.1 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking str-buf v2.0.5 [INFO] [stderr] Checking xxhash-rust v0.8.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking md-5 v0.10.1 [INFO] [stderr] Compiling sentry-contexts v0.27.0 [INFO] [stderr] Checking etag v3.0.0 [INFO] [stderr] Checking time v0.3.11 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking postgres-protocol v0.6.4 [INFO] [stderr] Checking postgres-types v0.2.3 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking simple_logger v2.1.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking bb8 v0.8.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking tokio-postgres v0.7.6 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking bb8-postgres v0.8.1 [INFO] [stderr] Checking sentry-types v0.27.0 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking sentry-core v0.27.0 [INFO] [stderr] Checking sentry-backtrace v0.27.0 [INFO] [stderr] Checking sentry-panic v0.27.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking sentry v0.27.0 [INFO] [stderr] Checking raw v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `raw` (bin "raw" test) due to 9 previous errors [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 39 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 40 | | request_handler::handle_with_errors(req, pool.clone()) [INFO] [stdout] 41 | | })) [INFO] [stdout] 42 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [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:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 40 | | request_handler::handle_with_errors(req, pool.clone()) [INFO] [stdout] 41 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/request_handler.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 17 | | // get the basic data [INFO] [stdout] 18 | | let method = req.method().to_owned(); [INFO] [stdout] 19 | | let path = req.uri().path().to_owned(); [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/request_handler.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 17 | | // get the basic data [INFO] [stdout] 18 | | let method = req.method().to_owned(); [INFO] [stdout] 19 | | let path = req.uri().path().to_owned(); [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/request_handler.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / match handle_request(req, pool).await { [INFO] [stdout] 26 | | // if there was a response we log some data from it [INFO] [stdout] 27 | | Ok(response) => { [INFO] [stdout] 28 | | log::info!( [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/request_handler.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(response) => { [INFO] [stdout] | _________________________^ [INFO] [stdout] 28 | | log::info!( [INFO] [stdout] 29 | | "{} {} with {} in {}ms", [INFO] [stdout] 30 | | method, [INFO] [stdout] ... | [INFO] [stdout] 36 | | Ok(response) [INFO] [stdout] 37 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/request_handler.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/request_handler.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | Err(err) => { [INFO] [stdout] | _____________________^ [INFO] [stdout] 40 | | // capture the error and send to sentry [INFO] [stdout] 41 | | // to analyze the error later [INFO] [stdout] 42 | | sentry::capture_error(&err); [INFO] [stdout] ... | [INFO] [stdout] 51 | | Ok(small_res(500)) [INFO] [stdout] 52 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/request_handler.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Ok(small_res(500)) [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:20 [INFO] [stdout] | [INFO] [stdout] 38 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 39 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 40 | | request_handler::handle_with_errors(req, pool.clone()) [INFO] [stdout] 41 | | })) [INFO] [stdout] 42 | | } [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:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 40 | | request_handler::handle_with_errors(req, pool.clone()) [INFO] [stdout] 41 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/request_handler.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 17 | | // get the basic data [INFO] [stdout] 18 | | let method = req.method().to_owned(); [INFO] [stdout] 19 | | let path = req.uri().path().to_owned(); [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/request_handler.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 17 | | // get the basic data [INFO] [stdout] 18 | | let method = req.method().to_owned(); [INFO] [stdout] 19 | | let path = req.uri().path().to_owned(); [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/request_handler.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / match handle_request(req, pool).await { [INFO] [stdout] 26 | | // if there was a response we log some data from it [INFO] [stdout] 27 | | Ok(response) => { [INFO] [stdout] 28 | | log::info!( [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/request_handler.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(response) => { [INFO] [stdout] | _________________________^ [INFO] [stdout] 28 | | log::info!( [INFO] [stdout] 29 | | "{} {} with {} in {}ms", [INFO] [stdout] 30 | | method, [INFO] [stdout] ... | [INFO] [stdout] 36 | | Ok(response) [INFO] [stdout] 37 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/request_handler.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/request_handler.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | Err(err) => { [INFO] [stdout] | _____________________^ [INFO] [stdout] 40 | | // capture the error and send to sentry [INFO] [stdout] 41 | | // to analyze the error later [INFO] [stdout] 42 | | sentry::capture_error(&err); [INFO] [stdout] ... | [INFO] [stdout] 51 | | Ok(small_res(500)) [INFO] [stdout] 52 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/request_handler.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Ok(small_res(500)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raw` (bin "raw") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "e07388b491eff40d2d72081787174438502a4bb07061fe4502df5259d3bd5f7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e07388b491eff40d2d72081787174438502a4bb07061fe4502df5259d3bd5f7a", kill_on_drop: false }` [INFO] [stdout] e07388b491eff40d2d72081787174438502a4bb07061fe4502df5259d3bd5f7a