[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#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkofuk%2Fipp-print" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kofuk/ipp-print on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf0fc1310209bdebfff815b9f2cd8caf5ae378d9ab6fde83845a30719e5af4ca [INFO] running `Command { std: "docker" "start" "-a" "bf0fc1310209bdebfff815b9f2cd8caf5ae378d9ab6fde83845a30719e5af4ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf0fc1310209bdebfff815b9f2cd8caf5ae378d9ab6fde83845a30719e5af4ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf0fc1310209bdebfff815b9f2cd8caf5ae378d9ab6fde83845a30719e5af4ca", kill_on_drop: false }` [INFO] [stdout] bf0fc1310209bdebfff815b9f2cd8caf5ae378d9ab6fde83845a30719e5af4ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27a8e166e329b15518b9222056b9855a63cdb9c8e44c7a60a2c5ae3ed4431915 [INFO] running `Command { std: "docker" "start" "-a" "27a8e166e329b15518b9222056b9855a63cdb9c8e44c7a60a2c5ae3ed4431915", kill_on_drop: false }` [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling serde v1.0.193 [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 num-complex v0.4.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [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 30.26s [INFO] running `Command { std: "docker" "inspect" "27a8e166e329b15518b9222056b9855a63cdb9c8e44c7a60a2c5ae3ed4431915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27a8e166e329b15518b9222056b9855a63cdb9c8e44c7a60a2c5ae3ed4431915", kill_on_drop: false }` [INFO] [stdout] 27a8e166e329b15518b9222056b9855a63cdb9c8e44c7a60a2c5ae3ed4431915 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10064f683337649d5655a5e74738a52e8aef8463367a3ef35eba63d0a2933300 [INFO] running `Command { std: "docker" "start" "-a" "10064f683337649d5655a5e74738a52e8aef8463367a3ef35eba63d0a2933300", 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: 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: 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: 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: 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: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.33s [INFO] running `Command { std: "docker" "inspect" "10064f683337649d5655a5e74738a52e8aef8463367a3ef35eba63d0a2933300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10064f683337649d5655a5e74738a52e8aef8463367a3ef35eba63d0a2933300", kill_on_drop: false }` [INFO] [stdout] 10064f683337649d5655a5e74738a52e8aef8463367a3ef35eba63d0a2933300