[INFO] cloning repository https://github.com/abailly/adventofcode-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abailly/adventofcode-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabailly%2Fadventofcode-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabailly%2Fadventofcode-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 42e08b0cdba57c8990e0695fae38e0f3fb62487b [INFO] testing abailly/adventofcode-2021 against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabailly%2Fadventofcode-2021" "/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/abailly/adventofcode-2021 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/abailly/adventofcode-2021 [INFO] finished tweaking git repo https://github.com/abailly/adventofcode-2021 [INFO] tweaked toml for git repo https://github.com/abailly/adventofcode-2021 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/abailly/adventofcode-2021 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded z3 v0.11.2 [INFO] [stderr] Downloaded z3-sys v0.7.1 [INFO] [stderr] Downloaded disjoint-sets v0.4.2 [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fe0c1f29dfcbc00d755edf1dd3675ca42f5e1f8d671e3337ded04d197f9b279 [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" "2fe0c1f29dfcbc00d755edf1dd3675ca42f5e1f8d671e3337ded04d197f9b279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fe0c1f29dfcbc00d755edf1dd3675ca42f5e1f8d671e3337ded04d197f9b279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fe0c1f29dfcbc00d755edf1dd3675ca42f5e1f8d671e3337ded04d197f9b279", kill_on_drop: false }` [INFO] [stdout] 2fe0c1f29dfcbc00d755edf1dd3675ca42f5e1f8d671e3337ded04d197f9b279 [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--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] e09cc7edd3923b66b31f94ed9f98d87fe21045622355cb6291f9ace068d167f2 [INFO] running `Command { std: "docker" "start" "-a" "e09cc7edd3923b66b31f94ed9f98d87fe21045622355cb6291f9ace068d167f2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling bindgen v0.58.1 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling disjoint-sets v0.4.2 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling bitvec v0.19.6 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling z3-sys v0.7.1 [INFO] [stderr] Compiling z3 v0.11.2 [INFO] [stderr] Compiling aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::u64::MAX` [INFO] [stdout] --> src/geometry.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::u64::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/geometry.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `define_all_rotations` [INFO] [stdout] --> src/geometry.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn define_all_rotations() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotations` [INFO] [stdout] --> src/geometry.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn rotations(p: &Point) -> HashSet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bingo.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | write!(f, "{:^5}", c.number); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bingo.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | write!(f, "[{:^3}]", c.number); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bingo.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | write!(f, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distanceL1` should have a snake case name [INFO] [stdout] --> src/geometry.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn distanceL1(x: Point, y: Point) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `distance_l1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::abs` [INFO] [stdout] --> src/bin/day23.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num::abs; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/bin/day23.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/bin/day23.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/bin/day23.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `make_treemap` is defined multiple times [INFO] [stdout] --> src/bin/day22.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 44 | / fn make_treemap( [INFO] [stdout] 45 | | bounds: &(Vec, Vec, Vec), [INFO] [stdout] 46 | | ) -> ( [INFO] [stdout] 47 | | BTreeMap, [INFO] [stdout] ... | [INFO] [stdout] 65 | | (btx, bty, btz) [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- previous definition of the value `make_treemap` here [INFO] [stdout] 67 | [INFO] [stdout] 68 | / fn make_treemap( [INFO] [stdout] 69 | | bounds: &(Vec, Vec, Vec), [INFO] [stdout] 70 | | ) -> ( [INFO] [stdout] 71 | | BTreeMap, [INFO] [stdout] ... | [INFO] [stdout] 89 | | (btx, bty, btz) [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ `make_treemap` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `make_treemap` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aoc2021::parser::num` [INFO] [stdout] --> src/bin/day20.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use aoc2021::parser::num; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::u64::MAX` [INFO] [stdout] --> src/bin/day20.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::u64::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/day20.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::branch::alt` [INFO] [stdout] --> src/bin/day20.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::branch::alt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::character::complete::char` [INFO] [stdout] --> src/bin/day20.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::character::complete::char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::combinator::map` [INFO] [stdout] --> src/bin/day20.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::combinator::map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::sequence::delimited` [INFO] [stdout] --> src/bin/day20.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use nom::sequence::delimited; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::sequence::separated_pair` [INFO] [stdout] --> src/bin/day20.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use nom::sequence::separated_pair; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::IResult` [INFO] [stdout] --> src/bin/day20.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use nom::IResult; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/bin/day20.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/bin/day20.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bin/day20.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::u64::MIN` [INFO] [stdout] --> src/bin/day20.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::u64::MIN; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/day23.rs:921:38 [INFO] [stdout] | [INFO] [stdout] 921 | fn can_enter(a: Amphipod, pos: &Pos, i: usize) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/bin/day23.rs:934:16 [INFO] [stdout] | [INFO] [stdout] 934 | for (m, c, from, to) in moves { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/bin/day23.rs:1103:40 [INFO] [stdout] | [INFO] [stdout] 1103 | while let Some(Node { val, e, pos, prev }) = heap.pop() { [INFO] [stdout] | ^^^^ help: try ignoring the field: `prev: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/bin/day23.rs:1089:5 [INFO] [stdout] | [INFO] [stdout] 1089 | path: &mut Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `energy` [INFO] [stdout] --> src/bin/day23.rs:1091:5 [INFO] [stdout] | [INFO] [stdout] 1091 | energy: u32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_energy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::Parser` [INFO] [stdout] --> src/bin/day20.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use nom::Parser; [INFO] [stdout] | ^^^^^^^^^^^ [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 E0428`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bin/day13.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/bin/day13.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/bin/day13.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bool` [INFO] [stdout] --> src/bin/day24.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use z3::ast::{Ast, Bool}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/day24.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2021` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: static variable `enhancement` should have an upper case name [INFO] [stdout] --> src/bin/day20.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | static enhancement: [u8; 512] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ENHANCEMENT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `legal_moves` should have an upper case name [INFO] [stdout] --> src/bin/day23.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | static legal_moves: [[(MoveType, u32); 27]; 27] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `LEGAL_MOVES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `legal_step` should have an upper case name [INFO] [stdout] --> src/bin/day23.rs:836:8 [INFO] [stdout] | [INFO] [stdout] 836 | static legal_step: [[i32; 3]; 27] = [ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `LEGAL_STEP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `winning` should have an upper case name [INFO] [stdout] --> src/bin/day23.rs:1016:8 [INFO] [stdout] | [INFO] [stdout] 1016 | static winning: [Amphipod; 27] = [ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `WINNING` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lb` [INFO] [stdout] --> src/bin/day24.rs:873:9 [INFO] [stdout] | [INFO] [stdout] 873 | let lb = args[1].parse::().unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_lb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ub` [INFO] [stdout] --> src/bin/day24.rs:874:9 [INFO] [stdout] | [INFO] [stdout] 874 | let ub = args[2].parse::().unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day24.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | let mut res = ALU { [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: `eval_ast` [INFO] [stdout] --> src/bin/day24.rs:325:4 [INFO] [stdout] | [INFO] [stdout] 325 | fn eval_ast(ast: &AST, input: &Vec, resolve: &HashMap) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eval` [INFO] [stdout] --> src/bin/day24.rs:346:4 [INFO] [stdout] | [INFO] [stdout] 346 | fn eval(alu: &AbsALU, input: &Vec, resolve: &HashMap) -> ALU { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_ast` [INFO] [stdout] --> src/bin/day24.rs:690:4 [INFO] [stdout] | [INFO] [stdout] 690 | fn solve_ast(eq: &AST, tgt: i64) -> Vec<(u8, i64)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `upper_bound_m` [INFO] [stdout] --> src/bin/day24.rs:706:4 [INFO] [stdout] | [INFO] [stdout] 706 | fn upper_bound_m(a: &AST, bounds: &HashMap) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lower_bound_m` [INFO] [stdout] --> src/bin/day24.rs:719:4 [INFO] [stdout] | [INFO] [stdout] 719 | fn lower_bound_m(a: &AST, bounds: &HashMap) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `minmax` [INFO] [stdout] --> src/bin/day24.rs:733:4 [INFO] [stdout] | [INFO] [stdout] 733 | fn minmax(eqs: &AST, zbounds: (i64, i64)) -> (i64, i64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/bin/day24.rs:740:4 [INFO] [stdout] | [INFO] [stdout] 740 | fn solve( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e09cc7edd3923b66b31f94ed9f98d87fe21045622355cb6291f9ace068d167f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e09cc7edd3923b66b31f94ed9f98d87fe21045622355cb6291f9ace068d167f2", kill_on_drop: false }` [INFO] [stdout] e09cc7edd3923b66b31f94ed9f98d87fe21045622355cb6291f9ace068d167f2