[INFO] fetching crate dfir-toolkit 0.11.2... [INFO] checking dfir-toolkit-0.11.2 against try#b32fc44666c052e7cf07ab471bfb6f9ec571902f for pr-138676 [INFO] extracting crate dfir-toolkit 0.11.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate dfir-toolkit 0.11.2 on toolchain b32fc44666c052e7cf07ab471bfb6f9ec571902f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dfir-toolkit 0.11.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dfir-toolkit 0.11.2 [INFO] tweaked toml for crates.io crate dfir-toolkit 0.11.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate dfir-toolkit 0.11.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41d29d075d38ca4473b5a493a1b63df63c8df17dcdb86201f7db57288429e2e5 [INFO] running `Command { std: "docker" "start" "-a" "41d29d075d38ca4473b5a493a1b63df63c8df17dcdb86201f7db57288429e2e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41d29d075d38ca4473b5a493a1b63df63c8df17dcdb86201f7db57288429e2e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41d29d075d38ca4473b5a493a1b63df63c8df17dcdb86201f7db57288429e2e5", kill_on_drop: false }` [INFO] [stdout] 41d29d075d38ca4473b5a493a1b63df63c8df17dcdb86201f7db57288429e2e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 224dcf0fb4dc645a8cad5efaf6d338b031b5356f910364ef6ddb0e6f610ca0a9 [INFO] running `Command { std: "docker" "start" "-a" "224dcf0fb4dc645a8cad5efaf6d338b031b5356f910364ef6ddb0e6f610ca0a9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.38.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling zstd-safe v7.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling winstructs v0.3.2 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling elasticsearch v8.4.0-alpha.1 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling evtx v0.8.2 [INFO] [stderr] Checking async-compression v0.4.12 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling binwrite_derive v0.2.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling zip v2.1.5 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking binwrite v0.2.1 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Compiling dfirtk-eventdata v0.1.3 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling color-print-proc-macro v0.3.6 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking lzma-rs v0.3.0 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling ouroboros_macro v0.18.4 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking forensic-rs v0.13.0 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.1.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking memoverlay v0.1.3 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling derive-getters v0.3.0 [INFO] [stderr] Checking marvin32 v0.1.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking colored_json v3.2.0 [INFO] [stderr] Checking frnsc-prefetch v0.13.0 [INFO] [stderr] Checking lazy-regex v3.1.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking nt_hive2 v4.2.3 [INFO] [stderr] Checking ouroboros v0.18.4 [INFO] [stderr] Checking color-print v0.3.6 [INFO] [stderr] Compiling dfirtk-sessionevent-derive v0.1.0 [INFO] [stderr] Checking clio v0.3.5 [INFO] [stderr] Checking term-table v1.4.0 [INFO] [stderr] Compiling duplicate v1.0.0 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking lnk v0.5.1 [INFO] [stderr] Checking clap-markdown-dfir v0.2.0 [INFO] [stderr] Checking clap-verbosity-flag v2.2.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking clap_complete v4.5.8 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking termsize v0.1.9 [INFO] [stderr] Checking sigpipe v0.1.3 [INFO] [stderr] Checking exitcode v1.1.2 [INFO] [stderr] Checking tokio-async-drop v0.1.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling assert_cmd v2.0.14 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking more-asserts v0.3.1 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Checking dfir-toolkit v0.11.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/es4forensics/ecs/log/event_level.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(strum_macros::Display, FromPrimitive, ToPrimitive, Serialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EventLevel` [INFO] [stdout] 9 | #[strum(serialize_all = "lowercase")] [INFO] [stdout] 10 | pub enum EventLevel { [INFO] [stdout] | ---------- `EventLevel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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/es4forensics/ecs/log/event_level.rs:8:48 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(strum_macros::Display, FromPrimitive, ToPrimitive, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_EventLevel` [INFO] [stdout] 9 | #[strum(serialize_all = "lowercase")] [INFO] [stdout] 10 | pub enum EventLevel { [INFO] [stdout] | ---------- `EventLevel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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/es4forensics/ecs/log/event_level.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(strum_macros::Display, FromPrimitive, ToPrimitive, Serialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EventLevel` [INFO] [stdout] 9 | #[strum(serialize_all = "lowercase")] [INFO] [stdout] 10 | pub enum EventLevel { [INFO] [stdout] | ---------- `EventLevel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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/es4forensics/ecs/log/event_level.rs:8:48 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(strum_macros::Display, FromPrimitive, ToPrimitive, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_EventLevel` [INFO] [stdout] 9 | #[strum(serialize_all = "lowercase")] [INFO] [stdout] 10 | pub enum EventLevel { [INFO] [stdout] | ---------- `EventLevel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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 `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 3m 16s [INFO] running `Command { std: "docker" "inspect" "224dcf0fb4dc645a8cad5efaf6d338b031b5356f910364ef6ddb0e6f610ca0a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "224dcf0fb4dc645a8cad5efaf6d338b031b5356f910364ef6ddb0e6f610ca0a9", kill_on_drop: false }` [INFO] [stdout] 224dcf0fb4dc645a8cad5efaf6d338b031b5356f910364ef6ddb0e6f610ca0a9