[INFO] cloning repository https://github.com/adrienthebo/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/adrienthebo/euler-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrienthebo%2Feuler-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrienthebo%2Feuler-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 880ccdb99b25714ab0da19db73c9f843bbf9859c
[INFO] checking adrienthebo/euler-rs against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrienthebo%2Feuler-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/adrienthebo/euler-rs
[INFO] finished tweaking git repo https://github.com/adrienthebo/euler-rs
[INFO] tweaked toml for git repo https://github.com/adrienthebo/euler-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/adrienthebo/euler-rs on toolchain e117153a45c546e883c1f91d82611775fcaeffe0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/adrienthebo/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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "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] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded primes v0.2.3
[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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3351634afb7eef3846a1f0ada803f5d2cdecdc56c5f12a90bec23cf1ca075d41
[INFO] running `Command { std: "docker" "start" "-a" "3351634afb7eef3846a1f0ada803f5d2cdecdc56c5f12a90bec23cf1ca075d41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3351634afb7eef3846a1f0ada803f5d2cdecdc56c5f12a90bec23cf1ca075d41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3351634afb7eef3846a1f0ada803f5d2cdecdc56c5f12a90bec23cf1ca075d41", kill_on_drop: false }`
[INFO] [stdout] 3351634afb7eef3846a1f0ada803f5d2cdecdc56c5f12a90bec23cf1ca075d41
[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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0495e3c05dae60a4a3f2fab0ac4756d6d5df7fec6338b1e8ba1d1f50d6e842b0
[INFO] running `Command { std: "docker" "start" "-a" "0495e3c05dae60a4a3f2fab0ac4756d6d5df7fec6338b1e8ba1d1f50d6e842b0", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]     Checking primes v0.2.3
[INFO] [stderr]     Checking num v0.2.1
[INFO] [stderr]     Checking euler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0601]: `main` function not found in crate `p6`
[INFO] [stdout]   --> src/bin/p6.rs:31:2
[INFO] [stdout]    |
[INFO] [stdout] 31 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/bin/p6.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `fold` exists for struct `std::ops::RangeInclusive<BigInt>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/bin/p6.rs:9:28
[INFO] [stdout]     |
[INFO] [stdout]   9 |     let n = (start..=stop).fold(Zero::zero(), |acc, n| acc + n);
[INFO] [stdout]     |                            ^^^^ method cannot be called on `std::ops::RangeInclusive<BigInt>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-0.2.6/src/bigint.rs:115:1
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub struct BigInt {
[INFO] [stdout]     | ----------------- doesn't satisfy `BigInt: Step`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `BigInt: Step`
[INFO] [stdout]             which is required by `std::ops::RangeInclusive<BigInt>: Iterator`
[INFO] [stdout]             `std::ops::RangeInclusive<BigInt>: Iterator`
[INFO] [stdout]             which is required by `&mut std::ops::RangeInclusive<BigInt>: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `fold` exists for struct `std::ops::RangeInclusive<BigInt>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/bin/p6.rs:14:20
[INFO] [stdout]     |
[INFO] [stdout]  14 |     (start..=stop).fold(Zero::zero(), |acc, n| acc + n * n)
[INFO] [stdout]     |                    ^^^^ method cannot be called on `std::ops::RangeInclusive<BigInt>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-0.2.6/src/bigint.rs:115:1
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub struct BigInt {
[INFO] [stdout]     | ----------------- doesn't satisfy `BigInt: Step`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `BigInt: Step`
[INFO] [stdout]             which is required by `std::ops::RangeInclusive<BigInt>: Iterator`
[INFO] [stdout]             `std::ops::RangeInclusive<BigInt>: Iterator`
[INFO] [stdout]             which is required by `&mut std::ops::RangeInclusive<BigInt>: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `fold` exists for struct `std::ops::RangeInclusive<BigInt>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/bin/p6.rs:9:28
[INFO] [stdout]     |
[INFO] [stdout]   9 |     let n = (start..=stop).fold(Zero::zero(), |acc, n| acc + n);
[INFO] [stdout]     |                            ^^^^ method cannot be called on `std::ops::RangeInclusive<BigInt>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-0.2.6/src/bigint.rs:115:1
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub struct BigInt {
[INFO] [stdout]     | ----------------- doesn't satisfy `BigInt: Step`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `BigInt: Step`
[INFO] [stdout]             which is required by `std::ops::RangeInclusive<BigInt>: Iterator`
[INFO] [stdout]             `std::ops::RangeInclusive<BigInt>: Iterator`
[INFO] [stdout]             which is required by `&mut std::ops::RangeInclusive<BigInt>: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `fold` exists for struct `std::ops::RangeInclusive<BigInt>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/bin/p6.rs:14:20
[INFO] [stdout]     |
[INFO] [stdout]  14 |     (start..=stop).fold(Zero::zero(), |acc, n| acc + n * n)
[INFO] [stdout]     |                    ^^^^ method cannot be called on `std::ops::RangeInclusive<BigInt>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-0.2.6/src/bigint.rs:115:1
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub struct BigInt {
[INFO] [stdout]     | ----------------- doesn't satisfy `BigInt: Step`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `BigInt: Step`
[INFO] [stdout]             which is required by `std::ops::RangeInclusive<BigInt>: Iterator`
[INFO] [stdout]             `std::ops::RangeInclusive<BigInt>: Iterator`
[INFO] [stdout]             which is required by `&mut std::ops::RangeInclusive<BigInt>: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/bin/p6.rs:29:28
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert_eq!(delta().into(), 25164150.to_bigint().unwrap());
[INFO] [stdout]    |                            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: cannot satisfy `_: From<BigInt>`
[INFO] [stdout]    = note: required for `BigInt` to implement `Into<_>`
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]    |
[INFO] [stdout] 29 -         assert_eq!(delta().into(), 25164150.to_bigint().unwrap());
[INFO] [stdout] 29 +         assert_eq!(<BigInt as Into<T>>::into(delta()), 25164150.to_bigint().unwrap());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `start`
[INFO] [stdout]   --> src/bin/p6.rs:20:34
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let start = 1_u32.to_bigint().unwrap();
[INFO] [stdout]    |         ----- move occurs because `start` has type `BigInt`, which does not implement the `Copy` trait
[INFO] [stdout] 19 |     let stop = 100_u32.to_bigint().unwrap();
[INFO] [stdout] 20 |     sum_sq(start, stop) - sq_sum(start, stop)
[INFO] [stdout]    |            -----                 ^^^^^ value used here after move
[INFO] [stdout]    |            |
[INFO] [stdout]    |            value moved here
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `sum_sq` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/bin/p6.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn sum_sq(start: BigInt, stop: BigInt) -> BigInt {
[INFO] [stdout]    |    ------        ^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 20 |     sum_sq(start.clone(), stop) - sq_sum(start, stop)
[INFO] [stdout]    |                 ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `stop`
[INFO] [stdout]   --> src/bin/p6.rs:20:41
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let stop = 100_u32.to_bigint().unwrap();
[INFO] [stdout]    |         ---- move occurs because `stop` has type `BigInt`, which does not implement the `Copy` trait
[INFO] [stdout] 20 |     sum_sq(start, stop) - sq_sum(start, stop)
[INFO] [stdout]    |                   ---- value moved here ^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `sum_sq` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/bin/p6.rs:13:32
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn sum_sq(start: BigInt, stop: BigInt) -> BigInt {
[INFO] [stdout]    |    ------ in this function     ^^^^^^ this parameter takes ownership of the value
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 20 |     sum_sq(start, stop.clone()) - sq_sum(start, stop)
[INFO] [stdout]    |                       ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0599, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `euler` (bin "p6") due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0382]: use of moved value: `start`
[INFO] [stdout]   --> src/bin/p6.rs:20:34
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let start = 1_u32.to_bigint().unwrap();
[INFO] [stdout]    |         ----- move occurs because `start` has type `BigInt`, which does not implement the `Copy` trait
[INFO] [stdout] 19 |     let stop = 100_u32.to_bigint().unwrap();
[INFO] [stdout] 20 |     sum_sq(start, stop) - sq_sum(start, stop)
[INFO] [stdout]    |            -----                 ^^^^^ value used here after move
[INFO] [stdout]    |            |
[INFO] [stdout]    |            value moved here
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `sum_sq` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/bin/p6.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn sum_sq(start: BigInt, stop: BigInt) -> BigInt {
[INFO] [stdout]    |    ------        ^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 20 |     sum_sq(start.clone(), stop) - sq_sum(start, stop)
[INFO] [stdout]    |                 ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `stop`
[INFO] [stdout]   --> src/bin/p6.rs:20:41
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let stop = 100_u32.to_bigint().unwrap();
[INFO] [stdout]    |         ---- move occurs because `stop` has type `BigInt`, which does not implement the `Copy` trait
[INFO] [stdout] 20 |     sum_sq(start, stop) - sq_sum(start, stop)
[INFO] [stdout]    |                   ---- value moved here ^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `sum_sq` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/bin/p6.rs:13:32
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn sum_sq(start: BigInt, stop: BigInt) -> BigInt {
[INFO] [stdout]    |    ------ in this function     ^^^^^^ this parameter takes ownership of the value
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 20 |     sum_sq(start, stop.clone()) - sq_sum(start, stop)
[INFO] [stdout]    |                       ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0283, E0382, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0283`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `euler` (bin "p6" test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "0495e3c05dae60a4a3f2fab0ac4756d6d5df7fec6338b1e8ba1d1f50d6e842b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0495e3c05dae60a4a3f2fab0ac4756d6d5df7fec6338b1e8ba1d1f50d6e842b0", kill_on_drop: false }`
[INFO] [stdout] 0495e3c05dae60a4a3f2fab0ac4756d6d5df7fec6338b1e8ba1d1f50d6e842b0
