[INFO] cloning repository https://github.com/sile/euler.rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sile/euler.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsile%2Feuler.rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsile%2Feuler.rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c39a805dfa9b2708c0496353c5c2c94ad162da3e
[INFO] checking sile/euler.rs against 4d7c0cd298ace72490220301fa543d63a154f8ce for pr-164789
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsile%2Feuler.rs" "/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/sile/euler.rs
[INFO] finished tweaking git repo https://github.com/sile/euler.rs
[INFO] tweaked toml for git repo https://github.com/sile/euler.rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sile/euler.rs on toolchain 4d7c0cd298ace72490220301fa543d63a154f8ce
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d7c0cd298ace72490220301fa543d63a154f8ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sile/euler.rs 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" "+4d7c0cd298ace72490220301fa543d63a154f8ce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `euler` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num v0.4.0
[INFO] [stderr]   Downloaded num-complex v0.4.2
[INFO] [stderr]   Downloaded num-rational v0.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 03c857731be61f9f3fc7b0c0d838e87e9a748c36d507114f5d6a3a71fe903334
[INFO] running `Command { std: "docker" "start" "03c857731be61f9f3fc7b0c0d838e87e9a748c36d507114f5d6a3a71fe903334", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "03c857731be61f9f3fc7b0c0d838e87e9a748c36d507114f5d6a3a71fe903334", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "03c857731be61f9f3fc7b0c0d838e87e9a748c36d507114f5d6a3a71fe903334" "/opt/rustwide/cargo-home/bin/cargo" "+4d7c0cd298ace72490220301fa543d63a154f8ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "03c857731be61f9f3fc7b0c0d838e87e9a748c36d507114f5d6a3a71fe903334", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "03c857731be61f9f3fc7b0c0d838e87e9a748c36d507114f5d6a3a71fe903334" "/opt/rustwide/cargo-home/bin/cargo" "+4d7c0cd298ace72490220301fa543d63a154f8ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `euler` (manifest) generated 1 warning
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking num-complex v0.4.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking num v0.4.0
[INFO] [stderr]     Checking euler_lib v0.1.0 (/opt/rustwide/workdir/euler_lib)
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> euler_lib/src/utils.rs:266:42
[INFO] [stdout]     |
[INFO] [stdout] 266 |         let n = u8::from_str_radix(token.trim_right_matches('\n'), 10).unwrap();
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 266 -         let n = u8::from_str_radix(token.trim_right_matches('\n'), 10).unwrap();
[INFO] [stdout] 266 +         let n = u8::from_str_radix(token.trim_end_matches('\n'), 10).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking euler_03 v0.1.0 (/opt/rustwide/workdir/euler_03)
[INFO] [stderr]     Checking euler_02 v0.1.0 (/opt/rustwide/workdir/euler_02)
[INFO] [stderr]     Checking euler_00 v0.1.0 (/opt/rustwide/workdir/euler_00)
[INFO] [stderr]     Checking euler_01 v0.1.0 (/opt/rustwide/workdir/euler_01)
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> euler_03/src/problem084.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> euler_01/src/problem043.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             (utils::digits_to_int(&ds[1..4]) % 2 == 0 && utils::digits_to_int(&ds[2..5]) % 3 == 0 &&
[INFO] [stdout]    |             ^
[INFO] [stdout] ...
[INFO] [stdout] 36 |              utils::digits_to_int(&ds[7..10]) % 17 == 0)
[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 ~             utils::digits_to_int(&ds[1..4]) % 2 == 0 && utils::digits_to_int(&ds[2..5]) % 3 == 0 &&
[INFO] [stdout] 32 |              utils::digits_to_int(&ds[3..6]) % 5 == 0 &&
[INFO] [stdout] ...
[INFO] [stdout] 35 |              utils::digits_to_int(&ds[6..9]) % 13 == 0 &&
[INFO] [stdout] 36 ~              utils::digits_to_int(&ds[7..10]) % 17 == 0
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> euler_03/src/problem081.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::usize;
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> euler_03/src/problem081.rs:12:30
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut table = [[usize::MAX; EDGE_SIZE + 1]; EDGE_SIZE + 1];
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> euler_03/src/problem083.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::usize;
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]  --> euler_03/src/problem083.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 9 | const INFINITY: usize = usize::MAX / 2;
[INFO] [stdout]   |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> euler_02/src/problem054.rs:52:16
[INFO] [stdout]    |
[INFO] [stdout] 52 |             '2'...'9' => value.to_digit(10).unwrap() as u8,
[INFO] [stdout]    |                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> euler_02/src/problem068.rs:60:27
[INFO] [stdout]    |
[INFO] [stdout] 60 |                           (if i == 0 {
[INFO] [stdout]    |                           ^
[INFO] [stdout] ...
[INFO] [stdout] 64 |                           }),
[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] 60 ~                           if i == 0 {
[INFO] [stdout] 61 |                               x
[INFO] [stdout] 62 |                           } else {
[INFO] [stdout] 63 |                               first
[INFO] [stdout] 64 ~                           },
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> euler_01/src/problem044.rs:11:24
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut min = u64::max_value();
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `shuffle` found for struct `ThreadRng` in the current scope
[INFO] [stdout]    --> euler_03/src/problem084.rs:133:13
[INFO] [stdout]     |
[INFO] [stdout] 133 |         rng.shuffle(&mut cards);
[INFO] [stdout]     |             ^^^^^^^ method not found in `ThreadRng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> euler_01/src/problem044.rs:33:44
[INFO] [stdout]    |
[INFO] [stdout] 33 | ...                   .unwrap_or(u64::max_value()));
[INFO] [stdout]    |                                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `shuffle` found for struct `ThreadRng` in the current scope
[INFO] [stdout]    --> euler_03/src/problem084.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |         rng.shuffle(&mut cards);
[INFO] [stdout]     |             ^^^^^^^ method not found in `ThreadRng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `euler_03` (lib) due to 2 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021
[INFO] [stdout]   --> euler_02/src/problem070.rs:45:11
[INFO] [stdout]    |
[INFO] [stdout] 45 |     count.into_iter().all(|&c| c == 0)
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout]    = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]    |
[INFO] [stdout] 45 -     count.into_iter().all(|&c| c == 0)
[INFO] [stdout] 45 +     count.iter().all(|&c| c == 0)
[INFO] [stdout]    |
[INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
[INFO] [stdout]    |
[INFO] [stdout] 45 -     count.into_iter().all(|&c| c == 0)
[INFO] [stdout] 45 +     IntoIterator::into_iter(count).all(|&c| c == 0)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "03c857731be61f9f3fc7b0c0d838e87e9a748c36d507114f5d6a3a71fe903334", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03c857731be61f9f3fc7b0c0d838e87e9a748c36d507114f5d6a3a71fe903334", kill_on_drop: false }`
[INFO] [stdout] 03c857731be61f9f3fc7b0c0d838e87e9a748c36d507114f5d6a3a71fe903334
