[INFO] fetching crate libnspire-sys 0.3.4... [INFO] testing libnspire-sys-0.3.4 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate libnspire-sys 0.3.4 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate libnspire-sys 0.3.4 [INFO] finished tweaking crates.io crate libnspire-sys 0.3.4 [INFO] tweaked toml for crates.io crate libnspire-sys 0.3.4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libnspire-sys 0.3.4 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 52 packages to latest compatible versions [INFO] [stderr] Adding globwalk v0.7.3 (available: v0.9.1) [INFO] [stderr] Adding libusb1-sys v0.4.4 (available: v0.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3df9d70179eac2a50de5973a0fb74d225c912fd80e701070863f04147e2a9ed3 [INFO] running `Command { std: "docker" "start" "-a" "3df9d70179eac2a50de5973a0fb74d225c912fd80e701070863f04147e2a9ed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3df9d70179eac2a50de5973a0fb74d225c912fd80e701070863f04147e2a9ed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3df9d70179eac2a50de5973a0fb74d225c912fd80e701070863f04147e2a9ed3", kill_on_drop: false }` [INFO] [stdout] 3df9d70179eac2a50de5973a0fb74d225c912fd80e701070863f04147e2a9ed3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b097c7e24412c339b5d73468525507d7548dafd24c8f55ffe57214b45b6ca7de [INFO] running `Command { std: "docker" "start" "-a" "b097c7e24412c339b5d73468525507d7548dafd24c8f55ffe57214b45b6ca7de", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling filetime v0.2.27 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling libflate_lz77 v1.2.0 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling libflate v1.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling tar v0.4.45 [INFO] [stderr] Compiling libusb1-sys v0.4.4 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling globwalk v0.7.3 [INFO] [stderr] Compiling libnspire-sys v0.3.4 (/opt/rustwide/workdir) [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/error.c: In function 'nspire_strerror': [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/error.c:43:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: libnspire-sys@0.3.4: 43 | if (error < -(sizeof(error_msg) / sizeof(const char*))) [INFO] [stderr] warning: libnspire-sys@0.3.4: | ^ [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/packet.c: In function 'calculate_data_checksum': [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/packet.c:41:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: libnspire-sys@0.3.4: 41 | for (i=0; ibNumInterfaces < NSP_DEFAULT_IFACE) [INFO] [stderr] warning: libnspire-sys@0.3.4: | ^ [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/usb.c:87:1: warning: label 'error' defined but not used [-Wunused-label] [INFO] [stderr] warning: libnspire-sys@0.3.4: 87 | error: [INFO] [stderr] warning: libnspire-sys@0.3.4: | ^~~~~ [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/cx2.cpp: In function 'bool readPacket(libusb_device_handle*, NNSEMessage*, int)': [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/cx2.cpp:160:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: libnspire-sys@0.3.4: 160 | if(maxlen < sizeof(NNSEMessage)) [INFO] [stderr] warning: libnspire-sys@0.3.4: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/cx2.cpp:168:32: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: libnspire-sys@0.3.4: 168 | || transferred < sizeof(NNSEMessage)) [INFO] [stderr] warning: libnspire-sys@0.3.4: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.22s [INFO] running `Command { std: "docker" "inspect" "b097c7e24412c339b5d73468525507d7548dafd24c8f55ffe57214b45b6ca7de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b097c7e24412c339b5d73468525507d7548dafd24c8f55ffe57214b45b6ca7de", kill_on_drop: false }` [INFO] [stdout] b097c7e24412c339b5d73468525507d7548dafd24c8f55ffe57214b45b6ca7de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eee5db309826e3953bacb2c5b95b5544ba480d312c48299937008ccabffe382a [INFO] running `Command { std: "docker" "start" "-a" "eee5db309826e3953bacb2c5b95b5544ba480d312c48299937008ccabffe382a", kill_on_drop: false }` [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/error.c: In function 'nspire_strerror': [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/error.c:43:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: libnspire-sys@0.3.4: 43 | if (error < -(sizeof(error_msg) / sizeof(const char*))) [INFO] [stderr] warning: libnspire-sys@0.3.4: | ^ [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/packet.c: In function 'calculate_data_checksum': [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/packet.c:41:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: libnspire-sys@0.3.4: 41 | for (i=0; ibNumInterfaces < NSP_DEFAULT_IFACE) [INFO] [stderr] warning: libnspire-sys@0.3.4: | ^ [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/usb.c:87:1: warning: label 'error' defined but not used [-Wunused-label] [INFO] [stderr] warning: libnspire-sys@0.3.4: 87 | error: [INFO] [stderr] warning: libnspire-sys@0.3.4: | ^~~~~ [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/cx2.cpp: In function 'bool readPacket(libusb_device_handle*, NNSEMessage*, int)': [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/cx2.cpp:160:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: libnspire-sys@0.3.4: 160 | if(maxlen < sizeof(NNSEMessage)) [INFO] [stderr] warning: libnspire-sys@0.3.4: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/cx2.cpp:168:32: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: libnspire-sys@0.3.4: 168 | || transferred < sizeof(NNSEMessage)) [INFO] [stderr] warning: libnspire-sys@0.3.4: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] Compiling libnspire-sys v0.3.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `bindgen_test_layout_nspire_devinfo__bindgen_ty_1` should have a snake case name [INFO] [stdout] --> src/bindings.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn bindgen_test_layout_nspire_devinfo__bindgen_ty_1() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bindgen_test_layout_nspire_devinfo_bindgen_ty_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | &(*(::std::ptr::null::())).free as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | &(*(::std::ptr::null::())).total as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bindgen_test_layout_nspire_devinfo__bindgen_ty_2` should have a snake case name [INFO] [stdout] --> src/bindings.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn bindgen_test_layout_nspire_devinfo__bindgen_ty_2() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bindgen_test_layout_nspire_devinfo_bindgen_ty_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | &(*(::std::ptr::null::())).free as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:168:14 [INFO] [stdout] | [INFO] [stdout] 168 | &(*(::std::ptr::null::())).total as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bindgen_test_layout_nspire_devinfo__bindgen_ty_3` should have a snake case name [INFO] [stdout] --> src/bindings.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn bindgen_test_layout_nspire_devinfo__bindgen_ty_3() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bindgen_test_layout_nspire_devinfo_bindgen_ty_3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | &(*(::std::ptr::null::())).major as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:212:14 [INFO] [stdout] | [INFO] [stdout] 212 | &(*(::std::ptr::null::())).minor as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:224:14 [INFO] [stdout] | [INFO] [stdout] 224 | &(*(::std::ptr::null::())).build as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bindgen_test_layout_nspire_devinfo__bindgen_ty_4` should have a snake case name [INFO] [stdout] --> src/bindings.rs:242:4 [INFO] [stdout] | [INFO] [stdout] 242 | fn bindgen_test_layout_nspire_devinfo__bindgen_ty_4() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bindgen_test_layout_nspire_devinfo_bindgen_ty_4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 255 | &(*(::std::ptr::null::())).status as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | &(*(::std::ptr::null::())).is_charging as *const _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bindgen_test_layout_nspire_devinfo__bindgen_ty_5` should have a snake case name [INFO] [stdout] --> src/bindings.rs:288:4 [INFO] [stdout] | [INFO] [stdout] 288 | fn bindgen_test_layout_nspire_devinfo__bindgen_ty_5() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bindgen_test_layout_nspire_devinfo_bindgen_ty_5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:301:14 [INFO] [stdout] | [INFO] [stdout] 301 | &(*(::std::ptr::null::())).width as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:313:14 [INFO] [stdout] | [INFO] [stdout] 313 | &(*(::std::ptr::null::())).height as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | &(*(::std::ptr::null::())).bbp as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:337:14 [INFO] [stdout] | [INFO] [stdout] 337 | &(*(::std::ptr::null::())).sample_mode as *const _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bindgen_test_layout_nspire_devinfo__bindgen_ty_6` should have a snake case name [INFO] [stdout] --> src/bindings.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | fn bindgen_test_layout_nspire_devinfo__bindgen_ty_6() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bindgen_test_layout_nspire_devinfo_bindgen_ty_6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:369:14 [INFO] [stdout] | [INFO] [stdout] 369 | &(*(::std::ptr::null::())).file as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:380:19 [INFO] [stdout] | [INFO] [stdout] 380 | unsafe { &(*(::std::ptr::null::())).os as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:403:19 [INFO] [stdout] | [INFO] [stdout] 403 | unsafe { &(*(::std::ptr::null::())).storage as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:413:19 [INFO] [stdout] | [INFO] [stdout] 413 | unsafe { &(*(::std::ptr::null::())).ram as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:423:19 [INFO] [stdout] | [INFO] [stdout] 423 | unsafe { &(*(::std::ptr::null::())).versions as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:433:19 [INFO] [stdout] | [INFO] [stdout] 433 | unsafe { &(*(::std::ptr::null::())).hw_type as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:443:19 [INFO] [stdout] | [INFO] [stdout] 443 | unsafe { &(*(::std::ptr::null::())).batt as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:453:19 [INFO] [stdout] | [INFO] [stdout] 453 | unsafe { &(*(::std::ptr::null::())).clock_speed as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:463:19 [INFO] [stdout] | [INFO] [stdout] 463 | unsafe { &(*(::std::ptr::null::())).lcd as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 473 | unsafe { &(*(::std::ptr::null::())).extensions as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:483:19 [INFO] [stdout] | [INFO] [stdout] 483 | unsafe { &(*(::std::ptr::null::())).device_name as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:493:19 [INFO] [stdout] | [INFO] [stdout] 493 | unsafe { &(*(::std::ptr::null::())).electronic_id as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:503:19 [INFO] [stdout] | [INFO] [stdout] 503 | unsafe { &(*(::std::ptr::null::())).runlevel as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:586:19 [INFO] [stdout] | [INFO] [stdout] 586 | unsafe { &(*(::std::ptr::null::())).name as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:596:19 [INFO] [stdout] | [INFO] [stdout] 596 | unsafe { &(*(::std::ptr::null::())).size as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:606:19 [INFO] [stdout] | [INFO] [stdout] 606 | unsafe { &(*(::std::ptr::null::())).date as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:616:19 [INFO] [stdout] | [INFO] [stdout] 616 | unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:644:19 [INFO] [stdout] | [INFO] [stdout] 644 | unsafe { &(*(::std::ptr::null::())).num as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:654:19 [INFO] [stdout] | [INFO] [stdout] 654 | unsafe { &(*(::std::ptr::null::())).items as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:740:19 [INFO] [stdout] | [INFO] [stdout] 740 | unsafe { &(*(::std::ptr::null::())).width as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:750:19 [INFO] [stdout] | [INFO] [stdout] 750 | unsafe { &(*(::std::ptr::null::())).height as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:760:19 [INFO] [stdout] | [INFO] [stdout] 760 | unsafe { &(*(::std::ptr::null::())).bbp as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/bindings.rs:770:19 [INFO] [stdout] | [INFO] [stdout] 770 | unsafe { &(*(::std::ptr::null::())).data as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/error.c: In function 'nspire_strerror': [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/error.c:43:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: libnspire-sys@0.3.4: 43 | if (error < -(sizeof(error_msg) / sizeof(const char*))) [INFO] [stderr] warning: libnspire-sys@0.3.4: | ^ [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/packet.c: In function 'calculate_data_checksum': [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/packet.c:41:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: libnspire-sys@0.3.4: 41 | for (i=0; ibNumInterfaces < NSP_DEFAULT_IFACE) [INFO] [stderr] warning: libnspire-sys@0.3.4: | ^ [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/usb.c:87:1: warning: label 'error' defined but not used [-Wunused-label] [INFO] [stderr] warning: libnspire-sys@0.3.4: 87 | error: [INFO] [stderr] warning: libnspire-sys@0.3.4: | ^~~~~ [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/cx2.cpp: In function 'bool readPacket(libusb_device_handle*, NNSEMessage*, int)': [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/cx2.cpp:160:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: libnspire-sys@0.3.4: 160 | if(maxlen < sizeof(NNSEMessage)) [INFO] [stderr] warning: libnspire-sys@0.3.4: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libnspire-sys@0.3.4: libnspire/src/cx2.cpp:168:32: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: libnspire-sys@0.3.4: 168 | || transferred < sizeof(NNSEMessage)) [INFO] [stderr] warning: libnspire-sys@0.3.4: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] error: could not compile `libnspire-sys` (lib test) due to 36 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eee5db309826e3953bacb2c5b95b5544ba480d312c48299937008ccabffe382a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eee5db309826e3953bacb2c5b95b5544ba480d312c48299937008ccabffe382a", kill_on_drop: false }` [INFO] [stdout] eee5db309826e3953bacb2c5b95b5544ba480d312c48299937008ccabffe382a