[INFO] fetching crate ledcat 0.2.0... [INFO] testing ledcat-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate ledcat 0.2.0 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ledcat 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clang-sys v1.0.0 [INFO] [stderr] Downloaded gpio v0.4.1 [INFO] [stderr] Downloaded librgbmatrix-sys v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4c6caef27f4588aac6dd63f845e3aab74933cc7c6e11718ab57818ec64a0cce [INFO] running `Command { std: "docker" "start" "-a" "d4c6caef27f4588aac6dd63f845e3aab74933cc7c6e11718ab57818ec64a0cce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4c6caef27f4588aac6dd63f845e3aab74933cc7c6e11718ab57818ec64a0cce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4c6caef27f4588aac6dd63f845e3aab74933cc7c6e11718ab57818ec64a0cce", kill_on_drop: false }` [INFO] [stdout] d4c6caef27f4588aac6dd63f845e3aab74933cc7c6e11718ab57818ec64a0cce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ac29b3b2cea03f83a28a102f3f838668e6a65bf25c9f03a6ce2e91c05134a194 [INFO] running `Command { std: "docker" "start" "-a" "ac29b3b2cea03f83a28a102f3f838668e6a65bf25c9f03a6ce2e91c05134a194", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling gpio v0.4.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling regex v1.5.5 [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)]` 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 `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/device/artnet/target.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | fn addresses(&self) -> Cow<[net::SocketAddr]>; [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 11 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/device/artnet/target.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 15 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/device/artnet/target.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 23 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/device/artnet/target.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 8.12s [INFO] running `Command { std: "docker" "inspect" "ac29b3b2cea03f83a28a102f3f838668e6a65bf25c9f03a6ce2e91c05134a194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac29b3b2cea03f83a28a102f3f838668e6a65bf25c9f03a6ce2e91c05134a194", kill_on_drop: false }` [INFO] [stdout] ac29b3b2cea03f83a28a102f3f838668e6a65bf25c9f03a6ce2e91c05134a194 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a2be667786e9004ff2bcb736fd102cf64582e99b0303c3abdc9a107cfa338c3e [INFO] running `Command { std: "docker" "start" "-a" "a2be667786e9004ff2bcb736fd102cf64582e99b0303c3abdc9a107cfa338c3e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling environment v0.1.1 [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)]` 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 `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/device/artnet/target.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | fn addresses(&self) -> Cow<[net::SocketAddr]>; [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 11 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/device/artnet/target.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 15 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/device/artnet/target.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 23 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/device/artnet/target.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 89 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [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)]` 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 `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/device/artnet/target.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | fn addresses(&self) -> Cow<[net::SocketAddr]>; [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 11 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/device/artnet/target.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 15 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/device/artnet/target.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 23 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/device/artnet/target.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 11.00s [INFO] running `Command { std: "docker" "inspect" "a2be667786e9004ff2bcb736fd102cf64582e99b0303c3abdc9a107cfa338c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2be667786e9004ff2bcb736fd102cf64582e99b0303c3abdc9a107cfa338c3e", kill_on_drop: false }` [INFO] [stdout] a2be667786e9004ff2bcb736fd102cf64582e99b0303c3abdc9a107cfa338c3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7f7fef1ce09c03fa7cd458037db637e44b8a293e829587ea3fc2a67e8ce5b1b9 [INFO] running `Command { std: "docker" "start" "-a" "7f7fef1ce09c03fa7cd458037db637e44b8a293e829587ea3fc2a67e8ce5b1b9", 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)]` 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 `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/device/artnet/target.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 11 | fn addresses(&self) -> Cow<[net::SocketAddr]>; [INFO] [stderr] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 11 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/device/artnet/target.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 15 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stderr] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 15 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/device/artnet/target.rs:23:18 [INFO] [stderr] | [INFO] [stderr] 23 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stderr] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 23 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/device/artnet/target.rs:89:18 [INFO] [stderr] | [INFO] [stderr] 89 | fn addresses(&self) -> Cow<[net::SocketAddr]> { [INFO] [stderr] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 89 | fn addresses(&self) -> Cow<'_, [net::SocketAddr]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `ledcat` (bin "ledcat") generated 8 warnings (run `cargo fix --bin "ledcat"` to apply 4 suggestions) [INFO] [stderr] warning: `ledcat` (bin "ledcat" test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ledcat-a975d2c43641d7ae) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test input::geometry::tests::mirror_y ... ok [INFO] [stdout] test input::geometry::tests::reverse ... ok [INFO] [stdout] test input::geometry::tests::mirror_x ... ok [INFO] [stdout] test input::geometry::tests::dimensions_size ... 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::transposition_list ... ok [INFO] [stdout] test input::select::tests::read_all_eof ... ok [INFO] [stdout] test input::select::tests::read_one_input ... ok [INFO] [stdout] test input::select::tests::read_unix_fifo ... ok [INFO] [stdout] test input::select::tests::read_multiple_inputs_order ... ok [INFO] [stdout] test input::geometry::tests::dimensions_2d_parse ... ok [INFO] [stdout] test input::geometry::tests::dimensions_1d_parse ... 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/x86_64-unknown-linux-musl/debug/deps/integration-56bda96efa85f264) [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 8.93s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7f7fef1ce09c03fa7cd458037db637e44b8a293e829587ea3fc2a67e8ce5b1b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f7fef1ce09c03fa7cd458037db637e44b8a293e829587ea3fc2a67e8ce5b1b9", kill_on_drop: false }` [INFO] [stdout] 7f7fef1ce09c03fa7cd458037db637e44b8a293e829587ea3fc2a67e8ce5b1b9