[INFO] cloning repository https://github.com/raywiis/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/raywiis/Advent-of-Code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraywiis%2FAdvent-of-Code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraywiis%2FAdvent-of-Code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bee66aac93306b463e0ab549afd80cd4085396d3 [INFO] checking raywiis/Advent-of-Code-2019 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraywiis%2FAdvent-of-Code-2019" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/raywiis/Advent-of-Code-2019 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/raywiis/Advent-of-Code-2019 [INFO] finished tweaking git repo https://github.com/raywiis/Advent-of-Code-2019 [INFO] tweaked toml for git repo https://github.com/raywiis/Advent-of-Code-2019 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/raywiis/Advent-of-Code-2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a8b15b2ead3c5c0b02b23fcaf9c941bc3dea247fd17f964f4a83565b21faa64 [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" "8a8b15b2ead3c5c0b02b23fcaf9c941bc3dea247fd17f964f4a83565b21faa64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a8b15b2ead3c5c0b02b23fcaf9c941bc3dea247fd17f964f4a83565b21faa64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a8b15b2ead3c5c0b02b23fcaf9c941bc3dea247fd17f964f4a83565b21faa64", kill_on_drop: false }` [INFO] [stdout] 8a8b15b2ead3c5c0b02b23fcaf9c941bc3dea247fd17f964f4a83565b21faa64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f539318616b9a089dff5f777cc09c38c64b33a97294c9cd5ca63f62f29c03e3 [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" "8f539318616b9a089dff5f777cc09c38c64b33a97294c9cd5ca63f62f29c03e3", kill_on_drop: false }` [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-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking advent-of-code-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/lib.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let target = memory[instruction_ptr + 3]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/lib.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | let target = memory[instruction_ptr + 3]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backup_mode` [INFO] [stdout] --> src/lib.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | let backup_mode = match modes.0 { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backup_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination_ptr` [INFO] [stdout] --> src/lib.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | let destination_ptr = memory[instruction_ptr + 1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/lib.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let target = memory[instruction_ptr + 3]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/lib.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | let target = memory[instruction_ptr + 3]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backup_mode` [INFO] [stdout] --> src/lib.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | let backup_mode = match modes.0 { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backup_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination_ptr` [INFO] [stdout] --> src/lib.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | let destination_ptr = memory[instruction_ptr + 1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phase` [INFO] [stdout] --> src/bin/16.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | for phase in 0..100 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_phase` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `signal` is never read [INFO] [stdout] --> src/bin/16.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | signal = vec!(); [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: unused variable: `phase` [INFO] [stdout] --> src/bin/16.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | for phase in 0..phase_count { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_phase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/bin/3_1.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/bin/3_1.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/8.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | pixel_count %= (width * height); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default::Default` [INFO] [stdout] --> src/bin/13.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `layer_count` is assigned to, but never used [INFO] [stdout] --> src/bin/8.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut layer_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_layer_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `Result` [INFO] [stdout] --> src/bin/14.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{prelude::*, BufReader, Result}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/7.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | let exit = execute(&mut memory, &inputs, &mut outputs); [INFO] [stdout] | ^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec` [INFO] [stdout] found mutable reference `&mut Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/7.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | let exit = execute(&mut memory, &inputs, &mut outputs); [INFO] [stdout] | ^^^^^^^ expected slice `[i64]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[i64]` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/7.rs:77:46 [INFO] [stdout] | [INFO] [stdout] 77 | let exit = execute(&mut memory, &inputs, &mut outputs); [INFO] [stdout] | ^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec` [INFO] [stdout] found mutable reference `&mut Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/bin/14.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{prelude::*, BufReader, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fuel_count` [INFO] [stdout] --> src/bin/14.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | let mut fuel_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fuel_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/bin/5.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | std::mem::replace(&mut memory[target as usize], a + b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/bin/5.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | std::mem::replace(&mut memory[target as usize], a * b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/14.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | let mut fuel_count = 0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `INPUT` should have a snake case name [INFO] [stdout] --> src/bin/14.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let INPUT = "13 RXWQR => 4 JXCXB [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/13.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut oog = oof.next().unwrap_or(Ok(String::from("2"))).unwrap_or(String::from("2")); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExitCode` [INFO] [stdout] --> src/bin/15.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use advent_of_code_2019::intcode::{execute, ExitCode}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/bin/15.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/8.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | pixel_count %= (width * height); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin_lines` [INFO] [stdout] --> src/bin/15.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let mut stdin_lines = stdin.lock().lines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin_lines` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `wave` is never read [INFO] [stdout] --> src/bin/15.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let mut wave = vec!(); [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: unused variable: `v` [INFO] [stdout] --> src/bin/15.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | for (k, v) in map.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `layer_count` is assigned to, but never used [INFO] [stdout] --> src/bin/8.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut layer_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_layer_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/15.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let mut stdin_lines = stdin.lock().lines(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `probe` [INFO] [stdout] --> src/bin/15.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | fn probe(robot: &mut Robot, direction: char, map: &mut HashMap<(i32, i32), char>) -> char { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `show_map` [INFO] [stdout] --> src/bin/15.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | fn show_map(map: &HashMap<(i32, i32), char>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/7.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | let exit = execute(&mut memory, &inputs, &mut outputs); [INFO] [stdout] | ^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec` [INFO] [stdout] found mutable reference `&mut Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/7.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | let exit = execute(&mut memory, &inputs, &mut outputs); [INFO] [stdout] | ^^^^^^^ expected slice `[i64]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[i64]` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/7.rs:77:46 [INFO] [stdout] | [INFO] [stdout] 77 | let exit = execute(&mut memory, &inputs, &mut outputs); [INFO] [stdout] | ^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec` [INFO] [stdout] found mutable reference `&mut Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8f539318616b9a089dff5f777cc09c38c64b33a97294c9cd5ca63f62f29c03e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f539318616b9a089dff5f777cc09c38c64b33a97294c9cd5ca63f62f29c03e3", kill_on_drop: false }` [INFO] [stdout] 8f539318616b9a089dff5f777cc09c38c64b33a97294c9cd5ca63f62f29c03e3