[INFO] fetching crate rpm-rs 0.8.1... [INFO] checking rpm-rs-0.8.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate rpm-rs 0.8.1 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rpm-rs 0.8.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 221 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rsa-der v0.2.1 [INFO] [stderr] Downloaded crc24 v0.1.6 [INFO] [stderr] Downloaded twofish v0.5.0 [INFO] [stderr] Downloaded block-cipher v0.8.0 [INFO] [stderr] Downloaded block-modes v0.6.1 [INFO] [stderr] Downloaded cast5 v0.9.0 [INFO] [stderr] Downloaded num-bigint-dig v0.7.1 [INFO] [stderr] Downloaded num-bigint-dig v0.6.1 [INFO] [stderr] Downloaded rsa v0.3.0 [INFO] [stderr] Downloaded cfb-mode v0.6.0 [INFO] [stderr] Downloaded des v0.6.0 [INFO] [stderr] Downloaded pkcs1 v0.2.4 [INFO] [stderr] Downloaded rsa v0.5.0 [INFO] [stderr] Downloaded blowfish v0.7.0 [INFO] [stderr] Downloaded cpio v0.2.2 [INFO] [stderr] Downloaded pgp v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 712d52b549d446ca4f65ed9e8dc519470c33a9f7cc4bd400cda3a60df73141ce [INFO] running `Command { std: "docker" "start" "-a" "712d52b549d446ca4f65ed9e8dc519470c33a9f7cc4bd400cda3a60df73141ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "712d52b549d446ca4f65ed9e8dc519470c33a9f7cc4bd400cda3a60df73141ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "712d52b549d446ca4f65ed9e8dc519470c33a9f7cc4bd400cda3a60df73141ce", kill_on_drop: false }` [INFO] [stdout] 712d52b549d446ca4f65ed9e8dc519470c33a9f7cc4bd400cda3a60df73141ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79edc19aeef07a8915b19ad758a0778cc68a8c8d5f85b5413f09674895499e2f [INFO] running `Command { std: "docker" "start" "-a" "79edc19aeef07a8915b19ad758a0778cc68a8c8d5f85b5413f09674895499e2f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-bigint-dig v0.6.1 [INFO] [stderr] Checking const-oid v0.6.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling zstd-safe v4.1.3+zstd.1.5.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling crc24 v0.1.6 [INFO] [stderr] Checking base64ct v1.1.1 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking pem-rfc7468 v0.2.4 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking block-cipher v0.8.0 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling num-bigint-dig v0.7.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking ripemd160 v0.9.1 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking block-modes v0.6.1 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking crypto-bigint v0.2.11 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking cfb-mode v0.6.0 [INFO] [stderr] Checking des v0.6.0 [INFO] [stderr] Checking cast5 v0.9.0 [INFO] [stderr] Checking twofish v0.5.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking blowfish v0.7.0 [INFO] [stderr] Checking libflate_lz77 v1.2.0 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking der v0.4.5 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking circular v0.3.0 [INFO] [stderr] Checking spki v0.4.1 [INFO] [stderr] Checking libflate v1.4.0 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking itertools v0.10.5 [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 humantime v2.2.0 [INFO] [stderr] Compiling zstd-sys v1.6.2+zstd.1.5.1 [INFO] [stderr] Compiling clear_on_drop v0.2.5 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking rsa-der v0.2.1 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Compiling enum-display-derive v0.1.1 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling enum-primitive-derive v0.2.2 [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] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking pkcs1 v0.2.4 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking pkcs8 v0.7.6 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking x25519-dalek v1.2.0 [INFO] [stderr] Checking rsa v0.3.0 [INFO] [stderr] Checking rsa v0.5.0 [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 52.34s [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" "79edc19aeef07a8915b19ad758a0778cc68a8c8d5f85b5413f09674895499e2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79edc19aeef07a8915b19ad758a0778cc68a8c8d5f85b5413f09674895499e2f", kill_on_drop: false }` [INFO] [stdout] 79edc19aeef07a8915b19ad758a0778cc68a8c8d5f85b5413f09674895499e2f