[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#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomerbenamram%2FAOC2019" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/omerbenamram/AOC2019 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-3/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cab61532b09abc34562a126caef3e1b0670ad295050ca979dab2dff1b5b107e [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" "1cab61532b09abc34562a126caef3e1b0670ad295050ca979dab2dff1b5b107e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cab61532b09abc34562a126caef3e1b0670ad295050ca979dab2dff1b5b107e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cab61532b09abc34562a126caef3e1b0670ad295050ca979dab2dff1b5b107e", kill_on_drop: false }` [INFO] [stdout] 1cab61532b09abc34562a126caef3e1b0670ad295050ca979dab2dff1b5b107e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b90cd7060997133825cee800406c5b444e6fc15790815d1d6ed68f6b988108a [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" "5b90cd7060997133825cee800406c5b444e6fc15790815d1d6ed68f6b988108a", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking plotters-backend v0.3.0 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking ryu v1.0.5 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking log v0.3.9 [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 day1 v0.1.0 (/opt/rustwide/workdir/day1) [INFO] [stderr] Compiling cast v0.2.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking day8 v0.1.0 (/opt/rustwide/workdir/day8) [INFO] [stderr] Checking day4 v0.1.0 (/opt/rustwide/workdir/day4) [INFO] [stderr] Checking day3 v0.1.0 (/opt/rustwide/workdir/day3) [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking console v0.14.1 [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 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] 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] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] [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: 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] [stderr] Checking day10 v0.1.0 (/opt/rustwide/workdir/day10) [INFO] [stdout] warning: 1 warning emitted [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] [stderr] Checking day2 v0.1.0 (/opt/rustwide/workdir/day2) [INFO] [stderr] Checking day9 v0.1.0 (/opt/rustwide/workdir/day9) [INFO] [stderr] Checking day7 v0.1.0 (/opt/rustwide/workdir/day7) [INFO] [stderr] Checking day5 v0.1.0 (/opt/rustwide/workdir/day5) [INFO] [stderr] Checking day14 v0.1.0 (/opt/rustwide/workdir/day14) [INFO] [stderr] Checking day13 v0.1.0 (/opt/rustwide/workdir/day13) [INFO] [stderr] Checking day11 v0.1.0 (/opt/rustwide/workdir/day11) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> day14/./src/lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{bail, Context, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExecutionStatus`, `IntcodeComputer` [INFO] [stdout] --> day14/./src/lib.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use intcode_computer::{ExecutionStatus, IntcodeComputer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> day14/./src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::prelude::*` [INFO] [stdout] --> day14/./src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use petgraph::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> day14/./src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> day14/./src/lib.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> day14/./src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> day14/./src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> day14/./src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> day14/./src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> day14/./src/lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{bail, Context, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExecutionStatus`, `IntcodeComputer` [INFO] [stdout] --> day14/./src/lib.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use intcode_computer::{ExecutionStatus, IntcodeComputer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> day14/./src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::prelude::*` [INFO] [stdout] --> day14/./src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use petgraph::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> day14/./src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> day14/./src/lib.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> day14/./src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> day14/./src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> day14/./src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> day14/./src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> day13/./src/lib.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | (x, y, Tile::Block) => blocks_left += 1, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> day13/./src/lib.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | (x, y, Tile::Block) => blocks_left += 1, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day7/./src/lib.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | amp.write_to_input(input)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[i64]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&input` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[i64]` [INFO] [stdout] found struct `Vec` [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: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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> day13/./src/lib.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | (x, y, Tile::Block) => blocks_left += 1, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> day13/./src/lib.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | (x, y, Tile::Block) => blocks_left += 1, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day7/./src/lib.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | amp.write_to_input(vec![inputs[i]])?; [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: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] --> 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] warning: 2 warnings emitted [INFO] [stdout] [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] --> day11/./src/lib.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | robot.write_to_input(vec![panel.clone().into()])?; [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] --> 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[E0308]: mismatched types [INFO] [stdout] --> day7/./src/lib.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | amp.write_to_input(vec![last_input])?; [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: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: 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: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 3 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 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 `day5` [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: aborting due to previous error [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] --> 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] error[E0308]: mismatched types [INFO] [stdout] --> day11/./src/lib.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | robot.write_to_input(vec![panel.clone().into()])?; [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: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: aborting due to previous error [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] --> 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] [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] [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] 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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "5b90cd7060997133825cee800406c5b444e6fc15790815d1d6ed68f6b988108a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b90cd7060997133825cee800406c5b444e6fc15790815d1d6ed68f6b988108a", kill_on_drop: false }` [INFO] [stdout] 5b90cd7060997133825cee800406c5b444e6fc15790815d1d6ed68f6b988108a