[INFO] cloning repository https://github.com/zhwei820/rs-code
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhwei820/rs-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhwei820%2Frs-code", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhwei820%2Frs-code'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 99ab9036f0bf962e5c9be688c5db197ebfd14d84
[INFO] checking zhwei820/rs-code 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%2Fzhwei820%2Frs-code" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/zhwei820/rs-code
[INFO] finished tweaking git repo https://github.com/zhwei820/rs-code
[INFO] tweaked toml for git repo https://github.com/zhwei820/rs-code written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zhwei820/rs-code 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/zhwei820/rs-code 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] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b239b6fb0fa534a80538aab2130db21e450740510cbf7b2e2c2bc407325360aa
[INFO] running `Command { std: "docker" "start" "-a" "b239b6fb0fa534a80538aab2130db21e450740510cbf7b2e2c2bc407325360aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b239b6fb0fa534a80538aab2130db21e450740510cbf7b2e2c2bc407325360aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b239b6fb0fa534a80538aab2130db21e450740510cbf7b2e2c2bc407325360aa", kill_on_drop: false }`
[INFO] [stdout] b239b6fb0fa534a80538aab2130db21e450740510cbf7b2e2c2bc407325360aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] a0f82c599a8eb1b0466516102794f8cfeebde57c1a94ce08f4500ae171878ccc
[INFO] running `Command { std: "docker" "start" "-a" "a0f82c599a8eb1b0466516102794f8cfeebde57c1a94ce08f4500ae171878ccc", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking rustgym-util v0.2.4 (/opt/rustwide/workdir/util)
[INFO] [stderr]     Checking assert_approx_eq v1.1.0
[INFO] [stderr]    Compiling paste v1.0.9
[INFO] [stdout] warning: unused import: `crate::adventofcode::*`
[INFO] [stdout]   --> util/src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use crate::adventofcode::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::adventofcode::*`
[INFO] [stdout]   --> util/src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use crate::adventofcode::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::data::*`
[INFO] [stdout]   --> util/src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use crate::data::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::test_gen::*`
[INFO] [stdout]   --> util/src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use crate::test_gen::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::data::*`
[INFO] [stdout]   --> util/src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use crate::data::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::test_gen::*`
[INFO] [stdout]   --> util/src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use crate::test_gen::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking pretty_assertions v0.7.2
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rustgym-leetcode v0.1.0 (/opt/rustwide/workdir/leetcode)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> leetcode/src/d15/_1515_best_position_for_a_service_center.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |             .map(|v| (((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt()))
[INFO] [stdout]    |                      ^                                                              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 31 -             .map(|v| (((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt()))
[INFO] [stdout] 31 +             .map(|v| ((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> leetcode/src/d15/_1515_best_position_for_a_service_center.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |             .map(|v| (((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt()))
[INFO] [stdout]    |                      ^                                                              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 31 -             .map(|v| (((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt()))
[INFO] [stdout] 31 +             .map(|v| ((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]  --> leetcode/src/d3/_374_guess_number_higher_or_lower.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     match X.cmp(&num) {
[INFO] [stdout]   |           ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]   = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]   = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> leetcode/src/d8/_811_subdomain_visit_count.rs:27:30
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let domain: String = iter.next().unwrap().parse::<String>().unwrap();
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustgym-leetcode` (lib) due to 1 previous error; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]  --> leetcode/src/d3/_374_guess_number_higher_or_lower.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     match X.cmp(&num) {
[INFO] [stdout]   |           ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]   = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]   = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> leetcode/src/d8/_811_subdomain_visit_count.rs:27:30
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let domain: String = iter.next().unwrap().parse::<String>().unwrap();
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustgym-leetcode` (lib test) due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a0f82c599a8eb1b0466516102794f8cfeebde57c1a94ce08f4500ae171878ccc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0f82c599a8eb1b0466516102794f8cfeebde57c1a94ce08f4500ae171878ccc", kill_on_drop: false }`
[INFO] [stdout] a0f82c599a8eb1b0466516102794f8cfeebde57c1a94ce08f4500ae171878ccc
