[INFO] cloning repository https://github.com/robinst/advent-of-code-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robinst/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinst%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinst%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc0235764c11c8bf69bec1148f72418ce2ddf857 [INFO] checking robinst/advent-of-code-2019 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinst%2Fadvent-of-code-2019" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robinst/advent-of-code-2019 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/robinst/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/robinst/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/robinst/advent-of-code-2019 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/robinst/advent-of-code-2019 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 num v0.2.0 [INFO] [stderr] Downloaded toml v0.5.5 [INFO] [stderr] Downloaded intrusive-collections v0.8.3 [INFO] [stderr] Downloaded array-macro v1.0.4 [INFO] [stderr] Downloaded enumset_derive v0.4.3 [INFO] [stderr] Downloaded num-complex v0.2.3 [INFO] [stderr] Downloaded num-traits v0.2.10 [INFO] [stderr] Downloaded enum-map-derive v0.4.3 [INFO] [stderr] Downloaded ncurses v5.99.0 [INFO] [stderr] Downloaded signal-hook-registry v1.2.0 [INFO] [stderr] Downloaded term_size v0.3.1 [INFO] [stderr] Downloaded enum-map v0.6.1 [INFO] [stderr] Downloaded crossbeam-channel v0.3.9 [INFO] [stderr] Downloaded hashbrown v0.5.0 [INFO] [stderr] Downloaded cc v1.0.48 [INFO] [stderr] Downloaded arc-swap v0.4.4 [INFO] [stderr] Downloaded signal-hook v0.1.12 [INFO] [stderr] Downloaded num-bigint v0.2.3 [INFO] [stderr] Downloaded xi-unicode v0.2.0 [INFO] [stderr] Downloaded cursive v0.13.0 [INFO] [stderr] Downloaded enumset v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6872b57f4dd7787fc24f3aa00ec577973007e2439b9e9ec185d989e7f51c7c05 [INFO] running `Command { std: "docker" "start" "-a" "6872b57f4dd7787fc24f3aa00ec577973007e2439b9e9ec185d989e7f51c7c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6872b57f4dd7787fc24f3aa00ec577973007e2439b9e9ec185d989e7f51c7c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6872b57f4dd7787fc24f3aa00ec577973007e2439b9e9ec185d989e7f51c7c05", kill_on_drop: false }` [INFO] [stdout] 6872b57f4dd7787fc24f3aa00ec577973007e2439b9e9ec185d989e7f51c7c05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3c123c62cef330958d19300950bcc9978fdade66bbd7fed4309b384d82d7881 [INFO] running `Command { std: "docker" "start" "-a" "b3c123c62cef330958d19300950bcc9978fdade66bbd7fed4309b384d82d7881", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking array-macro v1.0.4 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking hashbrown v0.5.0 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking xi-unicode v0.2.0 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking term_size v0.3.1 [INFO] [stderr] Checking signal-hook v0.1.12 [INFO] [stderr] Checking intrusive-collections v0.8.3 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling enum-map-derive v0.4.3 [INFO] [stderr] Checking enum-map v0.6.1 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling enumset_derive v0.4.3 [INFO] [stderr] Checking enumset v0.4.4 [INFO] [stderr] Checking cursive v0.13.0 [INFO] [stderr] Checking advent-of-code-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0382]: use of moved value: `code` [INFO] [stdout] --> src/bin/day17.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 195 | let code = Intcode::parse(s); [INFO] [stdout] | ---- move occurs because `code` has type `advent_of_code_2019::Intcode`, which does not implement the `Copy` trait [INFO] [stdout] 196 | [INFO] [stdout] 197 | assert_eq!(solve1(code), 5620); [INFO] [stdout] | ---- value moved here [INFO] [stdout] 198 | assert_eq!(solve2(code), 768115); [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `solve1` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/bin/day17.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | fn solve1(code: Intcode) -> i64 { [INFO] [stdout] | ------ ^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 197 | assert_eq!(solve1(code.clone()), 5620); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2019` (bin "day17" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b3c123c62cef330958d19300950bcc9978fdade66bbd7fed4309b384d82d7881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3c123c62cef330958d19300950bcc9978fdade66bbd7fed4309b384d82d7881", kill_on_drop: false }` [INFO] [stdout] b3c123c62cef330958d19300950bcc9978fdade66bbd7fed4309b384d82d7881