[INFO] cloning repository https://github.com/stanta/neuromorph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stanta/neuromorph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstanta%2Fneuromorph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstanta%2Fneuromorph'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 816aa5f173bdaad94c96633c695e61967995cdeb [INFO] checking stanta/neuromorph against master#e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 for pr-149195 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstanta%2Fneuromorph" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stanta/neuromorph [INFO] finished tweaking git repo https://github.com/stanta/neuromorph [INFO] tweaked toml for git repo https://github.com/stanta/neuromorph written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stanta/neuromorph on toolchain e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stanta/neuromorph 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" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prettyplease v0.2.35 [INFO] [stderr] Downloaded os_str_bytes v6.6.1 [INFO] [stderr] Downloaded textwrap v0.16.2 [INFO] [stderr] Downloaded tempfile v3.13.0 [INFO] [stderr] Downloaded clap v3.2.25 [INFO] [stderr] Downloaded cbindgen v0.26.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e393291b64ee54aed5aa50674fcd480d070ee75fcdc54537595a94be39a80ce [INFO] running `Command { std: "docker" "start" "-a" "2e393291b64ee54aed5aa50674fcd480d070ee75fcdc54537595a94be39a80ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e393291b64ee54aed5aa50674fcd480d070ee75fcdc54537595a94be39a80ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e393291b64ee54aed5aa50674fcd480d070ee75fcdc54537595a94be39a80ce", kill_on_drop: false }` [INFO] [stdout] 2e393291b64ee54aed5aa50674fcd480d070ee75fcdc54537595a94be39a80ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67ca2ad2aadd116b0bf1a287e46b1cdeacf38fe6e37678c373743e9dc0fc0afb [INFO] running `Command { std: "docker" "start" "-a" "67ca2ad2aadd116b0bf1a287e46b1cdeacf38fe6e37678c373743e9dc0fc0afb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling cbindgen v0.26.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tungstenite v0.23.0 [INFO] [stderr] Checking tokio-tungstenite v0.23.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling neuromorph-sys v0.1.0 (/opt/rustwide/workdir/neuromorph-sys) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | /// Global simulator state [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | /// Global simulator state [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:556:5 [INFO] [stdout] | [INFO] [stdout] 556 | args: *mut *mut c_void, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_mem` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 557 | shared_mem: usize, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:664:5 [INFO] [stdout] | [INFO] [stdout] 664 | device: NeuromorphDevice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:666:5 [INFO] [stdout] | [INFO] [stdout] 666 | priority: c_int [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:675:41 [INFO] [stdout] | [INFO] [stdout] 675 | pub unsafe fn neuromorphDmaQueueDestroy(queue: *mut c_void) -> NeuromorphResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:680:5 [INFO] [stdout] | [INFO] [stdout] 680 | queue: *mut c_void, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:681:5 [INFO] [stdout] | [INFO] [stdout] 681 | dst: *mut c_void, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:682:5 [INFO] [stdout] | [INFO] [stdout] 682 | src: *const c_void, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:683:5 [INFO] [stdout] | [INFO] [stdout] 683 | size: usize, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | queue: *mut c_void, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transfer_id` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:695:5 [INFO] [stdout] | [INFO] [stdout] 695 | transfer_id: c_uint, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transfer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout_ms` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:696:5 [INFO] [stdout] | [INFO] [stdout] 696 | timeout_ms: c_uint [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout_ms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:703:5 [INFO] [stdout] | [INFO] [stdout] 703 | queue: *mut c_void, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transfer_id` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:704:5 [INFO] [stdout] | [INFO] [stdout] 704 | transfer_id: c_uint, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transfer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:715:5 [INFO] [stdout] | [INFO] [stdout] 715 | device: NeuromorphDevice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `irq_mask` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:716:5 [INFO] [stdout] | [INFO] [stdout] 716 | irq_mask: c_uint, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_irq_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:717:5 [INFO] [stdout] | [INFO] [stdout] 717 | handler: NeuromorphIrqHandler, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_data` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:718:5 [INFO] [stdout] | [INFO] [stdout] 718 | user_data: *mut c_void [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:724:5 [INFO] [stdout] | [INFO] [stdout] 724 | device: NeuromorphDevice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `irq_mask` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:725:5 [INFO] [stdout] | [INFO] [stdout] 725 | irq_mask: c_uint [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_irq_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:731:5 [INFO] [stdout] | [INFO] [stdout] 731 | device: NeuromorphDevice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `irq_mask` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:732:5 [INFO] [stdout] | [INFO] [stdout] 732 | irq_mask: c_uint [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_irq_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | device: NeuromorphDevice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `irq_mask` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:739:5 [INFO] [stdout] | [INFO] [stdout] 739 | irq_mask: c_uint [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_irq_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:745:5 [INFO] [stdout] | [INFO] [stdout] 745 | device: NeuromorphDevice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:756:5 [INFO] [stdout] | [INFO] [stdout] 756 | device: NeuromorphDevice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `irq_mask` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:757:5 [INFO] [stdout] | [INFO] [stdout] 757 | irq_mask: c_uint [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_irq_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:763:5 [INFO] [stdout] | [INFO] [stdout] 763 | device: NeuromorphDevice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auto_reset` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:765:5 [INFO] [stdout] | [INFO] [stdout] 765 | auto_reset: c_int [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auto_reset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:774:40 [INFO] [stdout] | [INFO] [stdout] 774 | pub unsafe fn neuromorphHwEventDestroy(event: *mut c_void) -> NeuromorphResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:778:39 [INFO] [stdout] | [INFO] [stdout] 778 | pub unsafe fn neuromorphHwEventSignal(event: *mut c_void) -> NeuromorphResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:783:5 [INFO] [stdout] | [INFO] [stdout] 783 | event: *mut c_void, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout_ms` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:784:5 [INFO] [stdout] | [INFO] [stdout] 784 | timeout_ms: c_uint [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout_ms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:790:38 [INFO] [stdout] | [INFO] [stdout] 790 | pub unsafe fn neuromorphHwEventReset(event: *mut c_void) -> NeuromorphResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:797:5 [INFO] [stdout] | [INFO] [stdout] 797 | size: usize, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:798:5 [INFO] [stdout] | [INFO] [stdout] 798 | flags: c_uint [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host_ptr` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:808:5 [INFO] [stdout] | [INFO] [stdout] 808 | host_ptr: *mut c_void, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_host_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:809:5 [INFO] [stdout] | [INFO] [stdout] 809 | size: usize [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `memory` are never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct SimulatedDevice { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 54 | id: c_int, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 57 | memory: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device_id` and `flags` are never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 109 | struct SimulatedContext { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 110 | device_id: c_int, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 111 | flags: c_uint, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context_handle` is never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 115 | struct SimulatedStream { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 116 | context_handle: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kernel`, `grid_dim`, and `block_dim` are never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | KernelLaunch { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 131 | kernel: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 132 | grid_dim: NeuromorphDim3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 133 | block_dim: NeuromorphDim3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamCommand` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_handle` is never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 135 | EventRecord { [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 136 | event_handle: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamCommand` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `device_id` are never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 147 | struct SimulatedMemory { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 148 | ptr: *mut c_void, [INFO] [stdout] 149 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 150 | device_id: c_int, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `NeuromorphMemPoolProps` does not permit zero-initialization [INFO] [stdout] --> neuromorph-sys/src/types.rs:300:18 [INFO] [stdout] | [INFO] [stdout] 300 | unsafe { std::mem::zeroed() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: `types::NeuromorphMemLocation` must be non-null (in this struct field) [INFO] [stdout] --> neuromorph-sys/src/types.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | pub location: NeuromorphMemLocation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:556:5 [INFO] [stdout] | [INFO] [stdout] 556 | args: *mut *mut c_void, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_mem` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 557 | shared_mem: usize, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking neuromorph-driver v0.1.0 (/opt/rustwide/workdir/neuromorph-driver) [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:664:5 [INFO] [stdout] | [INFO] [stdout] 664 | device: NeuromorphDevice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:666:5 [INFO] [stdout] | [INFO] [stdout] 666 | priority: c_int [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:675:41 [INFO] [stdout] | [INFO] [stdout] 675 | pub unsafe fn neuromorphDmaQueueDestroy(queue: *mut c_void) -> NeuromorphResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:680:5 [INFO] [stdout] | [INFO] [stdout] 680 | queue: *mut c_void, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:681:5 [INFO] [stdout] | [INFO] [stdout] 681 | dst: *mut c_void, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:682:5 [INFO] [stdout] | [INFO] [stdout] 682 | src: *const c_void, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:683:5 [INFO] [stdout] | [INFO] [stdout] 683 | size: usize, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | queue: *mut c_void, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transfer_id` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:695:5 [INFO] [stdout] | [INFO] [stdout] 695 | transfer_id: c_uint, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transfer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout_ms` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:696:5 [INFO] [stdout] | [INFO] [stdout] 696 | timeout_ms: c_uint [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout_ms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:703:5 [INFO] [stdout] | [INFO] [stdout] 703 | queue: *mut c_void, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transfer_id` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:704:5 [INFO] [stdout] | [INFO] [stdout] 704 | transfer_id: c_uint, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transfer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:715:5 [INFO] [stdout] | [INFO] [stdout] 715 | device: NeuromorphDevice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `irq_mask` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:716:5 [INFO] [stdout] | [INFO] [stdout] 716 | irq_mask: c_uint, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_irq_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:717:5 [INFO] [stdout] | [INFO] [stdout] 717 | handler: NeuromorphIrqHandler, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_data` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:718:5 [INFO] [stdout] | [INFO] [stdout] 718 | user_data: *mut c_void [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:724:5 [INFO] [stdout] | [INFO] [stdout] 724 | device: NeuromorphDevice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `irq_mask` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:725:5 [INFO] [stdout] | [INFO] [stdout] 725 | irq_mask: c_uint [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_irq_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:731:5 [INFO] [stdout] | [INFO] [stdout] 731 | device: NeuromorphDevice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `irq_mask` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:732:5 [INFO] [stdout] | [INFO] [stdout] 732 | irq_mask: c_uint [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_irq_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | device: NeuromorphDevice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `irq_mask` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:739:5 [INFO] [stdout] | [INFO] [stdout] 739 | irq_mask: c_uint [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_irq_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:745:5 [INFO] [stdout] | [INFO] [stdout] 745 | device: NeuromorphDevice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:756:5 [INFO] [stdout] | [INFO] [stdout] 756 | device: NeuromorphDevice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `irq_mask` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:757:5 [INFO] [stdout] | [INFO] [stdout] 757 | irq_mask: c_uint [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_irq_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:763:5 [INFO] [stdout] | [INFO] [stdout] 763 | device: NeuromorphDevice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auto_reset` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:765:5 [INFO] [stdout] | [INFO] [stdout] 765 | auto_reset: c_int [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auto_reset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:774:40 [INFO] [stdout] | [INFO] [stdout] 774 | pub unsafe fn neuromorphHwEventDestroy(event: *mut c_void) -> NeuromorphResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:778:39 [INFO] [stdout] | [INFO] [stdout] 778 | pub unsafe fn neuromorphHwEventSignal(event: *mut c_void) -> NeuromorphResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:783:5 [INFO] [stdout] | [INFO] [stdout] 783 | event: *mut c_void, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout_ms` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:784:5 [INFO] [stdout] | [INFO] [stdout] 784 | timeout_ms: c_uint [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout_ms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:790:38 [INFO] [stdout] | [INFO] [stdout] 790 | pub unsafe fn neuromorphHwEventReset(event: *mut c_void) -> NeuromorphResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:797:5 [INFO] [stdout] | [INFO] [stdout] 797 | size: usize, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:798:5 [INFO] [stdout] | [INFO] [stdout] 798 | flags: c_uint [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host_ptr` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:808:5 [INFO] [stdout] | [INFO] [stdout] 808 | host_ptr: *mut c_void, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_host_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:809:5 [INFO] [stdout] | [INFO] [stdout] 809 | size: usize [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `memory` are never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct SimulatedDevice { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 54 | id: c_int, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 57 | memory: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device_id` and `flags` are never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 109 | struct SimulatedContext { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 110 | device_id: c_int, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 111 | flags: c_uint, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context_handle` is never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 115 | struct SimulatedStream { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 116 | context_handle: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kernel`, `grid_dim`, and `block_dim` are never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | KernelLaunch { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 131 | kernel: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 132 | grid_dim: NeuromorphDim3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 133 | block_dim: NeuromorphDim3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamCommand` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_handle` is never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 135 | EventRecord { [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 136 | event_handle: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamCommand` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `device_id` are never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 147 | struct SimulatedMemory { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 148 | ptr: *mut c_void, [INFO] [stdout] 149 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 150 | device_id: c_int, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `NeuromorphMemPoolProps` does not permit zero-initialization [INFO] [stdout] --> neuromorph-sys/src/types.rs:300:18 [INFO] [stdout] | [INFO] [stdout] 300 | unsafe { std::mem::zeroed() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: `types::NeuromorphMemLocation` must be non-null (in this struct field) [INFO] [stdout] --> neuromorph-sys/src/types.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | pub location: NeuromorphMemLocation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking neuromorph v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SocketAddr` [INFO] [stdout] --> src/main.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use std::net::{Ipv6Addr, SocketAddr}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host_data` [INFO] [stdout] --> neuromorph-sys/tests/performance_benchmarks.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | let host_data = vec![0x55u8; size]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_host_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SocketAddr` [INFO] [stdout] --> src/main.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use std::net::{Ipv6Addr, SocketAddr}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> neuromorph-driver/src/lib.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | let context = Context::new(0, 0).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allocator` [INFO] [stdout] --> neuromorph-driver/src/lib.rs:746:13 [INFO] [stdout] | [INFO] [stdout] 746 | let allocator = MemoryAllocator::new(4096).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> neuromorph-driver/src/lib.rs:754:13 [INFO] [stdout] | [INFO] [stdout] 754 | let mut allocator = MemoryAllocator::new(1024).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> neuromorph-driver/src/lib.rs:765:13 [INFO] [stdout] | [INFO] [stdout] 765 | let mut allocator = MemoryAllocator::new(4096).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> neuromorph-driver/src/lib.rs:785:13 [INFO] [stdout] | [INFO] [stdout] 785 | let mut allocator = MemoryAllocator::new(4096).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> neuromorph-driver/src/lib.rs:801:13 [INFO] [stdout] | [INFO] [stdout] 801 | let mut allocator = MemoryAllocator::new(2048).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block1` [INFO] [stdout] --> neuromorph-driver/src/lib.rs:804:13 [INFO] [stdout] | [INFO] [stdout] 804 | let block1 = allocator.allocate(256, 8).unwrap(); // offset 0 [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_block1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block3` [INFO] [stdout] --> neuromorph-driver/src/lib.rs:806:13 [INFO] [stdout] | [INFO] [stdout] 806 | let block3 = allocator.allocate(256, 8).unwrap(); // offset 512 [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_block3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> neuromorph-driver/src/lib.rs:823:13 [INFO] [stdout] | [INFO] [stdout] 823 | let mut allocator = MemoryAllocator::new(1024).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> neuromorph-driver/src/lib.rs:838:13 [INFO] [stdout] | [INFO] [stdout] 838 | let mut allocator = MemoryAllocator::new(1024).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> neuromorph-driver/src/lib.rs:852:13 [INFO] [stdout] | [INFO] [stdout] 852 | let mut allocator = MemoryAllocator::new(4096).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> neuromorph-driver/src/lib.rs:868:13 [INFO] [stdout] | [INFO] [stdout] 868 | let mut allocator = MemoryAllocator::new(2048).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> neuromorph-driver/src/lib.rs:884:13 [INFO] [stdout] | [INFO] [stdout] 884 | let mut allocator = MemoryAllocator::new(512).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> neuromorph-driver/src/lib.rs:904:13 [INFO] [stdout] | [INFO] [stdout] 904 | let mut allocator = MemoryAllocator::new(1024).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block3` [INFO] [stdout] --> neuromorph-driver/src/lib.rs:909:13 [INFO] [stdout] | [INFO] [stdout] 909 | let block3 = allocator.allocate(200, 8).unwrap(); // 400-600 [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_block3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> neuromorph-driver/src/lib.rs:857:17 [INFO] [stdout] | [INFO] [stdout] 857 | assert!(block.offset() >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "67ca2ad2aadd116b0bf1a287e46b1cdeacf38fe6e37678c373743e9dc0fc0afb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67ca2ad2aadd116b0bf1a287e46b1cdeacf38fe6e37678c373743e9dc0fc0afb", kill_on_drop: false }` [INFO] [stdout] 67ca2ad2aadd116b0bf1a287e46b1cdeacf38fe6e37678c373743e9dc0fc0afb