[INFO] fetching crate kanga-rpm-rs 0.7.0... [INFO] building kanga-rpm-rs-0.7.0 against master#f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9 for pr-137044-2 [INFO] extracting crate kanga-rpm-rs 0.7.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate kanga-rpm-rs 0.7.0 on toolchain f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kanga-rpm-rs 0.7.0 [INFO] finished tweaking crates.io crate kanga-rpm-rs 0.7.0 [INFO] tweaked toml for crates.io crate kanga-rpm-rs 0.7.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "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 184 packages to latest compatible versions [INFO] [stderr] Adding base64ct v1.1.1 (available: v1.6.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.6) [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.15.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.0) [INFO] [stderr] Adding rsa v0.5.0 (available: v0.9.7) [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.8) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.11) [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" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded opaque-debug v0.3.1 [INFO] [stderr] Downloaded sha2 v0.9.9 [INFO] [stderr] Downloaded digest v0.9.0 [INFO] [stderr] Downloaded zstd-safe v4.1.3+zstd.1.5.1 [INFO] [stderr] Downloaded block-buffer v0.9.0 [INFO] [stderr] Downloaded block-padding v0.2.1 [INFO] [stderr] Downloaded rsa-der v0.2.1 [INFO] [stderr] Downloaded autocfg v0.1.8 [INFO] [stderr] Downloaded serial_test v0.5.1 [INFO] [stderr] Downloaded adler32 v1.2.0 [INFO] [stderr] Downloaded safemem v0.3.3 [INFO] [stderr] Downloaded darling_macro v0.10.2 [INFO] [stderr] Downloaded cpio v0.2.2 [INFO] [stderr] Downloaded num-derive v0.3.3 [INFO] [stderr] Downloaded enum-display-derive v0.1.1 [INFO] [stderr] Downloaded num v0.4.3 [INFO] [stderr] Downloaded bitfield v0.13.2 [INFO] [stderr] Downloaded num-complex v0.4.6 [INFO] [stderr] Downloaded libflate v1.4.0 [INFO] [stderr] Downloaded rle-decode-fast v1.0.3 [INFO] [stderr] Downloaded x25519-dalek v1.2.0 [INFO] [stderr] Downloaded aes-soft v0.6.4 [INFO] [stderr] Downloaded flate2 v1.0.35 [INFO] [stderr] Downloaded rand v0.7.3 [INFO] [stderr] Downloaded num-bigint-dig v0.7.1 [INFO] [stderr] Downloaded nom v4.2.3 [INFO] [stderr] Downloaded num-bigint-dig v0.6.1 [INFO] [stderr] Downloaded aesni v0.10.0 [INFO] [stderr] Downloaded aes v0.6.0 [INFO] [stderr] Downloaded num-bigint v0.2.6 [INFO] [stderr] Downloaded der v0.4.5 [INFO] [stderr] Downloaded base64 v0.12.3 [INFO] [stderr] Downloaded buf_redux v0.8.4 [INFO] [stderr] Downloaded darling_core v0.10.2 [INFO] [stderr] Downloaded ed25519-dalek v1.0.1 [INFO] [stderr] Downloaded rsa v0.5.0 [INFO] [stderr] Downloaded blowfish v0.7.0 [INFO] [stderr] Downloaded cast5 v0.9.0 [INFO] [stderr] Downloaded derive_builder_core v0.9.0 [INFO] [stderr] Downloaded derive_builder v0.9.0 [INFO] [stderr] Downloaded crc32fast v1.4.2 [INFO] [stderr] Downloaded wasi v0.9.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded pkcs1 v0.2.4 [INFO] [stderr] Downloaded crypto-bigint v0.2.11 [INFO] [stderr] Downloaded sha3 v0.9.1 [INFO] [stderr] Downloaded pkcs8 v0.7.6 [INFO] [stderr] Downloaded curve25519-dalek v3.2.1 [INFO] [stderr] Downloaded zstd-sys v1.6.2+zstd.1.5.1 [INFO] [stderr] Downloaded zstd v0.9.2+zstd.1.5.1 [INFO] [stderr] Downloaded num-rational v0.4.2 [INFO] [stderr] Downloaded pgp v0.7.2 [INFO] [stderr] Downloaded cfb-mode v0.6.0 [INFO] [stderr] Downloaded clear_on_drop v0.2.5 [INFO] [stderr] Downloaded strsim v0.9.3 [INFO] [stderr] Downloaded des v0.6.0 [INFO] [stderr] Downloaded md-5 v0.9.1 [INFO] [stderr] Downloaded rsa v0.3.0 [INFO] [stderr] Downloaded sha-1 v0.9.8 [INFO] [stderr] Downloaded cfg-if v0.1.10 [INFO] [stderr] Downloaded cipher v0.2.5 [INFO] [stderr] Downloaded getrandom v0.1.16 [INFO] [stderr] Downloaded block-cipher v0.8.0 [INFO] [stderr] Downloaded block-modes v0.6.1 [INFO] [stderr] Downloaded ident_case v1.0.1 [INFO] [stderr] Downloaded darling v0.10.2 [INFO] [stderr] Downloaded pem v0.8.3 [INFO] [stderr] Downloaded rand_chacha v0.2.2 [INFO] [stderr] Downloaded base64ct v1.1.1 [INFO] [stderr] Downloaded spki v0.4.1 [INFO] [stderr] Downloaded sha1_smol v1.0.1 [INFO] [stderr] Downloaded ripemd160 v0.9.1 [INFO] [stderr] Downloaded rand_hc v0.2.0 [INFO] [stderr] Downloaded twofish v0.5.0 [INFO] [stderr] Downloaded rand_core v0.5.1 [INFO] [stderr] Downloaded num-iter v0.1.45 [INFO] [stderr] Downloaded pem-rfc7468 v0.2.4 [INFO] [stderr] Downloaded const-oid v0.6.2 [INFO] [stderr] Downloaded zeroize_derive v1.4.2 [INFO] [stderr] Downloaded zeroize v1.3.0 [INFO] [stderr] Downloaded simple_asn1 v0.4.1 [INFO] [stderr] Downloaded enum-primitive-derive v0.2.2 [INFO] [stderr] Downloaded libflate_lz77 v1.2.0 [INFO] [stderr] Downloaded crc24 v0.1.6 [INFO] [stderr] Downloaded subtle v2.6.1 [INFO] [stderr] Downloaded sha1 v0.6.1 [INFO] [stderr] Downloaded circular v0.3.0 [INFO] [stderr] Downloaded version_check v0.1.5 [INFO] [stderr] Downloaded try_from v0.3.2 [INFO] [stderr] Downloaded serial_test_derive v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4e5dd7fc883f17513e3df7cec1f9699f25e4aed7147ebd2d67ea1127b67996c [INFO] running `Command { std: "docker" "start" "-a" "d4e5dd7fc883f17513e3df7cec1f9699f25e4aed7147ebd2d67ea1127b67996c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4e5dd7fc883f17513e3df7cec1f9699f25e4aed7147ebd2d67ea1127b67996c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4e5dd7fc883f17513e3df7cec1f9699f25e4aed7147ebd2d67ea1127b67996c", kill_on_drop: false }` [INFO] [stdout] d4e5dd7fc883f17513e3df7cec1f9699f25e4aed7147ebd2d67ea1127b67996c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d8a1cd4024b052996263262c1799283e3cc39f8058b051ca1a45a025235f71a [INFO] running `Command { std: "docker" "start" "-a" "4d8a1cd4024b052996263262c1799283e3cc39f8058b051ca1a45a025235f71a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling crc24 v0.1.6 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling zstd-safe v4.1.3+zstd.1.5.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-bigint-dig v0.6.1 [INFO] [stderr] Compiling miniz_oxide v0.8.4 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling libflate_lz77 v1.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling circular v0.3.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling libflate v1.4.0 [INFO] [stderr] Compiling cpio v0.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling block-cipher v0.8.0 [INFO] [stderr] Compiling block-modes v0.6.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling cast5 v0.9.0 [INFO] [stderr] Compiling des v0.6.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling twofish v0.5.0 [INFO] [stderr] Compiling blowfish v0.7.0 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling cfb-mode v0.6.0 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling zstd-sys v1.6.2+zstd.1.5.1 [INFO] [stderr] Compiling clear_on_drop v0.2.5 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling enum-primitive-derive v0.2.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enum-display-derive v0.1.1 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling x25519-dalek v1.2.0 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling rsa v0.3.0 [INFO] [stderr] Compiling pgp v0.7.2 [INFO] [stderr] Compiling zstd v0.9.2+zstd.1.5.1 [INFO] [stderr] Compiling kanga-rpm-rs v0.7.0 (/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/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: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 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 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 1m 29s [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" "4d8a1cd4024b052996263262c1799283e3cc39f8058b051ca1a45a025235f71a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d8a1cd4024b052996263262c1799283e3cc39f8058b051ca1a45a025235f71a", kill_on_drop: false }` [INFO] [stdout] 4d8a1cd4024b052996263262c1799283e3cc39f8058b051ca1a45a025235f71a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f5c3372c2e74183e43772d0d9a3d29deb24e91867d37ea69c363b15f234a87b [INFO] running `Command { std: "docker" "start" "-a" "7f5c3372c2e74183e43772d0d9a3d29deb24e91867d37ea69c363b15f234a87b", kill_on_drop: false }` [INFO] [stderr] Compiling const-oid v0.6.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling base64ct v1.1.1 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling num-bigint-dig v0.7.1 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling rsa-der v0.2.1 [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: 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: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 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 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] Compiling pem-rfc7468 v0.2.4 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling serial_test v0.5.1 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling pkcs1 v0.2.4 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling rsa v0.5.0 [INFO] [stderr] Compiling kanga-rpm-rs v0.7.0 (/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/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: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 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 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 `test` profile [unoptimized + debuginfo] target(s) in 8.26s [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" "7f5c3372c2e74183e43772d0d9a3d29deb24e91867d37ea69c363b15f234a87b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f5c3372c2e74183e43772d0d9a3d29deb24e91867d37ea69c363b15f234a87b", kill_on_drop: false }` [INFO] [stdout] 7f5c3372c2e74183e43772d0d9a3d29deb24e91867d37ea69c363b15f234a87b