[INFO] fetching crate libcoap-rs 0.2.2... [INFO] checking libcoap-rs-0.2.2 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate libcoap-rs 0.2.2 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate libcoap-rs 0.2.2 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libcoap-rs 0.2.2 [INFO] finished tweaking crates.io crate libcoap-rs 0.2.2 [INFO] tweaked toml for crates.io crate libcoap-rs 0.2.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded autotools v0.2.6 [INFO] [stderr] Downloaded gnutls-sys v0.1.2 [INFO] [stderr] Downloaded bindgen v0.65.1 [INFO] [stderr] Downloaded libcoap-sys v0.2.2+libcoap-4.3.1 [INFO] [stderr] Downloaded mbedtls-sys-auto v2.28.7 [INFO] [stderr] Downloaded tinydtls-sys v0.1.2+tinydtls-c84e36f [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9afe6743e839f57dc9f598925dfa9d2993f58e98e13ee341d9ccac28db9d8c7 [INFO] running `Command { std: "docker" "start" "-a" "c9afe6743e839f57dc9f598925dfa9d2993f58e98e13ee341d9ccac28db9d8c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9afe6743e839f57dc9f598925dfa9d2993f58e98e13ee341d9ccac28db9d8c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9afe6743e839f57dc9f598925dfa9d2993f58e98e13ee341d9ccac28db9d8c7", kill_on_drop: false }` [INFO] [stdout] c9afe6743e839f57dc9f598925dfa9d2993f58e98e13ee341d9ccac28db9d8c7 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a555e52fda521a07176725caf48adbcee4117b2204a6229ef1213647b9fd9f55 [INFO] running `Command { std: "docker" "start" "-a" "a555e52fda521a07176725caf48adbcee4117b2204a6229ef1213647b9fd9f55", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling autotools v0.2.6 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Compiling libcoap-sys v0.2.2+libcoap-4.3.1 [INFO] [stderr] Checking libcoap-rs v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Arc`, `Condvar`, `Mutex` [INFO] [stdout] --> tests/dtls_client_server_test.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::{Arc, Condvar, Mutex}; [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identity` [INFO] [stdout] --> tests/dtls_client_server_test.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | identity: &CoapCryptoPskIdentity, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.82s [INFO] running `Command { std: "docker" "inspect" "a555e52fda521a07176725caf48adbcee4117b2204a6229ef1213647b9fd9f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a555e52fda521a07176725caf48adbcee4117b2204a6229ef1213647b9fd9f55", kill_on_drop: false }` [INFO] [stdout] a555e52fda521a07176725caf48adbcee4117b2204a6229ef1213647b9fd9f55 [INFO] checking libcoap-rs-0.2.2 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate libcoap-rs 0.2.2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate libcoap-rs 0.2.2 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libcoap-rs 0.2.2 [INFO] finished tweaking crates.io crate libcoap-rs 0.2.2 [INFO] tweaked toml for crates.io crate libcoap-rs 0.2.2 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8da7e2fcc275ca5410610899e1054a2e129390bfe24246a653ee3a9776459e3 [INFO] running `Command { std: "docker" "start" "-a" "c8da7e2fcc275ca5410610899e1054a2e129390bfe24246a653ee3a9776459e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8da7e2fcc275ca5410610899e1054a2e129390bfe24246a653ee3a9776459e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8da7e2fcc275ca5410610899e1054a2e129390bfe24246a653ee3a9776459e3", kill_on_drop: false }` [INFO] [stdout] c8da7e2fcc275ca5410610899e1054a2e129390bfe24246a653ee3a9776459e3 [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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 135456db37524c090e68b562c6964ffeedb80c72d759d2b85b2439f6b7bb41e0 [INFO] running `Command { std: "docker" "start" "-a" "135456db37524c090e68b562c6964ffeedb80c72d759d2b85b2439f6b7bb41e0", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling autotools v0.2.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Compiling libcoap-sys v0.2.2+libcoap-4.3.1 [INFO] [stderr] Checking libcoap-rs v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/protocol.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(FromPrimitive, Copy, Clone, Debug, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CoapOptionType` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/protocol.rs:206:23 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(Copy, Clone, FromPrimitive, Eq, PartialEq, Hash, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CoapContentFormat` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/protocol.rs:301:10 [INFO] [stdout] | [INFO] [stdout] 301 | #[derive(FromPrimitive, Clone, Copy, Eq, PartialEq, Hash, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CoapRequestCode` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/protocol.rs:374:23 [INFO] [stdout] | [INFO] [stdout] 374 | #[derive(Clone, Copy, FromPrimitive, Debug, Eq, PartialEq, Hash)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CoapResponseCode` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/protocol.rs:471:44 [INFO] [stdout] | [INFO] [stdout] 471 | #[derive(Copy, Clone, Hash, Eq, PartialEq, FromPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CoapMessageType` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/types.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Copy, Clone, FromPrimitive, Debug, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CoapUriScheme` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/types.rs:395:23 [INFO] [stdout] | [INFO] [stdout] 395 | #[derive(Copy, Clone, FromPrimitive, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CoapProtocol` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/protocol.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(FromPrimitive, Copy, Clone, Debug, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CoapOptionType` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/protocol.rs:206:23 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(Copy, Clone, FromPrimitive, Eq, PartialEq, Hash, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CoapContentFormat` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/protocol.rs:301:10 [INFO] [stdout] | [INFO] [stdout] 301 | #[derive(FromPrimitive, Clone, Copy, Eq, PartialEq, Hash, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CoapRequestCode` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/protocol.rs:374:23 [INFO] [stdout] | [INFO] [stdout] 374 | #[derive(Clone, Copy, FromPrimitive, Debug, Eq, PartialEq, Hash)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CoapResponseCode` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/protocol.rs:471:44 [INFO] [stdout] | [INFO] [stdout] 471 | #[derive(Copy, Clone, Hash, Eq, PartialEq, FromPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CoapMessageType` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/types.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Copy, Clone, FromPrimitive, Debug, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CoapUriScheme` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/types.rs:395:23 [INFO] [stdout] | [INFO] [stdout] 395 | #[derive(Copy, Clone, FromPrimitive, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CoapProtocol` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libcoap-rs` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libcoap-rs` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "135456db37524c090e68b562c6964ffeedb80c72d759d2b85b2439f6b7bb41e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "135456db37524c090e68b562c6964ffeedb80c72d759d2b85b2439f6b7bb41e0", kill_on_drop: false }` [INFO] [stdout] 135456db37524c090e68b562c6964ffeedb80c72d759d2b85b2439f6b7bb41e0