[INFO] fetching crate stun-coder 2.0.0... [INFO] building stun-coder-2.0.0 against try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d for pr-137044-3 [INFO] extracting crate stun-coder 2.0.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate stun-coder 2.0.0 on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "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" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05b4aeb8851b23af1b5b7bf6ff1b12a714eabf1df7e01704317ef97fb52f65dd [INFO] running `Command { std: "docker" "start" "-a" "05b4aeb8851b23af1b5b7bf6ff1b12a714eabf1df7e01704317ef97fb52f65dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05b4aeb8851b23af1b5b7bf6ff1b12a714eabf1df7e01704317ef97fb52f65dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05b4aeb8851b23af1b5b7bf6ff1b12a714eabf1df7e01704317ef97fb52f65dd", kill_on_drop: false }` [INFO] [stdout] 05b4aeb8851b23af1b5b7bf6ff1b12a714eabf1df7e01704317ef97fb52f65dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c633022ada28bbc27c16ce2df5f9f694dd5260eb05e64d7da249ef463f3fb20a [INFO] running `Command { std: "docker" "start" "-a" "c633022ada28bbc27c16ce2df5f9f694dd5260eb05e64d7da249ef463f3fb20a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [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 byteorder v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling generic-array v0.14.7 [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 rand v0.4.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling hmac v0.9.0 [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 18.19s [INFO] running `Command { std: "docker" "inspect" "c633022ada28bbc27c16ce2df5f9f694dd5260eb05e64d7da249ef463f3fb20a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c633022ada28bbc27c16ce2df5f9f694dd5260eb05e64d7da249ef463f3fb20a", kill_on_drop: false }` [INFO] [stdout] c633022ada28bbc27c16ce2df5f9f694dd5260eb05e64d7da249ef463f3fb20a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 823c618eb47e90188f7345b8f565fa7df515f3fe8aeb7baff8bf2c6bd39db75e [INFO] running `Command { std: "docker" "start" "-a" "823c618eb47e90188f7345b8f565fa7df515f3fe8aeb7baff8bf2c6bd39db75e", kill_on_drop: false }` [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 c_linked_list v1.1.1 [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.18s [INFO] running `Command { std: "docker" "inspect" "823c618eb47e90188f7345b8f565fa7df515f3fe8aeb7baff8bf2c6bd39db75e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "823c618eb47e90188f7345b8f565fa7df515f3fe8aeb7baff8bf2c6bd39db75e", kill_on_drop: false }` [INFO] [stdout] 823c618eb47e90188f7345b8f565fa7df515f3fe8aeb7baff8bf2c6bd39db75e