[INFO] cloning repository https://github.com/errantsky/adventofcode-2017 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/errantsky/adventofcode-2017" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferrantsky%2Fadventofcode-2017", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferrantsky%2Fadventofcode-2017'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a2d92f2213497e21cd7325c1a6923e8e58337fd [INFO] checking errantsky/adventofcode-2017 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferrantsky%2Fadventofcode-2017" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/errantsky/adventofcode-2017 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/errantsky/adventofcode-2017 [INFO] finished tweaking git repo https://github.com/errantsky/adventofcode-2017 [INFO] tweaked toml for git repo https://github.com/errantsky/adventofcode-2017 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/errantsky/adventofcode-2017 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 9627eaa4a0f800429167d61cb6a445d701828e4341da68e8edb2f8f51d2b7a2d [INFO] running `Command { std: "docker" "start" "-a" "9627eaa4a0f800429167d61cb6a445d701828e4341da68e8edb2f8f51d2b7a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9627eaa4a0f800429167d61cb6a445d701828e4341da68e8edb2f8f51d2b7a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9627eaa4a0f800429167d61cb6a445d701828e4341da68e8edb2f8f51d2b7a2d", kill_on_drop: false }` [INFO] [stdout] 9627eaa4a0f800429167d61cb6a445d701828e4341da68e8edb2f8f51d2b7a2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 69fa195e0f79a113349f992c7a3ee0211e62876a7d051d7f2b0e42cae26cee91 [INFO] running `Command { std: "docker" "start" "-a" "69fa195e0f79a113349f992c7a3ee0211e62876a7d051d7f2b0e42cae26cee91", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking adventofcode-2017 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/spiral_memory_3.rs (1 fix) [INFO] [stderr] Fixed src/digital_plumber_12.rs (2 fixes) [INFO] [stderr] Fixed src/memory_realloc_6.rs (5 fixes) [INFO] [stderr] Fixed src/stream_processing_9.rs (1 fix) [INFO] [stderr] Fixed src/high_entropy_passphrase_4.rs (2 fixes) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/memory_realloc_6.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let file = File::open("/Users/sep/CLionProjects/adventofcode-2017/src/inputs/day6.txt").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 37 | use crate::digital_plumber_12::File; [INFO] [stdout] | [INFO] [stdout] 37 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader` [INFO] [stdout] --> src/memory_realloc_6.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | let buffered = BufReader::new(file); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 37 | use crate::digital_plumber_12::BufReader; [INFO] [stdout] | [INFO] [stdout] 37 | use std::io::BufReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/stream_processing_9.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | let file = File::open("/Users/sep/CLionProjects/adventofcode-2017/src/inputs/day9.txt").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 58 | use crate::digital_plumber_12::File; [INFO] [stdout] | [INFO] [stdout] 58 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader` [INFO] [stdout] --> src/stream_processing_9.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | let buffered = BufReader::new(file); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 58 | use crate::digital_plumber_12::BufReader; [INFO] [stdout] | [INFO] [stdout] 58 | use std::io::BufReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/registers_8.rs (1 fix) [INFO] [stderr] Fixed src/memory_realloc_6.rs (2 fixes) [INFO] [stderr] Fixed src/stream_processing_9.rs (2 fixes) [INFO] [stdout] error[E0599]: no method named `lines` found for struct `std::io::BufReader` in the current scope [INFO] [stdout] --> src/registers_8.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | let buffered = BufReader::new(file).lines(); [INFO] [stdout] | ^^^^^ method not found in `std::io::BufReader` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::io::BufRead;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lines` found for struct `std::io::BufReader` in the current scope [INFO] [stdout] --> src/registers_8.rs:56:45 [INFO] [stdout] | [INFO] [stdout] 56 | let buffered = BufReader::new(file).lines(); [INFO] [stdout] | ^^^^^ method not found in `std::io::BufReader` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::io::BufRead;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode-2017` due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function is never used: `inverse_captcha` [INFO] [stdout] --> src/inverse_captcha_1.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn inverse_captcha(input: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `inverse_captcha2` [INFO] [stdout] --> src/inverse_captcha_1.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn inverse_captcha2(input: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid` [INFO] [stdout] --> src/high_entropy_passphrase_4.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_valid(passphrase: String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid_advanced` [INFO] [stdout] --> src/high_entropy_passphrase_4.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn is_valid_advanced(passphrase: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spiral_idx_to_xy` [INFO] [stdout] --> src/spiral_memory_3.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn spiral_idx_to_xy(idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `I` [INFO] [stdout] --> src/spiral_memory_3.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | type I = i32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `U` [INFO] [stdout] --> src/spiral_memory_3.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | type U = usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `layer_index` [INFO] [stdout] --> src/spiral_memory_3.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn layer_index(p: I) -> (I, I, I, I) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mod_pos` [INFO] [stdout] --> src/spiral_memory_3.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn mod_pos(a: I, b: I) -> I { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `manhattan` [INFO] [stdout] --> src/spiral_memory_3.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn manhattan(p: I) -> I { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/spiral_memory_3.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn part2(target: I) -> I { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_part_1` [INFO] [stdout] --> src/maze_5.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn solve_part_1(mut list: Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_part_2` [INFO] [stdout] --> src/maze_5.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn solve_part_2(mut list: Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_input` [INFO] [stdout] --> src/maze_5.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn read_input() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_p1` [INFO] [stdout] --> src/memory_realloc_6.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn solve_p1(mut banks: Vec) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/registers_8.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn part1(lines: Lines>) -> (i32, i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_part1` [INFO] [stdout] --> src/stream_processing_9.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn solve_part1(stream: String) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bfs` [INFO] [stdout] --> src/digital_plumber_12.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn bfs(adjacency_map: &HashMap>, visited_nodes: &mut HashSet, start_node: u16) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bfs_alt` [INFO] [stdout] --> src/digital_plumber_12.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn bfs_alt(adjacency_map: HashMap>) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part1` [INFO] [stdout] --> src/digital_plumber_12.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn part1(adjacency_map: HashMap>) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part2` [INFO] [stdout] --> src/digital_plumber_12.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn part2(adjacency_map: HashMap>) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_input` [INFO] [stdout] --> src/digital_plumber_12.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn read_input(path: &str) -> HashMap>{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings 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" "69fa195e0f79a113349f992c7a3ee0211e62876a7d051d7f2b0e42cae26cee91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69fa195e0f79a113349f992c7a3ee0211e62876a7d051d7f2b0e42cae26cee91", kill_on_drop: false }` [INFO] [stdout] 69fa195e0f79a113349f992c7a3ee0211e62876a7d051d7f2b0e42cae26cee91