[INFO] cloning repository https://github.com/lights0123/web-libusb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lights0123/web-libusb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flights0123%2Fweb-libusb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flights0123%2Fweb-libusb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ce24c24ef4c6acb6144c1224df72f281693a215 [INFO] checking lights0123/web-libusb against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flights0123%2Fweb-libusb" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lights0123/web-libusb on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lights0123/web-libusb [INFO] finished tweaking git repo https://github.com/lights0123/web-libusb [INFO] tweaked toml for git repo https://github.com/lights0123/web-libusb written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lights0123/web-libusb 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/rust-lang/libc` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.73 [INFO] [stderr] Downloaded displaydoc v0.1.7 [INFO] [stderr] Downloaded array_iterator v0.2.4 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.73 [INFO] [stderr] Downloaded libnspire v0.2.3 [INFO] [stderr] Downloaded wasm-bindgen v0.2.73 [INFO] [stderr] Downloaded thiserror v1.0.24 [INFO] [stderr] Downloaded image v0.23.14 [INFO] [stderr] Downloaded syn v1.0.68 [INFO] [stderr] Downloaded web-sys v0.3.50 [INFO] [stderr] Downloaded libnspire-sys v0.3.4 [INFO] [stderr] Downloaded jobserver v0.1.21 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.23 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.23 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.73 [INFO] [stderr] Downloaded globwalk v0.7.3 [INFO] [stderr] Downloaded rusb v0.6.5 [INFO] [stderr] Downloaded bytemuck v1.5.1 [INFO] [stderr] Downloaded num-iter v0.1.42 [INFO] [stderr] Downloaded num-rational v0.3.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.24 [INFO] [stderr] Downloaded globset v0.4.6 [INFO] [stderr] Downloaded ignore v0.4.17 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.1.3 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Downloaded rmp-serde v0.14.4 [INFO] [stderr] Downloaded js-sys v0.3.50 [INFO] [stderr] Downloaded rmp v0.8.10 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66e678f830d1522ead0f552877bae85e8aebc91238d3502b0a7c95986f7359c0 [INFO] running `Command { std: "docker" "start" "-a" "66e678f830d1522ead0f552877bae85e8aebc91238d3502b0a7c95986f7359c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66e678f830d1522ead0f552877bae85e8aebc91238d3502b0a7c95986f7359c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66e678f830d1522ead0f552877bae85e8aebc91238d3502b0a7c95986f7359c0", kill_on_drop: false }` [INFO] [stdout] 66e678f830d1522ead0f552877bae85e8aebc91238d3502b0a7c95986f7359c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 271d3eec08a4f63d3dcda2353233d7c0364fa331b70c241dc0eeeaa4d87cafec [INFO] running `Command { std: "docker" "start" "-a" "271d3eec08a4f63d3dcda2353233d7c0364fa331b70c241dc0eeeaa4d87cafec", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.73 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling libc v0.2.93 (https://github.com/rust-lang/libc?tag=0.2.93#3b185efb) [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling wasm-bindgen v0.2.73 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling libusb1-sys v0.4.2 (/opt/rustwide/workdir/web-libusb) [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling libc v0.2.93 (/opt/rustwide/workdir/wasm-libc) [INFO] [stderr] Checking rmp v0.8.10 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking array_iterator v0.2.4 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.23 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.73 [INFO] [stderr] Compiling globwalk v0.7.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Compiling libnspire-sys v0.3.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.73 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking rmp-serde v0.14.4 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking js-sys v0.3.50 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking web-sys v0.3.50 [INFO] [stderr] Checking serde-wasm-bindgen v0.1.3 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.23 [INFO] [stderr] Checking wasm-bindgen-test v0.3.23 [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> web-libusb/src/lib.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `c_int` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> web-libusb/src/lib.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> web-libusb/src/lib.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `c_uint` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> web-libusb/src/lib.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> web-libusb/src/lib.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `c_void` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> web-libusb/src/lib.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ the name `strncpy` in the value namespace is first re-exported here [INFO] [stdout] 25 | pub use misc::*; [INFO] [stdout] | ------- but the name `strncpy` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ the name `strlen` in the value namespace is first re-exported here [INFO] [stdout] 25 | pub use misc::*; [INFO] [stdout] | ------- but the name `strlen` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ the name `memchr` in the value namespace is first re-exported here [INFO] [stdout] 25 | pub use misc::*; [INFO] [stdout] | ------- but the name `memchr` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> web-libusb/src/lib.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `c_int` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> web-libusb/src/lib.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> web-libusb/src/lib.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `c_uint` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> web-libusb/src/lib.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> web-libusb/src/lib.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `c_void` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> web-libusb/src/lib.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ the name `strncpy` in the value namespace is first re-exported here [INFO] [stdout] 25 | pub use misc::*; [INFO] [stdout] | ------- but the name `strncpy` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ the name `strlen` in the value namespace is first re-exported here [INFO] [stdout] 25 | pub use misc::*; [INFO] [stdout] | ------- but the name `strlen` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ the name `memchr` in the value namespace is first re-exported here [INFO] [stdout] 25 | pub use misc::*; [INFO] [stdout] | ------- but the name `memchr` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> web-libusb/src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Box::from_raw(context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 74 | let _ = Box::from_raw(context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> web-libusb/src/lib.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | Box::from_raw(dev_handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 80 | let _ = Box::from_raw(dev_handle); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> web-libusb/src/lib.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | Box::from_raw(dev); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = Box::from_raw(dev); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> web-libusb/src/lib.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | / Box::from_raw(&mut slice::from_raw_parts( [INFO] [stdout] 367 | | setting.endpoint, [INFO] [stdout] 368 | | setting.bNumEndpoints as usize, [INFO] [stdout] 369 | | )); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 366 | let _ = Box::from_raw(&mut slice::from_raw_parts( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> web-libusb/src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Box::from_raw(context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 74 | let _ = Box::from_raw(context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> web-libusb/src/lib.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | Box::from_raw(dev_handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 80 | let _ = Box::from_raw(dev_handle); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> web-libusb/src/lib.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | Box::from_raw(dev); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = Box::from_raw(dev); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> web-libusb/src/lib.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | / Box::from_raw(&mut slice::from_raw_parts( [INFO] [stdout] 367 | | setting.endpoint, [INFO] [stdout] 368 | | setting.bNumEndpoints as usize, [INFO] [stdout] 369 | | )); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 366 | let _ = Box::from_raw(&mut slice::from_raw_parts( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rusb v0.6.5 [INFO] [stderr] Checking libnspire v0.2.3 [INFO] [stderr] Checking web-libnspire v0.1.5 (/opt/rustwide/workdir/web-libnspire) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.95s [INFO] running `Command { std: "docker" "inspect" "271d3eec08a4f63d3dcda2353233d7c0364fa331b70c241dc0eeeaa4d87cafec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "271d3eec08a4f63d3dcda2353233d7c0364fa331b70c241dc0eeeaa4d87cafec", kill_on_drop: false }` [INFO] [stdout] 271d3eec08a4f63d3dcda2353233d7c0364fa331b70c241dc0eeeaa4d87cafec [INFO] checking lights0123/web-libusb against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flights0123%2Fweb-libusb" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lights0123/web-libusb on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lights0123/web-libusb [INFO] finished tweaking git repo https://github.com/lights0123/web-libusb [INFO] tweaked toml for git repo https://github.com/lights0123/web-libusb written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lights0123/web-libusb 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ab712a26c49c81fad2c4f03cf304a0fd8c9e8973f8ac3c5565cd814491f3079 [INFO] running `Command { std: "docker" "start" "-a" "6ab712a26c49c81fad2c4f03cf304a0fd8c9e8973f8ac3c5565cd814491f3079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ab712a26c49c81fad2c4f03cf304a0fd8c9e8973f8ac3c5565cd814491f3079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ab712a26c49c81fad2c4f03cf304a0fd8c9e8973f8ac3c5565cd814491f3079", kill_on_drop: false }` [INFO] [stdout] 6ab712a26c49c81fad2c4f03cf304a0fd8c9e8973f8ac3c5565cd814491f3079 [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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d903ac815c55f1868a93c19901111f4d33d2adb0f68cceebfafe2e6771aff98c [INFO] running `Command { std: "docker" "start" "-a" "d903ac815c55f1868a93c19901111f4d33d2adb0f68cceebfafe2e6771aff98c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.73 [INFO] [stderr] Compiling libc v0.2.93 (https://github.com/rust-lang/libc?tag=0.2.93#3b185efb) [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling wasm-bindgen v0.2.73 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling libusb1-sys v0.4.2 (/opt/rustwide/workdir/web-libusb) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling libc v0.2.93 (/opt/rustwide/workdir/wasm-libc) [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking rmp v0.8.10 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking array_iterator v0.2.4 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.23 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.73 [INFO] [stderr] Compiling globwalk v0.7.3 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Compiling libnspire-sys v0.3.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.73 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking rmp-serde v0.14.4 [INFO] [stderr] Checking js-sys v0.3.50 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking web-sys v0.3.50 [INFO] [stderr] Checking serde-wasm-bindgen v0.1.3 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.23 [INFO] [stderr] Checking wasm-bindgen-test v0.3.23 [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> web-libusb/src/lib.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `c_int` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> web-libusb/src/lib.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> web-libusb/src/lib.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `c_uint` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> web-libusb/src/lib.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> web-libusb/src/lib.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `c_void` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> web-libusb/src/lib.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ the name `strncpy` in the value namespace is first re-exported here [INFO] [stdout] 25 | pub use misc::*; [INFO] [stdout] | ------- but the name `strncpy` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ the name `strlen` in the value namespace is first re-exported here [INFO] [stdout] 25 | pub use misc::*; [INFO] [stdout] | ------- but the name `strlen` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ the name `memchr` in the value namespace is first re-exported here [INFO] [stdout] 25 | pub use misc::*; [INFO] [stdout] | ------- but the name `memchr` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> web-libusb/src/lib.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `c_int` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> web-libusb/src/lib.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> web-libusb/src/lib.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `c_uint` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> web-libusb/src/lib.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> web-libusb/src/lib.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `c_void` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> web-libusb/src/lib.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ the name `strncpy` in the value namespace is first re-exported here [INFO] [stdout] 25 | pub use misc::*; [INFO] [stdout] | ------- but the name `strncpy` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ the name `strlen` in the value namespace is first re-exported here [INFO] [stdout] 25 | pub use misc::*; [INFO] [stdout] | ------- but the name `strlen` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> web-libusb/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use libc::*; [INFO] [stdout] | ^^^^^^^ the name `memchr` in the value namespace is first re-exported here [INFO] [stdout] 25 | pub use misc::*; [INFO] [stdout] | ------- but the name `memchr` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> web-libusb/src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Box::from_raw(context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 74 | let _ = Box::from_raw(context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> web-libusb/src/lib.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | Box::from_raw(dev_handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 80 | let _ = Box::from_raw(dev_handle); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> web-libusb/src/lib.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | Box::from_raw(dev); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = Box::from_raw(dev); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> web-libusb/src/lib.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | / Box::from_raw(&mut slice::from_raw_parts( [INFO] [stdout] 367 | | setting.endpoint, [INFO] [stdout] 368 | | setting.bNumEndpoints as usize, [INFO] [stdout] 369 | | )); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 366 | let _ = Box::from_raw(&mut slice::from_raw_parts( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rusb v0.6.5 [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> web-libusb/src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Box::from_raw(context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 74 | let _ = Box::from_raw(context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> web-libusb/src/lib.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | Box::from_raw(dev_handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 80 | let _ = Box::from_raw(dev_handle); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> web-libusb/src/lib.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | Box::from_raw(dev); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = Box::from_raw(dev); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> web-libusb/src/lib.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | / Box::from_raw(&mut slice::from_raw_parts( [INFO] [stdout] 367 | | setting.endpoint, [INFO] [stdout] 368 | | setting.bNumEndpoints as usize, [INFO] [stdout] 369 | | )); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 366 | let _ = Box::from_raw(&mut slice::from_raw_parts( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking libnspire v0.2.3 [INFO] [stderr] Checking web-libnspire v0.1.5 (/opt/rustwide/workdir/web-libnspire) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `__wbg_generated_const_FileInfos` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `web-libnspire` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `__wbg_generated_const_FileInfos` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `web-libnspire` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "d903ac815c55f1868a93c19901111f4d33d2adb0f68cceebfafe2e6771aff98c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d903ac815c55f1868a93c19901111f4d33d2adb0f68cceebfafe2e6771aff98c", kill_on_drop: false }` [INFO] [stdout] d903ac815c55f1868a93c19901111f4d33d2adb0f68cceebfafe2e6771aff98c