[INFO] cloning repository https://github.com/ivansandrk/AdventOfCode2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ivansandrk/AdventOfCode2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivansandrk%2FAdventOfCode2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivansandrk%2FAdventOfCode2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73f80d2d16582a71ad34674342f525902b4bd051 [INFO] checking ivansandrk/AdventOfCode2019 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivansandrk%2FAdventOfCode2019" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ivansandrk/AdventOfCode2019 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ivansandrk/AdventOfCode2019 [INFO] finished tweaking git repo https://github.com/ivansandrk/AdventOfCode2019 [INFO] tweaked toml for git repo https://github.com/ivansandrk/AdventOfCode2019 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/ivansandrk/AdventOfCode2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8393e29c0e77926feca5d2c596b867897deb7b7160150d22597828027a754aeb [INFO] running `Command { std: "docker" "start" "-a" "8393e29c0e77926feca5d2c596b867897deb7b7160150d22597828027a754aeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8393e29c0e77926feca5d2c596b867897deb7b7160150d22597828027a754aeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8393e29c0e77926feca5d2c596b867897deb7b7160150d22597828027a754aeb", kill_on_drop: false }` [INFO] [stdout] 8393e29c0e77926feca5d2c596b867897deb7b7160150d22597828027a754aeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14e804a6033f1cc01e81fb97a35fa445485f0ad914c490902975467ce17335cb [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" "14e804a6033f1cc01e81fb97a35fa445485f0ad914c490902975467ce17335cb", kill_on_drop: false }` [INFO] [stderr] Checking permutohedron v0.2.4 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bin/main.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | fn foo(v: &mut Vec) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/bin/day15.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 92 | 'outer: while let Some(((row, col), distance)) = open.pop_front() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `P2` [INFO] [stdout] --> src/bin/day12.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | let P2 = [ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_P2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `P1` [INFO] [stdout] --> src/bin/day12.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | let P1 = [ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_P1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dump` [INFO] [stdout] --> src/bin/day12.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn dump(P: &[Vector; 4], V: &[Vector; 4]) { [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] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bin/day7.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | computers.push(cpu::Computer::new(mem.clone(), vec![phase_setting[i]])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----------- ---------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] ::: src/bin/cpu.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stdout] | -------------------------------------------- defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bin/day9.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | let mut computer = cpu::Computer::new(mem.clone(), vec![1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----------- ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] ::: src/bin/cpu.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stdout] | -------------------------------------------- defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/bin/day9.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | println!("{:?}", computer.run()); [INFO] [stdout] | ^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] ::: src/bin/cpu.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stdout] | ---------------------------------------------------------- defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bin/day5.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | let mut computer = cpu::Computer::new(mem.clone(), vec![1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----------- ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] ::: src/bin/cpu.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stdout] | -------------------------------------------- defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bin/day9.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let mut computer = cpu::Computer::new(mem.clone(), vec![2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----------- ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] ::: src/bin/cpu.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stdout] | -------------------------------------------- defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/bin/day5.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | println!("{:?}", computer.run()); [INFO] [stdout] | ^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] ::: src/bin/cpu.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stdout] | ---------------------------------------------------------- defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/bin/day9.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | println!("{:?}", computer.run()); [INFO] [stdout] | ^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] ::: src/bin/cpu.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stdout] | ---------------------------------------------------------- defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bin/day9.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | let mut computer = cpu::Computer::new(mem.clone(), vec![1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----------- ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] ::: src/bin/cpu.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stdout] | -------------------------------------------- defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bin/day5.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let mut computer = cpu::Computer::new(mem.clone(), vec![5]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----------- ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] ::: src/bin/cpu.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stdout] | -------------------------------------------- defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/bin/day5.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | println!("{:?}", computer.run()); [INFO] [stdout] | ^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] ::: src/bin/cpu.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stdout] | ---------------------------------------------------------- defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/bin/day9.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | println!("{:?}", computer.run()); [INFO] [stdout] | ^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] ::: src/bin/cpu.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stdout] | ---------------------------------------------------------- defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bin/day9.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let mut computer = cpu::Computer::new(mem.clone(), vec![2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----------- ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] ::: src/bin/cpu.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stdout] | -------------------------------------------- defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/bin/day9.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | println!("{:?}", computer.run()); [INFO] [stdout] | ^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] ::: src/bin/cpu.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stdout] | ---------------------------------------------------------- defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/day16.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | for i in 0..100 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/day15.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 22 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 23 | // println!("{}", "\n".repeat(10)); [INFO] [stdout] 24 | / for row in -21..=19 { [INFO] [stdout] 25 | | for col in -21..=19 { [INFO] [stdout] 26 | | let t = if row == cur_row && col == cur_col { [INFO] [stdout] 27 | | &Tile::Current [INFO] [stdout] ... | [INFO] [stdout] 41 | | println!(""); [INFO] [stdout] 42 | | } [INFO] [stdout] | |___^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day2.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | println!("{:?}", run_program(mem.clone(), 12, 2)); [INFO] [stdout] | ^^^^^^^^^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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 E0061`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day2.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | if run_program(mem.clone(), noun, verb) == TARGET_OUTPUT { [INFO] [stdout] | ^^^^^^^^^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` [INFO] [stdout] error[E0599]: no method named `extend_input` found for mutable reference `&mut Computer` in the current scope [INFO] [stdout] --> src/bin/day7.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | c.extend_input(vec![signal]); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&mut Computer` [INFO] [stdout] [INFO] [stdout] [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] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/bin/day7.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | signal = c.run()[0]; [INFO] [stdout] | ^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] ::: src/bin/cpu.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stdout] | ---------------------------------------------------------- defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `halted` found for struct `Computer` in the current scope [INFO] [stdout] --> src/bin/day7.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | if computers[0].halted() { [INFO] [stdout] | ^^^^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/bin/cpu.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Computer { [INFO] [stdout] | ------------------- method `halted` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `halted` found for struct `Computer` in the current scope [INFO] [stdout] --> src/bin/day7.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | assert!(computers[i].halted()); [INFO] [stdout] | ^^^^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/bin/cpu.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Computer { [INFO] [stdout] | ------------------- method `halted` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 9 | fn highest_thrusters_signal(mem: &Vec, phase_setting: &mut [i32]) -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] ... [INFO] [stdout] 38 | max_output [INFO] [stdout] | ^^^^^^^^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to `i32` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 38 | max_output.try_into().unwrap() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/bin/day15.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | fn draw_map(map: &HashMap<(i32,i32),Tile>, cur_row: i32, cur_col: i32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_row` [INFO] [stdout] --> src/bin/day15.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | fn draw_map(map: &HashMap<(i32,i32),Tile>, cur_row: i32, cur_col: i32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_col` [INFO] [stdout] --> src/bin/day15.rs:21:58 [INFO] [stdout] | [INFO] [stdout] 21 | fn draw_map(map: &HashMap<(i32,i32),Tile>, cur_row: i32, cur_col: i32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [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 E0061`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:48:47 [INFO] [stdout] | [INFO] [stdout] 48 | println!("{:?}", highest_thrusters_signal(&mem, &mut [0, 1, 2, 3, 4])); [INFO] [stdout] | ^^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `P2` [INFO] [stdout] --> src/bin/day12.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | let P2 = [ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_P2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `P1` [INFO] [stdout] --> src/bin/day12.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | let P1 = [ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_P1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day7.rs:49:47 [INFO] [stdout] | [INFO] [stdout] 49 | println!("{:?}", highest_thrusters_signal(&mem, &mut [5, 6, 7, 8, 9])); [INFO] [stdout] | ^^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dump` [INFO] [stdout] --> src/bin/day12.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn dump(P: &[Vector; 4], V: &[Vector; 4]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lo` is never read [INFO] [stdout] --> src/bin/day14.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | let mut lo = 1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dump` [INFO] [stdout] --> src/bin/day17.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn dump(V: &Vec>, row: i32, col: i32, dir: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `determine_drawing_function` [INFO] [stdout] --> src/bin/day17.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn determine_drawing_function(V: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/bin/day17.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | fn is_intersection(i: usize, j: usize, V: &Vec>) -> bool { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/bin/day17.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | fn dump(V: &Vec>, row: i32, col: i32, dir: usize) { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/bin/day17.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | fn determine_drawing_function(V: &Vec>) { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/bin/day17.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | let mut V = Vec::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/bin/day17.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 89 | let V = output_to_vector(&cpu.run(vec![])); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "14e804a6033f1cc01e81fb97a35fa445485f0ad914c490902975467ce17335cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14e804a6033f1cc01e81fb97a35fa445485f0ad914c490902975467ce17335cb", kill_on_drop: false }` [INFO] [stdout] 14e804a6033f1cc01e81fb97a35fa445485f0ad914c490902975467ce17335cb