[INFO] cloning repository https://github.com/lachatak/rust_roulette [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lachatak/rust_roulette" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flachatak%2Frust_roulette", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flachatak%2Frust_roulette'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56ea70ec878b2cd237e255d5ddc223363c9d46e8 [INFO] testing lachatak/rust_roulette against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flachatak%2Frust_roulette" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lachatak/rust_roulette on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lachatak/rust_roulette [INFO] finished tweaking git repo https://github.com/lachatak/rust_roulette [INFO] tweaked toml for git repo https://github.com/lachatak/rust_roulette written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/lachatak/rust_roulette already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6820ce21a9b2c6cfb39cca85dc9ce1d9ebc47a9e5063da030897377068a00270 [INFO] running `Command { std: "docker" "start" "-a" "6820ce21a9b2c6cfb39cca85dc9ce1d9ebc47a9e5063da030897377068a00270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6820ce21a9b2c6cfb39cca85dc9ce1d9ebc47a9e5063da030897377068a00270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6820ce21a9b2c6cfb39cca85dc9ce1d9ebc47a9e5063da030897377068a00270", kill_on_drop: false }` [INFO] [stdout] 6820ce21a9b2c6cfb39cca85dc9ce1d9ebc47a9e5063da030897377068a00270 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] beb8bb653b323a5bc7826a48519aa6ac55c1a14029b741c83e80c0dfe25ac2b4 [INFO] running `Command { std: "docker" "start" "-a" "beb8bb653b323a5bc7826a48519aa6ac55c1a14029b741c83e80c0dfe25ac2b4", kill_on_drop: false }` [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling unicode-segmentation v0.1.2 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling strcursor v0.2.5 [INFO] [stderr] Compiling scan-rules v0.2.0 [INFO] [stderr] Compiling rust_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 100 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(n @ 0 ... 36) => Ok(BetType::Number(n)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | 0 ... 36 => Ok(Pocket { pocket_number }), [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0204]: the trait `Copy` may not be implemented for this type [INFO] [stdout] --> src/main.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | struct Player { [INFO] [stdout] 23 | name: String, [INFO] [stdout] | ------------ this field does not implement `Copy` [INFO] [stdout] 24 | amount: u32, [INFO] [stdout] 25 | bets: Vec, [INFO] [stdout] | -------------- this field does not implement `Copy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0204]: the trait `Copy` may not be implemented for this type [INFO] [stdout] --> src/main.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | players: Vec, [INFO] [stdout] | -------------------- this field does not implement `Copy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0204`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_test` due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "beb8bb653b323a5bc7826a48519aa6ac55c1a14029b741c83e80c0dfe25ac2b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "beb8bb653b323a5bc7826a48519aa6ac55c1a14029b741c83e80c0dfe25ac2b4", kill_on_drop: false }` [INFO] [stdout] beb8bb653b323a5bc7826a48519aa6ac55c1a14029b741c83e80c0dfe25ac2b4