[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#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinst%2Fadvent-of-code-2019" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robinst/advent-of-code-2019 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-7/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: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f33c8fbf917dafa99a37039f17f332cad8c5c71b7e6e238ad550ba57be6cef5d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f33c8fbf917dafa99a37039f17f332cad8c5c71b7e6e238ad550ba57be6cef5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f33c8fbf917dafa99a37039f17f332cad8c5c71b7e6e238ad550ba57be6cef5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f33c8fbf917dafa99a37039f17f332cad8c5c71b7e6e238ad550ba57be6cef5d", kill_on_drop: false }` [INFO] [stdout] f33c8fbf917dafa99a37039f17f332cad8c5c71b7e6e238ad550ba57be6cef5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf06679582886efc2f967054b4ad5d4a0627d5341519358b5d4a7ae2611911ce [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bf06679582886efc2f967054b4ad5d4a0627d5341519358b5d4a7ae2611911ce", 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 ident_case v1.0.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking array-macro v1.0.4 [INFO] [stderr] Checking hashbrown v0.5.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Checking term_size v0.3.1 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking signal-hook v0.1.12 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking itertools v0.8.2 [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-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking intrusive-collections v0.8.3 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking num v0.2.0 [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] warning: function is never used: `go_recursive` [INFO] [stdout] --> src/bin/day15.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn go_recursive(code: &mut Intcode, steps: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `energy` [INFO] [stdout] --> src/bin/day12.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn energy(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `energy` [INFO] [stdout] --> src/bin/day12.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn energy(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `total_energy` [INFO] [stdout] --> src/bin/day12.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | fn total_energy(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `play_game` [INFO] [stdout] --> src/bin/day13.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn play_game() -> (usize, i64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/bin/day18.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `go_recursive` [INFO] [stdout] --> src/bin/day15.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn go_recursive(code: &mut Intcode, steps: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/day18.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let s = include_str!("../../input/2019/day18.txt").trim(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_keys` [INFO] [stdout] --> src/bin/day18.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn find_keys(map: &Map, start: &Point, treat_empty: &HashSet) -> Vec<(Point, usize)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/bin/day18.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | fn set(&mut self, p: &Point, t: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/bin/day18.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [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] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_keys` [INFO] [stdout] --> src/bin/day18.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn find_keys(map: &Map, start: &Point, treat_empty: &HashSet) -> Vec<(Point, usize)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/bin/day18.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | fn set(&mut self, p: &Point, t: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2019` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bf06679582886efc2f967054b4ad5d4a0627d5341519358b5d4a7ae2611911ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf06679582886efc2f967054b4ad5d4a0627d5341519358b5d4a7ae2611911ce", kill_on_drop: false }` [INFO] [stdout] bf06679582886efc2f967054b4ad5d4a0627d5341519358b5d4a7ae2611911ce