[INFO] fetching crate rustgym 0.2.0...
[INFO] testing rustgym-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8
[INFO] extracting crate rustgym 0.2.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate rustgym 0.2.0
[INFO] finished tweaking crates.io crate rustgym 0.2.0
[INFO] tweaked toml for crates.io crate rustgym 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rustgym 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 26 packages to latest compatible versions
[INFO] [stderr]       Adding pretty_assertions v0.6.1 (available: v1.4.1)
[INFO] [stderr]       Adding rand v0.7.3 (available: v0.9.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a97e22f770b3b5ca04ab2cd578e16da537f09278be8222ffbc0371bb5cfb6189
[INFO] running `Command { std: "docker" "start" "-a" "a97e22f770b3b5ca04ab2cd578e16da537f09278be8222ffbc0371bb5cfb6189", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a97e22f770b3b5ca04ab2cd578e16da537f09278be8222ffbc0371bb5cfb6189", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a97e22f770b3b5ca04ab2cd578e16da537f09278be8222ffbc0371bb5cfb6189", kill_on_drop: false }`
[INFO] [stdout] a97e22f770b3b5ca04ab2cd578e16da537f09278be8222ffbc0371bb5cfb6189
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e277f3552f0cf71f4bf4f6992fd8f56fef1b6cdde6266989b835630909693f9b
[INFO] running `Command { std: "docker" "start" "-a" "e277f3552f0cf71f4bf4f6992fd8f56fef1b6cdde6266989b835630909693f9b", kill_on_drop: false }`
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling difference v2.0.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling rustgym-util v0.2.4
[INFO] [stderr]    Compiling assert_approx_eq v1.1.0
[INFO] [stderr]    Compiling pretty_assertions v0.6.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rustgym v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> src/leetcode/_1515_best_position_for_a_service_center.rs:30:22
[INFO] [stdout]    |
[INFO] [stdout] 30 |             .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] 30 -             .map(|v| (((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt()))
[INFO] [stdout] 30 +             .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]  --> src/leetcode/_374_guess_number_higher_or_lower.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.61s
[INFO] running `Command { std: "docker" "inspect" "e277f3552f0cf71f4bf4f6992fd8f56fef1b6cdde6266989b835630909693f9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e277f3552f0cf71f4bf4f6992fd8f56fef1b6cdde6266989b835630909693f9b", kill_on_drop: false }`
[INFO] [stdout] e277f3552f0cf71f4bf4f6992fd8f56fef1b6cdde6266989b835630909693f9b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1a1d2ce58578b818b674660e65498b101e2309f9dd7607b1b8ef3b6331c4494c
[INFO] running `Command { std: "docker" "start" "-a" "1a1d2ce58578b818b674660e65498b101e2309f9dd7607b1b8ef3b6331c4494c", kill_on_drop: false }`
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> src/leetcode/_1515_best_position_for_a_service_center.rs:30:22
[INFO] [stdout]    |
[INFO] [stdout] 30 |             .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] 30 -             .map(|v| (((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt()))
[INFO] [stdout] 30 +             .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]  --> src/leetcode/_374_guess_number_higher_or_lower.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     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] [stderr]    Compiling rustgym v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> src/leetcode/_1515_best_position_for_a_service_center.rs:30:22
[INFO] [stdout]    |
[INFO] [stdout] 30 |             .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] 30 -             .map(|v| (((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt()))
[INFO] [stdout] 30 +             .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] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]   --> src/hackerrank/_30_hello_world/mod.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | hackerrank!(test_0, "input00.txt", "output00.txt");
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unexpected argument #2 of type `&mut String`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/hackerrank/_30_hello_world/mod.rs:4:4
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn solve(reader: &mut dyn BufRead) -> Result<String> {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    = note: this error originates in the macro `hackerrank` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]   --> src/hackerrank/_30_hello_world/mod.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | hackerrank!(test_1, "input01.txt", "output01.txt");
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unexpected argument #2 of type `&mut String`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/hackerrank/_30_hello_world/mod.rs:4:4
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn solve(reader: &mut dyn BufRead) -> Result<String> {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    = note: this error originates in the macro `hackerrank` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustgym` (lib test) due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "1a1d2ce58578b818b674660e65498b101e2309f9dd7607b1b8ef3b6331c4494c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a1d2ce58578b818b674660e65498b101e2309f9dd7607b1b8ef3b6331c4494c", kill_on_drop: false }`
[INFO] [stdout] 1a1d2ce58578b818b674660e65498b101e2309f9dd7607b1b8ef3b6331c4494c
