[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] a3ab9367682b03b1652a3a3402f1e5c8cc329d97 [INFO] checking stanta/neuromorph against try#18c1d185ac7a6a3bf399296b35e4b2736809a756 for pr-146972 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstanta%2Fneuromorph" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stanta/neuromorph on toolchain 18c1d185ac7a6a3bf399296b35e4b2736809a756 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "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" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-tungstenite v0.23.1 [INFO] [stderr] Downloaded cbindgen v0.26.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5488feba34e0e02580e3d4cebcc395fad0ae632c61684fea5f52a80c8d4fd39a [INFO] running `Command { std: "docker" "start" "-a" "5488feba34e0e02580e3d4cebcc395fad0ae632c61684fea5f52a80c8d4fd39a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5488feba34e0e02580e3d4cebcc395fad0ae632c61684fea5f52a80c8d4fd39a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5488feba34e0e02580e3d4cebcc395fad0ae632c61684fea5f52a80c8d4fd39a", kill_on_drop: false }` [INFO] [stdout] 5488feba34e0e02580e3d4cebcc395fad0ae632c61684fea5f52a80c8d4fd39a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4769dbe57b74b59e1515b47f8ca2cbc1d32fac878fe58a5da12bb0a6a47ef675 [INFO] running `Command { std: "docker" "start" "-a" "4769dbe57b74b59e1515b47f8ca2cbc1d32fac878fe58a5da12bb0a6a47ef675", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling cbindgen v0.26.0 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling tempfile v3.13.0 [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 futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.63 [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] Compiling serde v1.0.219 [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:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | 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: `args` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | 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:565:5 [INFO] [stdout] | [INFO] [stdout] 565 | 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: `shared_mem` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:565:5 [INFO] [stdout] | [INFO] [stdout] 565 | 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:672:5 [INFO] [stdout] | [INFO] [stdout] 672 | 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:674:5 [INFO] [stdout] | [INFO] [stdout] 674 | 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: `device` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:672:5 [INFO] [stdout] | [INFO] [stdout] 672 | device: NeuromorphDevice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:683:41 [INFO] [stdout] | [INFO] [stdout] 683 | 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: `priority` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:674:5 [INFO] [stdout] | [INFO] [stdout] 674 | 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:683:41 [INFO] [stdout] | [INFO] [stdout] 683 | 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:688:5 [INFO] [stdout] | [INFO] [stdout] 688 | 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: `queue` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:688:5 [INFO] [stdout] | [INFO] [stdout] 688 | 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:689:5 [INFO] [stdout] | [INFO] [stdout] 689 | 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: `dst` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:689:5 [INFO] [stdout] | [INFO] [stdout] 689 | 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:690:5 [INFO] [stdout] | [INFO] [stdout] 690 | 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: `src` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:690:5 [INFO] [stdout] | [INFO] [stdout] 690 | 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:691:5 [INFO] [stdout] | [INFO] [stdout] 691 | 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:702:5 [INFO] [stdout] | [INFO] [stdout] 702 | 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: `size` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:691:5 [INFO] [stdout] | [INFO] [stdout] 691 | size: usize, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transfer_id` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:703:5 [INFO] [stdout] | [INFO] [stdout] 703 | 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: `queue` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:702:5 [INFO] [stdout] | [INFO] [stdout] 702 | 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: `timeout_ms` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:704:5 [INFO] [stdout] | [INFO] [stdout] 704 | 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: `transfer_id` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:703:5 [INFO] [stdout] | [INFO] [stdout] 703 | 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:704:5 [INFO] [stdout] | [INFO] [stdout] 704 | 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:711:5 [INFO] [stdout] | [INFO] [stdout] 711 | 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: `queue` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 711 | 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:712:5 [INFO] [stdout] | [INFO] [stdout] 712 | 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: `transfer_id` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:712:5 [INFO] [stdout] | [INFO] [stdout] 712 | 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:723:5 [INFO] [stdout] | [INFO] [stdout] 723 | 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:723:5 [INFO] [stdout] | [INFO] [stdout] 723 | 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:724:5 [INFO] [stdout] | [INFO] [stdout] 724 | 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: `irq_mask` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:724:5 [INFO] [stdout] | [INFO] [stdout] 724 | 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:725:5 [INFO] [stdout] | [INFO] [stdout] 725 | handler: NeuromorphIrqHandler, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:725:5 [INFO] [stdout] | [INFO] [stdout] 725 | 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:726:5 [INFO] [stdout] | [INFO] [stdout] 726 | 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: `user_data` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:726:5 [INFO] [stdout] | [INFO] [stdout] 726 | 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:732:5 [INFO] [stdout] | [INFO] [stdout] 732 | 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:732:5 [INFO] [stdout] | [INFO] [stdout] 732 | 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:733:5 [INFO] [stdout] | [INFO] [stdout] 733 | 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: `irq_mask` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:733:5 [INFO] [stdout] | [INFO] [stdout] 733 | 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:739:5 [INFO] [stdout] | [INFO] [stdout] 739 | 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:740:5 [INFO] [stdout] | [INFO] [stdout] 740 | 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:739:5 [INFO] [stdout] | [INFO] [stdout] 739 | 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:740:5 [INFO] [stdout] | [INFO] [stdout] 740 | 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:746:5 [INFO] [stdout] | [INFO] [stdout] 746 | 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:746:5 [INFO] [stdout] | [INFO] [stdout] 746 | 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:747:5 [INFO] [stdout] | [INFO] [stdout] 747 | 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: `irq_mask` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:747:5 [INFO] [stdout] | [INFO] [stdout] 747 | 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:753:5 [INFO] [stdout] | [INFO] [stdout] 753 | 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:753:5 [INFO] [stdout] | [INFO] [stdout] 753 | 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:764:5 [INFO] [stdout] | [INFO] [stdout] 764 | 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:765:5 [INFO] [stdout] | [INFO] [stdout] 765 | 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:764:5 [INFO] [stdout] | [INFO] [stdout] 764 | 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:765:5 [INFO] [stdout] | [INFO] [stdout] 765 | 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:771:5 [INFO] [stdout] | [INFO] [stdout] 771 | 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:773:5 [INFO] [stdout] | [INFO] [stdout] 773 | 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:782:40 [INFO] [stdout] | [INFO] [stdout] 782 | 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: `device` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:771:5 [INFO] [stdout] | [INFO] [stdout] 771 | 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:773:5 [INFO] [stdout] | [INFO] [stdout] 773 | 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:786:39 [INFO] [stdout] | [INFO] [stdout] 786 | 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:782:40 [INFO] [stdout] | [INFO] [stdout] 782 | 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:786:39 [INFO] [stdout] | [INFO] [stdout] 786 | 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:791:5 [INFO] [stdout] | [INFO] [stdout] 791 | 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: `event` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:791:5 [INFO] [stdout] | [INFO] [stdout] 791 | 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:792:5 [INFO] [stdout] | [INFO] [stdout] 792 | 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: `timeout_ms` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:792:5 [INFO] [stdout] | [INFO] [stdout] 792 | 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:798:38 [INFO] [stdout] | [INFO] [stdout] 798 | 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: `event` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:798:38 [INFO] [stdout] | [INFO] [stdout] 798 | 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:805:5 [INFO] [stdout] | [INFO] [stdout] 805 | 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:806:5 [INFO] [stdout] | [INFO] [stdout] 806 | 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: `size` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:805:5 [INFO] [stdout] | [INFO] [stdout] 805 | size: usize, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host_ptr` [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:816:5 [INFO] [stdout] | [INFO] [stdout] 816 | 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:817:5 [INFO] [stdout] | [INFO] [stdout] 817 | 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:806:5 [INFO] [stdout] | [INFO] [stdout] 806 | 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:816:5 [INFO] [stdout] | [INFO] [stdout] 816 | 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:817:5 [INFO] [stdout] | [INFO] [stdout] 817 | 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:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | struct SimulatedDevice { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 56 | id: c_int, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 59 | 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 `id` and `memory` are never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | struct SimulatedDevice { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 56 | id: c_int, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 59 | 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:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | struct SimulatedContext { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 112 | device_id: c_int, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 113 | flags: c_uint, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device_id` and `flags` are never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | struct SimulatedContext { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 112 | device_id: c_int, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 113 | 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:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | struct SimulatedStream { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 118 | context_handle: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context_handle` is never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | struct SimulatedStream { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 118 | 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:133:9 [INFO] [stdout] | [INFO] [stdout] 132 | KernelLaunch { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 133 | kernel: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 134 | grid_dim: NeuromorphDim3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 135 | 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: fields `kernel`, `grid_dim`, and `block_dim` are never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 132 | KernelLaunch { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 133 | kernel: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 134 | grid_dim: NeuromorphDim3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 135 | 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:138:9 [INFO] [stdout] | [INFO] [stdout] 137 | EventRecord { [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 138 | 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: field `event_handle` is never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 137 | EventRecord { [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 138 | 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:151:5 [INFO] [stdout] | [INFO] [stdout] 149 | struct SimulatedMemory { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 150 | ptr: *mut c_void, [INFO] [stdout] 151 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 152 | device_id: c_int, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `device_id` are never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 149 | struct SimulatedMemory { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 150 | ptr: *mut c_void, [INFO] [stdout] 151 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 152 | device_id: c_int, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `size` are never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 159 | struct SimulatedGraph { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 160 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 161 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `size` are never read [INFO] [stdout] --> neuromorph-sys/src/simulator.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 159 | struct SimulatedGraph { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 160 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 161 | size: usize, [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: 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] [stderr] Checking neuromorph-driver v0.1.0 (/opt/rustwide/workdir/neuromorph-driver) [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 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 variable: `context` [INFO] [stdout] --> neuromorph-driver/src/lib.rs:861:13 [INFO] [stdout] | [INFO] [stdout] 861 | 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:1043:13 [INFO] [stdout] | [INFO] [stdout] 1043 | 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:1051:13 [INFO] [stdout] | [INFO] [stdout] 1051 | 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:1062:13 [INFO] [stdout] | [INFO] [stdout] 1062 | 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:1082:13 [INFO] [stdout] | [INFO] [stdout] 1082 | 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:1098:13 [INFO] [stdout] | [INFO] [stdout] 1098 | 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:1101:13 [INFO] [stdout] | [INFO] [stdout] 1101 | 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:1103:13 [INFO] [stdout] | [INFO] [stdout] 1103 | 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:1120:13 [INFO] [stdout] | [INFO] [stdout] 1120 | 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:1135:13 [INFO] [stdout] | [INFO] [stdout] 1135 | 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:1149:13 [INFO] [stdout] | [INFO] [stdout] 1149 | 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:1165:13 [INFO] [stdout] | [INFO] [stdout] 1165 | 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:1181:13 [INFO] [stdout] | [INFO] [stdout] 1181 | let mut allocator = MemoryAllocator::new(512).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:1201:13 [INFO] [stdout] | [INFO] [stdout] 1201 | 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:1206:13 [INFO] [stdout] | [INFO] [stdout] 1206 | 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:1154:17 [INFO] [stdout] | [INFO] [stdout] 1154 | assert!(block.offset() >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.74s [INFO] running `Command { std: "docker" "inspect" "4769dbe57b74b59e1515b47f8ca2cbc1d32fac878fe58a5da12bb0a6a47ef675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4769dbe57b74b59e1515b47f8ca2cbc1d32fac878fe58a5da12bb0a6a47ef675", kill_on_drop: false }` [INFO] [stdout] 4769dbe57b74b59e1515b47f8ca2cbc1d32fac878fe58a5da12bb0a6a47ef675