[INFO] cloning repository https://github.com/kopiro/skull-king-lib-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kopiro/skull-king-lib-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkopiro%2Fskull-king-lib-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkopiro%2Fskull-king-lib-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e0b8cfe983d46efeb9563c18d136eb8df7259c3 [INFO] checking kopiro/skull-king-lib-rust against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkopiro%2Fskull-king-lib-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kopiro/skull-king-lib-rust on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kopiro/skull-king-lib-rust [INFO] finished tweaking git repo https://github.com/kopiro/skull-king-lib-rust [INFO] tweaked toml for git repo https://github.com/kopiro/skull-king-lib-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kopiro/skull-king-lib-rust 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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd252b5a62ebb1527bda12bfd7d3590b0265f9bf49726a847e1c339694cd3ece [INFO] running `Command { std: "docker" "start" "-a" "fd252b5a62ebb1527bda12bfd7d3590b0265f9bf49726a847e1c339694cd3ece", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd252b5a62ebb1527bda12bfd7d3590b0265f9bf49726a847e1c339694cd3ece", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd252b5a62ebb1527bda12bfd7d3590b0265f9bf49726a847e1c339694cd3ece", kill_on_drop: false }` [INFO] [stdout] fd252b5a62ebb1527bda12bfd7d3590b0265f9bf49726a847e1c339694cd3ece [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2f88f5f5d408581abdecc8b0297b09987020399c72136702248ef61291c459a [INFO] running `Command { std: "docker" "start" "-a" "a2f88f5f5d408581abdecc8b0297b09987020399c72136702248ef61291c459a", kill_on_drop: false }` [INFO] [stderr] Checking skull-king-lib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0507]: cannot move out of `self.suit` which is behind a shared reference [INFO] [stdout] --> src/card.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | let score: u16 = (self.suit as u16) + add_score; [INFO] [stdout] | ^^^^^^^^^ move occurs because `self.suit` has type `CardSuit`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `CardSuit` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/card.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum CardSuit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 61 | let score: u16 = (self.suit as u16) + add_score; [INFO] [stdout] | --------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.suit` which is behind a shared reference [INFO] [stdout] --> src/card.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | let score: u16 = (self.suit as u16) + add_score; [INFO] [stdout] | ^^^^^^^^^ move occurs because `self.suit` has type `CardSuit`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `CardSuit` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/card.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum CardSuit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 61 | let score: u16 = (self.suit as u16) + add_score; [INFO] [stdout] | --------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `skull-king-lib` (bin "skull-king-lib") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `skull-king-lib` (bin "skull-king-lib" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "a2f88f5f5d408581abdecc8b0297b09987020399c72136702248ef61291c459a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2f88f5f5d408581abdecc8b0297b09987020399c72136702248ef61291c459a", kill_on_drop: false }` [INFO] [stdout] a2f88f5f5d408581abdecc8b0297b09987020399c72136702248ef61291c459a