[INFO] cloning repository https://github.com/poster515/a07a5a2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/poster515/a07a5a2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fposter515%2Fa07a5a2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fposter515%2Fa07a5a2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c8b375db38baa87b2616fc42caf2eeeab047aea [INFO] checking poster515/a07a5a2 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%2Fposter515%2Fa07a5a2" "/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/poster515/a07a5a2 [INFO] finished tweaking git repo https://github.com/poster515/a07a5a2 [INFO] tweaked toml for git repo https://github.com/poster515/a07a5a2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/poster515/a07a5a2 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/poster515/a07a5a2 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] 652e4a8d10061119d132aba0555785f23f4cd56fcb5629f096cdf0fa599f3c3c [INFO] running `Command { std: "docker" "start" "-a" "652e4a8d10061119d132aba0555785f23f4cd56fcb5629f096cdf0fa599f3c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "652e4a8d10061119d132aba0555785f23f4cd56fcb5629f096cdf0fa599f3c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "652e4a8d10061119d132aba0555785f23f4cd56fcb5629f096cdf0fa599f3c3c", kill_on_drop: false }` [INFO] [stdout] 652e4a8d10061119d132aba0555785f23f4cd56fcb5629f096cdf0fa599f3c3c [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] 69c65b811ca136da07fe5b22c623d4c780a2c3c05c2e61987273d32931d68c8a [INFO] running `Command { std: "docker" "start" "-a" "69c65b811ca136da07fe5b22c623d4c780a2c3c05c2e61987273d32931d68c8a", kill_on_drop: false }` [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking tokio v1.38.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking axum-server v0.6.0 [INFO] [stderr] Checking syndica_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:45:54 [INFO] [stdout] | [INFO] [stdout] 45 | get(|Path(id): Path| async move { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 46 | | let movies = movie_map.lock().unwrap(); [INFO] [stdout] 47 | | if movies.contains_key(&id) { [INFO] [stdout] 48 | | let res = Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 60 | | } [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:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | / if movies.contains_key(&id) { [INFO] [stdout] 48 | | let res = Response::builder() [INFO] [stdout] 49 | | .status(200) [INFO] [stdout] 50 | | .body(Body::from(serde_json::to_string(&movies[&id]).unwrap())) [INFO] [stdout] ... | [INFO] [stdout] 58 | | Ok::<_, Infallible>(res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:47:53 [INFO] [stdout] | [INFO] [stdout] 47 | if movies.contains_key(&id) { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 48 | | let res = Response::builder() [INFO] [stdout] 49 | | .status(200) [INFO] [stdout] 50 | | .body(Body::from(serde_json::to_string(&movies[&id]).unwrap())) [INFO] [stdout] 51 | | .unwrap(); [INFO] [stdout] 52 | | Ok::<_, Infallible>(res) [INFO] [stdout] 53 | | } else { [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | ... Ok::<_, Infallible>(res) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | } else { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 54 | | let res = Response::builder() [INFO] [stdout] 55 | | .status(421) [INFO] [stdout] 56 | | .body(Body::from("Could not find movie!")) [INFO] [stdout] 57 | | .unwrap(); [INFO] [stdout] 58 | | Ok::<_, Infallible>(res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | ... Ok::<_, Infallible>(res) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | post(|Json(movie): Json| async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | let id_u64 = movie.id.parse::().unwrap(); [INFO] [stdout] 66 | | let mut movies = movie_map2.lock().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | / if movies.contains_key(&id_u64) { [INFO] [stdout] 68 | | // TODO: check that this movie is the same as the one in the 'DB' [INFO] [stdout] 69 | | let res = Response::builder() [INFO] [stdout] 70 | | .status(420) [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok::<_, Infallible>(res) [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:67:57 [INFO] [stdout] | [INFO] [stdout] 67 | if movies.contains_key(&id_u64) { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 68 | | // TODO: check that this movie is the same as the one in the 'DB' [INFO] [stdout] 69 | | let res = Response::builder() [INFO] [stdout] 70 | | .status(420) [INFO] [stdout] ... | [INFO] [stdout] 74 | | Ok::<_, Infallible>(res) [INFO] [stdout] 75 | | } else { [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | ... Ok::<_, Infallible>(res) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | } else { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 76 | | movies.insert(id_u64, movie); [INFO] [stdout] 77 | | let res = Response::builder() [INFO] [stdout] 78 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok::<_, Infallible>(res) [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:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | ... Ok::<_, Infallible>(res) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `syndica_test` (bin "syndica_test") due to 12 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:45:54 [INFO] [stdout] | [INFO] [stdout] 45 | get(|Path(id): Path| async move { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 46 | | let movies = movie_map.lock().unwrap(); [INFO] [stdout] 47 | | if movies.contains_key(&id) { [INFO] [stdout] 48 | | let res = Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 60 | | } [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:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | / if movies.contains_key(&id) { [INFO] [stdout] 48 | | let res = Response::builder() [INFO] [stdout] 49 | | .status(200) [INFO] [stdout] 50 | | .body(Body::from(serde_json::to_string(&movies[&id]).unwrap())) [INFO] [stdout] ... | [INFO] [stdout] 58 | | Ok::<_, Infallible>(res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:47:53 [INFO] [stdout] | [INFO] [stdout] 47 | if movies.contains_key(&id) { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 48 | | let res = Response::builder() [INFO] [stdout] 49 | | .status(200) [INFO] [stdout] 50 | | .body(Body::from(serde_json::to_string(&movies[&id]).unwrap())) [INFO] [stdout] 51 | | .unwrap(); [INFO] [stdout] 52 | | Ok::<_, Infallible>(res) [INFO] [stdout] 53 | | } else { [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | ... Ok::<_, Infallible>(res) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | } else { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 54 | | let res = Response::builder() [INFO] [stdout] 55 | | .status(421) [INFO] [stdout] 56 | | .body(Body::from("Could not find movie!")) [INFO] [stdout] 57 | | .unwrap(); [INFO] [stdout] 58 | | Ok::<_, Infallible>(res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | ... Ok::<_, Infallible>(res) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | post(|Json(movie): Json| async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | let id_u64 = movie.id.parse::().unwrap(); [INFO] [stdout] 66 | | let mut movies = movie_map2.lock().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | / if movies.contains_key(&id_u64) { [INFO] [stdout] 68 | | // TODO: check that this movie is the same as the one in the 'DB' [INFO] [stdout] 69 | | let res = Response::builder() [INFO] [stdout] 70 | | .status(420) [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok::<_, Infallible>(res) [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:67:57 [INFO] [stdout] | [INFO] [stdout] 67 | if movies.contains_key(&id_u64) { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 68 | | // TODO: check that this movie is the same as the one in the 'DB' [INFO] [stdout] 69 | | let res = Response::builder() [INFO] [stdout] 70 | | .status(420) [INFO] [stdout] ... | [INFO] [stdout] 74 | | Ok::<_, Infallible>(res) [INFO] [stdout] 75 | | } else { [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | ... Ok::<_, Infallible>(res) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | } else { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 76 | | movies.insert(id_u64, movie); [INFO] [stdout] 77 | | let res = Response::builder() [INFO] [stdout] 78 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok::<_, Infallible>(res) [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:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | ... Ok::<_, Infallible>(res) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `syndica_test` (bin "syndica_test" test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "69c65b811ca136da07fe5b22c623d4c780a2c3c05c2e61987273d32931d68c8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69c65b811ca136da07fe5b22c623d4c780a2c3c05c2e61987273d32931d68c8a", kill_on_drop: false }` [INFO] [stdout] 69c65b811ca136da07fe5b22c623d4c780a2c3c05c2e61987273d32931d68c8a