[INFO] cloning repository https://github.com/Nigma1337/pam-discord [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nigma1337/pam-discord" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNigma1337%2Fpam-discord", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNigma1337%2Fpam-discord'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89d5fda4cb8bc0789b67c7808fc09562d4be10cd [INFO] checking Nigma1337/pam-discord 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%2FNigma1337%2Fpam-discord" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Nigma1337/pam-discord [INFO] finished tweaking git repo https://github.com/Nigma1337/pam-discord [INFO] tweaked toml for git repo https://github.com/Nigma1337/pam-discord written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Nigma1337/pam-discord 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/Nigma1337/pam-discord 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f6896a16b78b27e241eff10f5e648ee87d609bd4eb3ff06ab1fdd09801c5d9f4 [INFO] running `Command { std: "docker" "start" "-a" "f6896a16b78b27e241eff10f5e648ee87d609bd4eb3ff06ab1fdd09801c5d9f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6896a16b78b27e241eff10f5e648ee87d609bd4eb3ff06ab1fdd09801c5d9f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6896a16b78b27e241eff10f5e648ee87d609bd4eb3ff06ab1fdd09801c5d9f4", kill_on_drop: false }` [INFO] [stdout] f6896a16b78b27e241eff10f5e648ee87d609bd4eb3ff06ab1fdd09801c5d9f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8bf54348b36575fb8e7efe3209013f55a00be1967485f845aa52079d9f92ea41 [INFO] running `Command { std: "docker" "start" "-a" "8bf54348b36575fb8e7efe3209013f55a00be1967485f845aa52079d9f92ea41", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking lock_api v0.4.10 [INFO] [stderr] Compiling openssl v0.10.56 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking pam-bindings v0.1.1 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.30.0 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking pam-discord v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 141 | | Ok::<_, Infallible>(service_fn(move |req: Request| { [INFO] [stdout] 142 | | let notify = notify.clone(); [INFO] [stdout] 143 | | let token = token.clone(); [INFO] [stdout] ... | [INFO] [stdout] 169 | | })) [INFO] [stdout] 170 | | } [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/lib.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | / Ok::<_, Infallible>(service_fn(move |req: Request| { [INFO] [stdout] 142 | | let notify = notify.clone(); [INFO] [stdout] 143 | | let token = token.clone(); [INFO] [stdout] 144 | | let state = state.clone(); [INFO] [stdout] ... | [INFO] [stdout] 169 | | })) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | async move { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 146 | | let parameters: HashMap = req [INFO] [stdout] 147 | | .uri() [INFO] [stdout] 148 | | .query() [INFO] [stdout] ... | [INFO] [stdout] 167 | | ))) [INFO] [stdout] 168 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:157:36 [INFO] [stdout] | [INFO] [stdout] 157 | ... return Ok::<_, Infallible>(Response::new(Body::from( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 158 | | ... "Invalid CSRF token!", [INFO] [stdout] 159 | | ... ))); [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | / Ok::<_, Infallible>(Response::new(Body::from( [INFO] [stdout] 166 | | "fuck you", [INFO] [stdout] 167 | | ))) [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pam-discord` (lib 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/lib.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 141 | | Ok::<_, Infallible>(service_fn(move |req: Request| { [INFO] [stdout] 142 | | let notify = notify.clone(); [INFO] [stdout] 143 | | let token = token.clone(); [INFO] [stdout] ... | [INFO] [stdout] 169 | | })) [INFO] [stdout] 170 | | } [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/lib.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | / Ok::<_, Infallible>(service_fn(move |req: Request| { [INFO] [stdout] 142 | | let notify = notify.clone(); [INFO] [stdout] 143 | | let token = token.clone(); [INFO] [stdout] 144 | | let state = state.clone(); [INFO] [stdout] ... | [INFO] [stdout] 169 | | })) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | async move { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 146 | | let parameters: HashMap = req [INFO] [stdout] 147 | | .uri() [INFO] [stdout] 148 | | .query() [INFO] [stdout] ... | [INFO] [stdout] 167 | | ))) [INFO] [stdout] 168 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:157:36 [INFO] [stdout] | [INFO] [stdout] 157 | ... return Ok::<_, Infallible>(Response::new(Body::from( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 158 | | ... "Invalid CSRF token!", [INFO] [stdout] 159 | | ... ))); [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | / Ok::<_, Infallible>(Response::new(Body::from( [INFO] [stdout] 166 | | "fuck you", [INFO] [stdout] 167 | | ))) [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pam-discord` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "8bf54348b36575fb8e7efe3209013f55a00be1967485f845aa52079d9f92ea41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bf54348b36575fb8e7efe3209013f55a00be1967485f845aa52079d9f92ea41", kill_on_drop: false }` [INFO] [stdout] 8bf54348b36575fb8e7efe3209013f55a00be1967485f845aa52079d9f92ea41