[INFO] cloning repository https://github.com/robcampbell79/murder_mystery [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robcampbell79/murder_mystery" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobcampbell79%2Fmurder_mystery", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobcampbell79%2Fmurder_mystery'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05ec998f67c5db4845983668a92cc0017afe1d85 [INFO] checking robcampbell79/murder_mystery against try#d8a5ee01b913730aca7ab44c72c8f2722c0533ff for pr-139022 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobcampbell79%2Fmurder_mystery" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robcampbell79/murder_mystery on toolchain d8a5ee01b913730aca7ab44c72c8f2722c0533ff [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/robcampbell79/murder_mystery [INFO] finished tweaking git repo https://github.com/robcampbell79/murder_mystery [INFO] tweaked toml for git repo https://github.com/robcampbell79/murder_mystery written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/robcampbell79/murder_mystery 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" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 322422a5e4f728d3e0ef316b795c117bbb0e8a2471cc03e017be2089f3a13b41 [INFO] running `Command { std: "docker" "start" "-a" "322422a5e4f728d3e0ef316b795c117bbb0e8a2471cc03e017be2089f3a13b41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "322422a5e4f728d3e0ef316b795c117bbb0e8a2471cc03e017be2089f3a13b41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "322422a5e4f728d3e0ef316b795c117bbb0e8a2471cc03e017be2089f3a13b41", kill_on_drop: false }` [INFO] [stdout] 322422a5e4f728d3e0ef316b795c117bbb0e8a2471cc03e017be2089f3a13b41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81835ba8f18cf14b0c454f199455ed7817d717258ebae1c518e39cbe5282bbd9 [INFO] running `Command { std: "docker" "start" "-a" "81835ba8f18cf14b0c454f199455ed7817d717258ebae1c518e39cbe5282bbd9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking murder_mystery v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/lib.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | Guilty {person: person[get_suspect], place: place[get_room], method: method[get_weapon]} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Suspect`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `Suspect` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Suspect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 45 | Guilty {person: person[get_suspect], place: place[get_room], method: method[get_weapon]} [INFO] [stdout] | ------------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/lib.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | Guilty {person: person[get_suspect], place: place[get_room], method: method[get_weapon]} [INFO] [stdout] | ^^^^^^^^^^^^^^^ move occurs because value has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 45 | Guilty {person: person[get_suspect], place: place[get_room].clone(), method: method[get_weapon]} [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/lib.rs:45:78 [INFO] [stdout] | [INFO] [stdout] 45 | Guilty {person: person[get_suspect], place: place[get_room], method: method[get_weapon]} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 45 | Guilty {person: person[get_suspect], place: place[get_room], method: method[get_weapon].clone()} [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/lib.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | Guilty {person: person[get_suspect], place: place[get_room], method: method[get_weapon]} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Suspect`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `Suspect` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Suspect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 45 | Guilty {person: person[get_suspect], place: place[get_room], method: method[get_weapon]} [INFO] [stdout] | ------------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/lib.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | Guilty {person: person[get_suspect], place: place[get_room], method: method[get_weapon]} [INFO] [stdout] | ^^^^^^^^^^^^^^^ move occurs because value has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 45 | Guilty {person: person[get_suspect], place: place[get_room].clone(), method: method[get_weapon]} [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/lib.rs:45:78 [INFO] [stdout] | [INFO] [stdout] 45 | Guilty {person: person[get_suspect], place: place[get_room], method: method[get_weapon]} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because value has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 45 | Guilty {person: person[get_suspect], place: place[get_room], method: method[get_weapon].clone()} [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `murder_mystery` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `murder_mystery` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "81835ba8f18cf14b0c454f199455ed7817d717258ebae1c518e39cbe5282bbd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81835ba8f18cf14b0c454f199455ed7817d717258ebae1c518e39cbe5282bbd9", kill_on_drop: false }` [INFO] [stdout] 81835ba8f18cf14b0c454f199455ed7817d717258ebae1c518e39cbe5282bbd9