[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] testing lights0123/web-libusb against nightly-2025-01-18 for randomize-layout-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flights0123%2Fweb-libusb" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lights0123/web-libusb on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "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-1-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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/rust-lang/libc` [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 wasm-bindgen-shared v0.2.73 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.73 [INFO] [stderr] Downloaded unicode-xid v0.2.1 [INFO] [stderr] Downloaded array_iterator v0.2.4 [INFO] [stderr] Downloaded bytemuck v1.5.1 [INFO] [stderr] Downloaded cc v1.0.67 [INFO] [stderr] Downloaded ryu v1.0.5 [INFO] [stderr] Downloaded autocfg v1.0.1 [INFO] [stderr] Downloaded js-sys v0.3.50 [INFO] [stderr] Downloaded aho-corasick v0.7.15 [INFO] [stderr] Downloaded serde_json v1.0.64 [INFO] [stderr] Downloaded bumpalo v3.6.1 [INFO] [stderr] Downloaded serde_derive v1.0.125 [INFO] [stderr] Downloaded serde v1.0.125 [INFO] [stderr] Downloaded image v0.23.14 [INFO] [stderr] Downloaded regex v1.4.5 [INFO] [stderr] Downloaded syn v1.0.68 [INFO] [stderr] Downloaded once_cell v1.7.2 [INFO] [stderr] Downloaded regex-syntax v0.6.23 [INFO] [stderr] Downloaded ignore v0.4.17 [INFO] [stderr] Downloaded bstr v0.2.15 [INFO] [stderr] Downloaded libnspire-sys v0.3.4 [INFO] [stderr] Downloaded num-traits v0.2.14 [INFO] [stderr] Downloaded rmp-serde v0.14.4 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.1.3 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.23 [INFO] [stderr] Downloaded log v0.4.14 [INFO] [stderr] Downloaded proc-macro2 v1.0.26 [INFO] [stderr] Downloaded wasm-bindgen v0.2.73 [INFO] [stderr] Downloaded num-rational v0.3.2 [INFO] [stderr] Downloaded console_error_panic_hook v0.1.6 [INFO] [stderr] Downloaded thiserror v1.0.24 [INFO] [stderr] Downloaded crossbeam-utils v0.8.3 [INFO] [stderr] Downloaded globset v0.4.6 [INFO] [stderr] Downloaded globwalk v0.7.3 [INFO] [stderr] Downloaded rmp v0.8.10 [INFO] [stderr] Downloaded rusb v0.6.5 [INFO] [stderr] Downloaded serde_bytes v0.11.5 [INFO] [stderr] Downloaded web-sys v0.3.50 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.23 [INFO] [stderr] Downloaded itoa v0.4.7 [INFO] [stderr] Downloaded quote v1.0.9 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.73 [INFO] [stderr] Downloaded displaydoc v0.1.7 [INFO] [stderr] Downloaded color_quant v1.1.0 [INFO] [stderr] Downloaded num-iter v0.1.42 [INFO] [stderr] Downloaded num-integer v0.1.44 [INFO] [stderr] Downloaded thiserror-impl v1.0.24 [INFO] [stderr] Downloaded libnspire v0.2.3 [INFO] [stderr] Downloaded jobserver v0.1.21 [INFO] [stderr] Downloaded memchr v2.3.4 [INFO] [stderr] Downloaded thread_local v1.1.3 [INFO] [stderr] Downloaded walkdir v2.3.2 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.23 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19d8bc51bd08ae65d1b354e0db26222218457151deec3c0b8fed36b2595aa0e7 [INFO] running `Command { std: "docker" "start" "-a" "19d8bc51bd08ae65d1b354e0db26222218457151deec3c0b8fed36b2595aa0e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19d8bc51bd08ae65d1b354e0db26222218457151deec3c0b8fed36b2595aa0e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19d8bc51bd08ae65d1b354e0db26222218457151deec3c0b8fed36b2595aa0e7", kill_on_drop: false }` [INFO] [stdout] 19d8bc51bd08ae65d1b354e0db26222218457151deec3c0b8fed36b2595aa0e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 573a1808d2f7c42e7fbdbece9bf173ec2c2679dbaab6759922735882160def9d [INFO] running `Command { std: "docker" "start" "-a" "573a1808d2f7c42e7fbdbece9bf173ec2c2679dbaab6759922735882160def9d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [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 log v0.4.14 [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 memchr v2.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [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 fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling wasm-bindgen v0.2.73 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling libusb1-sys v0.4.2 (/opt/rustwide/workdir/web-libusb) [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling array_iterator v0.2.4 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling libc v0.2.93 (/opt/rustwide/workdir/wasm-libc) [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling rmp v0.8.10 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.73 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Compiling globwalk v0.7.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Compiling libnspire-sys v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.73 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling rmp-serde v0.14.4 [INFO] [stderr] Compiling js-sys v0.3.50 [INFO] [stderr] Compiling serde-wasm-bindgen v0.1.3 [INFO] [stderr] Compiling web-sys v0.3.50 [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] [stderr] Compiling rusb v0.6.5 [INFO] [stderr] Compiling libnspire v0.2.3 [INFO] [stderr] Compiling web-libnspire v0.1.5 (/opt/rustwide/workdir/web-libnspire) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `WasmDescribe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `Deref` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `FromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `RefFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `FileInfos` is not local [INFO] [stdout] | `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `JsCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `WasmDescribe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `Deref` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `FromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `RefFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | `CalcInfo` is not local [INFO] [stdout] | `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `JsCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.73 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "573a1808d2f7c42e7fbdbece9bf173ec2c2679dbaab6759922735882160def9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "573a1808d2f7c42e7fbdbece9bf173ec2c2679dbaab6759922735882160def9d", kill_on_drop: false }` [INFO] [stdout] 573a1808d2f7c42e7fbdbece9bf173ec2c2679dbaab6759922735882160def9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86c2048d008b84c79fe7901eab6a4ce5ac83b4ccca885ccfbbd15f759f5cccd8 [INFO] running `Command { std: "docker" "start" "-a" "86c2048d008b84c79fe7901eab6a4ce5ac83b4ccca885ccfbbd15f759f5cccd8", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.23 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling libc v0.2.93 (/opt/rustwide/workdir/wasm-libc) [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.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: 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] [stderr] Compiling libusb1-sys v0.4.2 (/opt/rustwide/workdir/web-libusb) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `WasmDescribe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `Deref` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `FromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `RefFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `FileInfos` is not local [INFO] [stdout] | `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `JsCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `WasmDescribe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `Deref` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `FromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `RefFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | `CalcInfo` is not local [INFO] [stdout] | `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `JsCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [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] [stderr] Compiling wasm-bindgen-test v0.3.23 [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] [stderr] Compiling web-libnspire v0.1.5 (/opt/rustwide/workdir/web-libnspire) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `WasmDescribe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `Deref` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `FromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `RefFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `FileInfos` is not local [INFO] [stdout] | `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `JsCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stdout] ... [INFO] [stdout] 101 | pub type FileInfos; [INFO] [stdout] | --------- `FileInfos` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `WasmDescribe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `Deref` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `OptionIntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `FromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `OptionFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `IntoWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `RefFromWasmAbi` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `AsRef` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | `CalcInfo` is not local [INFO] [stdout] | `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `JsValue` is not local [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> web-libnspire/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[wasm_bindgen] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `JsCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stdout] ... [INFO] [stdout] 103 | pub type CalcInfo; [INFO] [stdout] | -------- `CalcInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.74s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.73 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "86c2048d008b84c79fe7901eab6a4ce5ac83b4ccca885ccfbbd15f759f5cccd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c2048d008b84c79fe7901eab6a4ce5ac83b4ccca885ccfbbd15f759f5cccd8", kill_on_drop: false }` [INFO] [stdout] 86c2048d008b84c79fe7901eab6a4ce5ac83b4ccca885ccfbbd15f759f5cccd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 37ce526ed5ed3c1c3700511049d47c26c812fab6f915a3d4fa50cc87b895e119 [INFO] running `Command { std: "docker" "start" "-a" "37ce526ed5ed3c1c3700511049d47c26c812fab6f915a3d4fa50cc87b895e119", kill_on_drop: false }` [INFO] [stderr] warning: private item shadows public glob re-export [INFO] [stderr] --> web-libusb/src/lib.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the name `c_int` in the type namespace is supposed to be publicly re-exported here [INFO] [stderr] --> web-libusb/src/lib.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub use libc::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] note: but the private item here shadows it [INFO] [stderr] --> web-libusb/src/lib.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: private item shadows public glob re-export [INFO] [stderr] --> web-libusb/src/lib.rs:6:27 [INFO] [stderr] | [INFO] [stderr] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the name `c_uint` in the type namespace is supposed to be publicly re-exported here [INFO] [stderr] --> web-libusb/src/lib.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub use libc::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] note: but the private item here shadows it [INFO] [stderr] --> web-libusb/src/lib.rs:6:27 [INFO] [stderr] | [INFO] [stderr] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: private item shadows public glob re-export [INFO] [stderr] --> web-libusb/src/lib.rs:6:35 [INFO] [stderr] | [INFO] [stderr] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the name `c_void` in the type namespace is supposed to be publicly re-exported here [INFO] [stderr] --> web-libusb/src/lib.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub use libc::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] note: but the private item here shadows it [INFO] [stderr] --> web-libusb/src/lib.rs:6:35 [INFO] [stderr] | [INFO] [stderr] 6 | use std::os::raw::{c_int, c_uint, c_void}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> web-libusb/src/lib.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub use libc::*; [INFO] [stderr] | ^^^^^^^ the name `strncpy` in the value namespace is first re-exported here [INFO] [stderr] 25 | pub use misc::*; [INFO] [stderr] | ------- but the name `strncpy` in the value namespace is also re-exported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> web-libusb/src/lib.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub use libc::*; [INFO] [stderr] | ^^^^^^^ the name `strlen` in the value namespace is first re-exported here [INFO] [stderr] 25 | pub use misc::*; [INFO] [stderr] | ------- but the name `strlen` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> web-libusb/src/lib.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub use libc::*; [INFO] [stderr] | ^^^^^^^ the name `memchr` in the value namespace is first re-exported here [INFO] [stderr] 25 | pub use misc::*; [INFO] [stderr] | ------- but the name `memchr` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> web-libusb/src/lib.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | Box::from_raw(context); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 74 | let _ = Box::from_raw(context); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> web-libusb/src/lib.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | Box::from_raw(dev_handle); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 80 | let _ = Box::from_raw(dev_handle); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> web-libusb/src/lib.rs:106:9 [INFO] [stderr] | [INFO] [stderr] 106 | Box::from_raw(dev); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 106 | let _ = Box::from_raw(dev); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> web-libusb/src/lib.rs:366:13 [INFO] [stderr] | [INFO] [stderr] 366 | / Box::from_raw(&mut slice::from_raw_parts( [INFO] [stderr] 367 | | setting.endpoint, [INFO] [stderr] 368 | | setting.bNumEndpoints as usize, [INFO] [stderr] 369 | | )); [INFO] [stderr] | |______________^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 366 | let _ = Box::from_raw(&mut slice::from_raw_parts( [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `libusb1-sys` (lib) generated 10 warnings [INFO] [stderr] warning: `libusb1-sys` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `WasmDescribe` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stderr] ... [INFO] [stderr] 101 | pub type FileInfos; [INFO] [stderr] | --------- `FileInfos` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `Deref` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stderr] ... [INFO] [stderr] 101 | pub type FileInfos; [INFO] [stderr] | --------- `FileInfos` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `IntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stderr] ... [INFO] [stderr] 101 | pub type FileInfos; [INFO] [stderr] | --------- `FileInfos` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `OptionIntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stderr] ... [INFO] [stderr] 101 | pub type FileInfos; [INFO] [stderr] | --------- `FileInfos` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `OptionIntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stderr] ... [INFO] [stderr] 101 | pub type FileInfos; [INFO] [stderr] | --------- `FileInfos` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `FromWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stderr] ... [INFO] [stderr] 101 | pub type FileInfos; [INFO] [stderr] | --------- `FileInfos` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `OptionFromWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stderr] ... [INFO] [stderr] 101 | pub type FileInfos; [INFO] [stderr] | --------- `FileInfos` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `IntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stderr] ... [INFO] [stderr] 101 | pub type FileInfos; [INFO] [stderr] | --------- `FileInfos` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `RefFromWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stderr] ... [INFO] [stderr] 101 | pub type FileInfos; [INFO] [stderr] | --------- `FileInfos` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `From` is not local [INFO] [stderr] | `JsValue` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stderr] ... [INFO] [stderr] 101 | pub type FileInfos; [INFO] [stderr] | --------- `FileInfos` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `JsValue` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stderr] ... [INFO] [stderr] 101 | pub type FileInfos; [INFO] [stderr] | --------- `FileInfos` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stderr] ... [INFO] [stderr] 101 | pub type FileInfos; [INFO] [stderr] | --------- [INFO] [stderr] | | [INFO] [stderr] | `FileInfos` is not local [INFO] [stderr] | `FileInfos` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | -^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `JsValue` is not local [INFO] [stderr] | `From` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stderr] ... [INFO] [stderr] 101 | pub type FileInfos; [INFO] [stderr] | --------- `FileInfos` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `JsCast` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_FileInfos` [INFO] [stderr] ... [INFO] [stderr] 101 | pub type FileInfos; [INFO] [stderr] | --------- `FileInfos` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `WasmDescribe` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stderr] ... [INFO] [stderr] 103 | pub type CalcInfo; [INFO] [stderr] | -------- `CalcInfo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `Deref` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stderr] ... [INFO] [stderr] 103 | pub type CalcInfo; [INFO] [stderr] | -------- `CalcInfo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `IntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stderr] ... [INFO] [stderr] 103 | pub type CalcInfo; [INFO] [stderr] | -------- `CalcInfo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `OptionIntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stderr] ... [INFO] [stderr] 103 | pub type CalcInfo; [INFO] [stderr] | -------- `CalcInfo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `OptionIntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stderr] ... [INFO] [stderr] 103 | pub type CalcInfo; [INFO] [stderr] | -------- `CalcInfo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `FromWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stderr] ... [INFO] [stderr] 103 | pub type CalcInfo; [INFO] [stderr] | -------- `CalcInfo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `OptionFromWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stderr] ... [INFO] [stderr] 103 | pub type CalcInfo; [INFO] [stderr] | -------- `CalcInfo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `IntoWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stderr] ... [INFO] [stderr] 103 | pub type CalcInfo; [INFO] [stderr] | -------- `CalcInfo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `RefFromWasmAbi` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stderr] ... [INFO] [stderr] 103 | pub type CalcInfo; [INFO] [stderr] | -------- `CalcInfo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `From` is not local [INFO] [stderr] | `JsValue` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stderr] ... [INFO] [stderr] 103 | pub type CalcInfo; [INFO] [stderr] | -------- `CalcInfo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | `JsValue` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stderr] ... [INFO] [stderr] 103 | pub type CalcInfo; [INFO] [stderr] | -------- `CalcInfo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `AsRef` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stderr] ... [INFO] [stderr] 103 | pub type CalcInfo; [INFO] [stderr] | -------- [INFO] [stderr] | | [INFO] [stderr] | `CalcInfo` is not local [INFO] [stderr] | `CalcInfo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | -^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `JsValue` is not local [INFO] [stderr] | `From` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stderr] ... [INFO] [stderr] 103 | pub type CalcInfo; [INFO] [stderr] | -------- `CalcInfo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> web-libnspire/src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[wasm_bindgen] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `JsCast` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__wbg_generated_const_CalcInfo` [INFO] [stderr] ... [INFO] [stderr] 103 | pub type CalcInfo; [INFO] [stderr] | -------- `CalcInfo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `wasm_bindgen` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `web-libnspire` (lib) generated 28 warnings [INFO] [stderr] warning: `web-libnspire` (lib test) generated 28 warnings (28 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.73 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libc-ed19b8494efeb8d8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libusb1_sys-e9fef871d616d0fd) [INFO] [stderr] error: test failed, to rerun pass `-p libusb1-sys --lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/libusb1_sys-e9fef871d616d0fd` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "37ce526ed5ed3c1c3700511049d47c26c812fab6f915a3d4fa50cc87b895e119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ce526ed5ed3c1c3700511049d47c26c812fab6f915a3d4fa50cc87b895e119", kill_on_drop: false }` [INFO] [stdout] 37ce526ed5ed3c1c3700511049d47c26c812fab6f915a3d4fa50cc87b895e119