[INFO] cloning repository https://github.com/TygerBurning/aoc22 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TygerBurning/aoc22" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTygerBurning%2Faoc22", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTygerBurning%2Faoc22'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71778bd920ef52cb32020b76dc03d0b8ee291117 [INFO] checking TygerBurning/aoc22 against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125741 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTygerBurning%2Faoc22" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TygerBurning/aoc22 on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TygerBurning/aoc22 [INFO] finished tweaking git repo https://github.com/TygerBurning/aoc22 [INFO] tweaked toml for git repo https://github.com/TygerBurning/aoc22 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TygerBurning/aoc22 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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking TygerBurning/aoc22 against try#0525276e4a85ae0a91f6f7447e501e2981e77908 for pr-125741 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTygerBurning%2Faoc22" "/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/TygerBurning/aoc22 on toolchain 0525276e4a85ae0a91f6f7447e501e2981e77908 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0525276e4a85ae0a91f6f7447e501e2981e77908" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TygerBurning/aoc22 [INFO] finished tweaking git repo https://github.com/TygerBurning/aoc22 [INFO] tweaked toml for git repo https://github.com/TygerBurning/aoc22 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TygerBurning/aoc22 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" "+0525276e4a85ae0a91f6f7447e501e2981e77908" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking TygerBurning/aoc22 against try#0525276e4a85ae0a91f6f7447e501e2981e77908 for pr-125741 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTygerBurning%2Faoc22" "/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/TygerBurning/aoc22 on toolchain 0525276e4a85ae0a91f6f7447e501e2981e77908 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0525276e4a85ae0a91f6f7447e501e2981e77908" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TygerBurning/aoc22 [INFO] finished tweaking git repo https://github.com/TygerBurning/aoc22 [INFO] tweaked toml for git repo https://github.com/TygerBurning/aoc22 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TygerBurning/aoc22 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" "+0525276e4a85ae0a91f6f7447e501e2981e77908" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt v0.3.25 [INFO] [stderr] Downloaded libc v0.2.110 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0525276e4a85ae0a91f6f7447e501e2981e77908" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4c91f35b627588bb96073fa0532370568c1fad66db7f3634f8450a21873d431 [INFO] running `Command { std: "docker" "start" "-a" "d4c91f35b627588bb96073fa0532370568c1fad66db7f3634f8450a21873d431", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4c91f35b627588bb96073fa0532370568c1fad66db7f3634f8450a21873d431", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4c91f35b627588bb96073fa0532370568c1fad66db7f3634f8450a21873d431", kill_on_drop: false }` [INFO] [stdout] d4c91f35b627588bb96073fa0532370568c1fad66db7f3634f8450a21873d431 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0525276e4a85ae0a91f6f7447e501e2981e77908" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a18870e29e9cec7f4cdd3b25c991e00862fb96eeaf915763986f69916e09e90e [INFO] running `Command { std: "docker" "start" "-a" "a18870e29e9cec7f4cdd3b25c991e00862fb96eeaf915763986f69916e09e90e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.110 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking aoc22 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0382]: use of moved value: `opponent` [INFO] [stdout] --> src/day02.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 22 | fn contest(opponent: Choice, me: Choice) -> GameResult { [INFO] [stdout] | -------- move occurs because `opponent` has type `Choice`, which does not implement the `Copy` trait [INFO] [stdout] 23 | if opponent as usize == me as usize { [INFO] [stdout] | -------- value moved here [INFO] [stdout] 24 | GameResult::Draw [INFO] [stdout] 25 | } else if opponent as usize == me as usize % 3 + 1 { [INFO] [stdout] | ^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: if `Choice` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/day02.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | enum Choice { [INFO] [stdout] | ^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 23 | if opponent as usize == me as usize { [INFO] [stdout] | -------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `me` [INFO] [stdout] --> src/day02.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 22 | fn contest(opponent: Choice, me: Choice) -> GameResult { [INFO] [stdout] | -- move occurs because `me` has type `Choice`, which does not implement the `Copy` trait [INFO] [stdout] 23 | if opponent as usize == me as usize { [INFO] [stdout] | -- value moved here [INFO] [stdout] 24 | GameResult::Draw [INFO] [stdout] 25 | } else if opponent as usize == me as usize % 3 + 1 { [INFO] [stdout] | ^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: if `Choice` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/day02.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | enum Choice { [INFO] [stdout] | ^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 23 | if opponent as usize == me as usize { [INFO] [stdout] | -- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `me` [INFO] [stdout] --> src/day02.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 78 | let me = Choice::from_str(&cap[2]).unwrap(); [INFO] [stdout] | -- move occurs because `me` has type `Choice`, which does not implement the `Copy` trait [INFO] [stdout] 79 | me as u32 + contest(opponent, me) as u32 [INFO] [stdout] | -- value moved here ^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: if `Choice` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/day02.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | enum Choice { [INFO] [stdout] | ^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 79 | me as u32 + contest(opponent, me) as u32 [INFO] [stdout] | -- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `result` [INFO] [stdout] --> src/day02.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 86 | let result = GameResult::from_str(&cap[2]).unwrap(); [INFO] [stdout] | ------ move occurs because `result` has type `GameResult`, which does not implement the `Copy` trait [INFO] [stdout] 87 | result as u32 + i_should_pick(opponent, result) as u32 [INFO] [stdout] | ------ value moved here ^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: if `GameResult` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/day02.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | enum GameResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 87 | result as u32 + i_should_pick(opponent, result) as u32 [INFO] [stdout] | ------ you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `opponent` [INFO] [stdout] --> src/day02.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 22 | fn contest(opponent: Choice, me: Choice) -> GameResult { [INFO] [stdout] | -------- move occurs because `opponent` has type `Choice`, which does not implement the `Copy` trait [INFO] [stdout] 23 | if opponent as usize == me as usize { [INFO] [stdout] | -------- value moved here [INFO] [stdout] 24 | GameResult::Draw [INFO] [stdout] 25 | } else if opponent as usize == me as usize % 3 + 1 { [INFO] [stdout] | ^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: if `Choice` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/day02.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | enum Choice { [INFO] [stdout] | ^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 23 | if opponent as usize == me as usize { [INFO] [stdout] | -------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `me` [INFO] [stdout] --> src/day02.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 22 | fn contest(opponent: Choice, me: Choice) -> GameResult { [INFO] [stdout] | -- move occurs because `me` has type `Choice`, which does not implement the `Copy` trait [INFO] [stdout] 23 | if opponent as usize == me as usize { [INFO] [stdout] | -- value moved here [INFO] [stdout] 24 | GameResult::Draw [INFO] [stdout] 25 | } else if opponent as usize == me as usize % 3 + 1 { [INFO] [stdout] | ^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: if `Choice` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/day02.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | enum Choice { [INFO] [stdout] | ^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 23 | if opponent as usize == me as usize { [INFO] [stdout] | -- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `me` [INFO] [stdout] --> src/day02.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 78 | let me = Choice::from_str(&cap[2]).unwrap(); [INFO] [stdout] | -- move occurs because `me` has type `Choice`, which does not implement the `Copy` trait [INFO] [stdout] 79 | me as u32 + contest(opponent, me) as u32 [INFO] [stdout] | -- value moved here ^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: if `Choice` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/day02.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | enum Choice { [INFO] [stdout] | ^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 79 | me as u32 + contest(opponent, me) as u32 [INFO] [stdout] | -- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `result` [INFO] [stdout] --> src/day02.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 86 | let result = GameResult::from_str(&cap[2]).unwrap(); [INFO] [stdout] | ------ move occurs because `result` has type `GameResult`, which does not implement the `Copy` trait [INFO] [stdout] 87 | result as u32 + i_should_pick(opponent, result) as u32 [INFO] [stdout] | ------ value moved here ^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: if `GameResult` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/day02.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | enum GameResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 87 | result as u32 + i_should_pick(opponent, result) as u32 [INFO] [stdout] | ------ you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc22` (bin "aoc22") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc22` (bin "aoc22" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "a18870e29e9cec7f4cdd3b25c991e00862fb96eeaf915763986f69916e09e90e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a18870e29e9cec7f4cdd3b25c991e00862fb96eeaf915763986f69916e09e90e", kill_on_drop: false }` [INFO] [stdout] a18870e29e9cec7f4cdd3b25c991e00862fb96eeaf915763986f69916e09e90e