[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [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 a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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 intrusive-collections v0.8.3 [INFO] [stderr] Downloaded cursive v0.13.0 [INFO] [stderr] Downloaded signal-hook v0.1.12 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f140ddec7d7c52ef74c2a812951607445bc5fbdac875c029ef2a3c08282da728 [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" "f140ddec7d7c52ef74c2a812951607445bc5fbdac875c029ef2a3c08282da728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f140ddec7d7c52ef74c2a812951607445bc5fbdac875c029ef2a3c08282da728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f140ddec7d7c52ef74c2a812951607445bc5fbdac875c029ef2a3c08282da728", kill_on_drop: false }` [INFO] [stdout] f140ddec7d7c52ef74c2a812951607445bc5fbdac875c029ef2a3c08282da728 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbd917e9232a0f46bfcec106693487af325ee0136b211698fd8d96110aca975c [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" "fbd917e9232a0f46bfcec106693487af325ee0136b211698fd8d96110aca975c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [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 strsim v0.9.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking hashbrown v0.5.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking xi-unicode v0.2.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking itertools v0.8.2 [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-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking intrusive-collections v0.8.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 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] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking enum-map v0.6.1 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day08.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day16.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day13.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day10.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day05.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day04.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day06.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day11.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day03.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day18.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day14.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day12.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day01.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day17.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day09.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day19.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day02.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/bin/day18.rs (1 fix) [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/day07.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/day15.rs from 2018 edition to 2021 [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] [stderr] error: could not compile `advent-of-code-2019` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 3 warnings emitted [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] [stderr] Fixed src/bin/day18.rs (1 fix) [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: 2 warnings emitted [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] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "fbd917e9232a0f46bfcec106693487af325ee0136b211698fd8d96110aca975c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbd917e9232a0f46bfcec106693487af325ee0136b211698fd8d96110aca975c", kill_on_drop: false }` [INFO] [stdout] fbd917e9232a0f46bfcec106693487af325ee0136b211698fd8d96110aca975c