[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 master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flachatak%2Frust_roulette" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lachatak/rust_roulette on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scan-rules v0.2.0 [INFO] [stderr] Downloaded strcursor v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11fe5ea444f98886bd404247fa9f3a5e395af66b46f47d23fa12437f06ab381c [INFO] running `Command { std: "docker" "start" "-a" "11fe5ea444f98886bd404247fa9f3a5e395af66b46f47d23fa12437f06ab381c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11fe5ea444f98886bd404247fa9f3a5e395af66b46f47d23fa12437f06ab381c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11fe5ea444f98886bd404247fa9f3a5e395af66b46f47d23fa12437f06ab381c", kill_on_drop: false }` [INFO] [stdout] 11fe5ea444f98886bd404247fa9f3a5e395af66b46f47d23fa12437f06ab381c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2e15ec81fe7f2fffb0d0dd86bb6a8a03e0d06f2eb102e956bf903d6c5ed90af [INFO] running `Command { std: "docker" "start" "-a" "a2e15ec81fe7f2fffb0d0dd86bb6a8a03e0d06f2eb102e956bf903d6c5ed90af", kill_on_drop: false }` [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 libc v0.2.36 [INFO] [stderr] Checking antidote v1.0.0 [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] error[E0204]: the trait `Copy` cannot 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` cannot 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` cannot 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[E0204]: the trait `Copy` cannot 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[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`, 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] 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`, 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] error: aborting due to 3 previous errors [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] [stdout] error: aborting due to 3 previous errors [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 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_test` (bin "rust_test" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "a2e15ec81fe7f2fffb0d0dd86bb6a8a03e0d06f2eb102e956bf903d6c5ed90af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2e15ec81fe7f2fffb0d0dd86bb6a8a03e0d06f2eb102e956bf903d6c5ed90af", kill_on_drop: false }` [INFO] [stdout] a2e15ec81fe7f2fffb0d0dd86bb6a8a03e0d06f2eb102e956bf903d6c5ed90af