[INFO] cloning repository https://github.com/shelbyd/rust-poker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shelbyd/rust-poker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshelbyd%2Frust-poker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshelbyd%2Frust-poker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b0e571f680bdc9670e3759634e79d25a8344ee6 [INFO] checking shelbyd/rust-poker/6b0e571f680bdc9670e3759634e79d25a8344ee6 against master#fce0e74720d199eb7839fdb51af35ac5226da178 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshelbyd%2Frust-poker" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shelbyd/rust-poker [INFO] finished tweaking git repo https://github.com/shelbyd/rust-poker [INFO] tweaked toml for git repo https://github.com/shelbyd/rust-poker written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shelbyd/rust-poker on toolchain fce0e74720d199eb7839fdb51af35ac5226da178 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shelbyd/rust-poker 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" "+fce0e74720d199eb7839fdb51af35ac5226da178" "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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust_combinatorics v0.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2dbc62177d05d0c2cf76399aa53398c668fe21262ce169d9b7070a18978cb7a1 [INFO] running `Command { std: "docker" "start" "-a" "2dbc62177d05d0c2cf76399aa53398c668fe21262ce169d9b7070a18978cb7a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dbc62177d05d0c2cf76399aa53398c668fe21262ce169d9b7070a18978cb7a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dbc62177d05d0c2cf76399aa53398c668fe21262ce169d9b7070a18978cb7a1", kill_on_drop: false }` [INFO] [stdout] 2dbc62177d05d0c2cf76399aa53398c668fe21262ce169d9b7070a18978cb7a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 059f1d02edf43b9d8b91108ed85c57a685163346982cd48da1b241fbce47041f [INFO] running `Command { std: "docker" "start" "-a" "059f1d02edf43b9d8b91108ed85c57a685163346982cd48da1b241fbce47041f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking rust_combinatorics v0.0.1 [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rust_combinatorics-0.0.1/src/combinatorics/binomial.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | indices: range(0, k).collect(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rust_combinatorics-0.0.1/src/combinatorics/binomial.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | ... let first_thing = range(0, self.k).rev().filter(|&_i| *self.indices.get(_i).unwrap() != _i + self.n() - self.k).take(1).collect:: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rust_combinatorics-0.0.1/src/combinatorics/binomial.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | for j in range(i+1, self.k) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: Copy` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rust_combinatorics-0.0.1/src/combinatorics/binomial.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | fn choose(self, k: usize) -> Choose; [INFO] [stdout] | ^^^^^^^^^ the trait `Copy` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Choose` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rust_combinatorics-0.0.1/src/combinatorics/binomial.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Choose { [INFO] [stdout] | ^^^^ required by this bound in `Choose` [INFO] [stdout] help: consider restricting type parameter `T` with trait `Copy` [INFO] [stdout] | [INFO] [stdout] 54 | pub trait Chooseable { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_combinatorics` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "059f1d02edf43b9d8b91108ed85c57a685163346982cd48da1b241fbce47041f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "059f1d02edf43b9d8b91108ed85c57a685163346982cd48da1b241fbce47041f", kill_on_drop: false }` [INFO] [stdout] 059f1d02edf43b9d8b91108ed85c57a685163346982cd48da1b241fbce47041f