[INFO] fetching crate rpm-rs-temporary 0.6.1... [INFO] checking rpm-rs-temporary-0.6.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rpm-rs-temporary 0.6.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate rpm-rs-temporary 0.6.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rpm-rs-temporary 0.6.1 [INFO] finished tweaking crates.io crate rpm-rs-temporary 0.6.1 [INFO] tweaked toml for crates.io crate rpm-rs-temporary 0.6.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 172 packages to latest compatible versions [INFO] [stderr] Adding aes v0.6.0 (available: v0.8.4) [INFO] [stderr] Adding aes-soft v0.6.4 (available: v0.99.99) [INFO] [stderr] Adding aesni v0.10.0 (available: v0.99.99) [INFO] [stderr] Adding autocfg v0.1.8 (available: v1.4.0) [INFO] [stderr] Adding base64 v0.12.3 (available: v0.22.1) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bitfield v0.13.2 (available: v0.17.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding block-buffer v0.9.0 (available: v0.10.4) [INFO] [stderr] Adding block-cipher v0.8.0 (available: v0.99.99) [INFO] [stderr] Adding block-modes v0.6.1 (available: v0.9.1) [INFO] [stderr] Adding block-padding v0.2.1 (available: v0.3.3) [INFO] [stderr] Adding blowfish v0.7.0 (available: v0.9.1) [INFO] [stderr] Adding cast5 v0.9.0 (available: v0.11.1) [INFO] [stderr] Adding cfb-mode v0.6.0 (available: v0.8.2) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding cipher v0.2.5 (available: v0.4.4) [INFO] [stderr] Adding cpio v0.2.2 (available: v0.4.0) [INFO] [stderr] Adding curve25519-dalek v3.2.1 (available: v4.1.3) [INFO] [stderr] Adding darling v0.10.2 (available: v0.20.10) [INFO] [stderr] Adding darling_core v0.10.2 (available: v0.20.10) [INFO] [stderr] Adding darling_macro v0.10.2 (available: v0.20.10) [INFO] [stderr] Adding derive_builder v0.9.0 (available: v0.20.1) [INFO] [stderr] Adding derive_builder_core v0.9.0 (available: v0.20.1) [INFO] [stderr] Adding des v0.6.0 (available: v0.8.1) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding ed25519 v1.5.3 (available: v2.2.3) [INFO] [stderr] Adding ed25519-dalek v1.0.1 (available: v2.1.1) [INFO] [stderr] Adding enum-primitive-derive v0.2.2 (available: v0.3.0) [INFO] [stderr] Adding env_logger v0.9.3 (available: v0.11.5) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding libflate v1.4.0 (available: v2.1.0) [INFO] [stderr] Adding libflate_lz77 v1.2.0 (available: v2.1.0) [INFO] [stderr] Adding md-5 v0.9.1 (available: v0.10.6) [INFO] [stderr] Adding nom v4.2.3 (available: v7.1.3) [INFO] [stderr] Adding num v0.2.1 (available: v0.4.3) [INFO] [stderr] Adding num-bigint v0.2.6 (available: v0.4.6) [INFO] [stderr] Adding num-bigint-dig v0.6.1 (available: v0.8.4) [INFO] [stderr] Adding num-complex v0.2.4 (available: v0.4.6) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding num-rational v0.2.4 (available: v0.4.2) [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (available: v0.9.10) [INFO] [stderr] Adding pem v0.8.3 (available: v3.0.4) [INFO] [stderr] Adding pgp v0.7.2 (available: v0.14.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (available: v0.3.2) [INFO] [stderr] Adding redox_syscall v0.2.16 (available: v0.5.6) [INFO] [stderr] Adding ripemd160 v0.9.1 (available: v0.10.0) [INFO] [stderr] Adding rsa v0.3.0 (available: v0.9.6) [INFO] [stderr] Adding rsa-der v0.2.1 (available: v0.3.0) [INFO] [stderr] Adding serial_test v0.5.1 (available: v3.1.1) [INFO] [stderr] Adding serial_test_derive v0.5.1 (available: v3.1.1) [INFO] [stderr] Adding sha-1 v0.9.8 (available: v0.10.1) [INFO] [stderr] Adding sha1 v0.6.1 (available: v0.10.6) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.8) [INFO] [stderr] Adding sha3 v0.9.1 (available: v0.10.8) [INFO] [stderr] Adding signature v1.6.4 (available: v2.2.0) [INFO] [stderr] Adding simple_asn1 v0.4.1 (available: v0.6.2) [INFO] [stderr] Adding strsim v0.9.3 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding twofish v0.5.0 (available: v0.7.1) [INFO] [stderr] Adding version_check v0.1.5 (available: v0.9.5) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding x25519-dalek v1.2.0 (available: v2.0.1) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.1) [INFO] [stderr] Adding zstd v0.9.2+zstd.1.5.1 (available: v0.13.2) [INFO] [stderr] Adding zstd-safe v4.1.3+zstd.1.5.1 (available: v4.1.6+zstd.1.5.2) [INFO] [stderr] Adding zstd-sys v1.6.2+zstd.1.5.1 (available: v1.6.3+zstd.1.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb7ac9edb39891d0952b7c36506b1954054d0df39e38e3cd97e52e244a624084 [INFO] running `Command { std: "docker" "start" "-a" "fb7ac9edb39891d0952b7c36506b1954054d0df39e38e3cd97e52e244a624084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb7ac9edb39891d0952b7c36506b1954054d0df39e38e3cd97e52e244a624084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb7ac9edb39891d0952b7c36506b1954054d0df39e38e3cd97e52e244a624084", kill_on_drop: false }` [INFO] [stdout] fb7ac9edb39891d0952b7c36506b1954054d0df39e38e3cd97e52e244a624084 [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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2052aec55f299c1d67a6b98d6d3f85970f8374f336840e1916391ce364f01254 [INFO] running `Command { std: "docker" "start" "-a" "2052aec55f299c1d67a6b98d6d3f85970f8374f336840e1916391ce364f01254", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling num-bigint-dig v0.6.1 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking libm v0.2.8 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling zstd-safe v4.1.3+zstd.1.5.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling crc24 v0.1.6 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking block-cipher v0.8.0 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking libflate_lz77 v1.2.0 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Checking block-modes v0.6.1 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking cfb-mode v0.6.0 [INFO] [stderr] Checking cast5 v0.9.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking twofish v0.5.0 [INFO] [stderr] Checking des v0.6.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking blowfish v0.7.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking ripemd160 v0.9.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking circular v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking x25519-dalek v1.2.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking libflate v1.4.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking cpio v0.2.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling zstd-sys v1.6.2+zstd.1.5.1 [INFO] [stderr] Compiling clear_on_drop v0.2.5 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rsa-der v0.2.1 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking rsa v0.3.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Compiling enum-primitive-derive v0.2.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling enum-display-derive v0.1.1 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Checking serial_test v0.5.1 [INFO] [stderr] Checking pgp v0.7.2 [INFO] [stderr] Checking zstd v0.9.2+zstd.1.5.1 [INFO] [stderr] Checking rpm-rs-temporary v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/rpm/headers/header.rs:460:42 [INFO] [stdout] | [INFO] [stdout] 460 | modified_at: utc.timestamp( mtime as i64, 0u32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/rpm/headers/header.rs:460:42 [INFO] [stdout] | [INFO] [stdout] 460 | modified_at: utc.timestamp( mtime as i64, 0u32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/rpm/signature/pgp.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | ::chrono::offset::Utc.timestamp(now.timestamp(), 0u32) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/rpm/signature/pgp.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | ::chrono::offset::Utc.timestamp(now.timestamp(), 0u32) [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/constants.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | num_derive::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_IndexTag` [INFO] [stdout] ... [INFO] [stdout] 27 | pub enum IndexTag { [INFO] [stdout] | -------- `IndexTag` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `num_derive::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/constants.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | num_derive::ToPrimitive, [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_IndexTag` [INFO] [stdout] ... [INFO] [stdout] 27 | pub enum IndexTag { [INFO] [stdout] | -------- `IndexTag` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::ToPrimitive` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `num_derive::ToPrimitive` (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/constants.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | num_derive::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_IndexSignatureTag` [INFO] [stdout] ... [INFO] [stdout] 369 | pub enum IndexSignatureTag { [INFO] [stdout] | ----------------- `IndexSignatureTag` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `num_derive::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/constants.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | num_derive::ToPrimitive, [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_IndexSignatureTag` [INFO] [stdout] ... [INFO] [stdout] 369 | pub enum IndexSignatureTag { [INFO] [stdout] | ----------------- `IndexSignatureTag` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::ToPrimitive` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `num_derive::ToPrimitive` (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/constants.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | num_derive::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_IndexTag` [INFO] [stdout] ... [INFO] [stdout] 27 | pub enum IndexTag { [INFO] [stdout] | -------- `IndexTag` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `num_derive::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/constants.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | num_derive::ToPrimitive, [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_IndexTag` [INFO] [stdout] ... [INFO] [stdout] 27 | pub enum IndexTag { [INFO] [stdout] | -------- `IndexTag` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::ToPrimitive` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `num_derive::ToPrimitive` (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/constants.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | num_derive::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_IndexSignatureTag` [INFO] [stdout] ... [INFO] [stdout] 369 | pub enum IndexSignatureTag { [INFO] [stdout] | ----------------- `IndexSignatureTag` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `num_derive::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/constants.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | num_derive::ToPrimitive, [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_IndexSignatureTag` [INFO] [stdout] ... [INFO] [stdout] 369 | pub enum IndexSignatureTag { [INFO] [stdout] | ----------------- `IndexSignatureTag` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::ToPrimitive` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `num_derive::ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, nom v4.2.3, pgp v0.7.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2052aec55f299c1d67a6b98d6d3f85970f8374f336840e1916391ce364f01254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2052aec55f299c1d67a6b98d6d3f85970f8374f336840e1916391ce364f01254", kill_on_drop: false }` [INFO] [stdout] 2052aec55f299c1d67a6b98d6d3f85970f8374f336840e1916391ce364f01254