[INFO] cloning repository https://github.com/fgaray/project-euler-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fgaray/project-euler-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffgaray%2Fproject-euler-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffgaray%2Fproject-euler-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d61b820d5bdb1b22269fa9c173c836d3cca64bc5
[INFO] checking fgaray/project-euler-rust against master#32cd9114712a24010b0583624dc52ac302194128 for pr-143717
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffgaray%2Fproject-euler-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fgaray/project-euler-rust
[INFO] finished tweaking git repo https://github.com/fgaray/project-euler-rust
[INFO] tweaked toml for git repo https://github.com/fgaray/project-euler-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fgaray/project-euler-rust on toolchain 32cd9114712a24010b0583624dc52ac302194128
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fgaray/project-euler-rust 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" "+32cd9114712a24010b0583624dc52ac302194128" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 492cfbe5c666439fcfb40a76272c3f8bef7527264849f50556c1e79caaea613c
[INFO] running `Command { std: "docker" "start" "-a" "492cfbe5c666439fcfb40a76272c3f8bef7527264849f50556c1e79caaea613c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "492cfbe5c666439fcfb40a76272c3f8bef7527264849f50556c1e79caaea613c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "492cfbe5c666439fcfb40a76272c3f8bef7527264849f50556c1e79caaea613c", kill_on_drop: false }`
[INFO] [stdout] 492cfbe5c666439fcfb40a76272c3f8bef7527264849f50556c1e79caaea613c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8d4abd1fe39359c831350dc2229bf3aeb0f506725a43af29c511eca40e4441b4
[INFO] running `Command { std: "docker" "start" "-a" "8d4abd1fe39359c831350dc2229bf3aeb0f506725a43af29c511eca40e4441b4", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking euler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std`
[INFO] [stdout]  --> src/problem3/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std;
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]  --> src/problem9/mod.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 |     for b in (1..1000) {
[INFO] [stdout]   |              ^       ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 6 -     for b in (1..1000) {
[INFO] [stdout] 6 +     for b in 1..1000 {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]  --> src/problem9/mod.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 |         for c in (1..1000) {
[INFO] [stdout]   |                  ^       ^
[INFO] [stdout]   |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 7 -         for c in (1..1000) {
[INFO] [stdout] 7 +         for c in 1..1000 {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std`
[INFO] [stdout]  --> src/problem10/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std;
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std`
[INFO] [stdout]  --> src/problem3/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std;
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]  --> src/problem9/mod.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 |     for b in (1..1000) {
[INFO] [stdout]   |              ^       ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 6 -     for b in (1..1000) {
[INFO] [stdout] 6 +     for b in 1..1000 {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]  --> src/problem9/mod.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 |         for c in (1..1000) {
[INFO] [stdout]   |                  ^       ^
[INFO] [stdout]   |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 7 -         for c in (1..1000) {
[INFO] [stdout] 7 +         for c in 1..1000 {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std`
[INFO] [stdout]  --> src/problem10/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std;
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/problem3/mod.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 |    let mut v = prime.get_mem();
[INFO] [stdout]    |        ----^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d1`
[INFO] [stdout]  --> src/problem4/mod.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut d1 = 1;
[INFO] [stdout]   |             ^^ help: if this is intentional, prefix it with an underscore: `_d1`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d2`
[INFO] [stdout]  --> src/problem4/mod.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut d2 = 1;
[INFO] [stdout]   |             ^^ help: if this is intentional, prefix it with an underscore: `_d2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/problem4/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut d1 = 1;
[INFO] [stdout]   |         ----^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/problem4/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut d2 = 1;
[INFO] [stdout]   |         ----^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/utils/prime.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let mut v = Vec::new();
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/utils/prime.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut v = Vec::with_capacity(capacity);
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/problem3/mod.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 |    let mut v = prime.get_mem();
[INFO] [stdout]    |        ----^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d1`
[INFO] [stdout]  --> src/problem4/mod.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut d1 = 1;
[INFO] [stdout]   |             ^^ help: if this is intentional, prefix it with an underscore: `_d1`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d2`
[INFO] [stdout]  --> src/problem4/mod.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut d2 = 1;
[INFO] [stdout]   |             ^^ help: if this is intentional, prefix it with an underscore: `_d2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/problem4/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut d1 = 1;
[INFO] [stdout]   |         ----^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/problem4/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut d2 = 1;
[INFO] [stdout]   |         ----^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problem3/mod.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn solve(n: i64) -> i64 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problem4/mod.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problem5/mod.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn solve(n: i64) -> i64 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problem6/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve(upper: i64) -> i64 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problem7/mod.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn solve(n: i64) -> i64 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problem9/mod.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn solve(constant: i64) -> i64 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_mem` is never used
[INFO] [stdout]   --> src/utils/prime.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Prime {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn get_mem(&mut self) -> &Vec<i64> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reverse` is never used
[INFO] [stdout]   --> src/utils/number.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn reverse(n: i32) -> i32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/utils/prime.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let mut v = Vec::new();
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/utils/prime.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut v = Vec::with_capacity(capacity);
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problem3/mod.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn solve(n: i64) -> i64 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problem4/mod.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn solve() -> i32 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problem5/mod.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn solve(n: i64) -> i64 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problem6/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve(upper: i64) -> i64 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problem7/mod.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn solve(n: i64) -> i64 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/problem9/mod.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn solve(constant: i64) -> i64 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_mem` is never used
[INFO] [stdout]   --> src/utils/prime.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Prime {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn get_mem(&mut self) -> &Vec<i64> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reverse` is never used
[INFO] [stdout]   --> src/utils/number.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn reverse(n: i32) -> i32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] running `Command { std: "docker" "inspect" "8d4abd1fe39359c831350dc2229bf3aeb0f506725a43af29c511eca40e4441b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d4abd1fe39359c831350dc2229bf3aeb0f506725a43af29c511eca40e4441b4", kill_on_drop: false }`
[INFO] [stdout] 8d4abd1fe39359c831350dc2229bf3aeb0f506725a43af29c511eca40e4441b4
