[INFO] cloning repository https://github.com/potzko/square_root_walk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/potzko/square_root_walk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpotzko%2Fsquare_root_walk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpotzko%2Fsquare_root_walk'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-receive.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpotzko%2Fsquare_root_walk/hooks/pre-receive.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/potzko/square_root_walk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/potzko/square_root_walk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpotzko%2Fsquare_root_walk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpotzko%2Fsquare_root_walk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bea6f01af0e57b317e63077cbe7b034d4bd5f4af [INFO] checking potzko/square_root_walk against master#613bdd49978298648ed05ace086bd1ecad54b44a for pr-136458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpotzko%2Fsquare_root_walk" "/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/potzko/square_root_walk on toolchain 613bdd49978298648ed05ace086bd1ecad54b44a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/potzko/square_root_walk [INFO] finished tweaking git repo https://github.com/potzko/square_root_walk [INFO] tweaked toml for git repo https://github.com/potzko/square_root_walk written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/potzko/square_root_walk 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" "+613bdd49978298648ed05ace086bd1ecad54b44a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] adf0f8a3f684ce6c78907c98ec24d3ab59b41804ad87fef7bb8eef83cfe11c73 [INFO] running `Command { std: "docker" "start" "-a" "adf0f8a3f684ce6c78907c98ec24d3ab59b41804ad87fef7bb8eef83cfe11c73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adf0f8a3f684ce6c78907c98ec24d3ab59b41804ad87fef7bb8eef83cfe11c73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adf0f8a3f684ce6c78907c98ec24d3ab59b41804ad87fef7bb8eef83cfe11c73", kill_on_drop: false }` [INFO] [stdout] adf0f8a3f684ce6c78907c98ec24d3ab59b41804ad87fef7bb8eef83cfe11c73 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cec301c0c6035802b2eb43a4c236dbcc3cb243c8a46e11c406167dfac23ec51f [INFO] running `Command { std: "docker" "start" "-a" "cec301c0c6035802b2eb43a4c236dbcc3cb243c8a46e11c406167dfac23ec51f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.23 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling syn v2.0.94 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clap v4.5.23 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking square_root_walk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solutions/naive.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | fn get_walk_length(mut num: f64) -> usize { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `benchmark_square_root_walk` is never used [INFO] [stdout] --> src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn benchmark_square_root_walk(walks: &[(usize, usize)]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mappings_depth_to_vals`, `mappings_val_to_depth`, and `last_grouping` are never read [INFO] [stdout] --> src/solutions/gen_multi_cache.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | mappings_depth_to_vals: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | mappings_val_to_depth: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | last_grouping: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push` and `get` are never used [INFO] [stdout] --> src/solutions/gen_multi_cache.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | fn push(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn get(&mut self, base: usize, ind: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_state` is never used [INFO] [stdout] --> src/solutions/gen_multi_cache.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_state() -> &'static Mutex { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterGroup` is never constructed [INFO] [stdout] --> src/solutions/gen_multi_cache.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct IterGroup { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `square_root_walk` is never used [INFO] [stdout] --> src/solutions/gen_multi_cache.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn square_root_walk(base: usize) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `square_root_walk` is never used [INFO] [stdout] --> src/solutions/naive.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn square_root_walk(base: usize) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_walk_length` is never used [INFO] [stdout] --> src/solutions/naive.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn get_walk_length(mut num: f64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mappings_depth_to_vals`, `mappings_val_to_depth`, and `ind` are never read [INFO] [stdout] --> src/solutions/naive_multy_cache.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | mappings_depth_to_vals: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | mappings_val_to_depth: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | ind: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push` and `get` are never used [INFO] [stdout] --> src/solutions/naive_multy_cache.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | fn push(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn get(&mut self, base: usize, ind: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_state` is never used [INFO] [stdout] --> src/solutions/naive_multy_cache.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_state() -> &'static Mutex { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterGroup` is never constructed [INFO] [stdout] --> src/solutions/naive_multy_cache.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct IterGroup { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `square_root_walk` is never used [INFO] [stdout] --> src/solutions/naive_multy_cache.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn square_root_walk(base: usize) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mappings_val_to_depth` is never read [INFO] [stdout] --> src/solutions/naive_single_cache.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | mappings_val_to_depth: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push` and `get` are never used [INFO] [stdout] --> src/solutions/naive_single_cache.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | fn push(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn get(&mut self, val: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_state` is never used [INFO] [stdout] --> src/solutions/naive_single_cache.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn get_state() -> &'static Mutex { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterGroup` is never constructed [INFO] [stdout] --> src/solutions/naive_single_cache.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct IterGroup { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `square_root_walk` is never used [INFO] [stdout] --> src/solutions/naive_single_cache.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn square_root_walk(base: usize) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solutions/naive.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | fn get_walk_length(mut num: f64) -> usize { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `benchmark_square_root_walk` is never used [INFO] [stdout] --> src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn benchmark_square_root_walk(walks: &[(usize, usize)]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mappings_depth_to_vals`, `mappings_val_to_depth`, and `last_grouping` are never read [INFO] [stdout] --> src/solutions/gen_multi_cache.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | mappings_depth_to_vals: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | mappings_val_to_depth: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | last_grouping: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push` and `get` are never used [INFO] [stdout] --> src/solutions/gen_multi_cache.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | fn push(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn get(&mut self, base: usize, ind: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_state` is never used [INFO] [stdout] --> src/solutions/gen_multi_cache.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_state() -> &'static Mutex { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterGroup` is never constructed [INFO] [stdout] --> src/solutions/gen_multi_cache.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct IterGroup { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `square_root_walk` is never used [INFO] [stdout] --> src/solutions/gen_multi_cache.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn square_root_walk(base: usize) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `square_root_walk` is never used [INFO] [stdout] --> src/solutions/naive.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn square_root_walk(base: usize) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_walk_length` is never used [INFO] [stdout] --> src/solutions/naive.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn get_walk_length(mut num: f64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mappings_depth_to_vals`, `mappings_val_to_depth`, and `ind` are never read [INFO] [stdout] --> src/solutions/naive_multy_cache.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | mappings_depth_to_vals: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | mappings_val_to_depth: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | ind: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push` and `get` are never used [INFO] [stdout] --> src/solutions/naive_multy_cache.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | fn push(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn get(&mut self, base: usize, ind: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_state` is never used [INFO] [stdout] --> src/solutions/naive_multy_cache.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_state() -> &'static Mutex { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterGroup` is never constructed [INFO] [stdout] --> src/solutions/naive_multy_cache.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct IterGroup { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `square_root_walk` is never used [INFO] [stdout] --> src/solutions/naive_multy_cache.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn square_root_walk(base: usize) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mappings_val_to_depth` is never read [INFO] [stdout] --> src/solutions/naive_single_cache.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | mappings_val_to_depth: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push` and `get` are never used [INFO] [stdout] --> src/solutions/naive_single_cache.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | fn push(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn get(&mut self, val: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_state` is never used [INFO] [stdout] --> src/solutions/naive_single_cache.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn get_state() -> &'static Mutex { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterGroup` is never constructed [INFO] [stdout] --> src/solutions/naive_single_cache.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct IterGroup { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `square_root_walk` is never used [INFO] [stdout] --> src/solutions/naive_single_cache.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn square_root_walk(base: usize) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 27.58s [INFO] running `Command { std: "docker" "inspect" "cec301c0c6035802b2eb43a4c236dbcc3cb243c8a46e11c406167dfac23ec51f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cec301c0c6035802b2eb43a4c236dbcc3cb243c8a46e11c406167dfac23ec51f", kill_on_drop: false }` [INFO] [stdout] cec301c0c6035802b2eb43a4c236dbcc3cb243c8a46e11c406167dfac23ec51f