[INFO] cloning repository https://github.com/omerbenamram/AOC2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/omerbenamram/AOC2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomerbenamram%2FAOC2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomerbenamram%2FAOC2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c418f03e3e80e4b7605ca2ad6dd0fca05fc78b0 [INFO] checking omerbenamram/AOC2019 against try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomerbenamram%2FAOC2019" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/omerbenamram/AOC2019 on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/omerbenamram/AOC2019 [INFO] finished tweaking git repo https://github.com/omerbenamram/AOC2019 [INFO] tweaked toml for git repo https://github.com/omerbenamram/AOC2019 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/omerbenamram/AOC2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tinytemplate v1.2.1 [INFO] [stderr] Downloaded cast v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/jobserver:/tmp/crater-runner-fifo:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "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] 0ffc572145042a7f7b381ccd3b9e42717956475d7a07d491f531babfa73bdf5b [INFO] running `Command { std: "docker" "start" "-a" "0ffc572145042a7f7b381ccd3b9e42717956475d7a07d491f531babfa73bdf5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ffc572145042a7f7b381ccd3b9e42717956475d7a07d491f531babfa73bdf5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ffc572145042a7f7b381ccd3b9e42717956475d7a07d491f531babfa73bdf5b", kill_on_drop: false }` [INFO] [stdout] 0ffc572145042a7f7b381ccd3b9e42717956475d7a07d491f531babfa73bdf5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/jobserver:/tmp/crater-runner-fifo:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "RUSTUP_TOOLCHAIN=4a04890980766cc79878135f5ade8c0c4321e943" "-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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/tmp/crater-runner-fifo/jobserver-crater-fwd" "/opt/rustwide/cargo-home/bin/cargo" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] b45decc71b0a86a2d519d975aeb8fe0e77fab2707971102093774336c1d3a9c2 [INFO] running `Command { std: "docker" "start" "-a" "b45decc71b0a86a2d519d975aeb8fe0e77fab2707971102093774336c1d3a9c2", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking plotters-backend v0.3.0 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking day4 v0.1.0 (/opt/rustwide/workdir/day4) [INFO] [stderr] Checking day1 v0.1.0 (/opt/rustwide/workdir/day1) [INFO] [stderr] Checking day8 v0.1.0 (/opt/rustwide/workdir/day8) [INFO] [stderr] Checking day3 v0.1.0 (/opt/rustwide/workdir/day3) [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Compiling cast v0.2.5 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking intcode_computer v0.1.0 (/opt/rustwide/workdir/intcode-computer) [INFO] [stderr] Checking aoc_graph v0.1.0 (/opt/rustwide/workdir/aoc-graph) [INFO] [stderr] Checking day6 v0.1.0 (/opt/rustwide/workdir/day6) [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stdout] warning: associated function is never used: `with_capacity` [INFO] [stdout] --> day6/./src/lib.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_capacity(n: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Immediate`, `Relative` [INFO] [stdout] --> intcode-computer/./src/lib.rs:399:28 [INFO] [stdout] | [INFO] [stdout] 399 | use crate::Parameter::{Immediate, Relative}; [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] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking day12 v0.1.0 (/opt/rustwide/workdir/day12) [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> day12/./src/lib.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{bail, Context, Error, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> day12/./src/lib.rs:167:15 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn part_2(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> intcode-computer/./src/lib.rs:427:36 [INFO] [stdout] | [INFO] [stdout] 427 | test_memory!("1,0,0,0,99", vec![], "2,0,0,0,99"); [INFO] [stdout] | ^^^^^^ expected `&[i64]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[i64]` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> intcode-computer/./src/lib.rs:428:36 [INFO] [stdout] | [INFO] [stdout] 428 | test_memory!("2,3,0,3,99", vec![], "2,3,0,6,99"); [INFO] [stdout] | ^^^^^^ expected `&[i64]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[i64]` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> intcode-computer/./src/lib.rs:429:38 [INFO] [stdout] | [INFO] [stdout] 429 | test_memory!("2,4,4,5,99,0", vec![], "2,4,4,5,99,9801"); [INFO] [stdout] | ^^^^^^ expected `&[i64]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[i64]` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> intcode-computer/./src/lib.rs:430:45 [INFO] [stdout] | [INFO] [stdout] 430 | test_memory!("1,1,1,4,99,5,6,0,99", vec![], "30,1,1,4,2,5,6,0,99"); [INFO] [stdout] | ^^^^^^ expected `&[i64]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[i64]` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> day12/./src/lib.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{bail, Context, Error, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> intcode-computer/./src/lib.rs:435:39 [INFO] [stdout] | [INFO] [stdout] 435 | test_memory!("1002,4,3,4,33", vec![1], "1002,4,3,4,99"); [INFO] [stdout] | ^^^^^^^ expected `&[i64]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[i64]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> intcode-computer/./src/lib.rs:440:50 [INFO] [stdout] | [INFO] [stdout] 440 | test_output!("3,9,8,9,10,9,4,9,99,-1,8", vec![0], vec![0]); [INFO] [stdout] | ^^^^^^^ expected `&[i64]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[i64]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> intcode-computer/./src/lib.rs:441:50 [INFO] [stdout] | [INFO] [stdout] 441 | test_output!("3,9,8,9,10,9,4,9,99,-1,8", vec![8], vec![1]); [INFO] [stdout] | ^^^^^^^ expected `&[i64]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[i64]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> intcode-computer/./src/lib.rs:442:66 [INFO] [stdout] | [INFO] [stdout] 442 | test_output!("3,12,6,12,15,1,13,14,13,4,13,99,-1,0,1,9", vec![0], vec![0]); [INFO] [stdout] | ^^^^^^^ expected `&[i64]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[i64]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day10 v0.1.0 (/opt/rustwide/workdir/day10) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> day12/./src/lib.rs:167:15 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn part_2(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> intcode-computer/./src/lib.rs:447:61 [INFO] [stdout] | [INFO] [stdout] 447 | test_output!("3,3,1105,-1,9,1101,0,0,12,4,12,99,1", vec![0], vec![0]); [INFO] [stdout] | ^^^^^^^ expected `&[i64]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[i64]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day5 v0.1.0 (/opt/rustwide/workdir/day5) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day2 v0.1.0 (/opt/rustwide/workdir/day2) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> intcode-computer/./src/lib.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | vec![], [INFO] [stdout] | ^^^^^^ expected `&[i64]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[i64]` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> day10/./src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | (2.0 * std::f32::consts::PI - atan) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> intcode-computer/./src/lib.rs:458:49 [INFO] [stdout] | [INFO] [stdout] 458 | test_output!("104,1125899906842624,99", vec![], vec![1125899906842624]); [INFO] [stdout] | ^^^^^^ expected `&[i64]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[i64]` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day9 v0.1.0 (/opt/rustwide/workdir/day9) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> intcode-computer/./src/lib.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | vec![], [INFO] [stdout] | ^^^^^^ expected `&[i64]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[i64]` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `intcode_computer` [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day5/./src/lib.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | computer.write_to_input(vec![1])?; [INFO] [stdout] | ^^^^^^^ expected `&[i64]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[i64]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day5/./src/lib.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | computer.write_to_input(vec![5])?; [INFO] [stdout] | ^^^^^^^ expected `&[i64]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[i64]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day9/./src/lib.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | computer.write_to_input(vec![1])?; [INFO] [stdout] | ^^^^^^^ expected `&[i64]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[i64]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day9/./src/lib.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | computer.write_to_input(vec![2])?; [INFO] [stdout] | ^^^^^^^ expected `&[i64]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[i64]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: build failed [INFO] running `Command { std: "docker" "inspect" "b45decc71b0a86a2d519d975aeb8fe0e77fab2707971102093774336c1d3a9c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b45decc71b0a86a2d519d975aeb8fe0e77fab2707971102093774336c1d3a9c2", kill_on_drop: false }` [INFO] [stdout] b45decc71b0a86a2d519d975aeb8fe0e77fab2707971102093774336c1d3a9c2