[INFO] fetching crate rpm-rs 0.8.1... [INFO] checking rpm-rs-0.8.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate rpm-rs 0.8.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate rpm-rs 0.8.1 [INFO] finished tweaking crates.io crate rpm-rs 0.8.1 [INFO] tweaked toml for crates.io crate rpm-rs 0.8.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rpm-rs 0.8.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 222 packages to latest compatible versions [INFO] [stderr] Adding base64ct v1.1.1 (available: v1.8.0) [INFO] [stderr] Adding cpio v0.2.2 (available: v0.4.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.8) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding libflate v1.4.0 (available: v2.1.0) [INFO] [stderr] Adding md-5 v0.9.1 (available: v0.10.6) [INFO] [stderr] Adding nom v7.1.3 (available: v8.0.0) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding pgp v0.7.2 (available: v0.16.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rsa v0.5.0 (available: v0.9.8) [INFO] [stderr] Adding rsa-der v0.2.1 (available: v0.3.0) [INFO] [stderr] Adding serial_test v0.5.1 (available: v3.2.0) [INFO] [stderr] Adding sha1 v0.6.1 (available: v0.10.6) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.9) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [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.3) [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d16092dd9f43533a37d54642441a1e116f2ca07bc32d25a14e045be28308ac14 [INFO] running `Command { std: "docker" "start" "-a" "d16092dd9f43533a37d54642441a1e116f2ca07bc32d25a14e045be28308ac14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d16092dd9f43533a37d54642441a1e116f2ca07bc32d25a14e045be28308ac14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d16092dd9f43533a37d54642441a1e116f2ca07bc32d25a14e045be28308ac14", kill_on_drop: false }` [INFO] [stdout] d16092dd9f43533a37d54642441a1e116f2ca07bc32d25a14e045be28308ac14 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e14dc4662344676128ed180f1e07de13f914db844e1f6025dbcb88d1258496db [INFO] running `Command { std: "docker" "start" "-a" "e14dc4662344676128ed180f1e07de13f914db844e1f6025dbcb88d1258496db", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Compiling zstd-sys v1.6.2+zstd.1.5.1 [INFO] [stderr] Compiling num-bigint-dig v0.6.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crypto-bigint v0.2.11 [INFO] [stderr] Checking const-oid v0.6.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling clear_on_drop v0.2.5 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling zstd-safe v4.1.3+zstd.1.5.1 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking base64ct v1.1.1 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling crc24 v0.1.6 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking pem-rfc7468 v0.2.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking block-cipher v0.8.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Compiling num-bigint-dig v0.7.1 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking der v0.4.5 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking libflate_lz77 v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking block-modes v0.6.1 [INFO] [stderr] Checking cast5 v0.9.0 [INFO] [stderr] Checking des v0.6.0 [INFO] [stderr] Checking blowfish v0.7.0 [INFO] [stderr] Checking twofish v0.5.0 [INFO] [stderr] Checking cfb-mode v0.6.0 [INFO] [stderr] Checking ripemd160 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking circular v0.3.0 [INFO] [stderr] Checking spki v0.4.1 [INFO] [stderr] Checking pkcs1 v0.2.4 [INFO] [stderr] Checking libflate v1.4.0 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking pkcs8 v0.7.6 [INFO] [stderr] Checking x25519-dalek v1.2.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling enum-display-derive v0.1.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Checking cpio v0.2.2 [INFO] [stderr] Checking rsa-der v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking serial_test v0.5.1 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking rsa v0.5.0 [INFO] [stderr] Compiling enum-primitive-derive v0.2.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking rsa v0.3.0 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking pgp v0.7.2 [INFO] [stderr] Checking zstd v0.9.2+zstd.1.5.1 [INFO] [stderr] Checking rpm-rs v0.8.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:538:38 [INFO] [stdout] | [INFO] [stdout] 538 | 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:538:38 [INFO] [stdout] | [INFO] [stdout] 538 | 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: `#[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 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:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | 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] 370 | 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 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:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | 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] 370 | 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 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: `#[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 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:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | 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] 370 | 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 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:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | 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] 370 | 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 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.72s [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 4` [INFO] running `Command { std: "docker" "inspect" "e14dc4662344676128ed180f1e07de13f914db844e1f6025dbcb88d1258496db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e14dc4662344676128ed180f1e07de13f914db844e1f6025dbcb88d1258496db", kill_on_drop: false }` [INFO] [stdout] e14dc4662344676128ed180f1e07de13f914db844e1f6025dbcb88d1258496db