[INFO] cloning repository https://github.com/kofuk/ipp-print [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kofuk/ipp-print" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkofuk%2Fipp-print", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkofuk%2Fipp-print'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e49aee0d246bbb8c512d6471ef999f947849634 [INFO] building kofuk/ipp-print against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkofuk%2Fipp-print" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kofuk/ipp-print [INFO] finished tweaking git repo https://github.com/kofuk/ipp-print [INFO] tweaked toml for git repo https://github.com/kofuk/ipp-print written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kofuk/ipp-print on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kofuk/ipp-print 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded schannel v0.1.22 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.88 [INFO] [stderr] Downloaded num-complex v0.4.4 [INFO] [stderr] Downloaded try-lock v0.2.4 [INFO] [stderr] Downloaded core-foundation-sys v0.8.4 [INFO] [stderr] Downloaded winreg v0.50.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.38 [INFO] [stderr] Downloaded httparse v1.8.0 [INFO] [stderr] Downloaded hyper v0.14.27 [INFO] [stderr] Downloaded gimli v0.28.0 [INFO] [stderr] Downloaded num-rational v0.4.1 [INFO] [stderr] Downloaded num v0.4.1 [INFO] [stderr] Downloaded encoding_rs v0.8.33 [INFO] [stderr] Downloaded futures-util v0.3.29 [INFO] [stderr] Downloaded futures-channel v0.3.29 [INFO] [stderr] Downloaded ryu v1.0.15 [INFO] [stderr] Downloaded futures-io v0.3.29 [INFO] [stderr] Downloaded num-traits v0.2.17 [INFO] [stderr] Downloaded security-framework v2.9.2 [INFO] [stderr] Downloaded hashbrown v0.14.2 [INFO] [stderr] Downloaded serde_json v1.0.108 [INFO] [stderr] Downloaded mio v0.8.9 [INFO] [stderr] Downloaded url v2.4.1 [INFO] [stderr] Downloaded reqwest v0.11.22 [INFO] [stderr] Downloaded indexmap v2.1.0 [INFO] [stderr] Downloaded quote v1.0.33 [INFO] [stderr] Downloaded futures-core v0.3.29 [INFO] [stderr] Downloaded num-bigint v0.4.4 [INFO] [stderr] Downloaded tokio v1.34.0 [INFO] [stderr] Downloaded pkg-config v0.3.27 [INFO] [stderr] Downloaded futures-sink v0.3.29 [INFO] [stderr] Downloaded backtrace v0.3.69 [INFO] [stderr] Downloaded base64 v0.21.5 [INFO] [stderr] Downloaded memchr v2.6.4 [INFO] [stderr] Downloaded tokio-util v0.7.10 [INFO] [stderr] Downloaded linux-raw-sys v0.4.11 [INFO] [stderr] Downloaded cc v1.0.83 [INFO] [stderr] Downloaded tower-service v0.3.2 [INFO] [stderr] Downloaded futures-task v0.3.29 [INFO] [stderr] Downloaded serde_derive v1.0.193 [INFO] [stderr] Downloaded system-configuration-sys v0.5.0 [INFO] [stderr] Downloaded security-framework-sys v2.9.1 [INFO] [stderr] Downloaded errno v0.3.7 [INFO] [stderr] Downloaded hermit-abi v0.3.3 [INFO] [stderr] Downloaded pin-project-lite v0.2.13 [INFO] [stderr] Downloaded bumpalo v3.14.0 [INFO] [stderr] Downloaded once_cell v1.18.0 [INFO] [stderr] Downloaded syn v2.0.39 [INFO] [stderr] Downloaded wasm-bindgen v0.2.88 [INFO] [stderr] Downloaded percent-encoding v2.3.0 [INFO] [stderr] Downloaded js-sys v0.3.65 [INFO] [stderr] Downloaded proc-macro2 v1.0.69 [INFO] [stderr] Downloaded http-body v0.4.5 [INFO] [stderr] Downloaded fastrand v2.0.1 [INFO] [stderr] Downloaded tempfile v3.8.1 [INFO] [stderr] Downloaded miniz_oxide v0.7.1 [INFO] [stderr] Downloaded bytes v1.5.0 [INFO] [stderr] Downloaded socket2 v0.5.5 [INFO] [stderr] Downloaded idna v0.4.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.88 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.88 [INFO] [stderr] Downloaded http v0.2.11 [INFO] [stderr] Downloaded system-configuration v0.5.1 [INFO] [stderr] Downloaded openssl v0.10.61 [INFO] [stderr] Downloaded libc v0.2.150 [INFO] [stderr] Downloaded openssl-sys v0.9.97 [INFO] [stderr] Downloaded rustix v0.38.25 [INFO] [stderr] Downloaded web-sys v0.3.65 [INFO] [stderr] Downloaded serde v1.0.193 [INFO] [stderr] Downloaded object v0.32.1 [INFO] [stderr] Downloaded h2 v0.3.22 [INFO] [stderr] Downloaded itoa v1.0.9 [INFO] [stderr] Downloaded bitflags v2.4.1 [INFO] [stderr] Downloaded unicode-bidi v0.3.13 [INFO] [stderr] Downloaded unicode-normalization v0.1.22 [INFO] [stderr] Downloaded log v0.4.20 [INFO] [stderr] Downloaded form_urlencoded v1.2.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.88 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9eddd1cb35fdbdb37a5928e5862491ec6645fdab02910f6acf6d8b31aa8c7f46 [INFO] running `Command { std: "docker" "start" "-a" "9eddd1cb35fdbdb37a5928e5862491ec6645fdab02910f6acf6d8b31aa8c7f46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9eddd1cb35fdbdb37a5928e5862491ec6645fdab02910f6acf6d8b31aa8c7f46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eddd1cb35fdbdb37a5928e5862491ec6645fdab02910f6acf6d8b31aa8c7f46", kill_on_drop: false }` [INFO] [stdout] 9eddd1cb35fdbdb37a5928e5862491ec6645fdab02910f6acf6d8b31aa8c7f46 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b585cf739acd83c8333ea70610d683f39c30e1da81e663f7d08515aeedbb043 [INFO] running `Command { std: "docker" "start" "-a" "4b585cf739acd83c8333ea70610d683f39c30e1da81e663f7d08515aeedbb043", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling ipp-print v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `print_page` is never used [INFO] [stdout] --> src/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn print_page(raster_data: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IPPError` is never used [INFO] [stdout] --> src/ipp.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | pub enum IPPError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_buffer`, `byte_len`, and `write_to_stream` are never used [INFO] [stdout] --> src/ipp.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 144 | impl StringWithLanguage { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 145 | fn parse_buffer(buf: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn byte_len(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn write_to_stream(&self, writer: &mut W) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_buffer`, `byte_len`, and `write_to_stream` are never used [INFO] [stdout] --> src/ipp.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 210 | impl Resolution { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 211 | fn parse_buffer(buf: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | fn byte_len(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | fn write_to_stream(&self, writer: &mut W) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_buffer`, `byte_len`, and `write_to_stream` are never used [INFO] [stdout] --> src/ipp.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 260 | impl DateTime { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 261 | fn parse_buffer(buf: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | fn byte_len(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | fn write_to_stream(&self, writer: &mut W) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AttributeValue` is never used [INFO] [stdout] --> src/ipp.rs:309:10 [INFO] [stdout] | [INFO] [stdout] 309 | pub enum AttributeValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AttributeGroup` is never used [INFO] [stdout] --> src/ipp.rs:337:10 [INFO] [stdout] | [INFO] [stdout] 337 | pub type AttributeGroup = (DelimiterOrValueTag, Vec<(String, AttributeValue)>); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IPPRequest` is never constructed [INFO] [stdout] --> src/ipp.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | pub struct IPPRequest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `write_tag`, `write_u16`, `write_str_and_len`, `write_attr`, `write_attr_group`, and `write_to_stream` are never used [INFO] [stdout] --> src/ipp.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 349 | impl IPPRequest { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 350 | fn write_tag(writer: &mut W, tag: DelimiterOrValueTag) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | fn write_u16(writer: &mut W, val: u16) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | fn write_str_and_len(writer: &mut W, val: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | fn write_attr(writer: &mut W, name: &str, value: &AttributeValue) -> Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 568 | fn write_attr_group(&self, writer: &mut W) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 593 | pub fn write_to_stream(&self, writer: &mut W) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IPPResponse` is never constructed [INFO] [stdout] --> src/ipp.rs:623:12 [INFO] [stdout] | [INFO] [stdout] 623 | pub struct IPPResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `decode_attribute_value`, `parse_attribute`, `parse_tag`, `parse_collection`, `parse_attribute_group`, and `read_from_stream` are never used [INFO] [stdout] --> src/ipp.rs:633:8 [INFO] [stdout] | [INFO] [stdout] 632 | impl IPPResponse { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 633 | fn decode_attribute_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 768 | fn parse_attribute( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 803 | fn parse_tag(reader: &mut R) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 818 | fn parse_collection(reader: &mut R) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 864 | fn parse_attribute_group(reader: &mut R) -> Result, IPPError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 943 | pub fn read_from_stream(reader: &mut R) -> Result [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/ipp.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Eq, Clone, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PrinterOperation` [INFO] [stdout] 10 | #[allow(unused)] [INFO] [stdout] 11 | pub enum PrinterOperation { [INFO] [stdout] | ---------------- `PrinterOperation` 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/ipp.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Eq, Clone, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_PrinterOperation` [INFO] [stdout] 10 | #[allow(unused)] [INFO] [stdout] 11 | pub enum PrinterOperation { [INFO] [stdout] | ---------------- `PrinterOperation` 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/ipp.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Eq, Clone, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DelimiterOrValueTag` [INFO] [stdout] 31 | #[allow(unused)] [INFO] [stdout] 32 | pub enum DelimiterOrValueTag { [INFO] [stdout] | ------------------- `DelimiterOrValueTag` 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: 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/ipp.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Eq, Clone, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DelimiterOrValueTag` [INFO] [stdout] 31 | #[allow(unused)] [INFO] [stdout] 32 | pub enum DelimiterOrValueTag { [INFO] [stdout] | ------------------- `DelimiterOrValueTag` 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/ipp.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Eq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StatusCode` [INFO] [stdout] 70 | #[allow(unused)] [INFO] [stdout] 71 | pub enum StatusCode { [INFO] [stdout] | ---------- `StatusCode` 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: 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/ipp.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_StatusCode` [INFO] [stdout] 70 | #[allow(unused)] [INFO] [stdout] 71 | pub enum StatusCode { [INFO] [stdout] | ---------- `StatusCode` 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 1m 12s [INFO] running `Command { std: "docker" "inspect" "4b585cf739acd83c8333ea70610d683f39c30e1da81e663f7d08515aeedbb043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b585cf739acd83c8333ea70610d683f39c30e1da81e663f7d08515aeedbb043", kill_on_drop: false }` [INFO] [stdout] 4b585cf739acd83c8333ea70610d683f39c30e1da81e663f7d08515aeedbb043 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abe40c9e8b448016097fe95896c5f36b05b604f7b91cdaa01421e9013999dd5a [INFO] running `Command { std: "docker" "start" "-a" "abe40c9e8b448016097fe95896c5f36b05b604f7b91cdaa01421e9013999dd5a", kill_on_drop: false }` [INFO] [stderr] Compiling ipp-print v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `print_page` is never used [INFO] [stdout] --> src/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn print_page(raster_data: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `byte_len` and `write_to_stream` are never used [INFO] [stdout] --> src/ipp.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 144 | impl StringWithLanguage { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 168 | fn byte_len(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn write_to_stream(&self, writer: &mut W) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `byte_len` and `write_to_stream` are never used [INFO] [stdout] --> src/ipp.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 210 | impl Resolution { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 223 | fn byte_len(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | fn write_to_stream(&self, writer: &mut W) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `byte_len` and `write_to_stream` are never used [INFO] [stdout] --> src/ipp.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 260 | impl DateTime { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 279 | fn byte_len(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | fn write_to_stream(&self, writer: &mut W) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IPPRequest` is never constructed [INFO] [stdout] --> src/ipp.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | pub struct IPPRequest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `write_tag`, `write_u16`, `write_str_and_len`, `write_attr`, `write_attr_group`, and `write_to_stream` are never used [INFO] [stdout] --> src/ipp.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 349 | impl IPPRequest { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 350 | fn write_tag(writer: &mut W, tag: DelimiterOrValueTag) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | fn write_u16(writer: &mut W, val: u16) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | fn write_str_and_len(writer: &mut W, val: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | fn write_attr(writer: &mut W, name: &str, value: &AttributeValue) -> Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 568 | fn write_attr_group(&self, writer: &mut W) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 593 | pub fn write_to_stream(&self, writer: &mut W) -> Result [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/ipp.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Eq, Clone, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PrinterOperation` [INFO] [stdout] 10 | #[allow(unused)] [INFO] [stdout] 11 | pub enum PrinterOperation { [INFO] [stdout] | ---------------- `PrinterOperation` 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/ipp.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Eq, Clone, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_PrinterOperation` [INFO] [stdout] 10 | #[allow(unused)] [INFO] [stdout] 11 | pub enum PrinterOperation { [INFO] [stdout] | ---------------- `PrinterOperation` 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/ipp.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Eq, Clone, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DelimiterOrValueTag` [INFO] [stdout] 31 | #[allow(unused)] [INFO] [stdout] 32 | pub enum DelimiterOrValueTag { [INFO] [stdout] | ------------------- `DelimiterOrValueTag` 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: 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/ipp.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Eq, Clone, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DelimiterOrValueTag` [INFO] [stdout] 31 | #[allow(unused)] [INFO] [stdout] 32 | pub enum DelimiterOrValueTag { [INFO] [stdout] | ------------------- `DelimiterOrValueTag` 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/ipp.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Eq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StatusCode` [INFO] [stdout] 70 | #[allow(unused)] [INFO] [stdout] 71 | pub enum StatusCode { [INFO] [stdout] | ---------- `StatusCode` 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: 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/ipp.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, FromPrimitive, ToPrimitive, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_StatusCode` [INFO] [stdout] 70 | #[allow(unused)] [INFO] [stdout] 71 | pub enum StatusCode { [INFO] [stdout] | ---------- `StatusCode` 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 `test` profile [unoptimized + debuginfo] target(s) in 1.62s [INFO] running `Command { std: "docker" "inspect" "abe40c9e8b448016097fe95896c5f36b05b604f7b91cdaa01421e9013999dd5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abe40c9e8b448016097fe95896c5f36b05b604f7b91cdaa01421e9013999dd5a", kill_on_drop: false }` [INFO] [stdout] abe40c9e8b448016097fe95896c5f36b05b604f7b91cdaa01421e9013999dd5a