[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#6f12b8fe67b4eed2e838dab803ed9493b9d62c0f for pr-79073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivansandrk%2FAdventOfCode2019" "/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/ivansandrk/AdventOfCode2019 on toolchain 6f12b8fe67b4eed2e838dab803ed9493b9d62c0f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "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-13/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" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c57cc4b2dc74391657ca9fc1579bbc1e64e69e2cbb8a1e146f6be0abf7186a7c [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" "c57cc4b2dc74391657ca9fc1579bbc1e64e69e2cbb8a1e146f6be0abf7186a7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c57cc4b2dc74391657ca9fc1579bbc1e64e69e2cbb8a1e146f6be0abf7186a7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c57cc4b2dc74391657ca9fc1579bbc1e64e69e2cbb8a1e146f6be0abf7186a7c", kill_on_drop: false }` [INFO] [stdout] c57cc4b2dc74391657ca9fc1579bbc1e64e69e2cbb8a1e146f6be0abf7186a7c [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da3a20d520a95821a2a005870de247bd590bc6b95b5142c25cd8b90007c6cef7 [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" "da3a20d520a95821a2a005870de247bd590bc6b95b5142c25cd8b90007c6cef7", 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 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] 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] note: associated function defined here [INFO] [stdout] --> src/bin/cpu.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stdout] | ^^^ -------------------- [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] note: associated function defined here [INFO] [stdout] --> src/bin/cpu.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stdout] | ^^^ --------- ------------------- [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] note: associated function defined here [INFO] [stdout] --> src/bin/cpu.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stdout] | ^^^ -------------------- [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] note: associated function defined here [INFO] [stdout] --> src/bin/cpu.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stdout] | ^^^ --------- ------------------- [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: 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] 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] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bin/day11.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let mut cpu = cpu::Computer::new(mem.clone(), vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----------- ------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/bin/cpu.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stdout] | ^^^ -------------------- [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: 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] warning: 1 warning emitted [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] [stderr] error: could not compile `aoc` [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: 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: 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] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day13.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut joystick; [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: 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: variable does not need to be mutable [INFO] [stdout] --> src/bin/day13.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut joystick; [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: 1 warning emitted [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] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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] note: associated function defined here [INFO] [stdout] --> src/bin/cpu.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stdout] | ^^^ -------------------- [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] note: associated function defined here [INFO] [stdout] --> src/bin/cpu.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stdout] | ^^^ --------- ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `halted` found for struct `Computer` in the current scope [INFO] [stdout] --> src/bin/day11.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | while !cpu.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 `extend_input` found for struct `Computer` in the current scope [INFO] [stdout] --> src/bin/day11.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | cpu.extend_input(vec![*e]); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Computer` [INFO] [stdout] | [INFO] [stdout] ::: src/bin/cpu.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Computer { [INFO] [stdout] | ------------------- method `extend_input` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/bin/day11.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | let res = cpu.run(); [INFO] [stdout] | ^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/bin/cpu.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stdout] | ^^^ --------- ------------------- [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] note: associated function defined here [INFO] [stdout] --> src/bin/cpu.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stdout] | ^^^ -------------------- [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] note: associated function defined here [INFO] [stdout] --> src/bin/cpu.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stdout] | ^^^ --------- ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bin/day11.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | cpu = cpu::Computer::new(mem.clone(), vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----------- ------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/bin/cpu.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stdout] | ^^^ -------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `halted` found for struct `Computer` in the current scope [INFO] [stdout] --> src/bin/day11.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | while !cpu.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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `extend_input` found for struct `Computer` in the current scope [INFO] [stdout] --> src/bin/day11.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | cpu.extend_input(vec![*e]); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Computer` [INFO] [stdout] | [INFO] [stdout] ::: src/bin/cpu.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Computer { [INFO] [stdout] | ------------------- method `extend_input` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/bin/day11.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | let res = cpu.run(); [INFO] [stdout] | ^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/bin/cpu.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stdout] | ^^^ --------- ------------------- [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] note: associated function defined here [INFO] [stdout] --> src/bin/cpu.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stdout] | ^^^ -------------------- [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] note: associated function defined here [INFO] [stdout] --> src/bin/cpu.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stdout] | ^^^ --------- ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [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] note: associated function defined here [INFO] [stdout] --> src/bin/cpu.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stdout] | ^^^ -------------------- [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] note: associated function defined here [INFO] [stdout] --> src/bin/cpu.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stdout] | ^^^ --------- ------------------- [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] 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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [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: 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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "da3a20d520a95821a2a005870de247bd590bc6b95b5142c25cd8b90007c6cef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da3a20d520a95821a2a005870de247bd590bc6b95b5142c25cd8b90007c6cef7", kill_on_drop: false }` [INFO] [stdout] da3a20d520a95821a2a005870de247bd590bc6b95b5142c25cd8b90007c6cef7