[INFO] fetching crate mokosh 0.1.0... [INFO] testing mokosh-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate mokosh 0.1.0 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mokosh 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b12b258079c29e65d3cabea49091d6e229a11ee100d13c75dc0eacc7fdf30465 [INFO] running `Command { std: "docker" "start" "-a" "b12b258079c29e65d3cabea49091d6e229a11ee100d13c75dc0eacc7fdf30465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b12b258079c29e65d3cabea49091d6e229a11ee100d13c75dc0eacc7fdf30465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b12b258079c29e65d3cabea49091d6e229a11ee100d13c75dc0eacc7fdf30465", kill_on_drop: false }` [INFO] [stdout] b12b258079c29e65d3cabea49091d6e229a11ee100d13c75dc0eacc7fdf30465 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3310cd77504b698dddb7c6835dc2f787adc720542084c0ff3db6c3c1385c4ca [INFO] running `Command { std: "docker" "start" "-a" "e3310cd77504b698dddb7c6835dc2f787adc720542084c0ff3db6c3c1385c4ca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling 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] [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.85s [INFO] running `Command { std: "docker" "inspect" "e3310cd77504b698dddb7c6835dc2f787adc720542084c0ff3db6c3c1385c4ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3310cd77504b698dddb7c6835dc2f787adc720542084c0ff3db6c3c1385c4ca", kill_on_drop: false }` [INFO] [stdout] e3310cd77504b698dddb7c6835dc2f787adc720542084c0ff3db6c3c1385c4ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6cdec903b675aa3d59c85b77934628b81ef8242f5bf7e8a8adbfb939d46ff81 [INFO] running `Command { std: "docker" "start" "-a" "d6cdec903b675aa3d59c85b77934628b81ef8242f5bf7e8a8adbfb939d46ff81", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling as-slice v0.2.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling y4m v0.8.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling aligned v0.4.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling bitstream-io v4.9.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling pxfm v0.1.27 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling zune-core v0.5.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling gif v0.14.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling zune-jpeg v0.5.6 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling rusty-fork v0.3.1 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling clap v4.5.53 [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 arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [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] Compiling profiling v1.0.17 [INFO] [stderr] Compiling test-case v3.3.1 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling moxcms v0.7.10 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling proptest v1.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling 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] Compiling ravif v0.12.0 [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] [stderr] Compiling image v0.25.9 [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] [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] 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: 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: 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: 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: 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: 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" "d6cdec903b675aa3d59c85b77934628b81ef8242f5bf7e8a8adbfb939d46ff81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6cdec903b675aa3d59c85b77934628b81ef8242f5bf7e8a8adbfb939d46ff81", kill_on_drop: false }` [INFO] [stdout] d6cdec903b675aa3d59c85b77934628b81ef8242f5bf7e8a8adbfb939d46ff81