[INFO] fetching crate usbip 0.7.1... [INFO] testing usbip-0.7.1 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate usbip 0.7.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate usbip 0.7.1 [INFO] finished tweaking crates.io crate usbip 0.7.1 [INFO] tweaked toml for crates.io crate usbip 0.7.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate usbip 0.7.1 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate usbip 0.7.1 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0c3792cb0fa5545eded9dd08cc281bd9f6946d43c427e4f63911b7152fcf782 [INFO] running `Command { std: "docker" "start" "-a" "d0c3792cb0fa5545eded9dd08cc281bd9f6946d43c427e4f63911b7152fcf782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0c3792cb0fa5545eded9dd08cc281bd9f6946d43c427e4f63911b7152fcf782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0c3792cb0fa5545eded9dd08cc281bd9f6946d43c427e4f63911b7152fcf782", kill_on_drop: false }` [INFO] [stdout] d0c3792cb0fa5545eded9dd08cc281bd9f6946d43c427e4f63911b7152fcf782 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bb137a19329b74d5e76304cffc217fc8d121562e5fb77e5942f47eeb1687fcc [INFO] running `Command { std: "docker" "start" "-a" "3bb137a19329b74d5e76304cffc217fc8d121562e5fb77e5942f47eeb1687fcc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling libusb1-sys v0.6.4 [INFO] [stderr] Compiling syn v1.0.105 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling tokio v1.22.0 [INFO] [stderr] Compiling rusb v0.9.3 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling usbip v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/consts.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Copy, Clone, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EndpointAttributes` [INFO] [stdout] 47 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 48 | pub enum EndpointAttributes { [INFO] [stdout] | ------------------ `EndpointAttributes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 derive macro `FromPrimitive` (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] --> src/consts.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Copy, Clone, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StandardRequest` [INFO] [stdout] 65 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 66 | pub enum StandardRequest { [INFO] [stdout] | --------------- `StandardRequest` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 derive macro `FromPrimitive` (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] --> src/consts.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Copy, Clone, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DescriptorType` [INFO] [stdout] 83 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 84 | pub enum DescriptorType { [INFO] [stdout] | -------------- `DescriptorType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 derive macro `FromPrimitive` (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] --> src/hid.rs:164:30 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(Copy, Clone, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_HidDescriptorType` [INFO] [stdout] 165 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 166 | pub enum HidDescriptorType { [INFO] [stdout] | ----------------- `HidDescriptorType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 derive macro `FromPrimitive` (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.62s [INFO] running `Command { std: "docker" "inspect" "3bb137a19329b74d5e76304cffc217fc8d121562e5fb77e5942f47eeb1687fcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bb137a19329b74d5e76304cffc217fc8d121562e5fb77e5942f47eeb1687fcc", kill_on_drop: false }` [INFO] [stdout] 3bb137a19329b74d5e76304cffc217fc8d121562e5fb77e5942f47eeb1687fcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdd3f4e400a383395b28f289c1979406247e41c3e1caf34e48b94c404d314e52 [INFO] running `Command { std: "docker" "start" "-a" "bdd3f4e400a383395b28f289c1979406247e41c3e1caf34e48b94c404d314e52", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling syn v1.0.105 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling tokio v1.22.0 [INFO] [stderr] Compiling num_cpus v1.14.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling usbip v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/consts.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Copy, Clone, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EndpointAttributes` [INFO] [stdout] 47 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 48 | pub enum EndpointAttributes { [INFO] [stdout] | ------------------ `EndpointAttributes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 derive macro `FromPrimitive` (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] --> src/consts.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Copy, Clone, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StandardRequest` [INFO] [stdout] 65 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 66 | pub enum StandardRequest { [INFO] [stdout] | --------------- `StandardRequest` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 derive macro `FromPrimitive` (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] --> src/consts.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Copy, Clone, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DescriptorType` [INFO] [stdout] 83 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 84 | pub enum DescriptorType { [INFO] [stdout] | -------------- `DescriptorType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 derive macro `FromPrimitive` (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] --> src/hid.rs:164:30 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(Copy, Clone, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_HidDescriptorType` [INFO] [stdout] 165 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 166 | pub enum HidDescriptorType { [INFO] [stdout] | ----------------- `HidDescriptorType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 derive macro `FromPrimitive` (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] --> src/consts.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Copy, Clone, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EndpointAttributes` [INFO] [stdout] 47 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 48 | pub enum EndpointAttributes { [INFO] [stdout] | ------------------ `EndpointAttributes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 derive macro `FromPrimitive` (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] --> src/consts.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Copy, Clone, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StandardRequest` [INFO] [stdout] 65 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 66 | pub enum StandardRequest { [INFO] [stdout] | --------------- `StandardRequest` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 derive macro `FromPrimitive` (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] --> src/consts.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Copy, Clone, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DescriptorType` [INFO] [stdout] 83 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 84 | pub enum DescriptorType { [INFO] [stdout] | -------------- `DescriptorType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 derive macro `FromPrimitive` (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] --> src/hid.rs:164:30 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(Copy, Clone, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_HidDescriptorType` [INFO] [stdout] 165 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] 166 | pub enum HidDescriptorType { [INFO] [stdout] | ----------------- `HidDescriptorType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 derive macro `FromPrimitive` (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 27.48s [INFO] running `Command { std: "docker" "inspect" "bdd3f4e400a383395b28f289c1979406247e41c3e1caf34e48b94c404d314e52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdd3f4e400a383395b28f289c1979406247e41c3e1caf34e48b94c404d314e52", kill_on_drop: false }` [INFO] [stdout] bdd3f4e400a383395b28f289c1979406247e41c3e1caf34e48b94c404d314e52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9a14899cca5ece7a6e502884b8739b40429ea8d64881da64468bf91737a03c7f [INFO] running `Command { std: "docker" "start" "-a" "9a14899cca5ece7a6e502884b8739b40429ea8d64881da64468bf91737a03c7f", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/consts.rs:46:30 [INFO] [stderr] | [INFO] [stderr] 46 | #[derive(Copy, Clone, Debug, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EndpointAttributes` [INFO] [stderr] 47 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stderr] 48 | pub enum EndpointAttributes { [INFO] [stderr] | ------------------ `EndpointAttributes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 derive macro `FromPrimitive` (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] --> src/consts.rs:64:30 [INFO] [stderr] | [INFO] [stderr] 64 | #[derive(Copy, Clone, Debug, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StandardRequest` [INFO] [stderr] 65 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stderr] 66 | pub enum StandardRequest { [INFO] [stderr] | --------------- `StandardRequest` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 derive macro `FromPrimitive` (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] --> src/consts.rs:82:30 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Copy, Clone, Debug, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DescriptorType` [INFO] [stderr] 83 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stderr] 84 | pub enum DescriptorType { [INFO] [stderr] | -------------- `DescriptorType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 derive macro `FromPrimitive` (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] --> src/hid.rs:164:30 [INFO] [stderr] | [INFO] [stderr] 164 | #[derive(Copy, Clone, Debug, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_HidDescriptorType` [INFO] [stderr] 165 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stderr] 166 | pub enum HidDescriptorType { [INFO] [stderr] | ----------------- `HidDescriptorType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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 derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `usbip` (lib) generated 4 warnings [INFO] [stderr] warning: `usbip` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/usbip-dda97fe72e89a107) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test tests::add_and_remove_10_devices ... ok [INFO] [stdout] test tests::only_single_connection_allowed_to_device ... ok [INFO] [stdout] test tests::device_gets_released_on_closed_socket ... ok [INFO] [stdout] test tests::req_import ... ok [INFO] [stdout] test tests::req_sample_devlist ... ok [INFO] [stdout] test tests::req_import_get_device_desc ... ok [INFO] [stdout] test usbip_protocol::tests::byte_serialization_fails_on_invalid_command ... ok [INFO] [stdout] test usbip_protocol::tests::byte_serialization_fails_on_old_usbip_version ... ok [INFO] [stdout] test usbip_protocol::tests::byte_serialize_op_rep_devlist ... ok [INFO] [stdout] test cdc::tests::desc_verify ... ok [INFO] [stdout] test usbip_protocol::tests::byte_serialize_op_rep_import ... ok [INFO] [stdout] test usbip_protocol::tests::byte_serialize_op_req_devlist ... ok [INFO] [stdout] test usbip_protocol::tests::byte_serialize_op_req_import ... ok [INFO] [stdout] test usbip_protocol::tests::byte_serialize_usbip_cmd_submit ... ok [INFO] [stdout] test usbip_protocol::tests::byte_serialize_usbip_cmd_unlink ... ok [INFO] [stdout] test usbip_protocol::tests::byte_serialize_usbip_ret_submit ... ok [INFO] [stdout] test usbip_protocol::tests::byte_serialize_usbip_ret_unlink ... ok [INFO] [stdout] test usbip_protocol::tests::read_op_req_devlist_from_socket ... ok [INFO] [stdout] test usbip_protocol::tests::read_op_req_import_from_socket ... ok [INFO] [stdout] test usbip_protocol::tests::read_usbip_cmd_submit_from_socket ... ok [INFO] [stdout] test usbip_protocol::tests::read_usbip_cmd_unlink_from_socket ... ok [INFO] [stdout] test device::test::test_invalid_string_index ... ok [INFO] [stdout] test usbip_protocol::tests::read_usbip_cmd_submit_from_socket_with_no_data ... ok [INFO] [stdout] test hid::tests::desc_verify ... ok [INFO] [stdout] test tests::req_empty_devlist ... ok [INFO] [stdout] test device::test::test_set_string_descriptors ... ok [INFO] [stdout] test usbip_protocol::tests::byte_serialize_invalid_usbip_ret_submit - should panic ... ok [INFO] [stdout] test tests::send_usb_traffic_while_adding_and_removing_devices ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s [INFO] [stdout] [INFO] [stderr] Doc-tests usbip [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/device.rs - device::UsbDeviceHandler::as_any (line 488) ... ignored [INFO] [stdout] test src/interface.rs - interface::UsbInterfaceHandler::as_any (line 39) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9a14899cca5ece7a6e502884b8739b40429ea8d64881da64468bf91737a03c7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a14899cca5ece7a6e502884b8739b40429ea8d64881da64468bf91737a03c7f", kill_on_drop: false }` [INFO] [stdout] 9a14899cca5ece7a6e502884b8739b40429ea8d64881da64468bf91737a03c7f