[INFO] cloning repository https://github.com/adrienthebo/euler-rs
[INFO] running `"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"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrienthebo%2Feuler-rs'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 880ccdb99b25714ab0da19db73c9f843bbf9859c
[INFO] testing adrienthebo/euler-rs against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrienthebo%2Feuler-rs" "/workspace/builds/worker-4-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/adrienthebo/euler-rs on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/adrienthebo/euler-rs already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 38c7d1a9e373a536c3232abee5a12f9da5baeaf5d3f510b65b360bc374d0c91e
[INFO] running `"docker" "start" "38c7d1a9e373a536c3232abee5a12f9da5baeaf5d3f510b65b360bc374d0c91e"`
[INFO] running `"docker" "inspect" "38c7d1a9e373a536c3232abee5a12f9da5baeaf5d3f510b65b360bc374d0c91e"`
[INFO] running `"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" "38c7d1a9e373a536c3232abee5a12f9da5baeaf5d3f510b65b360bc374d0c91e" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "38c7d1a9e373a536c3232abee5a12f9da5baeaf5d3f510b65b360bc374d0c91e"`
[INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "38c7d1a9e373a536c3232abee5a12f9da5baeaf5d3f510b65b360bc374d0c91e" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[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.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-rational v0.2.4
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling primes v0.2.3
[INFO] [stderr]    Compiling num v0.2.1
[INFO] [stderr]    Compiling 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[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] running `"docker" "inspect" "38c7d1a9e373a536c3232abee5a12f9da5baeaf5d3f510b65b360bc374d0c91e"`
[INFO] running `"docker" "rm" "-f" "38c7d1a9e373a536c3232abee5a12f9da5baeaf5d3f510b65b360bc374d0c91e"`
[INFO] [stdout] 38c7d1a9e373a536c3232abee5a12f9da5baeaf5d3f510b65b360bc374d0c91e
