[INFO] fetching crate ledcat 0.2.0... [INFO] testing ledcat-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate ledcat 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate ledcat 0.2.0 [INFO] finished tweaking crates.io crate ledcat 0.2.0 [INFO] tweaked toml for crates.io crate ledcat 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ledcat 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ledcat 0.2.0 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b69ff6ada94d83a11765223c7397dcb8f292e02947ed803bb170415350989bf9 [INFO] running `Command { std: "docker" "start" "-a" "b69ff6ada94d83a11765223c7397dcb8f292e02947ed803bb170415350989bf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b69ff6ada94d83a11765223c7397dcb8f292e02947ed803bb170415350989bf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b69ff6ada94d83a11765223c7397dcb8f292e02947ed803bb170415350989bf9", kill_on_drop: false }` [INFO] [stdout] b69ff6ada94d83a11765223c7397dcb8f292e02947ed803bb170415350989bf9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4e78e6762a1b0d9e75f6a713bc5a3a24eb95716b29a5b9a72047b3357ff9b5e [INFO] running `Command { std: "docker" "start" "-a" "f4e78e6762a1b0d9e75f6a713bc5a3a24eb95716b29a5b9a72047b3357ff9b5e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling gpio v0.4.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling ledcat v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `written_frame_size` is never used [INFO] [stdout] --> src/device/mod.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub trait Device: Send { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 72 | fn written_frame_size(&self, num_pixels: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/driver/mod.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 - Io(io::Error), [INFO] [stdout] 36 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/driver/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | Nix(nix::Error), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 - Nix(nix::Error), [INFO] [stdout] 37 + Nix(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `clock_phase` is never read [INFO] [stdout] --> src/driver/spidev.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 20 | pub clock_polarity: u8, [INFO] [stdout] 21 | pub clock_phase: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device/artnet/target.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | fn addresses(&self) -> Cow<[net::SocketAddr]>; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device/artnet/target.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device/artnet/target.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device/artnet/target.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.41s [INFO] running `Command { std: "docker" "inspect" "f4e78e6762a1b0d9e75f6a713bc5a3a24eb95716b29a5b9a72047b3357ff9b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4e78e6762a1b0d9e75f6a713bc5a3a24eb95716b29a5b9a72047b3357ff9b5e", kill_on_drop: false }` [INFO] [stdout] f4e78e6762a1b0d9e75f6a713bc5a3a24eb95716b29a5b9a72047b3357ff9b5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8d7c62feab816d4c37f7984f8c9ac4f1c0da2268ff426e017004cc4aa1d0826 [INFO] running `Command { std: "docker" "start" "-a" "e8d7c62feab816d4c37f7984f8c9ac4f1c0da2268ff426e017004cc4aa1d0826", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling environment v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stdout] warning: method `written_frame_size` is never used [INFO] [stdout] --> src/device/mod.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub trait Device: Send { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 72 | fn written_frame_size(&self, num_pixels: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/driver/mod.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 - Io(io::Error), [INFO] [stdout] 36 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/driver/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | Nix(nix::Error), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 - Nix(nix::Error), [INFO] [stdout] 37 + Nix(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `clock_phase` is never read [INFO] [stdout] --> src/driver/spidev.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 20 | pub clock_polarity: u8, [INFO] [stdout] 21 | pub clock_phase: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device/artnet/target.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | fn addresses(&self) -> Cow<[net::SocketAddr]>; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device/artnet/target.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device/artnet/target.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device/artnet/target.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling assert_cli v0.6.3 [INFO] [stderr] Compiling ledcat v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `written_frame_size` is never used [INFO] [stdout] --> src/device/mod.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub trait Device: Send { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 72 | fn written_frame_size(&self, num_pixels: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/driver/mod.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 - Io(io::Error), [INFO] [stdout] 36 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/driver/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | Nix(nix::Error), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 - Nix(nix::Error), [INFO] [stdout] 37 + Nix(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `clock_phase` is never read [INFO] [stdout] --> src/driver/spidev.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 20 | pub clock_polarity: u8, [INFO] [stdout] 21 | pub clock_phase: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device/artnet/target.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | fn addresses(&self) -> Cow<[net::SocketAddr]>; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device/artnet/target.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device/artnet/target.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device/artnet/target.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 23.55s [INFO] running `Command { std: "docker" "inspect" "e8d7c62feab816d4c37f7984f8c9ac4f1c0da2268ff426e017004cc4aa1d0826", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8d7c62feab816d4c37f7984f8c9ac4f1c0da2268ff426e017004cc4aa1d0826", kill_on_drop: false }` [INFO] [stdout] e8d7c62feab816d4c37f7984f8c9ac4f1c0da2268ff426e017004cc4aa1d0826 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8ec30fc12a470bc735475a71a875a322370f52cc8b58825193b5b82c99d1e495 [INFO] running `Command { std: "docker" "start" "-a" "8ec30fc12a470bc735475a71a875a322370f52cc8b58825193b5b82c99d1e495", kill_on_drop: false }` [INFO] [stderr] warning: method `written_frame_size` is never used [INFO] [stderr] --> src/device/mod.rs:72:8 [INFO] [stderr] | [INFO] [stderr] 61 | pub trait Device: Send { [INFO] [stderr] | ------ method in this trait [INFO] [stderr] ... [INFO] [stderr] 72 | fn written_frame_size(&self, num_pixels: usize) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/driver/mod.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | Io(io::Error), [INFO] [stderr] | -- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 36 - Io(io::Error), [INFO] [stderr] 36 + Io(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/driver/mod.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | Nix(nix::Error), [INFO] [stderr] | --- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 37 - Nix(nix::Error), [INFO] [stderr] 37 + Nix(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `clock_phase` is never read [INFO] [stderr] --> src/driver/spidev.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Config { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 20 | pub clock_polarity: u8, [INFO] [stderr] 21 | pub clock_phase: u8, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/device/artnet/target.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 11 | fn addresses(&self) -> Cow<[net::SocketAddr]>; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 11 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/device/artnet/target.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 15 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 15 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/device/artnet/target.rs:23:18 [INFO] [stderr] | [INFO] [stderr] 23 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 23 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/device/artnet/target.rs:89:18 [INFO] [stderr] | [INFO] [stderr] 89 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 89 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `ledcat` (bin "ledcat" test) generated 8 warnings (run `cargo fix --bin "ledcat" --tests` to apply 4 suggestions) [INFO] [stderr] warning: `ledcat` (bin "ledcat") generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ledcat-8d220f7d088be5c6) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test input::geometry::tests::mirror_x ... ok [INFO] [stdout] test input::geometry::tests::mirror_y ... ok [INFO] [stdout] test input::geometry::tests::reverse ... ok [INFO] [stdout] test input::geometry::tests::transposition_list ... ok [INFO] [stdout] test input::geometry::tests::zigzag_y ... ok [INFO] [stdout] test input::geometry::tests::zigzag_x ... ok [INFO] [stdout] test input::geometry::tests::dimensions_size ... ok [INFO] [stdout] test input::select::tests::read_one_input ... ok [INFO] [stdout] test input::geometry::tests::dimensions_2d_parse ... ok [INFO] [stdout] test input::select::tests::read_unix_fifo ... ok [INFO] [stdout] test input::geometry::tests::dimensions_1d_parse ... ok [INFO] [stdout] test input::select::tests::read_all_eof ... ok [INFO] [stdout] test input::select::tests::read_multiple_inputs_order ... ok [INFO] [stdout] test input::select::tests::read_single_eof ... ok [INFO] [stdout] test input::select::tests::read_eof_retry - should panic ... ok [INFO] [stdout] test input::select::tests::clear_timeout ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stderr] Running tests/integration.rs (/opt/rustwide/target/debug/deps/integration-e798349e554d166b) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test calling_without_args ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8ec30fc12a470bc735475a71a875a322370f52cc8b58825193b5b82c99d1e495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ec30fc12a470bc735475a71a875a322370f52cc8b58825193b5b82c99d1e495", kill_on_drop: false }` [INFO] [stdout] 8ec30fc12a470bc735475a71a875a322370f52cc8b58825193b5b82c99d1e495