[INFO] fetching crate stun-coder 2.0.0... [INFO] building stun-coder-2.0.0 against try#dd06aa59b9c8562b8b5652c638defc5836c326d0 for pr-137044-2 [INFO] extracting crate stun-coder 2.0.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate stun-coder 2.0.0 on toolchain dd06aa59b9c8562b8b5652c638defc5836c326d0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dd06aa59b9c8562b8b5652c638defc5836c326d0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stun-coder 2.0.0 [INFO] finished tweaking crates.io crate stun-coder 2.0.0 [INFO] tweaked toml for crates.io crate stun-coder 2.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dd06aa59b9c8562b8b5652c638defc5836c326d0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 55 packages to latest compatible versions [INFO] [stderr] Adding crc v1.8.1 (available: v3.2.1) [INFO] [stderr] Adding hmac v0.9.0 (available: v0.12.1) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.11) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dd06aa59b9c8562b8b5652c638defc5836c326d0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+dd06aa59b9c8562b8b5652c638defc5836c326d0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67b5e827db737e753ee89a72c331aece1355ab5c34fd6a5e061f476a809dcd0a [INFO] running `Command { std: "docker" "start" "-a" "67b5e827db737e753ee89a72c331aece1355ab5c34fd6a5e061f476a809dcd0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67b5e827db737e753ee89a72c331aece1355ab5c34fd6a5e061f476a809dcd0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67b5e827db737e753ee89a72c331aece1355ab5c34fd6a5e061f476a809dcd0a", kill_on_drop: false }` [INFO] [stdout] 67b5e827db737e753ee89a72c331aece1355ab5c34fd6a5e061f476a809dcd0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+dd06aa59b9c8562b8b5652c638defc5836c326d0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adcc837fdb9712af0f7e1f06b42f60b571b4dcaa40ad75129ade58dcf044fed2 [INFO] running `Command { std: "docker" "start" "-a" "adcc837fdb9712af0f7e1f06b42f60b571b4dcaa40ad75129ade58dcf044fed2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling stun-coder v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IntegrityKeyGenerationError` and `MessageEncodeError` [INFO] [stdout] --> src/message/decode.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntegrityKeyGenerationError` and `MessageDecodeError` [INFO] [stdout] --> src/message/encode.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntegrityKeyGenerationError`, `MessageDecodeError`, and `MessageEncodeError` [INFO] [stdout] --> src/message/message.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageDecodeError` and `MessageEncodeError` [INFO] [stdout] --> src/message/private_utils.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntegrityKeyGenerationError`, `MessageDecodeError`, and `MessageEncodeError` [INFO] [stdout] --> src/message/utils.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntegrityKeyGenerationError` [INFO] [stdout] --> src/message/mod.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub use errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/attribute/types.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Copy, Clone, 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_StunAttributeType` [INFO] [stdout] 3 | pub enum StunAttributeType { [INFO] [stdout] | ----------------- `StunAttributeType` 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/header/message_class.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, FromPrimitive, Ord, PartialOrd, Eq, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StunMessageClass` [INFO] [stdout] ... [INFO] [stdout] 5 | pub enum StunMessageClass { [INFO] [stdout] | ---------------- `StunMessageClass` 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/header/message_method.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, FromPrimitive, Ord, PartialOrd, Eq, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StunMessageMethod` [INFO] [stdout] ... [INFO] [stdout] 21 | pub enum StunMessageMethod { [INFO] [stdout] | ----------------- `StunMessageMethod` 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.96s [INFO] running `Command { std: "docker" "inspect" "adcc837fdb9712af0f7e1f06b42f60b571b4dcaa40ad75129ade58dcf044fed2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adcc837fdb9712af0f7e1f06b42f60b571b4dcaa40ad75129ade58dcf044fed2", kill_on_drop: false }` [INFO] [stdout] adcc837fdb9712af0f7e1f06b42f60b571b4dcaa40ad75129ade58dcf044fed2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+dd06aa59b9c8562b8b5652c638defc5836c326d0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7979d50bebef88b4178b19b812a85566efc1f23b6860425813dcc01da46e91f [INFO] running `Command { std: "docker" "start" "-a" "d7979d50bebef88b4178b19b812a85566efc1f23b6860425813dcc01da46e91f", kill_on_drop: false }` [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stdout] warning: unused imports: `IntegrityKeyGenerationError` and `MessageEncodeError` [INFO] [stdout] --> src/message/decode.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntegrityKeyGenerationError` and `MessageDecodeError` [INFO] [stdout] --> src/message/encode.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntegrityKeyGenerationError`, `MessageDecodeError`, and `MessageEncodeError` [INFO] [stdout] --> src/message/message.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageDecodeError` and `MessageEncodeError` [INFO] [stdout] --> src/message/private_utils.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntegrityKeyGenerationError`, `MessageDecodeError`, and `MessageEncodeError` [INFO] [stdout] --> src/message/utils.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntegrityKeyGenerationError` [INFO] [stdout] --> src/message/mod.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub use errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/attribute/types.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Copy, Clone, 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_StunAttributeType` [INFO] [stdout] 3 | pub enum StunAttributeType { [INFO] [stdout] | ----------------- `StunAttributeType` 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/header/message_class.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, FromPrimitive, Ord, PartialOrd, Eq, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StunMessageClass` [INFO] [stdout] ... [INFO] [stdout] 5 | pub enum StunMessageClass { [INFO] [stdout] | ---------------- `StunMessageClass` 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/header/message_method.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, FromPrimitive, Ord, PartialOrd, Eq, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StunMessageMethod` [INFO] [stdout] ... [INFO] [stdout] 21 | pub enum StunMessageMethod { [INFO] [stdout] | ----------------- `StunMessageMethod` 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] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling stun-coder v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IntegrityKeyGenerationError` and `MessageEncodeError` [INFO] [stdout] --> src/message/decode.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntegrityKeyGenerationError` and `MessageDecodeError` [INFO] [stdout] --> src/message/encode.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntegrityKeyGenerationError`, `MessageDecodeError`, and `MessageEncodeError` [INFO] [stdout] --> src/message/message.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageDecodeError` and `MessageEncodeError` [INFO] [stdout] --> src/message/private_utils.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntegrityKeyGenerationError`, `MessageDecodeError`, and `MessageEncodeError` [INFO] [stdout] --> src/message/utils.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntegrityKeyGenerationError` [INFO] [stdout] --> src/message/mod.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub use errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/attribute/types.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Copy, Clone, 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_StunAttributeType` [INFO] [stdout] 3 | pub enum StunAttributeType { [INFO] [stdout] | ----------------- `StunAttributeType` 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/header/message_class.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, FromPrimitive, Ord, PartialOrd, Eq, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StunMessageClass` [INFO] [stdout] ... [INFO] [stdout] 5 | pub enum StunMessageClass { [INFO] [stdout] | ---------------- `StunMessageClass` 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/header/message_method.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, FromPrimitive, Ord, PartialOrd, Eq, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StunMessageMethod` [INFO] [stdout] ... [INFO] [stdout] 21 | pub enum StunMessageMethod { [INFO] [stdout] | ----------------- `StunMessageMethod` 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 1.06s [INFO] running `Command { std: "docker" "inspect" "d7979d50bebef88b4178b19b812a85566efc1f23b6860425813dcc01da46e91f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7979d50bebef88b4178b19b812a85566efc1f23b6860425813dcc01da46e91f", kill_on_drop: false }` [INFO] [stdout] d7979d50bebef88b4178b19b812a85566efc1f23b6860425813dcc01da46e91f