[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] checking lachatak/rust_roulette against try#e622d8d7bed4f2668d446e06c6c1436ecae15796 for pr-156776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flachatak%2Frust_roulette" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[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-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lachatak/rust_roulette on toolchain e622d8d7bed4f2668d446e06c6c1436ecae15796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lachatak/rust_roulette 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" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` 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]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded strcursor v0.2.5
[INFO] [stderr]   Downloaded unicode-segmentation v0.1.2
[INFO] [stderr]   Downloaded scheduled-thread-pool v0.2.0
[INFO] [stderr]   Downloaded itertools v0.4.19
[INFO] [stderr]   Downloaded bitflags v1.0.1
[INFO] [stderr]   Downloaded scan-rules v0.2.0
[INFO] [stderr]   Downloaded rand v0.4.2
[INFO] [stderr]   Downloaded libc v0.2.36
[INFO] [stderr]   Downloaded winapi v0.3.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1da378ca07c2a60ebfa9a4f349a9a5533d30cc480d3c0a7c9bab9d4f31bfd91c
[INFO] running `Command { std: "docker" "start" "-a" "1da378ca07c2a60ebfa9a4f349a9a5533d30cc480d3c0a7c9bab9d4f31bfd91c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1da378ca07c2a60ebfa9a4f349a9a5533d30cc480d3c0a7c9bab9d4f31bfd91c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1da378ca07c2a60ebfa9a4f349a9a5533d30cc480d3c0a7c9bab9d4f31bfd91c", kill_on_drop: false }`
[INFO] [stdout] 1da378ca07c2a60ebfa9a4f349a9a5533d30cc480d3c0a7c9bab9d4f31bfd91c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 809f7a56499372d04971872f7bdb9c8784163810a7ad3089edf3e046a4a4b829
[INFO] running `Command { std: "docker" "start" "-a" "809f7a56499372d04971872f7bdb9c8784163810a7ad3089edf3e046a4a4b829", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling semver v0.1.20
[INFO] [stderr]     Checking unicode-segmentation v0.1.2
[INFO] [stderr]     Checking itertools v0.4.19
[INFO] [stderr]     Checking lazy_static v0.1.16
[INFO] [stderr]     Checking antidote v1.0.0
[INFO] [stderr]     Checking libc v0.2.36
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.0
[INFO] [stderr]    Compiling rustc_version v0.1.7
[INFO] [stderr]     Checking rand v0.4.2
[INFO] [stderr]    Compiling strcursor v0.2.5
[INFO] [stderr]    Compiling scan-rules v0.2.0
[INFO] [stderr]     Checking 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)]` (part of `#[warn(unused)]`) 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]    = 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[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)]` (part of `#[warn(unused)]`) 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]    = 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0204]: the trait `Copy` cannot be implemented for this type
[INFO] [stdout]   --> src/main.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |     #[derive(Debug, Copy, Clone)]
[INFO] [stdout]    |                     ---- in this derive macro expansion
[INFO] [stdout] 22 |     struct Player {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 23 |         name: String,
[INFO] [stdout]    |         ------------ this field does not implement `Copy`
[INFO] [stdout] 24 |         amount: u32,
[INFO] [stdout] 25 |         bets: Vec<Bet>,
[INFO] [stdout]    |         -------------- this field does not implement `Copy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0204]: the trait `Copy` cannot be implemented for this type
[INFO] [stdout]    --> src/main.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 152 |     #[derive(Debug, Copy, Clone)]
[INFO] [stdout]     |                     ---- in this derive macro expansion
[INFO] [stdout] 153 |     struct Table {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 154 |         wheel: Wheel,
[INFO] [stdout] 155 |         players: Vec<Player>,
[INFO] [stdout]     |         -------------------- this field does not implement `Copy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:111:25
[INFO] [stdout]     |
[INFO] [stdout] 111 |                     let mut table = Table::new();
[INFO] [stdout]     |                         ----^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of partially moved value: `self`
[INFO] [stdout]    --> src/main.rs:128:35
[INFO] [stdout]     |
[INFO] [stdout] 126 |                 Some(Table{wheel, players}) =>
[INFO] [stdout]     |                                   ------- value partially moved here
[INFO] [stdout] 127 | //                    let p = self.table.unwrap().players;
[INFO] [stdout] 128 |                     thread::spawn(move || {
[INFO] [stdout]     |                                   ^^^^^^^ value used here after partial move
[INFO] [stdout] 129 |                         println!("{:?}", self);
[INFO] [stdout]     |                                          ---- use occurs due to use in closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: partial move occurs because value has type `Vec<Player>`, which does not implement the `Copy` trait
[INFO] [stdout] help: borrow this binding in the pattern to avoid moving the value
[INFO] [stdout]     |
[INFO] [stdout] 126 |                 Some(Table{wheel, ref players}) =>
[INFO] [stdout]     |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `players`
[INFO] [stdout]    --> src/main.rs:126:35
[INFO] [stdout]     |
[INFO] [stdout] 126 |                 Some(Table{wheel, players}) =>
[INFO] [stdout]     |                                   ^^^^^^^ help: try ignoring the field: `players: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0204]: the trait `Copy` cannot be implemented for this type
[INFO] [stdout]   --> src/main.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |     #[derive(Debug, Copy, Clone)]
[INFO] [stdout]    |                     ---- in this derive macro expansion
[INFO] [stdout] 22 |     struct Player {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 23 |         name: String,
[INFO] [stdout]    |         ------------ this field does not implement `Copy`
[INFO] [stdout] 24 |         amount: u32,
[INFO] [stdout] 25 |         bets: Vec<Bet>,
[INFO] [stdout]    |         -------------- this field does not implement `Copy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0204]: the trait `Copy` cannot be implemented for this type
[INFO] [stdout]    --> src/main.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 152 |     #[derive(Debug, Copy, Clone)]
[INFO] [stdout]     |                     ---- in this derive macro expansion
[INFO] [stdout] 153 |     struct Table {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 154 |         wheel: Wheel,
[INFO] [stdout] 155 |         players: Vec<Player>,
[INFO] [stdout]     |         -------------------- this field does not implement `Copy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0204, E0382.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0204`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_test` (bin "rust_test" test) due to 3 previous errors; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:111:25
[INFO] [stdout]     |
[INFO] [stdout] 111 |                     let mut table = Table::new();
[INFO] [stdout]     |                         ----^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of partially moved value: `self`
[INFO] [stdout]    --> src/main.rs:128:35
[INFO] [stdout]     |
[INFO] [stdout] 126 |                 Some(Table{wheel, players}) =>
[INFO] [stdout]     |                                   ------- value partially moved here
[INFO] [stdout] 127 | //                    let p = self.table.unwrap().players;
[INFO] [stdout] 128 |                     thread::spawn(move || {
[INFO] [stdout]     |                                   ^^^^^^^ value used here after partial move
[INFO] [stdout] 129 |                         println!("{:?}", self);
[INFO] [stdout]     |                                          ---- use occurs due to use in closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: partial move occurs because value has type `Vec<Player>`, which does not implement the `Copy` trait
[INFO] [stdout] help: borrow this binding in the pattern to avoid moving the value
[INFO] [stdout]     |
[INFO] [stdout] 126 |                 Some(Table{wheel, ref players}) =>
[INFO] [stdout]     |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `players`
[INFO] [stdout]    --> src/main.rs:126:35
[INFO] [stdout]     |
[INFO] [stdout] 126 |                 Some(Table{wheel, players}) =>
[INFO] [stdout]     |                                   ^^^^^^^ help: try ignoring the field: `players: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0204, E0382.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0204`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_test` (bin "rust_test") due to 3 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "809f7a56499372d04971872f7bdb9c8784163810a7ad3089edf3e046a4a4b829", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "809f7a56499372d04971872f7bdb9c8784163810a7ad3089edf3e046a4a4b829", kill_on_drop: false }`
[INFO] [stdout] 809f7a56499372d04971872f7bdb9c8784163810a7ad3089edf3e046a4a4b829
