[INFO] fetching crate gutenberg-rs 0.1.4... [INFO] testing gutenberg-rs-0.1.4 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate gutenberg-rs 0.1.4 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate gutenberg-rs 0.1.4 [INFO] finished tweaking crates.io crate gutenberg-rs 0.1.4 [INFO] tweaked toml for crates.io crate gutenberg-rs 0.1.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gutenberg-rs 0.1.4 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gutenberg-rs 0.1.4 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83bafdc3c9d28bdb3b86adc68cd466564a4ecde1f6b63b205c52cc9fbb836d91 [INFO] running `Command { std: "docker" "start" "-a" "83bafdc3c9d28bdb3b86adc68cd466564a4ecde1f6b63b205c52cc9fbb836d91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83bafdc3c9d28bdb3b86adc68cd466564a4ecde1f6b63b205c52cc9fbb836d91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83bafdc3c9d28bdb3b86adc68cd466564a4ecde1f6b63b205c52cc9fbb836d91", kill_on_drop: false }` [INFO] [stdout] 83bafdc3c9d28bdb3b86adc68cd466564a4ecde1f6b63b205c52cc9fbb836d91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10f7063f1e4751bdf6a6ec1352e94a178078bdd51f8c8bd30e5799114faae01a [INFO] running `Command { std: "docker" "start" "-a" "10f7063f1e4751bdf6a6ec1352e94a178078bdd51f8c8bd30e5799114faae01a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.105 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling cc v1.0.77 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling tokio v1.22.0 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling num_cpus v1.14.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.78 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling openssl v0.10.43 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.148 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling serde v1.0.148 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling libsqlite3-sys v0.25.2 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling portable-atomic v0.3.15 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.89 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling console v0.15.2 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling hashlink v0.8.1 [INFO] [stderr] Compiling xattr v0.2.3 [INFO] [stderr] Compiling filetime v0.2.18 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ipnet v2.5.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling indicatif v0.17.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling quick-xml v0.26.0 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling rusqlite v0.28.0 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.13 [INFO] [stderr] Compiling gutenberg-rs v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/rdf_parser.rs:103:57 [INFO] [stdout] | [INFO] [stdout] 103 | let key = str::from_utf8(a.key.0.borrow())?; [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [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/fst_parser_type.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, Copy, 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_ParseType` [INFO] [stdout] 5 | pub enum ParseType { [INFO] [stdout] | --------- `ParseType` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "10f7063f1e4751bdf6a6ec1352e94a178078bdd51f8c8bd30e5799114faae01a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10f7063f1e4751bdf6a6ec1352e94a178078bdd51f8c8bd30e5799114faae01a", kill_on_drop: false }` [INFO] [stdout] 10f7063f1e4751bdf6a6ec1352e94a178078bdd51f8c8bd30e5799114faae01a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d67af44933d9de62081fc727849f741bede958b42715f0dac1291eabe8517c9 [INFO] running `Command { std: "docker" "start" "-a" "8d67af44933d9de62081fc727849f741bede958b42715f0dac1291eabe8517c9", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.148 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling plotters-backend v0.3.4 [INFO] [stderr] Compiling ciborium-io v0.2.0 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling plotters-svg v0.3.3 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling ciborium-ll v0.2.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling plotters v0.3.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling pretty_assertions v1.3.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rayon v1.6.0 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling serde_json v1.0.89 [INFO] [stderr] Compiling ciborium v0.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling reqwest v0.11.13 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stderr] Compiling gutenberg-rs v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/rdf_parser.rs:103:57 [INFO] [stdout] | [INFO] [stdout] 103 | let key = str::from_utf8(a.key.0.borrow())?; [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [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/fst_parser_type.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, Copy, 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_ParseType` [INFO] [stdout] 5 | pub enum ParseType { [INFO] [stdout] | --------- `ParseType` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 39.30s [INFO] running `Command { std: "docker" "inspect" "8d67af44933d9de62081fc727849f741bede958b42715f0dac1291eabe8517c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d67af44933d9de62081fc727849f741bede958b42715f0dac1291eabe8517c9", kill_on_drop: false }` [INFO] [stdout] 8d67af44933d9de62081fc727849f741bede958b42715f0dac1291eabe8517c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7bf300567f9875b81d0123cf791ce14cdbe8cb073e5c0cd0fc64827f5b61ed20 [INFO] running `Command { std: "docker" "start" "-a" "7bf300567f9875b81d0123cf791ce14cdbe8cb073e5c0cd0fc64827f5b61ed20", kill_on_drop: false }` [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/rdf_parser.rs:103:57 [INFO] [stderr] | [INFO] [stderr] 103 | let key = str::from_utf8(a.key.0.borrow())?; [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/fst_parser_type.rs:4:30 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Clone, Copy, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ParseType` [INFO] [stderr] 5 | pub enum ParseType { [INFO] [stderr] | --------- `ParseType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `gutenberg-rs` (lib test) generated 2 warnings (run `cargo fix --lib -p gutenberg-rs --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gutenberg_rs-8b0bde872ab3cbae) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7bf300567f9875b81d0123cf791ce14cdbe8cb073e5c0cd0fc64827f5b61ed20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bf300567f9875b81d0123cf791ce14cdbe8cb073e5c0cd0fc64827f5b61ed20", kill_on_drop: false }` [INFO] [stdout] 7bf300567f9875b81d0123cf791ce14cdbe8cb073e5c0cd0fc64827f5b61ed20