[INFO] fetching crate mokosh 0.1.0... [INFO] checking mokosh-0.1.0 against master#8a703520e80d87d4423c01f9d4fbc9e5f6533a02 for pr-154205-1 [INFO] extracting crate mokosh 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate mokosh 0.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mokosh 0.1.0 [INFO] tweaked toml for crates.io crate mokosh 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mokosh 0.1.0 on toolchain 8a703520e80d87d4423c01f9d4fbc9e5f6533a02 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mokosh 0.1.0 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" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pastey v0.1.1 [INFO] [stderr] Downloaded clap_lex v0.7.6 [INFO] [stderr] Downloaded avif-serialize v0.8.6 [INFO] [stderr] Downloaded fax_derive v0.2.0 [INFO] [stderr] Downloaded as-slice v0.2.1 [INFO] [stderr] Downloaded zune-jpeg v0.4.21 [INFO] [stderr] Downloaded lebe v0.5.3 [INFO] [stderr] Downloaded clap v4.5.53 [INFO] [stderr] Downloaded imgref v1.12.0 [INFO] [stderr] Downloaded zune-jpeg v0.5.6 [INFO] [stderr] Downloaded image-webp v0.2.4 [INFO] [stderr] Downloaded png v0.18.0 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.10 [INFO] [stderr] Downloaded zerocopy-derive v0.8.31 [INFO] [stderr] Downloaded clap_builder v4.5.53 [INFO] [stderr] Downloaded moxcms v0.7.10 [INFO] [stderr] Downloaded proptest v1.9.0 [INFO] [stderr] Downloaded zerocopy v0.8.31 [INFO] [stderr] Downloaded bitstream-io v4.9.0 [INFO] [stderr] Downloaded exr v1.74.0 [INFO] [stderr] Downloaded image v0.25.9 [INFO] [stderr] Downloaded av1-grain v0.2.5 [INFO] [stderr] Downloaded core2 v0.4.0 [INFO] [stderr] Downloaded built v0.8.0 [INFO] [stderr] Downloaded weezl v0.1.12 [INFO] [stderr] Downloaded gif v0.14.1 [INFO] [stderr] Downloaded ravif v0.12.0 [INFO] [stderr] Downloaded rgb v0.8.52 [INFO] [stderr] Downloaded zune-core v0.5.0 [INFO] [stderr] Downloaded av-scenechange v0.14.1 [INFO] [stderr] Downloaded bit_field v0.10.3 [INFO] [stderr] Downloaded aligned v0.4.2 [INFO] [stderr] Downloaded y4m v0.8.0 [INFO] [stderr] Downloaded fax v0.2.6 [INFO] [stderr] Downloaded pxfm v0.1.27 [INFO] [stderr] Downloaded rav1e v0.8.1 [INFO] [stderr] Downloaded tiff v0.10.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3ce510dfbe4bf6ba06f3290564b08578c0546e91ce1f1592127834a9c724566 [INFO] running `Command { std: "docker" "start" "-a" "a3ce510dfbe4bf6ba06f3290564b08578c0546e91ce1f1592127834a9c724566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3ce510dfbe4bf6ba06f3290564b08578c0546e91ce1f1592127834a9c724566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3ce510dfbe4bf6ba06f3290564b08578c0546e91ce1f1592127834a9c724566", kill_on_drop: false }` [INFO] [stdout] a3ce510dfbe4bf6ba06f3290564b08578c0546e91ce1f1592127834a9c724566 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29051a4b6c7c6dcefc317a97431668d1a88d450fe333fffa815b09f9f6215a50 [INFO] running `Command { std: "docker" "start" "-a" "29051a4b6c7c6dcefc317a97431668d1a88d450fe333fffa815b09f9f6215a50", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking as-slice v0.2.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking aligned v0.4.2 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking y4m v0.8.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking imgref v1.12.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking bitstream-io v4.9.0 [INFO] [stderr] Checking weezl v0.1.12 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking zune-jpeg v0.4.21 [INFO] [stderr] Checking avif-serialize v0.8.6 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking pxfm v0.1.27 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking zune-core v0.5.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Checking zune-jpeg v0.5.6 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking gif v0.14.1 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking rusty-fork v0.3.1 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking moxcms v0.7.10 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking proptest v1.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking mokosh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `big_integer` [INFO] [stdout] --> src/types/primitives.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(not(feature = "big_integer"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `rayon`, `serde`, `simd`, and `std` [INFO] [stdout] = help: consider adding `big_integer` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `big_integer` [INFO] [stdout] --> src/types/primitives.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(feature = "big_integer")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `rayon`, `serde`, `simd`, and `std` [INFO] [stdout] = help: consider adding `big_integer` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `big_integer` [INFO] [stdout] --> src/types/primitives.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(not(feature = "big_integer"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `rayon`, `serde`, `simd`, and `std` [INFO] [stdout] = help: consider adding `big_integer` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `big_integer` [INFO] [stdout] --> src/types/primitives.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg(feature = "big_integer")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `rayon`, `serde`, `simd`, and `std` [INFO] [stdout] = help: consider adding `big_integer` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `double_precision` [INFO] [stdout] --> src/types/primitives.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(not(feature = "double_precision"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `rayon`, `serde`, `simd`, and `std` [INFO] [stdout] = help: consider adding `double_precision` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `double_precision` [INFO] [stdout] --> src/types/primitives.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "double_precision")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `rayon`, `serde`, `simd`, and `std` [INFO] [stdout] = help: consider adding `double_precision` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MokoshError` and `Result` [INFO] [stdout] --> src/algorithms/connections.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::error::{MokoshError, Result}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Real` [INFO] [stdout] --> src/algorithms/connections.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | CellIdx, ElemSparse, Permanence, Real, Segment, SegmentIdx, Sdr, Synapse, SynapseIdx, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unused variable: `dim_idx` [INFO] [stdout] --> src/types/sdr.rs:505:14 [INFO] [stdout] | [INFO] [stdout] 505 | for (dim_idx, (coords, &dim_size)) in coordinates.iter().zip(&self.dimensions).enumerate() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dim_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `axis` [INFO] [stdout] --> src/types/sdr.rs:878:52 [INFO] [stdout] | [INFO] [stdout] 878 | pub fn concatenate(&mut self, inputs: &[&Sdr], axis: usize) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_axis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/types/sdr.rs:974:13 [INFO] [stdout] | [INFO] [stdout] 974 | let mut new_sdr = Self::new(&self.dimensions); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim_size` [INFO] [stdout] --> src/algorithms/spatial_pooler.rs:678:17 [INFO] [stdout] | [INFO] [stdout] 678 | let dim_size = self.input_dimensions[dim] as usize; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dim_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column` [INFO] [stdout] --> src/algorithms/temporal_memory.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | column: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_column` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mask_bits` [INFO] [stdout] --> src/utils/simd.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | let mask_bits: i32 = mask_slice.iter().enumerate().fold(0, |acc, (j, &b)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mask_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_cache` is never used [INFO] [stdout] --> src/types/sdr.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 117 | impl Sdr { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 224 | fn clear_cache(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sp_verbosity`, `min_active_duty_cycles`, and `version` are never read [INFO] [stdout] --> src/algorithms/spatial_pooler.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct SpatialPooler { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 142 | sp_verbosity: UInt, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | min_active_duty_cycles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | version: UInt, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpatialPooler` 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: fields `external_predictive_inputs` and `check_input_tm` are never read [INFO] [stdout] --> src/algorithms/temporal_memory.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct TemporalMemory { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 152 | external_predictive_inputs: UInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 153 | check_input_tm: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemporalMemory` 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: field `mode` is never read [INFO] [stdout] --> src/algorithms/anomaly.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Anomaly { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 17 | /// Mode for computing anomaly. [INFO] [stdout] 18 | mode: AnomalyComputeMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Anomaly` 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: field `log_max` is never read [INFO] [stdout] --> src/encoders/log.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct LogEncoder { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 92 | log_max: Real, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogEncoder` 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: fields `category` and `half_width` are never read [INFO] [stdout] --> src/encoders/scalar.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct ScalarEncoder { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | category: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | half_width: UInt, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScalarEncoder` 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: field `num_segments` is never read [INFO] [stdout] --> src/encoders/ip_address.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct IpAddressEncoder { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | num_segments: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpAddressEncoder` 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: field `cache` is never read [INFO] [stdout] --> src/encoders/hierarchical_category.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct HierarchicalCategoryEncoder { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | cache: HashMap>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HierarchicalCategoryEncoder` 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: field `max_value` is never read [INFO] [stdout] --> src/encoders/confidence_interval.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct ConfidenceIntervalEncoder { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 161 | min_value: Real, [INFO] [stdout] 162 | max_value: Real, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfidenceIntervalEncoder` 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 `sorted_overlap_avx2` is never used [INFO] [stdout] --> src/utils/simd.rs:540:11 [INFO] [stdout] | [INFO] [stdout] 540 | unsafe fn sorted_overlap_avx2(a: &[u32], b: &[u32]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `galloping_overlap` is never used [INFO] [stdout] --> src/utils/simd.rs:557:4 [INFO] [stdout] | [INFO] [stdout] 557 | fn galloping_overlap(smaller: &[u32], larger: &[u32]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simd_merge_overlap` is never used [INFO] [stdout] --> src/utils/simd.rs:581:11 [INFO] [stdout] | [INFO] [stdout] 581 | unsafe fn simd_merge_overlap(a: &[u32], b: &[u32]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/bin/perf_test.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ravif v0.12.0 [INFO] [stderr] Checking image v0.25.9 [INFO] [stdout] warning: unused imports: `BenchmarkGroup` and `measurement::WallTime` [INFO] [stdout] --> benches/simd_benchmarks.rs:12:49 [INFO] [stdout] | [INFO] [stdout] 12 | black_box, criterion_group, criterion_main, measurement::WallTime, BenchmarkGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/bin/perf_test.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `ecg_utils` [INFO] [stdout] --> examples/ecg_utils.rs:580:2 [INFO] [stdout] | [INFO] [stdout] 580 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/ecg_utils.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mokosh` (example "ecg_utils") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> examples/ecg_fingerprints.rs:172:18 [INFO] [stdout] | [INFO] [stdout] 172 | for (i, &c) in norm_curv.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOTAL_BITS` is never used [INFO] [stdout] --> examples/ecg_fingerprints.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const TOTAL_BITS: usize = IMG_SIZE * IMG_SIZE; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seeds` is never read [INFO] [stdout] --> examples/ecg_fingerprints.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct SemanticEncoder { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | seeds: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hash` and `to_sparse` are never used [INFO] [stdout] --> examples/ecg_fingerprints.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl SemanticEncoder { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn hash(&self, seed: u64, x: u32, y: u32) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | fn to_sparse(&self, activation: &[Vec], threshold: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_normalized` is never used [INFO] [stdout] --> examples/ecg_fingerprints.rs:288:8 [INFO] [stdout] | [INFO] [stdout] 271 | impl FingerprintAccumulator { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 288 | fn get_normalized(&self, x: usize, y: usize) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset`, `is_current_beat_arrhythmia`, `config`, and `arrhythmia_config` are never used [INFO] [stdout] --> examples/ecg_utils.rs:505:12 [INFO] [stdout] | [INFO] [stdout] 233 | impl EcgGenerator { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 505 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | pub fn is_current_beat_arrhythmia(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 521 | pub fn config(&self) -> &EcgConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 526 | pub fn arrhythmia_config(&self) -> &ArrhythmiaConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min_amplitude` and `mean` are never read [INFO] [stdout] --> examples/ecg_anomaly_detection.rs:513:5 [INFO] [stdout] | [INFO] [stdout] 511 | struct EcgFeatures { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 512 | max_amplitude: f32, [INFO] [stdout] 513 | min_amplitude: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 514 | peak_to_peak: f32, [INFO] [stdout] 515 | mean: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EcgFeatures` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `winner_cells` is never read [INFO] [stdout] --> examples/htm_fingerprints.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 98 | struct HtmState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 106 | winner_cells: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HtmState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `window_size` and `encoder_size` are never read [INFO] [stdout] --> examples/htm_fingerprints.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 113 | struct HtmSystem { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | window_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | encoder_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `window_size` is never used [INFO] [stdout] --> examples/htm_fingerprints.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl HtmSystem { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | fn window_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pac`, `StDepression`, `TWavePeaking`, and `Bradycardia` are never constructed [INFO] [stdout] --> examples/ecg_utils.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum ArrhythmiaType { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 58 | Pac, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | StDepression, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | TWavePeaking, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | Bradycardia, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArrhythmiaType` 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: associated items `all_types` and `short_name` are never used [INFO] [stdout] --> examples/ecg_utils.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl ArrhythmiaType { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 76 | /// Returns all arrhythmia types (excluding None). [INFO] [stdout] 77 | pub fn all_types() -> &'static [ArrhythmiaType] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn short_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset`, `is_current_beat_arrhythmia`, `config`, and `arrhythmia_config` are never used [INFO] [stdout] --> examples/ecg_utils.rs:505:12 [INFO] [stdout] | [INFO] [stdout] 233 | impl EcgGenerator { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 505 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | pub fn is_current_beat_arrhythmia(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 521 | pub fn config(&self) -> &EcgConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 526 | pub fn arrhythmia_config(&self) -> &ArrhythmiaConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `big_integer` [INFO] [stdout] --> src/types/primitives.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(not(feature = "big_integer"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `rayon`, `serde`, `simd`, and `std` [INFO] [stdout] = help: consider adding `big_integer` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `big_integer` [INFO] [stdout] --> src/types/primitives.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(feature = "big_integer")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `rayon`, `serde`, `simd`, and `std` [INFO] [stdout] = help: consider adding `big_integer` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `big_integer` [INFO] [stdout] --> src/types/primitives.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(not(feature = "big_integer"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `rayon`, `serde`, `simd`, and `std` [INFO] [stdout] = help: consider adding `big_integer` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `big_integer` [INFO] [stdout] --> src/types/primitives.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg(feature = "big_integer")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `rayon`, `serde`, `simd`, and `std` [INFO] [stdout] = help: consider adding `big_integer` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `double_precision` [INFO] [stdout] --> src/types/primitives.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(not(feature = "double_precision"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `rayon`, `serde`, `simd`, and `std` [INFO] [stdout] = help: consider adding `double_precision` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `double_precision` [INFO] [stdout] --> src/types/primitives.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "double_precision")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `rayon`, `serde`, `simd`, and `std` [INFO] [stdout] = help: consider adding `double_precision` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MokoshError` and `Result` [INFO] [stdout] --> src/algorithms/connections.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::error::{MokoshError, Result}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Real` [INFO] [stdout] --> src/algorithms/connections.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | CellIdx, ElemSparse, Permanence, Real, Segment, SegmentIdx, Sdr, Synapse, SynapseIdx, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim_idx` [INFO] [stdout] --> src/types/sdr.rs:505:14 [INFO] [stdout] | [INFO] [stdout] 505 | for (dim_idx, (coords, &dim_size)) in coordinates.iter().zip(&self.dimensions).enumerate() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dim_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `axis` [INFO] [stdout] --> src/types/sdr.rs:878:52 [INFO] [stdout] | [INFO] [stdout] 878 | pub fn concatenate(&mut self, inputs: &[&Sdr], axis: usize) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_axis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/types/sdr.rs:974:13 [INFO] [stdout] | [INFO] [stdout] 974 | let mut new_sdr = Self::new(&self.dimensions); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim_size` [INFO] [stdout] --> src/algorithms/spatial_pooler.rs:678:17 [INFO] [stdout] | [INFO] [stdout] 678 | let dim_size = self.input_dimensions[dim] as usize; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dim_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column` [INFO] [stdout] --> src/algorithms/temporal_memory.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | column: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_column` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mask_bits` [INFO] [stdout] --> src/utils/simd.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | let mask_bits: i32 = mask_slice.iter().enumerate().fold(0, |acc, (j, &b)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mask_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_cache` is never used [INFO] [stdout] --> src/types/sdr.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 117 | impl Sdr { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 224 | fn clear_cache(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sp_verbosity`, `min_active_duty_cycles`, and `version` are never read [INFO] [stdout] --> src/algorithms/spatial_pooler.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct SpatialPooler { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 142 | sp_verbosity: UInt, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | min_active_duty_cycles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | version: UInt, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpatialPooler` 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: fields `external_predictive_inputs` and `check_input_tm` are never read [INFO] [stdout] --> src/algorithms/temporal_memory.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct TemporalMemory { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 152 | external_predictive_inputs: UInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 153 | check_input_tm: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemporalMemory` 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: field `mode` is never read [INFO] [stdout] --> src/algorithms/anomaly.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Anomaly { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 17 | /// Mode for computing anomaly. [INFO] [stdout] 18 | mode: AnomalyComputeMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Anomaly` 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: field `log_max` is never read [INFO] [stdout] --> src/encoders/log.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct LogEncoder { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 92 | log_max: Real, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogEncoder` 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: fields `category` and `half_width` are never read [INFO] [stdout] --> src/encoders/scalar.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct ScalarEncoder { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | category: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | half_width: UInt, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScalarEncoder` 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: field `num_segments` is never read [INFO] [stdout] --> src/encoders/ip_address.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct IpAddressEncoder { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | num_segments: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpAddressEncoder` 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: field `cache` is never read [INFO] [stdout] --> src/encoders/hierarchical_category.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct HierarchicalCategoryEncoder { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | cache: HashMap>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HierarchicalCategoryEncoder` 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: field `max_value` is never read [INFO] [stdout] --> src/encoders/confidence_interval.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct ConfidenceIntervalEncoder { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 161 | min_value: Real, [INFO] [stdout] 162 | max_value: Real, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfidenceIntervalEncoder` 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 `sorted_overlap_avx2` is never used [INFO] [stdout] --> src/utils/simd.rs:540:11 [INFO] [stdout] | [INFO] [stdout] 540 | unsafe fn sorted_overlap_avx2(a: &[u32], b: &[u32]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `galloping_overlap` is never used [INFO] [stdout] --> src/utils/simd.rs:557:4 [INFO] [stdout] | [INFO] [stdout] 557 | fn galloping_overlap(smaller: &[u32], larger: &[u32]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simd_merge_overlap` is never used [INFO] [stdout] --> src/utils/simd.rs:581:11 [INFO] [stdout] | [INFO] [stdout] 581 | unsafe fn simd_merge_overlap(a: &[u32], b: &[u32]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "29051a4b6c7c6dcefc317a97431668d1a88d450fe333fffa815b09f9f6215a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29051a4b6c7c6dcefc317a97431668d1a88d450fe333fffa815b09f9f6215a50", kill_on_drop: false }` [INFO] [stdout] 29051a4b6c7c6dcefc317a97431668d1a88d450fe333fffa815b09f9f6215a50