[INFO] cloning repository https://github.com/smitec/advent-of-code-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smitec/advent-of-code-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmitec%2Fadvent-of-code-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmitec%2Fadvent-of-code-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9114138089ef087a7be79f87878e48050eb941d [INFO] building smitec/advent-of-code-2024 against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmitec%2Fadvent-of-code-2024" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/smitec/advent-of-code-2024 on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/smitec/advent-of-code-2024 [INFO] finished tweaking git repo https://github.com/smitec/advent-of-code-2024 [INFO] tweaked toml for git repo https://github.com/smitec/advent-of-code-2024 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/smitec/advent-of-code-2024 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b47e90fa865f52ce6ca6259be12bb8d32fcb77da7e2cb69633c32460ec5fe98 [INFO] running `Command { std: "docker" "start" "-a" "0b47e90fa865f52ce6ca6259be12bb8d32fcb77da7e2cb69633c32460ec5fe98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b47e90fa865f52ce6ca6259be12bb8d32fcb77da7e2cb69633c32460ec5fe98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b47e90fa865f52ce6ca6259be12bb8d32fcb77da7e2cb69633c32460ec5fe98", kill_on_drop: false }` [INFO] [stdout] 0b47e90fa865f52ce6ca6259be12bb8d32fcb77da7e2cb69633c32460ec5fe98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a24f281fff93303ed7c3bee108bdcd1abaeb9774c2d4d8fb9169ce24b0c9074 [INFO] running `Command { std: "docker" "start" "-a" "2a24f281fff93303ed7c3bee108bdcd1abaeb9774c2d4d8fb9169ce24b0c9074", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling hamming v0.1.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling primal-bit v0.3.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling primal-estimate v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling primal-sieve v0.3.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling wyhash v0.5.0 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling factorial v0.4.0 [INFO] [stderr] Compiling streaming-stats v0.2.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling cardinality-estimator v1.0.2 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling genetic_algorithm v0.17.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest v0.12.11 [INFO] [stderr] Compiling advent24 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Combinations`, `Itertools`, and `Permutations` [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use itertools::{Combinations, Itertools, Permutations}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Level`, `error`, and `event` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{Level, debug, error, event, info, instrument, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `field::debug` [INFO] [stdout] --> src/main.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing_subscriber::{EnvFilter, field::debug}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CrossoverMultiPoint` and `MutateSingleGene` [INFO] [stdout] --> src/done.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | crossover::{CrossoverMultiPoint, CrossoverSinglePoint}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | mutate::{MutateMultiGene, MutateSingleGene}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/done.rs:510:40 [INFO] [stdout] | [INFO] [stdout] 510 | let max_b = sequences.iter().map(|(k, v)| *v).max(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `not_walls` [INFO] [stdout] --> src/done.rs:772:13 [INFO] [stdout] | [INFO] [stdout] 772 | let mut not_walls: HashSet<(i32, i32)> = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_not_walls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/done.rs:772:9 [INFO] [stdout] | [INFO] [stdout] 772 | let mut not_walls: HashSet<(i32, i32)> = HashSet::new(); [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: `r` [INFO] [stdout] --> src/done.rs:955:10 [INFO] [stdout] | [INFO] [stdout] 955 | for (r, line) in content.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/done.rs:950:9 [INFO] [stdout] | [INFO] [stdout] 950 | let mut position: (i32, i32) = (0, 0); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/done.rs:951:9 [INFO] [stdout] | [INFO] [stdout] 951 | let mut goal: (i32, i32) = (size, size); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `instruction_pointer` is never read [INFO] [stdout] --> src/done.rs:1027:13 [INFO] [stdout] | [INFO] [stdout] 1027 | let mut instruction_pointer: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/done.rs:1030:13 [INFO] [stdout] | [INFO] [stdout] 1030 | let mut target: String = "".to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/done.rs:1030:9 [INFO] [stdout] | [INFO] [stdout] 1030 | let mut target: String = "".to_string(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `display` is never read [INFO] [stdout] --> src/done.rs:1650:13 [INFO] [stdout] | [INFO] [stdout] 1650 | let mut display: HashSet<(i32, i32)> = HashSet::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/done.rs:1652:13 [INFO] [stdout] | [INFO] [stdout] 1652 | let mut buffer = String::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/done.rs:1653:9 [INFO] [stdout] | [INFO] [stdout] 1653 | let stdin = io::stdin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/done.rs:1652:9 [INFO] [stdout] | [INFO] [stdout] 1652 | let mut buffer = String::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/done.rs:2847:32 [INFO] [stdout] | [INFO] [stdout] 2847 | CheckState::FailAt(i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `done::Chunk` is more private than the item `defrag` [INFO] [stdout] --> src/done.rs:2156:1 [INFO] [stdout] | [INFO] [stdout] 2156 | pub fn defrag(chunks: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `defrag` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `done::Chunk` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/done.rs:2150:1 [INFO] [stdout] | [INFO] [stdout] 2150 | struct Chunk { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CheckState` is more private than the item `check` [INFO] [stdout] --> src/done.rs:2789:1 [INFO] [stdout] | [INFO] [stdout] 2789 | pub fn check(items: Vec) -> CheckState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `check` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CheckState` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/done.rs:2784:1 [INFO] [stdout] | [INFO] [stdout] 2784 | enum CheckState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Gate` is never used [INFO] [stdout] --> src/done.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | enum Gate { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Gate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GateConfig` is never constructed [INFO] [stdout] --> src/done.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct GateConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GateConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GateNode` is never used [INFO] [stdout] --> src/done.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 43 | enum GateNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GateNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> src/done.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn eval( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_z` is never used [INFO] [stdout] --> src/done.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn eval_z(z_gates: &Vec, gates: &HashMap) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwapFitness` is never constructed [INFO] [stdout] --> src/done.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | struct SwapFitness<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapFitness` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process` is never used [INFO] [stdout] --> src/done.rs:453:4 [INFO] [stdout] | [INFO] [stdout] 453 | fn process(number: u64) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `directions_to_keys` is never used [INFO] [stdout] --> src/done.rs:517:4 [INFO] [stdout] | [INFO] [stdout] 517 | fn directions_to_keys(directions: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_short_path` is never used [INFO] [stdout] --> src/done.rs:531:4 [INFO] [stdout] | [INFO] [stdout] 531 | fn generate_short_path( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_be_made` is never used [INFO] [stdout] --> src/done.rs:846:4 [INFO] [stdout] | [INFO] [stdout] 846 | fn can_be_made(target: String, parts: &Vec, cache: &mut HashMap) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_18_map` is never used [INFO] [stdout] --> src/done.rs:933:4 [INFO] [stdout] | [INFO] [stdout] 933 | fn display_18_map(map: &HashSet<(i32, i32)>, size: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_map` is never used [INFO] [stdout] --> src/done.rs:1166:4 [INFO] [stdout] | [INFO] [stdout] 1166 | fn display_map(walls: &HashSet<(i32, i32)>, spots: &HashSet<(i32, i32)>, rows: i32, cols: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Tile` is never used [INFO] [stdout] --> src/done.rs:1281:6 [INFO] [stdout] | [INFO] [stdout] 1281 | enum Tile { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_map_15` is never used [INFO] [stdout] --> src/done.rs:1289:4 [INFO] [stdout] | [INFO] [stdout] 1289 | fn display_map_15(map: &HashMap<(i32, i32), Tile>, rows: i32, cols: i32, player: (i32, i32)) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Robot` is never constructed [INFO] [stdout] --> src/done.rs:1587:8 [INFO] [stdout] | [INFO] [stdout] 1587 | struct Robot { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Robot` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrizeMatrix` is never constructed [INFO] [stdout] --> src/done.rs:1690:8 [INFO] [stdout] | [INFO] [stdout] 1690 | struct PrizeMatrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DirectionType` is never used [INFO] [stdout] --> src/done.rs:1798:6 [INFO] [stdout] | [INFO] [stdout] 1798 | enum DirectionType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirectionType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edge` is never constructed [INFO] [stdout] --> src/done.rs:1804:8 [INFO] [stdout] | [INFO] [stdout] 1804 | struct Edge { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Edge` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GardenEntry` is never constructed [INFO] [stdout] --> src/done.rs:1811:8 [INFO] [stdout] | [INFO] [stdout] 1811 | struct GardenEntry { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GardenEntry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LURD` is never used [INFO] [stdout] --> src/done.rs:2090:11 [INFO] [stdout] | [INFO] [stdout] 2090 | pub const LURD: [(i32, i32); 4] = [(-1, 0), (1, 0), (0, 1), (0, -1)]; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Step` is never constructed [INFO] [stdout] --> src/done.rs:2092:8 [INFO] [stdout] | [INFO] [stdout] 2092 | struct Step { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunk` is never constructed [INFO] [stdout] --> src/done.rs:2150:8 [INFO] [stdout] | [INFO] [stdout] 2150 | struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `defrag` is never used [INFO] [stdout] --> src/done.rs:2156:8 [INFO] [stdout] | [INFO] [stdout] 2156 | pub fn defrag(chunks: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bearing` is never constructed [INFO] [stdout] --> src/done.rs:2419:8 [INFO] [stdout] | [INFO] [stdout] 2419 | struct Bearing { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bearing` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day5` is never used [INFO] [stdout] --> src/done.rs:2523:8 [INFO] [stdout] | [INFO] [stdout] 2523 | pub fn day5() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `XmasBit` is never constructed [INFO] [stdout] --> src/done.rs:2610:8 [INFO] [stdout] | [INFO] [stdout] 2610 | struct XmasBit { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day4` is never used [INFO] [stdout] --> src/done.rs:2618:8 [INFO] [stdout] | [INFO] [stdout] 2618 | pub fn day4() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day3` is never used [INFO] [stdout] --> src/done.rs:2746:8 [INFO] [stdout] | [INFO] [stdout] 2746 | pub fn day3() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LevelState` is never used [INFO] [stdout] --> src/done.rs:2778:6 [INFO] [stdout] | [INFO] [stdout] 2778 | enum LevelState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LevelState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CheckState` is never used [INFO] [stdout] --> src/done.rs:2784:6 [INFO] [stdout] | [INFO] [stdout] 2784 | enum CheckState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/done.rs:2789:8 [INFO] [stdout] | [INFO] [stdout] 2789 | pub fn check(items: Vec) -> CheckState { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day2` is never used [INFO] [stdout] --> src/done.rs:2836:8 [INFO] [stdout] | [INFO] [stdout] 2836 | pub fn day2() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1` is never used [INFO] [stdout] --> src/done.rs:2863:8 [INFO] [stdout] | [INFO] [stdout] 2863 | pub fn day1() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/util.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Rotation` is never used [INFO] [stdout] --> src/util.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Rotation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rotation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shortest_distance` is never used [INFO] [stdout] --> src/util.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn shortest_distance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.09s [INFO] running `Command { std: "docker" "inspect" "2a24f281fff93303ed7c3bee108bdcd1abaeb9774c2d4d8fb9169ce24b0c9074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a24f281fff93303ed7c3bee108bdcd1abaeb9774c2d4d8fb9169ce24b0c9074", kill_on_drop: false }` [INFO] [stdout] 2a24f281fff93303ed7c3bee108bdcd1abaeb9774c2d4d8fb9169ce24b0c9074 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dacd4d153a2d36c4e8a1092887c2bca5501a779871f03f0d6a9a206eb5390d1 [INFO] running `Command { std: "docker" "start" "-a" "2dacd4d153a2d36c4e8a1092887c2bca5501a779871f03f0d6a9a206eb5390d1", kill_on_drop: false }` [INFO] [stderr] Compiling advent24 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Combinations`, `Itertools`, and `Permutations` [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use itertools::{Combinations, Itertools, Permutations}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Level`, `error`, and `event` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{Level, debug, error, event, info, instrument, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `field::debug` [INFO] [stdout] --> src/main.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing_subscriber::{EnvFilter, field::debug}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CrossoverMultiPoint` and `MutateSingleGene` [INFO] [stdout] --> src/done.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | crossover::{CrossoverMultiPoint, CrossoverSinglePoint}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | mutate::{MutateMultiGene, MutateSingleGene}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/done.rs:510:40 [INFO] [stdout] | [INFO] [stdout] 510 | let max_b = sequences.iter().map(|(k, v)| *v).max(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `not_walls` [INFO] [stdout] --> src/done.rs:772:13 [INFO] [stdout] | [INFO] [stdout] 772 | let mut not_walls: HashSet<(i32, i32)> = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_not_walls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/done.rs:772:9 [INFO] [stdout] | [INFO] [stdout] 772 | let mut not_walls: HashSet<(i32, i32)> = HashSet::new(); [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: `r` [INFO] [stdout] --> src/done.rs:955:10 [INFO] [stdout] | [INFO] [stdout] 955 | for (r, line) in content.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/done.rs:950:9 [INFO] [stdout] | [INFO] [stdout] 950 | let mut position: (i32, i32) = (0, 0); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/done.rs:951:9 [INFO] [stdout] | [INFO] [stdout] 951 | let mut goal: (i32, i32) = (size, size); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `instruction_pointer` is never read [INFO] [stdout] --> src/done.rs:1027:13 [INFO] [stdout] | [INFO] [stdout] 1027 | let mut instruction_pointer: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/done.rs:1030:13 [INFO] [stdout] | [INFO] [stdout] 1030 | let mut target: String = "".to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/done.rs:1030:9 [INFO] [stdout] | [INFO] [stdout] 1030 | let mut target: String = "".to_string(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `display` is never read [INFO] [stdout] --> src/done.rs:1650:13 [INFO] [stdout] | [INFO] [stdout] 1650 | let mut display: HashSet<(i32, i32)> = HashSet::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/done.rs:1652:13 [INFO] [stdout] | [INFO] [stdout] 1652 | let mut buffer = String::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/done.rs:1653:9 [INFO] [stdout] | [INFO] [stdout] 1653 | let stdin = io::stdin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/done.rs:1652:9 [INFO] [stdout] | [INFO] [stdout] 1652 | let mut buffer = String::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/done.rs:2847:32 [INFO] [stdout] | [INFO] [stdout] 2847 | CheckState::FailAt(i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `done::Chunk` is more private than the item `defrag` [INFO] [stdout] --> src/done.rs:2156:1 [INFO] [stdout] | [INFO] [stdout] 2156 | pub fn defrag(chunks: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `defrag` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `done::Chunk` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/done.rs:2150:1 [INFO] [stdout] | [INFO] [stdout] 2150 | struct Chunk { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CheckState` is more private than the item `check` [INFO] [stdout] --> src/done.rs:2789:1 [INFO] [stdout] | [INFO] [stdout] 2789 | pub fn check(items: Vec) -> CheckState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `check` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CheckState` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/done.rs:2784:1 [INFO] [stdout] | [INFO] [stdout] 2784 | enum CheckState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Gate` is never used [INFO] [stdout] --> src/done.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | enum Gate { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Gate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GateConfig` is never constructed [INFO] [stdout] --> src/done.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct GateConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GateConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GateNode` is never used [INFO] [stdout] --> src/done.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 43 | enum GateNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GateNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> src/done.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn eval( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_z` is never used [INFO] [stdout] --> src/done.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn eval_z(z_gates: &Vec, gates: &HashMap) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwapFitness` is never constructed [INFO] [stdout] --> src/done.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | struct SwapFitness<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapFitness` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process` is never used [INFO] [stdout] --> src/done.rs:453:4 [INFO] [stdout] | [INFO] [stdout] 453 | fn process(number: u64) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `directions_to_keys` is never used [INFO] [stdout] --> src/done.rs:517:4 [INFO] [stdout] | [INFO] [stdout] 517 | fn directions_to_keys(directions: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_short_path` is never used [INFO] [stdout] --> src/done.rs:531:4 [INFO] [stdout] | [INFO] [stdout] 531 | fn generate_short_path( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_be_made` is never used [INFO] [stdout] --> src/done.rs:846:4 [INFO] [stdout] | [INFO] [stdout] 846 | fn can_be_made(target: String, parts: &Vec, cache: &mut HashMap) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_18_map` is never used [INFO] [stdout] --> src/done.rs:933:4 [INFO] [stdout] | [INFO] [stdout] 933 | fn display_18_map(map: &HashSet<(i32, i32)>, size: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_map` is never used [INFO] [stdout] --> src/done.rs:1166:4 [INFO] [stdout] | [INFO] [stdout] 1166 | fn display_map(walls: &HashSet<(i32, i32)>, spots: &HashSet<(i32, i32)>, rows: i32, cols: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Tile` is never used [INFO] [stdout] --> src/done.rs:1281:6 [INFO] [stdout] | [INFO] [stdout] 1281 | enum Tile { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_map_15` is never used [INFO] [stdout] --> src/done.rs:1289:4 [INFO] [stdout] | [INFO] [stdout] 1289 | fn display_map_15(map: &HashMap<(i32, i32), Tile>, rows: i32, cols: i32, player: (i32, i32)) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Robot` is never constructed [INFO] [stdout] --> src/done.rs:1587:8 [INFO] [stdout] | [INFO] [stdout] 1587 | struct Robot { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Robot` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrizeMatrix` is never constructed [INFO] [stdout] --> src/done.rs:1690:8 [INFO] [stdout] | [INFO] [stdout] 1690 | struct PrizeMatrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DirectionType` is never used [INFO] [stdout] --> src/done.rs:1798:6 [INFO] [stdout] | [INFO] [stdout] 1798 | enum DirectionType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirectionType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edge` is never constructed [INFO] [stdout] --> src/done.rs:1804:8 [INFO] [stdout] | [INFO] [stdout] 1804 | struct Edge { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Edge` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GardenEntry` is never constructed [INFO] [stdout] --> src/done.rs:1811:8 [INFO] [stdout] | [INFO] [stdout] 1811 | struct GardenEntry { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GardenEntry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LURD` is never used [INFO] [stdout] --> src/done.rs:2090:11 [INFO] [stdout] | [INFO] [stdout] 2090 | pub const LURD: [(i32, i32); 4] = [(-1, 0), (1, 0), (0, 1), (0, -1)]; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Step` is never constructed [INFO] [stdout] --> src/done.rs:2092:8 [INFO] [stdout] | [INFO] [stdout] 2092 | struct Step { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunk` is never constructed [INFO] [stdout] --> src/done.rs:2150:8 [INFO] [stdout] | [INFO] [stdout] 2150 | struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `defrag` is never used [INFO] [stdout] --> src/done.rs:2156:8 [INFO] [stdout] | [INFO] [stdout] 2156 | pub fn defrag(chunks: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bearing` is never constructed [INFO] [stdout] --> src/done.rs:2419:8 [INFO] [stdout] | [INFO] [stdout] 2419 | struct Bearing { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bearing` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day5` is never used [INFO] [stdout] --> src/done.rs:2523:8 [INFO] [stdout] | [INFO] [stdout] 2523 | pub fn day5() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `XmasBit` is never constructed [INFO] [stdout] --> src/done.rs:2610:8 [INFO] [stdout] | [INFO] [stdout] 2610 | struct XmasBit { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day4` is never used [INFO] [stdout] --> src/done.rs:2618:8 [INFO] [stdout] | [INFO] [stdout] 2618 | pub fn day4() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day3` is never used [INFO] [stdout] --> src/done.rs:2746:8 [INFO] [stdout] | [INFO] [stdout] 2746 | pub fn day3() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LevelState` is never used [INFO] [stdout] --> src/done.rs:2778:6 [INFO] [stdout] | [INFO] [stdout] 2778 | enum LevelState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LevelState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CheckState` is never used [INFO] [stdout] --> src/done.rs:2784:6 [INFO] [stdout] | [INFO] [stdout] 2784 | enum CheckState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/done.rs:2789:8 [INFO] [stdout] | [INFO] [stdout] 2789 | pub fn check(items: Vec) -> CheckState { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day2` is never used [INFO] [stdout] --> src/done.rs:2836:8 [INFO] [stdout] | [INFO] [stdout] 2836 | pub fn day2() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1` is never used [INFO] [stdout] --> src/done.rs:2863:8 [INFO] [stdout] | [INFO] [stdout] 2863 | pub fn day1() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/util.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Rotation` is never used [INFO] [stdout] --> src/util.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Rotation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rotation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shortest_distance` is never used [INFO] [stdout] --> src/util.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn shortest_distance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.96s [INFO] running `Command { std: "docker" "inspect" "2dacd4d153a2d36c4e8a1092887c2bca5501a779871f03f0d6a9a206eb5390d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dacd4d153a2d36c4e8a1092887c2bca5501a779871f03f0d6a9a206eb5390d1", kill_on_drop: false }` [INFO] [stdout] 2dacd4d153a2d36c4e8a1092887c2bca5501a779871f03f0d6a9a206eb5390d1