[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 try#4987e9d4227139400384ab59296ffee3b0fb1183 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kofuk/ipp-print on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99664e510d1e1da121180a0b709be4b9c21e01c3c74a77cfffe990f5ea52b671 [INFO] running `Command { std: "docker" "start" "-a" "99664e510d1e1da121180a0b709be4b9c21e01c3c74a77cfffe990f5ea52b671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99664e510d1e1da121180a0b709be4b9c21e01c3c74a77cfffe990f5ea52b671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99664e510d1e1da121180a0b709be4b9c21e01c3c74a77cfffe990f5ea52b671", kill_on_drop: false }` [INFO] [stdout] 99664e510d1e1da121180a0b709be4b9c21e01c3c74a77cfffe990f5ea52b671 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95418f43f415224a31147c74012219c0d1053e358496459fef7d4a98c12739ed [INFO] running `Command { std: "docker" "start" "-a" "95418f43f415224a31147c74012219c0d1053e358496459fef7d4a98c12739ed", 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 pkg-config v0.3.27 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling tinyvec v1.6.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 indexmap v2.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling serde v1.0.193 [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 unicode-bidi v0.3.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling idna v0.4.0 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling base64 v0.21.5 [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 num-derive v0.3.3 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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: 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: 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: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 17s [INFO] running `Command { std: "docker" "inspect" "95418f43f415224a31147c74012219c0d1053e358496459fef7d4a98c12739ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95418f43f415224a31147c74012219c0d1053e358496459fef7d4a98c12739ed", kill_on_drop: false }` [INFO] [stdout] 95418f43f415224a31147c74012219c0d1053e358496459fef7d4a98c12739ed [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 161462c37da4322daa52248ec9aedaec7a9bdaf7257445c8362edf869ab74614 [INFO] running `Command { std: "docker" "start" "-a" "161462c37da4322daa52248ec9aedaec7a9bdaf7257445c8362edf869ab74614", 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: 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] [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.80s [INFO] running `Command { std: "docker" "inspect" "161462c37da4322daa52248ec9aedaec7a9bdaf7257445c8362edf869ab74614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "161462c37da4322daa52248ec9aedaec7a9bdaf7257445c8362edf869ab74614", kill_on_drop: false }` [INFO] [stdout] 161462c37da4322daa52248ec9aedaec7a9bdaf7257445c8362edf869ab74614