[INFO] fetching crate stun-coder 2.0.0... [INFO] building stun-coder-2.0.0 against master#f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9 for pr-137044-2 [INFO] extracting crate stun-coder 2.0.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate stun-coder 2.0.0 on toolchain f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "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-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "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" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-properties v0.1.3 [INFO] [stderr] Downloaded stringprep v0.1.5 [INFO] [stderr] Downloaded rdrand v0.4.0 [INFO] [stderr] Downloaded build_const v0.2.2 [INFO] [stderr] Downloaded fuchsia-cprng v0.1.1 [INFO] [stderr] Downloaded crypto-mac v0.9.1 [INFO] [stderr] Downloaded time v0.1.45 [INFO] [stderr] Downloaded wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded unicode-bidi v0.3.18 [INFO] [stderr] Downloaded rustc-serialize v0.3.25 [INFO] [stderr] Downloaded crc v1.8.1 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] [stderr] Downloaded tinyvec v1.8.1 [INFO] [stderr] Downloaded unicode-normalization v0.1.24 [INFO] [stderr] Downloaded hmac v0.9.0 [INFO] [stderr] Downloaded rand_core v0.4.2 [INFO] [stderr] Downloaded rand_core v0.3.1 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded rust-crypto v0.2.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 729566843dae39cdea6d8d106da542434e6b1e16233165d9b746cfda125dfd34 [INFO] running `Command { std: "docker" "start" "-a" "729566843dae39cdea6d8d106da542434e6b1e16233165d9b746cfda125dfd34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "729566843dae39cdea6d8d106da542434e6b1e16233165d9b746cfda125dfd34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "729566843dae39cdea6d8d106da542434e6b1e16233165d9b746cfda125dfd34", kill_on_drop: false }` [INFO] [stdout] 729566843dae39cdea6d8d106da542434e6b1e16233165d9b746cfda125dfd34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9638c77da718761babe5dc2545b1161d6d04e090e9027b16465da6d50ac5fd1 [INFO] running `Command { std: "docker" "start" "-a" "a9638c77da718761babe5dc2545b1161d6d04e090e9027b16465da6d50ac5fd1", 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 byteorder v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [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 rand v0.4.6 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [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 rust-crypto v0.2.36 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [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 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 16.77s [INFO] running `Command { std: "docker" "inspect" "a9638c77da718761babe5dc2545b1161d6d04e090e9027b16465da6d50ac5fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9638c77da718761babe5dc2545b1161d6d04e090e9027b16465da6d50ac5fd1", kill_on_drop: false }` [INFO] [stdout] a9638c77da718761babe5dc2545b1161d6d04e090e9027b16465da6d50ac5fd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c02b18ffc6ea47d92d92e346bdabe6ab1516cbc0c8dc952ae4306fa016529e7 [INFO] running `Command { std: "docker" "start" "-a" "6c02b18ffc6ea47d92d92e346bdabe6ab1516cbc0c8dc952ae4306fa016529e7", 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.22s [INFO] running `Command { std: "docker" "inspect" "6c02b18ffc6ea47d92d92e346bdabe6ab1516cbc0c8dc952ae4306fa016529e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c02b18ffc6ea47d92d92e346bdabe6ab1516cbc0c8dc952ae4306fa016529e7", kill_on_drop: false }` [INFO] [stdout] 6c02b18ffc6ea47d92d92e346bdabe6ab1516cbc0c8dc952ae4306fa016529e7