[INFO] fetching crate neuromorphic-drivers 0.16.0... [INFO] testing neuromorphic-drivers-0.16.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate neuromorphic-drivers 0.16.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate neuromorphic-drivers 0.16.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate neuromorphic-drivers 0.16.0 [INFO] tweaked toml for crates.io crate neuromorphic-drivers 0.16.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate neuromorphic-drivers 0.16.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate neuromorphic-drivers 0.16.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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82f78643b93d15108aea97e708edfcd03e5a5865b517723a27db0bf02a8d2318 [INFO] running `Command { std: "docker" "start" "-a" "82f78643b93d15108aea97e708edfcd03e5a5865b517723a27db0bf02a8d2318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82f78643b93d15108aea97e708edfcd03e5a5865b517723a27db0bf02a8d2318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82f78643b93d15108aea97e708edfcd03e5a5865b517723a27db0bf02a8d2318", kill_on_drop: false }` [INFO] [stdout] 82f78643b93d15108aea97e708edfcd03e5a5865b517723a27db0bf02a8d2318 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc6a0c06f9ee9d7b96113f9c46f25def468f0c4f13a6b78665ee25a04b46556a [INFO] running `Command { std: "docker" "start" "-a" "cc6a0c06f9ee9d7b96113f9c46f25def468f0c4f13a6b78665ee25a04b46556a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling rusb v0.9.4 [INFO] [stderr] Compiling neuromorphic-types v0.6.0 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling libusb1-sys v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling neuromorphic-drivers v0.16.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/adapters/davis346.rs:251:34 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn events_lengths(&self, slice: &[u8]) -> EventsLengths { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/adapters/davis346.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | slice: &[u8], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold_t` [INFO] [stdout] --> src/adapters/davis346.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | threshold_t: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/adapters/dvxplorer.rs:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn events_lengths(&self, slice: &[u8]) -> EventsLengths { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/adapters/dvxplorer.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | slice: &[u8], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold_t` [INFO] [stdout] --> src/adapters/dvxplorer.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | threshold_t: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | handle: &rusb::DeviceHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous_configuration` [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:522:5 [INFO] [stdout] | [INFO] [stdout] 522 | previous_configuration: Option<&Configuration>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_configuration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `configuration` [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 523 | configuration: &Configuration, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_configuration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dvs_orientation` is never read [INFO] [stdout] --> src/adapters/dvxplorer.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Adapter { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 97 | dvs_orientation: inivation_dvxplorer::DvsOrientation, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DVS_SIZE_COLUMNS` is never used [INFO] [stdout] --> src/devices/inivation_davis346.rs:1004:7 [INFO] [stdout] | [INFO] [stdout] 1004 | const DVS_SIZE_COLUMNS: SpiRegister = SpiRegister::new(ModuleAddress::Dvs, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DVS_SIZE_ROWS` is never used [INFO] [stdout] --> src/devices/inivation_davis346.rs:1005:7 [INFO] [stdout] | [INFO] [stdout] 1005 | const DVS_SIZE_ROWS: SpiRegister = SpiRegister::new(ModuleAddress::Dvs, 1); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APS_SIZE_COLUMNS` is never used [INFO] [stdout] --> src/devices/inivation_davis346.rs:1048:7 [INFO] [stdout] | [INFO] [stdout] 1048 | const APS_SIZE_COLUMNS: SpiRegister = SpiRegister::new(ModuleAddress::Aps, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APS_SIZE_ROWS` is never used [INFO] [stdout] --> src/devices/inivation_davis346.rs:1049:7 [INFO] [stdout] | [INFO] [stdout] 1049 | const APS_SIZE_ROWS: SpiRegister = SpiRegister::new(ModuleAddress::Aps, 1); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:555:8 [INFO] [stdout] | [INFO] [stdout] 554 | impl SpiRegister { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 555 | fn get(&self, handle: &rusb::DeviceHandle) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEVICE_TIMING_MAX_EVENT_NUM` is never used [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:758:7 [INFO] [stdout] | [INFO] [stdout] 758 | const DEVICE_TIMING_MAX_EVENT_NUM: SpiRegister = SpiRegister::new(ModuleAddress::Device, 0x3251); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEVICE_TIMING_NEXT_SELX_START` is never used [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:769:7 [INFO] [stdout] | [INFO] [stdout] 769 | const DEVICE_TIMING_NEXT_SELX_START: SpiRegister16 = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHIP_IDENTIFIER` is never used [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:823:7 [INFO] [stdout] | [INFO] [stdout] 823 | const CHIP_IDENTIFIER: SpiRegister32 = SpiRegister32::new(ModuleAddress::SystemInformation, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEVICE_IS_MASTER` is never used [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:824:7 [INFO] [stdout] | [INFO] [stdout] 824 | const DEVICE_IS_MASTER: SpiRegister32 = SpiRegister32::new(ModuleAddress::SystemInformation, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 63 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/devices.rs:258:42 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 445 | register! { inivation_davis346, inivation_dvxplorer, prophesee_evk3_hd, prophesee_evk4 } [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 258 | pub fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/devices/inivation_davis346.rs:482:26 [INFO] [stdout] | [INFO] [stdout] 482 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 482 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:451:26 [INFO] [stdout] | [INFO] [stdout] 451 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 451 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/devices/prophesee_evk3_hd.rs:431:26 [INFO] [stdout] | [INFO] [stdout] 431 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 431 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/devices/prophesee_evk4.rs:913:26 [INFO] [stdout] | [INFO] [stdout] 913 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 913 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/usb.rs:863:30 [INFO] [stdout] | [INFO] [stdout] 863 | pub fn next_with_timeout(&self, duration: &std::time::Duration) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 863 | pub fn next_with_timeout(&self, duration: &std::time::Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.22s [INFO] running `Command { std: "docker" "inspect" "cc6a0c06f9ee9d7b96113f9c46f25def468f0c4f13a6b78665ee25a04b46556a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc6a0c06f9ee9d7b96113f9c46f25def468f0c4f13a6b78665ee25a04b46556a", kill_on_drop: false }` [INFO] [stdout] cc6a0c06f9ee9d7b96113f9c46f25def468f0c4f13a6b78665ee25a04b46556a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c844cd74720847cef2e92f48b43130e3a6f031b4ae60c9446abf53fc72838a6 [INFO] running `Command { std: "docker" "start" "-a" "1c844cd74720847cef2e92f48b43130e3a6f031b4ae60c9446abf53fc72838a6", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/adapters/davis346.rs:251:34 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn events_lengths(&self, slice: &[u8]) -> EventsLengths { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/adapters/davis346.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | slice: &[u8], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold_t` [INFO] [stdout] --> src/adapters/davis346.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | threshold_t: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/adapters/dvxplorer.rs:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn events_lengths(&self, slice: &[u8]) -> EventsLengths { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/adapters/dvxplorer.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | slice: &[u8], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold_t` [INFO] [stdout] --> src/adapters/dvxplorer.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | threshold_t: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | handle: &rusb::DeviceHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous_configuration` [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:522:5 [INFO] [stdout] | [INFO] [stdout] 522 | previous_configuration: Option<&Configuration>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_configuration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `configuration` [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 523 | configuration: &Configuration, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_configuration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dvs_orientation` is never read [INFO] [stdout] --> src/adapters/dvxplorer.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Adapter { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 97 | dvs_orientation: inivation_dvxplorer::DvsOrientation, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DVS_SIZE_COLUMNS` is never used [INFO] [stdout] --> src/devices/inivation_davis346.rs:1004:7 [INFO] [stdout] | [INFO] [stdout] 1004 | const DVS_SIZE_COLUMNS: SpiRegister = SpiRegister::new(ModuleAddress::Dvs, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DVS_SIZE_ROWS` is never used [INFO] [stdout] --> src/devices/inivation_davis346.rs:1005:7 [INFO] [stdout] | [INFO] [stdout] 1005 | const DVS_SIZE_ROWS: SpiRegister = SpiRegister::new(ModuleAddress::Dvs, 1); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APS_SIZE_COLUMNS` is never used [INFO] [stdout] --> src/devices/inivation_davis346.rs:1048:7 [INFO] [stdout] | [INFO] [stdout] 1048 | const APS_SIZE_COLUMNS: SpiRegister = SpiRegister::new(ModuleAddress::Aps, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APS_SIZE_ROWS` is never used [INFO] [stdout] --> src/devices/inivation_davis346.rs:1049:7 [INFO] [stdout] | [INFO] [stdout] 1049 | const APS_SIZE_ROWS: SpiRegister = SpiRegister::new(ModuleAddress::Aps, 1); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:555:8 [INFO] [stdout] | [INFO] [stdout] 554 | impl SpiRegister { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 555 | fn get(&self, handle: &rusb::DeviceHandle) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEVICE_TIMING_MAX_EVENT_NUM` is never used [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:758:7 [INFO] [stdout] | [INFO] [stdout] 758 | const DEVICE_TIMING_MAX_EVENT_NUM: SpiRegister = SpiRegister::new(ModuleAddress::Device, 0x3251); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEVICE_TIMING_NEXT_SELX_START` is never used [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:769:7 [INFO] [stdout] | [INFO] [stdout] 769 | const DEVICE_TIMING_NEXT_SELX_START: SpiRegister16 = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHIP_IDENTIFIER` is never used [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:823:7 [INFO] [stdout] | [INFO] [stdout] 823 | const CHIP_IDENTIFIER: SpiRegister32 = SpiRegister32::new(ModuleAddress::SystemInformation, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEVICE_IS_MASTER` is never used [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:824:7 [INFO] [stdout] | [INFO] [stdout] 824 | const DEVICE_IS_MASTER: SpiRegister32 = SpiRegister32::new(ModuleAddress::SystemInformation, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 63 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/devices.rs:258:42 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 445 | register! { inivation_davis346, inivation_dvxplorer, prophesee_evk3_hd, prophesee_evk4 } [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 258 | pub fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/devices/inivation_davis346.rs:482:26 [INFO] [stdout] | [INFO] [stdout] 482 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 482 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:451:26 [INFO] [stdout] | [INFO] [stdout] 451 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 451 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/devices/prophesee_evk3_hd.rs:431:26 [INFO] [stdout] | [INFO] [stdout] 431 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 431 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/devices/prophesee_evk4.rs:913:26 [INFO] [stdout] | [INFO] [stdout] 913 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 913 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling neuromorphic-drivers v0.16.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/usb.rs:863:30 [INFO] [stdout] | [INFO] [stdout] 863 | pub fn next_with_timeout(&self, duration: &std::time::Duration) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 863 | pub fn next_with_timeout(&self, duration: &std::time::Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/adapters/davis346.rs:251:34 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn events_lengths(&self, slice: &[u8]) -> EventsLengths { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/adapters/davis346.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | slice: &[u8], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold_t` [INFO] [stdout] --> src/adapters/davis346.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | threshold_t: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/adapters/dvxplorer.rs:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn events_lengths(&self, slice: &[u8]) -> EventsLengths { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/adapters/dvxplorer.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | slice: &[u8], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold_t` [INFO] [stdout] --> src/adapters/dvxplorer.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | threshold_t: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | handle: &rusb::DeviceHandle, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous_configuration` [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:522:5 [INFO] [stdout] | [INFO] [stdout] 522 | previous_configuration: Option<&Configuration>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_configuration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `configuration` [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 523 | configuration: &Configuration, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_configuration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dvs_orientation` is never read [INFO] [stdout] --> src/adapters/dvxplorer.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Adapter { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 97 | dvs_orientation: inivation_dvxplorer::DvsOrientation, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DVS_SIZE_COLUMNS` is never used [INFO] [stdout] --> src/devices/inivation_davis346.rs:1004:7 [INFO] [stdout] | [INFO] [stdout] 1004 | const DVS_SIZE_COLUMNS: SpiRegister = SpiRegister::new(ModuleAddress::Dvs, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DVS_SIZE_ROWS` is never used [INFO] [stdout] --> src/devices/inivation_davis346.rs:1005:7 [INFO] [stdout] | [INFO] [stdout] 1005 | const DVS_SIZE_ROWS: SpiRegister = SpiRegister::new(ModuleAddress::Dvs, 1); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APS_SIZE_COLUMNS` is never used [INFO] [stdout] --> src/devices/inivation_davis346.rs:1048:7 [INFO] [stdout] | [INFO] [stdout] 1048 | const APS_SIZE_COLUMNS: SpiRegister = SpiRegister::new(ModuleAddress::Aps, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APS_SIZE_ROWS` is never used [INFO] [stdout] --> src/devices/inivation_davis346.rs:1049:7 [INFO] [stdout] | [INFO] [stdout] 1049 | const APS_SIZE_ROWS: SpiRegister = SpiRegister::new(ModuleAddress::Aps, 1); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:555:8 [INFO] [stdout] | [INFO] [stdout] 554 | impl SpiRegister { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 555 | fn get(&self, handle: &rusb::DeviceHandle) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEVICE_TIMING_MAX_EVENT_NUM` is never used [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:758:7 [INFO] [stdout] | [INFO] [stdout] 758 | const DEVICE_TIMING_MAX_EVENT_NUM: SpiRegister = SpiRegister::new(ModuleAddress::Device, 0x3251); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEVICE_TIMING_NEXT_SELX_START` is never used [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:769:7 [INFO] [stdout] | [INFO] [stdout] 769 | const DEVICE_TIMING_NEXT_SELX_START: SpiRegister16 = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHIP_IDENTIFIER` is never used [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:823:7 [INFO] [stdout] | [INFO] [stdout] 823 | const CHIP_IDENTIFIER: SpiRegister32 = SpiRegister32::new(ModuleAddress::SystemInformation, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEVICE_IS_MASTER` is never used [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:824:7 [INFO] [stdout] | [INFO] [stdout] 824 | const DEVICE_IS_MASTER: SpiRegister32 = SpiRegister32::new(ModuleAddress::SystemInformation, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 63 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/devices.rs:258:42 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 445 | register! { inivation_davis346, inivation_dvxplorer, prophesee_evk3_hd, prophesee_evk4 } [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 258 | pub fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/devices/inivation_davis346.rs:482:26 [INFO] [stdout] | [INFO] [stdout] 482 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 482 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/devices/inivation_dvxplorer.rs:451:26 [INFO] [stdout] | [INFO] [stdout] 451 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 451 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/devices/prophesee_evk3_hd.rs:431:26 [INFO] [stdout] | [INFO] [stdout] 431 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 431 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/devices/prophesee_evk4.rs:913:26 [INFO] [stdout] | [INFO] [stdout] 913 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 913 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/usb.rs:863:30 [INFO] [stdout] | [INFO] [stdout] 863 | pub fn next_with_timeout(&self, duration: &std::time::Duration) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 863 | pub fn next_with_timeout(&self, duration: &std::time::Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.27s [INFO] running `Command { std: "docker" "inspect" "1c844cd74720847cef2e92f48b43130e3a6f031b4ae60c9446abf53fc72838a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c844cd74720847cef2e92f48b43130e3a6f031b4ae60c9446abf53fc72838a6", kill_on_drop: false }` [INFO] [stdout] 1c844cd74720847cef2e92f48b43130e3a6f031b4ae60c9446abf53fc72838a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bcccf57f52aa497a02bc0a1833c8384e0cbf3acaae1d48f626d826eb9aadc4d6 [INFO] running `Command { std: "docker" "start" "-a" "bcccf57f52aa497a02bc0a1833c8384e0cbf3acaae1d48f626d826eb9aadc4d6", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `slice` [INFO] [stderr] --> src/adapters/davis346.rs:251:34 [INFO] [stderr] | [INFO] [stderr] 251 | pub fn events_lengths(&self, slice: &[u8]) -> EventsLengths { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slice` [INFO] [stderr] --> src/adapters/davis346.rs:266:9 [INFO] [stderr] | [INFO] [stderr] 266 | slice: &[u8], [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `threshold_t` [INFO] [stderr] --> src/adapters/davis346.rs:267:9 [INFO] [stderr] | [INFO] [stderr] 267 | threshold_t: u64, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold_t` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slice` [INFO] [stderr] --> src/adapters/dvxplorer.rs:162:34 [INFO] [stderr] | [INFO] [stderr] 162 | pub fn events_lengths(&self, slice: &[u8]) -> EventsLengths { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slice` [INFO] [stderr] --> src/adapters/dvxplorer.rs:176:9 [INFO] [stderr] | [INFO] [stderr] 176 | slice: &[u8], [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `threshold_t` [INFO] [stderr] --> src/adapters/dvxplorer.rs:177:9 [INFO] [stderr] | [INFO] [stderr] 177 | threshold_t: u64, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold_t` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `handle` [INFO] [stderr] --> src/devices/inivation_dvxplorer.rs:521:5 [INFO] [stderr] | [INFO] [stderr] 521 | handle: &rusb::DeviceHandle, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `previous_configuration` [INFO] [stderr] --> src/devices/inivation_dvxplorer.rs:522:5 [INFO] [stderr] | [INFO] [stderr] 522 | previous_configuration: Option<&Configuration>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_configuration` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `configuration` [INFO] [stderr] --> src/devices/inivation_dvxplorer.rs:523:5 [INFO] [stderr] | [INFO] [stderr] 523 | configuration: &Configuration, [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_configuration` [INFO] [stderr] [INFO] [stderr] warning: field `dvs_orientation` is never read [INFO] [stderr] --> src/adapters/dvxplorer.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 96 | pub struct Adapter { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 97 | dvs_orientation: inivation_dvxplorer::DvsOrientation, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `DVS_SIZE_COLUMNS` is never used [INFO] [stderr] --> src/devices/inivation_davis346.rs:1004:7 [INFO] [stderr] | [INFO] [stderr] 1004 | const DVS_SIZE_COLUMNS: SpiRegister = SpiRegister::new(ModuleAddress::Dvs, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DVS_SIZE_ROWS` is never used [INFO] [stderr] --> src/devices/inivation_davis346.rs:1005:7 [INFO] [stderr] | [INFO] [stderr] 1005 | const DVS_SIZE_ROWS: SpiRegister = SpiRegister::new(ModuleAddress::Dvs, 1); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `APS_SIZE_COLUMNS` is never used [INFO] [stderr] --> src/devices/inivation_davis346.rs:1048:7 [INFO] [stderr] | [INFO] [stderr] 1048 | const APS_SIZE_COLUMNS: SpiRegister = SpiRegister::new(ModuleAddress::Aps, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `APS_SIZE_ROWS` is never used [INFO] [stderr] --> src/devices/inivation_davis346.rs:1049:7 [INFO] [stderr] | [INFO] [stderr] 1049 | const APS_SIZE_ROWS: SpiRegister = SpiRegister::new(ModuleAddress::Aps, 1); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get` is never used [INFO] [stderr] --> src/devices/inivation_dvxplorer.rs:555:8 [INFO] [stderr] | [INFO] [stderr] 554 | impl SpiRegister { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] 555 | fn get(&self, handle: &rusb::DeviceHandle) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DEVICE_TIMING_MAX_EVENT_NUM` is never used [INFO] [stderr] --> src/devices/inivation_dvxplorer.rs:758:7 [INFO] [stderr] | [INFO] [stderr] 758 | const DEVICE_TIMING_MAX_EVENT_NUM: SpiRegister = SpiRegister::new(ModuleAddress::Device, 0x3251); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DEVICE_TIMING_NEXT_SELX_START` is never used [INFO] [stderr] --> src/devices/inivation_dvxplorer.rs:769:7 [INFO] [stderr] | [INFO] [stderr] 769 | const DEVICE_TIMING_NEXT_SELX_START: SpiRegister16 = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `CHIP_IDENTIFIER` is never used [INFO] [stderr] --> src/devices/inivation_dvxplorer.rs:823:7 [INFO] [stderr] | [INFO] [stderr] 823 | const CHIP_IDENTIFIER: SpiRegister32 = SpiRegister32::new(ModuleAddress::SystemInformation, 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DEVICE_IS_MASTER` is never used [INFO] [stderr] --> src/devices/inivation_dvxplorer.rs:824:7 [INFO] [stderr] | [INFO] [stderr] 824 | const DEVICE_IS_MASTER: SpiRegister32 = SpiRegister32::new(ModuleAddress::SystemInformation, 2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/device.rs:63:26 [INFO] [stderr] | [INFO] [stderr] 63 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option; [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 63 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/devices.rs:258:42 [INFO] [stderr] | [INFO] [stderr] 258 | pub fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] ... [INFO] [stderr] 445 | register! { inivation_davis346, inivation_dvxplorer, prophesee_evk3_hd, prophesee_evk4 } [INFO] [stderr] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 258 | pub fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/devices/inivation_davis346.rs:482:26 [INFO] [stderr] | [INFO] [stderr] 482 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 482 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/devices/inivation_dvxplorer.rs:451:26 [INFO] [stderr] | [INFO] [stderr] 451 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 451 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/devices/prophesee_evk3_hd.rs:431:26 [INFO] [stderr] | [INFO] [stderr] 431 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 431 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/devices/prophesee_evk4.rs:913:26 [INFO] [stderr] | [INFO] [stderr] 913 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 913 | fn next_with_timeout(&self, timeout: &std::time::Duration) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/usb.rs:863:30 [INFO] [stderr] | [INFO] [stderr] 863 | pub fn next_with_timeout(&self, duration: &std::time::Duration) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 863 | pub fn next_with_timeout(&self, duration: &std::time::Duration) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `neuromorphic-drivers` (lib) generated 26 warnings (run `cargo fix --lib -p neuromorphic-drivers` to apply 7 suggestions) [INFO] [stderr] warning: `neuromorphic-drivers` (lib test) generated 26 warnings (26 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/neuromorphic_drivers-92d2adb3970f98e6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/evk4.rs (/opt/rustwide/target/debug/deps/evk4-386d2afe678aecf2) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test read ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- read stdout ---- [INFO] [stdout] Error: PropheseeEvk4(Usb(Device)) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] read [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test evk4` [INFO] running `Command { std: "docker" "inspect" "bcccf57f52aa497a02bc0a1833c8384e0cbf3acaae1d48f626d826eb9aadc4d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcccf57f52aa497a02bc0a1833c8384e0cbf3acaae1d48f626d826eb9aadc4d6", kill_on_drop: false }` [INFO] [stdout] bcccf57f52aa497a02bc0a1833c8384e0cbf3acaae1d48f626d826eb9aadc4d6