[INFO] fetching crate stun-coder 2.0.0... [INFO] checking stun-coder-2.0.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate stun-coder 2.0.0 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stun-coder 2.0.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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.16) [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6ed12db1fab12171ac94f447f5f107ec1d6af10ca2c2afb53200f431b6eef99 [INFO] running `Command { std: "docker" "start" "-a" "d6ed12db1fab12171ac94f447f5f107ec1d6af10ca2c2afb53200f431b6eef99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6ed12db1fab12171ac94f447f5f107ec1d6af10ca2c2afb53200f431b6eef99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6ed12db1fab12171ac94f447f5f107ec1d6af10ca2c2afb53200f431b6eef99", kill_on_drop: false }` [INFO] [stdout] d6ed12db1fab12171ac94f447f5f107ec1d6af10ca2c2afb53200f431b6eef99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7259945cfd6234928d5ae210c1e875bdec84f1aacf5e29aa52a6a7120dd94abd [INFO] running `Command { std: "docker" "start" "-a" "7259945cfd6234928d5ae210c1e875bdec84f1aacf5e29aa52a6a7120dd94abd", kill_on_drop: false }` [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking c_linked_list v1.1.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking crypto-mac v0.9.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking hmac v0.9.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking 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: 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] [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.55s [INFO] running `Command { std: "docker" "inspect" "7259945cfd6234928d5ae210c1e875bdec84f1aacf5e29aa52a6a7120dd94abd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7259945cfd6234928d5ae210c1e875bdec84f1aacf5e29aa52a6a7120dd94abd", kill_on_drop: false }` [INFO] [stdout] 7259945cfd6234928d5ae210c1e875bdec84f1aacf5e29aa52a6a7120dd94abd