[INFO] fetching crate feagi_core_data_structures_and_processing_nightly 0.0.49... [INFO] checking feagi_core_data_structures_and_processing_nightly-0.0.49 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate feagi_core_data_structures_and_processing_nightly 0.0.49 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate feagi_core_data_structures_and_processing_nightly 0.0.49 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate feagi_core_data_structures_and_processing_nightly 0.0.49 [INFO] tweaked toml for crates.io crate feagi_core_data_structures_and_processing_nightly 0.0.49 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate feagi_core_data_structures_and_processing_nightly 0.0.49 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate feagi_core_data_structures_and_processing_nightly 0.0.49 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zip v2.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4adbca1cc5c77b7772e59b8e447ba2fcfb9fd24a1f1c3bc99bc134142f012ab0 [INFO] running `Command { std: "docker" "start" "-a" "4adbca1cc5c77b7772e59b8e447ba2fcfb9fd24a1f1c3bc99bc134142f012ab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4adbca1cc5c77b7772e59b8e447ba2fcfb9fd24a1f1c3bc99bc134142f012ab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4adbca1cc5c77b7772e59b8e447ba2fcfb9fd24a1f1c3bc99bc134142f012ab0", kill_on_drop: false }` [INFO] [stdout] 4adbca1cc5c77b7772e59b8e447ba2fcfb9fd24a1f1c3bc99bc134142f012ab0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48d2cdfbdd1eb9f302932706eca8bf8cb85353488596e407e7307d48f012f2d6 [INFO] running `Command { std: "docker" "start" "-a" "48d2cdfbdd1eb9f302932706eca8bf8cb85353488596e407e7307d48f012f2d6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking bumpalo v3.17.0 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Compiling zip v2.4.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking feagi_core_data_structures_and_processing_nightly v0.0.49 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/io_processing/stream_cache_processors/stream_cache_processor_trait.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/io_processing/stream_cache_processors/float.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/io_processing/stream_cache_processors/image_frame.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NeuronCoderVariantType` [INFO] [stdout] --> src/io_processing/io_caches.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::neuron_data::xyzp::{NeuronCoderVariantType, instantiate_encoder_by_type}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IODataError` [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::{FeagiDataProcessingError, IODataError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CorticalType` [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::genomic_structures::{CorticalID, CorticalType, SingleChannelDimensions}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NormalizedM1To1F32_SplitSignDivided` should have an upper camel case name [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | NormalizedM1To1F32_SplitSignDivided, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NormalizedM1to1f32SplitSignDivided` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NormalizedM1To1F32_PSPBirdirectionalDivided` should have an upper camel case name [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | NormalizedM1To1F32_PSPBirdirectionalDivided, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NormalizedM1to1f32PspbirdirectionalDivided` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IOTypeVariant` and `NormalizedM1To1F32` [INFO] [stdout] --> src/neuron_data/xyzp/coders/encoders/normalized_0_to_1_float_f32_linear.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::io_data::{IOTypeData, IOTypeVariant, Normalized0To1F32, NormalizedM1To1F32}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CorticalIOChannelIndex` [INFO] [stdout] --> src/genomic_structures/cortical_id.rs:2:84 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{CorticalType, SensorCorticalType, MotorCorticalType, CoreCorticalType, CorticalIOChannelIndex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/genomic_structures/cortical_type.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 47 | return Err(FeagiDataProcessingError::InternalError("Failed to map cortical ID to type!".into())); [INFO] [stdout] | ------------------------------------------------------------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 48 | [INFO] [stdout] 49 | let mut id_0: [u8; CorticalID::CORTICAL_ID_LENGTH] = id.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] ... [INFO] [stdout] 336 | / define_io_cortical_types!{ [INFO] [stdout] 337 | | SensorCorticalType { [INFO] [stdout] 338 | | Infrared => { [INFO] [stdout] 339 | | friendly_name::: "Infrared Sensor", [INFO] [stdout] ... | [INFO] [stdout] 502 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_io_cortical_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/genomic_structures/cortical_type.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 47 | return Err(FeagiDataProcessingError::InternalError("Failed to map cortical ID to type!".into())); [INFO] [stdout] | ------------------------------------------------------------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 48 | [INFO] [stdout] 49 | let mut id_0: [u8; CorticalID::CORTICAL_ID_LENGTH] = id.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] ... [INFO] [stdout] 514 | / define_io_cortical_types!{ [INFO] [stdout] 515 | | MotorCorticalType { [INFO] [stdout] 516 | | RotoryMotor => { [INFO] [stdout] 517 | | friendly_name::: "Rotory Motor", [INFO] [stdout] ... | [INFO] [stdout] 524 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_io_cortical_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/io_processing/byte_structures/feagi_byte_structure.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/io_processing/byte_structures/feagi_byte_structure.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 164 | FeagiByteStructureType::JSON => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 167 | FeagiByteStructureType::NeuronCategoricalXYZP => { [INFO] [stdout] | --------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 170 | FeagiByteStructureType::MultiStructHolder => { [INFO] [stdout] | ----------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 174 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cortical_grouping_index` [INFO] [stdout] --> src/io_processing/io_caches.rs:52:64 [INFO] [stdout] | [INFO] [stdout] 52 | ...(&mut self, cortical_grouping_index: CorticalGroupingIndex, number_supported_channels: u32) -> Result<(), FeagiDataProcessingError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cortical_grouping_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number_supported_channels` [INFO] [stdout] --> src/io_processing/io_caches.rs:52:112 [INFO] [stdout] | [INFO] [stdout] 52 | ...ingIndex, number_supported_channels: u32) -> Result<(), FeagiDataProcessingError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_supported_channels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cortical_id_targets` [INFO] [stdout] --> src/io_processing/io_caches.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let cortical_id_targets = &cortical_area_details.neuron_data_location_by_cortical_ids; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cortical_id_targets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `past_send_time` [INFO] [stdout] --> src/io_processing/io_caches.rs:159:37 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn encode_to_neurons(&self, past_send_time: Instant, neurons_to_encode_to: &mut CorticalMappedXYZPNeuronData) -> Result<(), Feagi... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_past_send_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/io_processing/io_caches.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | let mut cache = self.try_get_mut_channel_cache(cortical_type, cortical_grouping_index, channel)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 42 | positive_x_index => { [INFO] [stdout] | ---------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 48 | negative_x_index => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let positive_x_index: u32 = *cortical_channel * CHANNEL_WIDTH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 42 | positive_x_index => { [INFO] [stdout] | ---------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 54 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let positive_x_index: u32 = *cortical_channel * CHANNEL_WIDTH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `negative_x_index` [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let negative_x_index: u32 = positive_x_index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_negative_x_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `positive_x_index` [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | positive_x_index => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_positive_x_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `negative_x_index` [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | negative_x_index => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_negative_x_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 117 | positive_x_index => { [INFO] [stdout] | ---------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 123 | negative_x_index => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let positive_x_index: u32 = *cortical_channel * CHANNEL_WIDTH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 117 | positive_x_index => { [INFO] [stdout] | ---------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 129 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let positive_x_index: u32 = *cortical_channel * CHANNEL_WIDTH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `negative_x_index` [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let negative_x_index: u32 = positive_x_index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_negative_x_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `positive_x_index` [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | positive_x_index => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_positive_x_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `negative_x_index` [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | negative_x_index => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_negative_x_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/neuron_data/xyzp/coders/encoders/image_frame.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut image: &ImageFrame = wrapped_value.try_into()?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/genomic_structures/cortical_type.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | Self::Core(c) => &[], [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/genomic_structures/cortical_type.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | ... Self::Core(c) => Err(IODataError::InvalidParameters("Core Cortical Areas cannot have any valid IO Type Variant!".into()).into()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/genomic_structures/cortical_type.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) fn get_type_from_bytes(id: &[u8; CorticalID::CORTICAL_ID_LENGTH]) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] ... [INFO] [stdout] 336 | / define_io_cortical_types!{ [INFO] [stdout] 337 | | SensorCorticalType { [INFO] [stdout] 338 | | Infrared => { [INFO] [stdout] 339 | | friendly_name::: "Infrared Sensor", [INFO] [stdout] ... | [INFO] [stdout] 502 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_io_cortical_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/genomic_structures/cortical_type.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) fn get_type_from_bytes(id: &[u8; CorticalID::CORTICAL_ID_LENGTH]) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] ... [INFO] [stdout] 514 | / define_io_cortical_types!{ [INFO] [stdout] 515 | | MotorCorticalType { [INFO] [stdout] 516 | | RotoryMotor => { [INFO] [stdout] 517 | | friendly_name::: "Rotory Motor", [INFO] [stdout] ... | [INFO] [stdout] 524 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_io_cortical_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `output` is never read [INFO] [stdout] --> src/genomic_structures/single_channel_dimensions.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut output = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `descriptors::SegmentedVisionFrameSourceCroppingPointGrouping` is more private than the item `descriptors::SegmentedFrameCenterProperties::calculate_source_corner_points_for_segemented_video_frame` [INFO] [stdout] --> src/io_data/image/descriptors.rs:505:5 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn calculate_source_corner_points_for_segemented_video_frame(&self, source_frame_width_height: (usize, usize)) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `descriptors::SegmentedFrameCenterProperties::calculate_source_corner_points_for_segemented_video_frame` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `descriptors::SegmentedVisionFrameSourceCroppingPointGrouping` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/io_data/image/descriptors.rs:652:1 [INFO] [stdout] | [INFO] [stdout] 652 | pub(crate) struct SegmentedVisionFrameSourceCroppingPointGrouping { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_type` is never read [INFO] [stdout] --> src/io_processing/callback_manager.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CallBackManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | data_type: IOTypeVariant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `emit` is never used [INFO] [stdout] --> src/io_processing/callback_manager.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl CallBackManager { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub(crate) fn emit(&self, value: &IOTypeData) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_get_version_from_bytes` is never used [INFO] [stdout] --> src/io_processing/byte_structures/feagi_byte_structure.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 378 | pub fn try_get_version_from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_agent_key_proxy_registered` and `try_get_agent_proxy_keys` are never used [INFO] [stdout] --> src/io_processing/io_caches.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl SensorCache { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 216 | fn is_agent_key_proxy_registered(&self, cortical_type: CorticalType, agent_grouping_index: AgentDeviceIndex) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn try_get_agent_proxy_keys(&self, cortical_type: CorticalType, agent_grouping_index: AgentDeviceIndex) -> Result<&Vec src/io_data/ranged_floats.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const EPSILON: f32 = 0.00001; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `change_memory_order_from_row_major` is never used [INFO] [stdout] --> src/io_data/image/image_frame.rs:884:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl ImageFrame { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 884 | fn change_memory_order_from_row_major(input: Array3, target_memory_order: MemoryOrderLayout) -> Array3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channel_dimensions` is never read [INFO] [stdout] --> src/neuron_data/xyzp/coders/encoders/image_frame.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ImageFrameNeuronXYZPEncoder { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] 8 | channel_dimensions: SingleChannelDimensions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_chars_to_u8` is never used [INFO] [stdout] --> src/genomic_structures/cortical_type.rs:535:4 [INFO] [stdout] | [INFO] [stdout] 535 | fn hex_chars_to_u8(high: char, low: char) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_cortical_IO_channel_index` should have a snake case name [INFO] [stdout] --> src/io_processing/channel_stream_caches.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_cortical_IO_channel_index(&self) -> CorticalIOChannelIndex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_cortical_io_channel_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/io_data/image/image_frame.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn get_pixels_view(&self) -> ArrayView3 { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn get_pixels_view(&self) -> ArrayView3<'_, f32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | verify_number_cortical_IDs_sensible(cortical_ids_targeted, STANDARD_EXPECTED_CORTICAL_ID_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = verify_number_cortical_IDs_sensible(cortical_ids_targeted, STANDARD_EXPECTED_CORTICAL_ID_COUNT); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `[CorticalID]` instead of cloning the inner type [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:22:108 [INFO] [stdout] | [INFO] [stdout] 22 | ... Ok(Box::new(NormalizedM1to1F32FloatSplitSignDividedNeuronXYZPEncoder::new(cortical_ids_targeted.clone()[0], channel_dimensions))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | verify_number_cortical_IDs_sensible(cortical_ids_targeted, STANDARD_EXPECTED_CORTICAL_ID_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | let _ = verify_number_cortical_IDs_sensible(cortical_ids_targeted, STANDARD_EXPECTED_CORTICAL_ID_COUNT); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `[CorticalID]` instead of cloning the inner type [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:26:104 [INFO] [stdout] | [INFO] [stdout] 26 | Ok(Box::new(NormalizedM1To1F32PSPBirdirectionalNeuronXYZPEncoder::new(cortical_ids_targeted.clone()[0], channel_dimensions))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | verify_number_cortical_IDs_sensible(cortical_ids_targeted, STANDARD_EXPECTED_CORTICAL_ID_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = verify_number_cortical_IDs_sensible(cortical_ids_targeted, STANDARD_EXPECTED_CORTICAL_ID_COUNT); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `[CorticalID]` instead of cloning the inner type [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:30:92 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(Box::new(Normalized0To1F32LinearNeuronXYZPEncoder::new(cortical_ids_targeted.clone()[0], channel_dimensions))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | verify_number_cortical_IDs_sensible(cortical_ids_targeted, STANDARD_EXPECTED_CORTICAL_ID_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = verify_number_cortical_IDs_sensible(cortical_ids_targeted, STANDARD_EXPECTED_CORTICAL_ID_COUNT); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `[CorticalID]` instead of cloning the inner type [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:34:79 [INFO] [stdout] | [INFO] [stdout] 34 | Ok(Box::new(ImageFrameNeuronXYZPEncoder::new(cortical_ids_targeted.clone()[0], channel_dimensions))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | verify_number_cortical_IDs_sensible(cortical_ids_targeted, NUMBER_SEGMENTS_IN_SEGMENTED_FRAME); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = verify_number_cortical_IDs_sensible(cortical_ids_targeted, NUMBER_SEGMENTS_IN_SEGMENTED_FRAME); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_number_cortical_IDs_sensible` should have a snake case name [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn verify_number_cortical_IDs_sensible(cortical_ids: &[CorticalID], expected_count: usize) -> Result<(), FeagiDataProcessingError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `verify_number_cortical_ids_sensible` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pest v2.8.0 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Checking py_literal v0.4.0 [INFO] [stderr] Checking ndarray-npy v0.9.1 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] --> tests/tests_neurons.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use feagi_core_data_structures_and_processing::neuron_data::xyzp::{CorticalMappedXYZPNeuronData, NeuronXYZPArrays, NeuronXYZP}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use feagi_core_data_structures_and_processing_nightly::neuron_data::xyzp::{CorticalMappedXYZPNeuronData, NeuronXYZPArrays, NeuronXYZP}; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] --> tests/tests_neurons.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use feagi_core_data_structures_and_processing::genomic_structures::CorticalID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use feagi_core_data_structures_and_processing_nightly::genomic_structures::CorticalID; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] --> tests/tests_neurons.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use feagi_core_data_structures_and_processing::io_processing::byte_structures::FeagiByteStructure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use feagi_core_data_structures_and_processing_nightly::io_processing::byte_structures::FeagiByteStructure; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] --> tests/tests_neurons.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use feagi_core_data_structures_and_processing::io_processing::byte_structures::FeagiByteStructureCompatible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use feagi_core_data_structures_and_processing_nightly::io_processing::byte_structures::FeagiByteStructureCompatible; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] --> tests/tests_vision.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use feagi_core_data_structures_and_processing::io_data::descriptors::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use feagi_core_data_structures_and_processing_nightly::io_data::descriptors::*; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] --> tests/tests_vision.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use feagi_core_data_structures_and_processing::io_data::ImageFrame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use feagi_core_data_structures_and_processing_nightly::io_data::ImageFrame; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `feagi_core_data_structures_and_processing::io_data::ImageFrame` [INFO] [stdout] --> tests/tests_vision.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use feagi_core_data_structures_and_processing::io_data::ImageFrame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `feagi_core_data_structures_and_processing_nightly` (test "tests_neurons") due to 4 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `ColorSpace` in this scope [INFO] [stdout] --> tests/tests_vision.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let color_space: ColorSpace = ColorSpace::Linear; // Just Guessing [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use feagi_core_data_structures_and_processing_nightly::io_data::descriptors::ColorSpace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `feagi_core_data_structures_and_processing_nightly` (test "tests_vision") due to 7 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColorSpace` [INFO] [stdout] --> tests/tests_vision.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | let color_space: ColorSpace = ColorSpace::Linear; // Just Guessing [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ColorSpace` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use feagi_core_data_structures_and_processing_nightly::io_data::descriptors::ColorSpace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MemoryOrderLayout` in this scope [INFO] [stdout] --> tests/tests_vision.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | let memory_order: MemoryOrderLayout = MemoryOrderLayout::HeightsWidthsChannels; // the standard row major [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use feagi_core_data_structures_and_processing_nightly::io_data::descriptors::MemoryOrderLayout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryOrderLayout` [INFO] [stdout] --> tests/tests_vision.rs:15:43 [INFO] [stdout] | [INFO] [stdout] 15 | let memory_order: MemoryOrderLayout = MemoryOrderLayout::HeightsWidthsChannels; // the standard row major [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `MemoryOrderLayout` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use feagi_core_data_structures_and_processing_nightly::io_data::descriptors::MemoryOrderLayout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] --> tests/tests_json_structure.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use feagi_core_data_structures_and_processing::io_data::JsonStructure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use feagi_core_data_structures_and_processing_nightly::io_data::JsonStructure; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] --> tests/tests_json_structure.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use feagi_core_data_structures_and_processing::io_processing::byte_structures::FeagiByteStructure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use feagi_core_data_structures_and_processing_nightly::io_processing::byte_structures::FeagiByteStructure; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] --> tests/tests_json_structure.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use feagi_core_data_structures_and_processing::io_processing::byte_structures::FeagiByteStructureCompatible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use feagi_core_data_structures_and_processing_nightly::io_processing::byte_structures::FeagiByteStructureCompatible; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `feagi_core_data_structures_and_processing_nightly` (test "tests_json_structure") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] --> tests/tests_combined_structures.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use feagi_core_data_structures_and_processing::io_data::JsonStructure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use feagi_core_data_structures_and_processing_nightly::io_data::JsonStructure; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] --> tests/tests_combined_structures.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use feagi_core_data_structures_and_processing::neuron_data::xyzp::{CorticalMappedXYZPNeuronData, NeuronXYZP, NeuronXYZPArrays}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use feagi_core_data_structures_and_processing_nightly::neuron_data::xyzp::{CorticalMappedXYZPNeuronData, NeuronXYZP, NeuronXYZPArrays}; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] --> tests/tests_combined_structures.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use feagi_core_data_structures_and_processing::genomic_structures::CorticalID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use feagi_core_data_structures_and_processing_nightly::genomic_structures::CorticalID; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] --> tests/tests_combined_structures.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use feagi_core_data_structures_and_processing::io_processing::byte_structures::FeagiByteStructure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use feagi_core_data_structures_and_processing_nightly::io_processing::byte_structures::FeagiByteStructure; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] --> tests/tests_combined_structures.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use feagi_core_data_structures_and_processing::io_processing::byte_structures::FeagiByteStructureType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use feagi_core_data_structures_and_processing_nightly::io_processing::byte_structures::FeagiByteStructureType; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] --> tests/tests_combined_structures.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use feagi_core_data_structures_and_processing::io_processing::byte_structures::FeagiByteStructureCompatible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `feagi_core_data_structures_and_processing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | use feagi_core_data_structures_and_processing_nightly::io_processing::byte_structures::FeagiByteStructureCompatible; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/io_processing/stream_cache_processors/stream_cache_processor_trait.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/io_processing/stream_cache_processors/float.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/io_processing/stream_cache_processors/image_frame.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NeuronCoderVariantType` [INFO] [stdout] --> src/io_processing/io_caches.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::neuron_data::xyzp::{NeuronCoderVariantType, instantiate_encoder_by_type}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IODataError` [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::{FeagiDataProcessingError, IODataError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `CorticalType` [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::genomic_structures::{CorticalID, CorticalType, SingleChannelDimensions}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NormalizedM1To1F32_SplitSignDivided` should have an upper camel case name [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | NormalizedM1To1F32_SplitSignDivided, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NormalizedM1to1f32SplitSignDivided` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NormalizedM1To1F32_PSPBirdirectionalDivided` should have an upper camel case name [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | NormalizedM1To1F32_PSPBirdirectionalDivided, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NormalizedM1to1f32PspbirdirectionalDivided` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IOTypeVariant` and `NormalizedM1To1F32` [INFO] [stdout] --> src/neuron_data/xyzp/coders/encoders/normalized_0_to_1_float_f32_linear.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::io_data::{IOTypeData, IOTypeVariant, Normalized0To1F32, NormalizedM1To1F32}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CorticalIOChannelIndex` [INFO] [stdout] --> src/genomic_structures/cortical_id.rs:2:84 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{CorticalType, SensorCorticalType, MotorCorticalType, CoreCorticalType, CorticalIOChannelIndex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `feagi_core_data_structures_and_processing_nightly` (test "tests_combined_structures") due to 6 previous errors [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/genomic_structures/cortical_type.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 47 | return Err(FeagiDataProcessingError::InternalError("Failed to map cortical ID to type!".into())); [INFO] [stdout] | ------------------------------------------------------------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 48 | [INFO] [stdout] 49 | let mut id_0: [u8; CorticalID::CORTICAL_ID_LENGTH] = id.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] ... [INFO] [stdout] 336 | / define_io_cortical_types!{ [INFO] [stdout] 337 | | SensorCorticalType { [INFO] [stdout] 338 | | Infrared => { [INFO] [stdout] 339 | | friendly_name::: "Infrared Sensor", [INFO] [stdout] ... | [INFO] [stdout] 502 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_io_cortical_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/genomic_structures/cortical_type.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 47 | return Err(FeagiDataProcessingError::InternalError("Failed to map cortical ID to type!".into())); [INFO] [stdout] | ------------------------------------------------------------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 48 | [INFO] [stdout] 49 | let mut id_0: [u8; CorticalID::CORTICAL_ID_LENGTH] = id.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] ... [INFO] [stdout] 514 | / define_io_cortical_types!{ [INFO] [stdout] 515 | | MotorCorticalType { [INFO] [stdout] 516 | | RotoryMotor => { [INFO] [stdout] 517 | | friendly_name::: "Rotory Motor", [INFO] [stdout] ... | [INFO] [stdout] 524 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_io_cortical_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/io_processing/byte_structures/feagi_byte_structure.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/io_processing/byte_structures/feagi_byte_structure.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 164 | FeagiByteStructureType::JSON => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 167 | FeagiByteStructureType::NeuronCategoricalXYZP => { [INFO] [stdout] | --------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 170 | FeagiByteStructureType::MultiStructHolder => { [INFO] [stdout] | ----------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 174 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cortical_grouping_index` [INFO] [stdout] --> src/io_processing/io_caches.rs:52:64 [INFO] [stdout] | [INFO] [stdout] 52 | ...(&mut self, cortical_grouping_index: CorticalGroupingIndex, number_supported_channels: u32) -> Result<(), FeagiDataProcessingError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cortical_grouping_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number_supported_channels` [INFO] [stdout] --> src/io_processing/io_caches.rs:52:112 [INFO] [stdout] | [INFO] [stdout] 52 | ...ingIndex, number_supported_channels: u32) -> Result<(), FeagiDataProcessingError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_supported_channels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cortical_id_targets` [INFO] [stdout] --> src/io_processing/io_caches.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let cortical_id_targets = &cortical_area_details.neuron_data_location_by_cortical_ids; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cortical_id_targets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `past_send_time` [INFO] [stdout] --> src/io_processing/io_caches.rs:159:37 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn encode_to_neurons(&self, past_send_time: Instant, neurons_to_encode_to: &mut CorticalMappedXYZPNeuronData) -> Result<(), Feagi... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_past_send_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/io_processing/io_caches.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | let mut cache = self.try_get_mut_channel_cache(cortical_type, cortical_grouping_index, channel)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 42 | positive_x_index => { [INFO] [stdout] | ---------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 48 | negative_x_index => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let positive_x_index: u32 = *cortical_channel * CHANNEL_WIDTH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 42 | positive_x_index => { [INFO] [stdout] | ---------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 54 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let positive_x_index: u32 = *cortical_channel * CHANNEL_WIDTH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `negative_x_index` [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let negative_x_index: u32 = positive_x_index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_negative_x_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `positive_x_index` [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | positive_x_index => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_positive_x_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `negative_x_index` [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | negative_x_index => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_negative_x_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 117 | positive_x_index => { [INFO] [stdout] | ---------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 123 | negative_x_index => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let positive_x_index: u32 = *cortical_channel * CHANNEL_WIDTH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 117 | positive_x_index => { [INFO] [stdout] | ---------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 129 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let positive_x_index: u32 = *cortical_channel * CHANNEL_WIDTH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `negative_x_index` [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let negative_x_index: u32 = positive_x_index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_negative_x_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `positive_x_index` [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | positive_x_index => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_positive_x_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `negative_x_index` [INFO] [stdout] --> src/neuron_data/xyzp/coders/decoders/linear_normalized_floats.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | negative_x_index => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_negative_x_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/neuron_data/xyzp/coders/encoders/image_frame.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut image: &ImageFrame = wrapped_value.try_into()?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/genomic_structures/cortical_type.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | Self::Core(c) => &[], [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/genomic_structures/cortical_type.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | ... Self::Core(c) => Err(IODataError::InvalidParameters("Core Cortical Areas cannot have any valid IO Type Variant!".into()).into()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/genomic_structures/cortical_type.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) fn get_type_from_bytes(id: &[u8; CorticalID::CORTICAL_ID_LENGTH]) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] ... [INFO] [stdout] 336 | / define_io_cortical_types!{ [INFO] [stdout] 337 | | SensorCorticalType { [INFO] [stdout] 338 | | Infrared => { [INFO] [stdout] 339 | | friendly_name::: "Infrared Sensor", [INFO] [stdout] ... | [INFO] [stdout] 502 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_io_cortical_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/genomic_structures/cortical_type.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) fn get_type_from_bytes(id: &[u8; CorticalID::CORTICAL_ID_LENGTH]) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] ... [INFO] [stdout] 514 | / define_io_cortical_types!{ [INFO] [stdout] 515 | | MotorCorticalType { [INFO] [stdout] 516 | | RotoryMotor => { [INFO] [stdout] 517 | | friendly_name::: "Rotory Motor", [INFO] [stdout] ... | [INFO] [stdout] 524 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_io_cortical_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `output` is never read [INFO] [stdout] --> src/genomic_structures/single_channel_dimensions.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut output = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `descriptors::SegmentedVisionFrameSourceCroppingPointGrouping` is more private than the item `descriptors::SegmentedFrameCenterProperties::calculate_source_corner_points_for_segemented_video_frame` [INFO] [stdout] --> src/io_data/image/descriptors.rs:505:5 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn calculate_source_corner_points_for_segemented_video_frame(&self, source_frame_width_height: (usize, usize)) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `descriptors::SegmentedFrameCenterProperties::calculate_source_corner_points_for_segemented_video_frame` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `descriptors::SegmentedVisionFrameSourceCroppingPointGrouping` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/io_data/image/descriptors.rs:652:1 [INFO] [stdout] | [INFO] [stdout] 652 | pub(crate) struct SegmentedVisionFrameSourceCroppingPointGrouping { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_type` is never read [INFO] [stdout] --> src/io_processing/callback_manager.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CallBackManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | data_type: IOTypeVariant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `emit` is never used [INFO] [stdout] --> src/io_processing/callback_manager.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl CallBackManager { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub(crate) fn emit(&self, value: &IOTypeData) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_get_version_from_bytes` is never used [INFO] [stdout] --> src/io_processing/byte_structures/feagi_byte_structure.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 378 | pub fn try_get_version_from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_agent_key_proxy_registered` and `try_get_agent_proxy_keys` are never used [INFO] [stdout] --> src/io_processing/io_caches.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl SensorCache { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 216 | fn is_agent_key_proxy_registered(&self, cortical_type: CorticalType, agent_grouping_index: AgentDeviceIndex) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn try_get_agent_proxy_keys(&self, cortical_type: CorticalType, agent_grouping_index: AgentDeviceIndex) -> Result<&Vec src/io_data/ranged_floats.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const EPSILON: f32 = 0.00001; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `change_memory_order_from_row_major` is never used [INFO] [stdout] --> src/io_data/image/image_frame.rs:884:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl ImageFrame { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 884 | fn change_memory_order_from_row_major(input: Array3, target_memory_order: MemoryOrderLayout) -> Array3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channel_dimensions` is never read [INFO] [stdout] --> src/neuron_data/xyzp/coders/encoders/image_frame.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ImageFrameNeuronXYZPEncoder { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] 8 | channel_dimensions: SingleChannelDimensions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_chars_to_u8` is never used [INFO] [stdout] --> src/genomic_structures/cortical_type.rs:535:4 [INFO] [stdout] | [INFO] [stdout] 535 | fn hex_chars_to_u8(high: char, low: char) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_cortical_IO_channel_index` should have a snake case name [INFO] [stdout] --> src/io_processing/channel_stream_caches.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_cortical_IO_channel_index(&self) -> CorticalIOChannelIndex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_cortical_io_channel_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/io_data/image/image_frame.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn get_pixels_view(&self) -> ArrayView3 { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn get_pixels_view(&self) -> ArrayView3<'_, f32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | verify_number_cortical_IDs_sensible(cortical_ids_targeted, STANDARD_EXPECTED_CORTICAL_ID_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = verify_number_cortical_IDs_sensible(cortical_ids_targeted, STANDARD_EXPECTED_CORTICAL_ID_COUNT); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `[CorticalID]` instead of cloning the inner type [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:22:108 [INFO] [stdout] | [INFO] [stdout] 22 | ... Ok(Box::new(NormalizedM1to1F32FloatSplitSignDividedNeuronXYZPEncoder::new(cortical_ids_targeted.clone()[0], channel_dimensions))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | verify_number_cortical_IDs_sensible(cortical_ids_targeted, STANDARD_EXPECTED_CORTICAL_ID_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | let _ = verify_number_cortical_IDs_sensible(cortical_ids_targeted, STANDARD_EXPECTED_CORTICAL_ID_COUNT); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `[CorticalID]` instead of cloning the inner type [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:26:104 [INFO] [stdout] | [INFO] [stdout] 26 | Ok(Box::new(NormalizedM1To1F32PSPBirdirectionalNeuronXYZPEncoder::new(cortical_ids_targeted.clone()[0], channel_dimensions))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | verify_number_cortical_IDs_sensible(cortical_ids_targeted, STANDARD_EXPECTED_CORTICAL_ID_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = verify_number_cortical_IDs_sensible(cortical_ids_targeted, STANDARD_EXPECTED_CORTICAL_ID_COUNT); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `[CorticalID]` instead of cloning the inner type [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:30:92 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(Box::new(Normalized0To1F32LinearNeuronXYZPEncoder::new(cortical_ids_targeted.clone()[0], channel_dimensions))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | verify_number_cortical_IDs_sensible(cortical_ids_targeted, STANDARD_EXPECTED_CORTICAL_ID_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = verify_number_cortical_IDs_sensible(cortical_ids_targeted, STANDARD_EXPECTED_CORTICAL_ID_COUNT); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `[CorticalID]` instead of cloning the inner type [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:34:79 [INFO] [stdout] | [INFO] [stdout] 34 | Ok(Box::new(ImageFrameNeuronXYZPEncoder::new(cortical_ids_targeted.clone()[0], channel_dimensions))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | verify_number_cortical_IDs_sensible(cortical_ids_targeted, NUMBER_SEGMENTS_IN_SEGMENTED_FRAME); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = verify_number_cortical_IDs_sensible(cortical_ids_targeted, NUMBER_SEGMENTS_IN_SEGMENTED_FRAME); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_number_cortical_IDs_sensible` should have a snake case name [INFO] [stdout] --> src/neuron_data/xyzp/coders/coder_types.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn verify_number_cortical_IDs_sensible(cortical_ids: &[CorticalID], expected_count: usize) -> Result<(), FeagiDataProcessingError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `verify_number_cortical_ids_sensible` [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "48d2cdfbdd1eb9f302932706eca8bf8cb85353488596e407e7307d48f012f2d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48d2cdfbdd1eb9f302932706eca8bf8cb85353488596e407e7307d48f012f2d6", kill_on_drop: false }` [INFO] [stdout] 48d2cdfbdd1eb9f302932706eca8bf8cb85353488596e407e7307d48f012f2d6