[INFO] fetching crate stun-coder 2.0.0... [INFO] testing stun-coder-2.0.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate stun-coder 2.0.0 into /workspace/builds/worker-7-tc2/source [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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate stun-coder 2.0.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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.3.0) [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.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dece164f6d8b433dd469df983599adf4104eea48d11f912418c34d42615d9130 [INFO] running `Command { std: "docker" "start" "-a" "dece164f6d8b433dd469df983599adf4104eea48d11f912418c34d42615d9130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dece164f6d8b433dd469df983599adf4104eea48d11f912418c34d42615d9130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dece164f6d8b433dd469df983599adf4104eea48d11f912418c34d42615d9130", kill_on_drop: false }` [INFO] [stdout] dece164f6d8b433dd469df983599adf4104eea48d11f912418c34d42615d9130 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d840ac2f2717d12121ba2e010c289a3392739f199cbc7d7938a97c96d5b8bd2c [INFO] running `Command { std: "docker" "start" "-a" "d840ac2f2717d12121ba2e010c289a3392739f199cbc7d7938a97c96d5b8bd2c", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num-derive v0.3.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 6.29s [INFO] running `Command { std: "docker" "inspect" "d840ac2f2717d12121ba2e010c289a3392739f199cbc7d7938a97c96d5b8bd2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d840ac2f2717d12121ba2e010c289a3392739f199cbc7d7938a97c96d5b8bd2c", kill_on_drop: false }` [INFO] [stdout] d840ac2f2717d12121ba2e010c289a3392739f199cbc7d7938a97c96d5b8bd2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a0e1f96fa875d5e85080aba6eb5b41ce6d424c8ac57a19385f8912a53a1027d [INFO] running `Command { std: "docker" "start" "-a" "7a0e1f96fa875d5e85080aba6eb5b41ce6d424c8ac57a19385f8912a53a1027d", 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 0.96s [INFO] running `Command { std: "docker" "inspect" "7a0e1f96fa875d5e85080aba6eb5b41ce6d424c8ac57a19385f8912a53a1027d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a0e1f96fa875d5e85080aba6eb5b41ce6d424c8ac57a19385f8912a53a1027d", kill_on_drop: false }` [INFO] [stdout] 7a0e1f96fa875d5e85080aba6eb5b41ce6d424c8ac57a19385f8912a53a1027d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d336609a85a93b81293abffec8c80cea92ab949cf17f06a48e6bbbe9b5954a1a [INFO] running `Command { std: "docker" "start" "-a" "d336609a85a93b81293abffec8c80cea92ab949cf17f06a48e6bbbe9b5954a1a", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `IntegrityKeyGenerationError` and `MessageEncodeError` [INFO] [stderr] --> src/message/decode.rs:7:25 [INFO] [stderr] | [INFO] [stderr] 7 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `IntegrityKeyGenerationError` and `MessageDecodeError` [INFO] [stderr] --> src/message/encode.rs:3:25 [INFO] [stderr] | [INFO] [stderr] 3 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `IntegrityKeyGenerationError`, `MessageDecodeError`, and `MessageEncodeError` [INFO] [stderr] --> src/message/message.rs:1:25 [INFO] [stderr] | [INFO] [stderr] 1 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `MessageDecodeError` and `MessageEncodeError` [INFO] [stderr] --> src/message/private_utils.rs:9:54 [INFO] [stderr] | [INFO] [stderr] 9 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `IntegrityKeyGenerationError`, `MessageDecodeError`, and `MessageEncodeError` [INFO] [stderr] --> src/message/utils.rs:3:25 [INFO] [stderr] | [INFO] [stderr] 3 | pub use super::errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `IntegrityKeyGenerationError` [INFO] [stderr] --> src/message/mod.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | pub use errors::{IntegrityKeyGenerationError, MessageDecodeError, MessageEncodeError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/attribute/types.rs:2:23 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Copy, Clone, 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_StunAttributeType` [INFO] [stderr] 3 | pub enum StunAttributeType { [INFO] [stderr] | ----------------- `StunAttributeType` 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/header/message_class.rs:1:30 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Copy, Clone, FromPrimitive, Ord, PartialOrd, Eq, PartialEq)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StunMessageClass` [INFO] [stderr] ... [INFO] [stderr] 5 | pub enum StunMessageClass { [INFO] [stderr] | ---------------- `StunMessageClass` 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/header/message_method.rs:1:30 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Copy, Clone, FromPrimitive, Ord, PartialOrd, Eq, PartialEq)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StunMessageMethod` [INFO] [stderr] ... [INFO] [stderr] 21 | pub enum StunMessageMethod { [INFO] [stderr] | ----------------- `StunMessageMethod` 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: `stun-coder` (lib) generated 9 warnings (run `cargo fix --lib -p stun-coder` to apply 6 suggestions) [INFO] [stderr] warning: `stun-coder` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stun_coder-08e4504c907ebe0e) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test tests::binding_request_message_with_lta ... ok [INFO] [stdout] test tests::big_test ... ok [INFO] [stdout] test tests::check_for_message ... ok [INFO] [stdout] test tests::binding_response_ipv6 ... ok [INFO] [stdout] test tests::binding_request_message ... ok [INFO] [stdout] test tests::create_request ... ok [INFO] [stdout] test tests::error_response ... ok [INFO] [stdout] test tests::binding_response ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests stun_coder [INFO] [stderr] warning: unknown lint: `rustdoc::missing_doc_code_examples` [INFO] [stderr] --> src/lib.rs:137:9 [INFO] [stderr] | [INFO] [stderr] 137 | #![warn(rustdoc::missing_doc_code_examples)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the `rustdoc::missing_doc_code_examples` lint is unstable [INFO] [stderr] = note: see issue #101730 for more information [INFO] [stderr] = help: add `#![feature(rustdoc_missing_doc_code_examples)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/message/message.rs - message::message::StunMessage (line 9) ... ok [INFO] [stdout] test src/message/message.rs - message::message::StunMessage (line 26) ... ok [INFO] [stdout] test src/lib.rs - (line 49) ... ok [INFO] [stdout] test src/lib.rs - (line 25) ... ok [INFO] [stdout] test src/lib.rs - (line 8) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.76s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d336609a85a93b81293abffec8c80cea92ab949cf17f06a48e6bbbe9b5954a1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d336609a85a93b81293abffec8c80cea92ab949cf17f06a48e6bbbe9b5954a1a", kill_on_drop: false }` [INFO] [stdout] d336609a85a93b81293abffec8c80cea92ab949cf17f06a48e6bbbe9b5954a1a