[INFO] cloning repository https://github.com/wass88/interlocking-solver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wass88/interlocking-solver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwass88%2Finterlocking-solver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwass88%2Finterlocking-solver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86badac8cdedd3496d7de559ef8dca5dd0a84494 [INFO] testing wass88/interlocking-solver against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwass88%2Finterlocking-solver" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wass88/interlocking-solver on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wass88/interlocking-solver [INFO] finished tweaking git repo https://github.com/wass88/interlocking-solver [INFO] tweaked toml for git repo https://github.com/wass88/interlocking-solver written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wass88/interlocking-solver 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" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitvec_simd v0.20.5 [INFO] [stderr] Downloaded thiserror-impl v1.0.55 [INFO] [stderr] Downloaded thiserror v1.0.55 [INFO] [stderr] Downloaded wide v0.7.13 [INFO] [stderr] Downloaded bson v2.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc833c99e5da9987a1338b8e0eac0b99a5668b0c50acca68f219ab50104e9ce0 [INFO] running `Command { std: "docker" "start" "-a" "cc833c99e5da9987a1338b8e0eac0b99a5668b0c50acca68f219ab50104e9ce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc833c99e5da9987a1338b8e0eac0b99a5668b0c50acca68f219ab50104e9ce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc833c99e5da9987a1338b8e0eac0b99a5668b0c50acca68f219ab50104e9ce0", kill_on_drop: false }` [INFO] [stdout] cc833c99e5da9987a1338b8e0eac0b99a5668b0c50acca68f219ab50104e9ce0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fe4a32915140f540456a9ced7d0af91a917e097c9af3410e95173d98850d64d [INFO] running `Command { std: "docker" "start" "-a" "3fe4a32915140f540456a9ced7d0af91a917e097c9af3410e95173d98850d64d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.76 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.109 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling thiserror v1.0.55 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling time v0.3.31 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling thiserror-impl v1.0.55 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling pin-project v1.1.4 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.2 [INFO] [stderr] Compiling wide v0.7.13 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.15 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling bson v2.9.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling webpki-roots v0.25.3 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling bitvec_simd v0.20.5 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling mongodb v2.8.0 [INFO] [stderr] Compiling hyper v1.1.0 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling interlocking-solver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `launcher::PuzzleWriter` [INFO] [stdout] --> src/searcher.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cells::Cells, launcher::PuzzleWriter, puzzle::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/searcher.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | sync::{mpsc::Sender, Arc}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks` [INFO] [stdout] --> src/searcher.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | fn is_ok(&self, blocks: &[Cells]) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `GenAllWriter` is more private than the item `GenAllPuzzles::generate` [INFO] [stdout] --> src/gen_all_puzzles.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn generate(self, writer: &mut W) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `GenAllPuzzles::generate` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `GenAllWriter` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/gen_all_puzzles.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | trait GenAllWriter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PuzzleConstraints` is more private than the item `SwapPuzzleGenerator` [INFO] [stdout] --> src/searcher.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct SwapPuzzleGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `SwapPuzzleGenerator` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `PuzzleConstraints` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/searcher.rs:234:1 [INFO] [stdout] | [INFO] [stdout] 234 | trait PuzzleConstraints: Clone + Send + Sync + Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PuzzleConstraints` is more private than the item `searcher::SwapNPuzzleGenerator` [INFO] [stdout] --> src/searcher.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct SwapNPuzzleGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `searcher::SwapNPuzzleGenerator` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `PuzzleConstraints` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/searcher.rs:234:1 [INFO] [stdout] | [INFO] [stdout] 234 | trait PuzzleConstraints: Clone + Send + Sync + Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PuzzleConstraints` is more private than the item `searcher::MinPuzzleSizeConstraints` [INFO] [stdout] --> src/searcher.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct MinPuzzleSizeConstraints { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `searcher::MinPuzzleSizeConstraints` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `PuzzleConstraints` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/searcher.rs:234:1 [INFO] [stdout] | [INFO] [stdout] 234 | trait PuzzleConstraints: Clone + Send + Sync + Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SolutionJson` is more private than the item `PuzzleJson::solution` [INFO] [stdout] --> src/server.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub solution: SolutionJson, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `PuzzleJson::solution` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SolutionJson` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/server.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct SolutionJson { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `and_inplace` is never used [INFO] [stdout] --> src/cells.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Cells { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn and_inplace(&mut self, other: &Cells) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_cells` is never used [INFO] [stdout] --> src/cells.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 141 | impl SparseCells { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn to_cells(&self, size: usize) -> Cells { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `holes` is never read [INFO] [stdout] --> src/gen_all_puzzles.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GenAllPuzzles { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub holes: usize, // TODO [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/gen_all_puzzles.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct DBWriter { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 37 | client: mongodb::Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `write_steps` is never read [INFO] [stdout] --> src/launcher.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Launcher { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | write_steps: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/launcher.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct RunMetaJson { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 61 | #[serde(rename = "_id", skip_serializing)] [INFO] [stdout] 62 | id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `step` is never read [INFO] [stdout] --> src/puzzle.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct SolveResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 26 | pub ok: bool, [INFO] [stdout] 27 | step: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SolveResult` 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 `state_to_vec` is never used [INFO] [stdout] --> src/puzzle.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn state_to_vec(size: usize, state: &State) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `state_to_str` is never used [INFO] [stdout] --> src/puzzle.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn state_to_str(size: usize, state: &State) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_str` is never used [INFO] [stdout] --> src/puzzle.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl Puzzle { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn to_str(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/puzzle.rs:404:12 [INFO] [stdout] | [INFO] [stdout] 404 | Remove(usize, V3I), [INFO] [stdout] | ------ ^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 404 | Remove((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `vec_from_str` is never used [INFO] [stdout] --> src/puzzle.rs:538:12 [INFO] [stdout] | [INFO] [stdout] 494 | impl Piece { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 538 | pub fn vec_from_str(size: usize, str: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/server.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct PuzzleJson { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 22 | #[serde(rename = "_id", skip_serializing)] [INFO] [stdout] 23 | id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_puzzle2` is never used [INFO] [stdout] --> src/server.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn sample_puzzle2() -> Puzzle { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 09s [INFO] running `Command { std: "docker" "inspect" "3fe4a32915140f540456a9ced7d0af91a917e097c9af3410e95173d98850d64d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fe4a32915140f540456a9ced7d0af91a917e097c9af3410e95173d98850d64d", kill_on_drop: false }` [INFO] [stdout] 3fe4a32915140f540456a9ced7d0af91a917e097c9af3410e95173d98850d64d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e14251488697ea3446e22f117b56c625fb5cb985c57f89dda6a04ad06ad42abb [INFO] running `Command { std: "docker" "start" "-a" "e14251488697ea3446e22f117b56c625fb5cb985c57f89dda6a04ad06ad42abb", kill_on_drop: false }` [INFO] [stderr] Compiling interlocking-solver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `launcher::PuzzleWriter` [INFO] [stdout] --> src/searcher.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cells::Cells, launcher::PuzzleWriter, puzzle::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/searcher.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | sync::{mpsc::Sender, Arc}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/iters.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let x = V3(1, 2, 3); [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: `blocks` [INFO] [stdout] --> src/searcher.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | fn is_ok(&self, blocks: &[Cells]) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `GenAllWriter` is more private than the item `gen_all_puzzles::GenAllPuzzles::generate` [INFO] [stdout] --> src/gen_all_puzzles.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn generate(self, writer: &mut W) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `gen_all_puzzles::GenAllPuzzles::generate` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `GenAllWriter` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/gen_all_puzzles.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | trait GenAllWriter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PuzzleConstraints` is more private than the item `searcher::SwapPuzzleGenerator` [INFO] [stdout] --> src/searcher.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct SwapPuzzleGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `searcher::SwapPuzzleGenerator` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `PuzzleConstraints` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/searcher.rs:234:1 [INFO] [stdout] | [INFO] [stdout] 234 | trait PuzzleConstraints: Clone + Send + Sync + Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PuzzleConstraints` is more private than the item `searcher::SwapNPuzzleGenerator` [INFO] [stdout] --> src/searcher.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct SwapNPuzzleGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `searcher::SwapNPuzzleGenerator` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `PuzzleConstraints` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/searcher.rs:234:1 [INFO] [stdout] | [INFO] [stdout] 234 | trait PuzzleConstraints: Clone + Send + Sync + Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PuzzleConstraints` is more private than the item `searcher::MinPuzzleSizeConstraints` [INFO] [stdout] --> src/searcher.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct MinPuzzleSizeConstraints { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `searcher::MinPuzzleSizeConstraints` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `PuzzleConstraints` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/searcher.rs:234:1 [INFO] [stdout] | [INFO] [stdout] 234 | trait PuzzleConstraints: Clone + Send + Sync + Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SolutionJson` is more private than the item `PuzzleJson::solution` [INFO] [stdout] --> src/server.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub solution: SolutionJson, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `PuzzleJson::solution` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SolutionJson` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/server.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct SolutionJson { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `and_inplace` is never used [INFO] [stdout] --> src/cells.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Cells { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn and_inplace(&mut self, other: &Cells) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_cells` is never used [INFO] [stdout] --> src/cells.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 141 | impl SparseCells { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn to_cells(&self, size: usize) -> Cells { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `holes` is never read [INFO] [stdout] --> src/gen_all_puzzles.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GenAllPuzzles { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub holes: usize, // TODO [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/gen_all_puzzles.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct DBWriter { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 37 | client: mongodb::Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `write_steps` is never read [INFO] [stdout] --> src/launcher.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Launcher { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | write_steps: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/launcher.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct RunMetaJson { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 61 | #[serde(rename = "_id", skip_serializing)] [INFO] [stdout] 62 | id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `step` is never read [INFO] [stdout] --> src/puzzle.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct SolveResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 26 | pub ok: bool, [INFO] [stdout] 27 | step: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SolveResult` 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 `state_to_vec` is never used [INFO] [stdout] --> src/puzzle.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn state_to_vec(size: usize, state: &State) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `state_to_str` is never used [INFO] [stdout] --> src/puzzle.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn state_to_str(size: usize, state: &State) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/puzzle.rs:404:12 [INFO] [stdout] | [INFO] [stdout] 404 | Remove(usize, V3I), [INFO] [stdout] | ------ ^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 404 | Remove((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `vec_from_str` is never used [INFO] [stdout] --> src/puzzle.rs:538:12 [INFO] [stdout] | [INFO] [stdout] 494 | impl Piece { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 538 | pub fn vec_from_str(size: usize, str: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/server.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct PuzzleJson { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 22 | #[serde(rename = "_id", skip_serializing)] [INFO] [stdout] 23 | id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_puzzle2` is never used [INFO] [stdout] --> src/server.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn sample_puzzle2() -> Puzzle { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.76s [INFO] running `Command { std: "docker" "inspect" "e14251488697ea3446e22f117b56c625fb5cb985c57f89dda6a04ad06ad42abb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e14251488697ea3446e22f117b56c625fb5cb985c57f89dda6a04ad06ad42abb", kill_on_drop: false }` [INFO] [stdout] e14251488697ea3446e22f117b56c625fb5cb985c57f89dda6a04ad06ad42abb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d116efa1b2dd35af43dbe5ae26f9c7f3333cd903389993410b4a9163d50dd175 [INFO] running `Command { std: "docker" "start" "-a" "d116efa1b2dd35af43dbe5ae26f9c7f3333cd903389993410b4a9163d50dd175", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `launcher::PuzzleWriter` [INFO] [stderr] --> src/searcher.rs:1:27 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{cells::Cells, launcher::PuzzleWriter, puzzle::*}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Arc` [INFO] [stderr] --> src/searcher.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | sync::{mpsc::Sender, Arc}, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/iters.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | let x = V3(1, 2, 3); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `blocks` [INFO] [stderr] --> src/searcher.rs:250:21 [INFO] [stderr] | [INFO] [stderr] 250 | fn is_ok(&self, blocks: &[Cells]) -> bool { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stderr] [INFO] [stderr] warning: trait `GenAllWriter` is more private than the item `gen_all_puzzles::GenAllPuzzles::generate` [INFO] [stderr] --> src/gen_all_puzzles.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn generate(self, writer: &mut W) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `gen_all_puzzles::GenAllPuzzles::generate` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but trait `GenAllWriter` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/gen_all_puzzles.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | trait GenAllWriter { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_bounds)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `PuzzleConstraints` is more private than the item `searcher::SwapPuzzleGenerator` [INFO] [stderr] --> src/searcher.rs:149:1 [INFO] [stderr] | [INFO] [stderr] 149 | pub struct SwapPuzzleGenerator { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `searcher::SwapPuzzleGenerator` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but trait `PuzzleConstraints` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/searcher.rs:234:1 [INFO] [stderr] | [INFO] [stderr] 234 | trait PuzzleConstraints: Clone + Send + Sync + Debug { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `PuzzleConstraints` is more private than the item `searcher::SwapNPuzzleGenerator` [INFO] [stderr] --> src/searcher.rs:217:1 [INFO] [stderr] | [INFO] [stderr] 217 | pub struct SwapNPuzzleGenerator { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `searcher::SwapNPuzzleGenerator` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but trait `PuzzleConstraints` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/searcher.rs:234:1 [INFO] [stderr] | [INFO] [stderr] 234 | trait PuzzleConstraints: Clone + Send + Sync + Debug { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `PuzzleConstraints` is more private than the item `searcher::MinPuzzleSizeConstraints` [INFO] [stderr] --> src/searcher.rs:238:1 [INFO] [stderr] | [INFO] [stderr] 238 | pub struct MinPuzzleSizeConstraints { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `searcher::MinPuzzleSizeConstraints` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but trait `PuzzleConstraints` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/searcher.rs:234:1 [INFO] [stderr] | [INFO] [stderr] 234 | trait PuzzleConstraints: Clone + Send + Sync + Debug { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `SolutionJson` is more private than the item `PuzzleJson::solution` [INFO] [stderr] --> src/server.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | pub solution: SolutionJson, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `PuzzleJson::solution` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `SolutionJson` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/server.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | struct SolutionJson { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `and_inplace` is never used [INFO] [stderr] --> src/cells.rs:119:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl Cells { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 119 | pub fn and_inplace(&mut self, other: &Cells) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `to_cells` is never used [INFO] [stderr] --> src/cells.rs:154:12 [INFO] [stderr] | [INFO] [stderr] 141 | impl SparseCells { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 154 | pub fn to_cells(&self, size: usize) -> Cells { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `holes` is never read [INFO] [stderr] --> src/gen_all_puzzles.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct GenAllPuzzles { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 6 | pub holes: usize, // TODO [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `client` is never read [INFO] [stderr] --> src/gen_all_puzzles.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 36 | struct DBWriter { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 37 | client: mongodb::Client, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `write_steps` is never read [INFO] [stderr] --> src/launcher.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Launcher { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | write_steps: bool, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/launcher.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 60 | struct RunMetaJson { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 61 | #[serde(rename = "_id", skip_serializing)] [INFO] [stderr] 62 | id: Option, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `step` is never read [INFO] [stderr] --> src/puzzle.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct SolveResult { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 26 | pub ok: bool, [INFO] [stderr] 27 | step: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SolveResult` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `state_to_vec` is never used [INFO] [stderr] --> src/puzzle.rs:62:4 [INFO] [stderr] | [INFO] [stderr] 62 | fn state_to_vec(size: usize, state: &State) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `state_to_str` is never used [INFO] [stderr] --> src/puzzle.rs:69:4 [INFO] [stderr] | [INFO] [stderr] 69 | fn state_to_str(size: usize, state: &State) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/puzzle.rs:404:12 [INFO] [stderr] | [INFO] [stderr] 404 | Remove(usize, V3I), [INFO] [stderr] | ------ ^^^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 404 | Remove((), ()), [INFO] [stderr] | ~~ ~~ [INFO] [stderr] [INFO] [stderr] warning: associated function `vec_from_str` is never used [INFO] [stderr] --> src/puzzle.rs:538:12 [INFO] [stderr] | [INFO] [stderr] 494 | impl Piece { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 538 | pub fn vec_from_str(size: usize, str: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/server.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct PuzzleJson { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 22 | #[serde(rename = "_id", skip_serializing)] [INFO] [stderr] 23 | id: Option, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: function `sample_puzzle2` is never used [INFO] [stderr] --> src/server.rs:199:4 [INFO] [stderr] | [INFO] [stderr] 199 | fn sample_puzzle2() -> Puzzle { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `interlocking-solver` (bin "interlocking-solver" test) generated 22 warnings (run `cargo fix --bin "interlocking-solver" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/interlocking_solver-5afb8371b517de59) [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test iters::tests::test_v3_cube ... ok [INFO] [stdout] test puzzle::tests::piece_str ... ok [INFO] [stdout] test puzzle::tests::solver_normal ... ok [INFO] [stdout] test puzzle::tests::solver_step ... ok [INFO] [stdout] test iters::tests::test_v3_new ... ok [INFO] [stdout] test iters::tests::test_subsets ... ok [INFO] [stdout] test puzzle::tests::solver_cant ... ok [INFO] [stdout] test puzzle::tests::test_queue ... ok [INFO] [stdout] test puzzle_num_format::tests::test_from_block_code ... ok [INFO] [stdout] test puzzle::tests::test_inbox_pieces ... ok [INFO] [stdout] test puzzle::tests::test_inbox_2_pieces ... ok [INFO] [stdout] test puzzle_num_format::tests::test_puzzle_num_format ... ok [INFO] [stdout] test puzzle::tests::test_subset_pieces ... ok [INFO] [stdout] test puzzle_num_format::tests::test_rotate ... ok [INFO] [stdout] test puzzle_num_format::tests::test_rotate_index ... ok [INFO] [stdout] test puzzle_num_format::tests::test_rot_all ... ok [INFO] [stdout] test puzzle_num_format::tests::test_normalize ... ok [INFO] [stdout] test searcher::tests::test_drop_count ... ok [INFO] [stdout] test puzzle_num_format::tests::test_rotate_all ... ok [INFO] [stdout] test v3::tests::test_v3i_into_v3 ... ok [INFO] [stdout] test puzzle::tests::test_shrink_move2 ... ok [INFO] [stdout] test puzzle::tests::test_shrink_move ... ok [INFO] [stdout] test puzzle::tests::test_base_puzzle ... ok [INFO] [stdout] test searcher::tests::puzzle_generator ... ok [INFO] [stdout] test gen_all_puzzles::tests::test_gen_all_puzzles ... ok [INFO] [stdout] test searcher::tests::puzzle_searcher ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d116efa1b2dd35af43dbe5ae26f9c7f3333cd903389993410b4a9163d50dd175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d116efa1b2dd35af43dbe5ae26f9c7f3333cd903389993410b4a9163d50dd175", kill_on_drop: false }` [INFO] [stdout] d116efa1b2dd35af43dbe5ae26f9c7f3333cd903389993410b4a9163d50dd175