[INFO] cloning repository https://github.com/wi-wq/lifx-tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wi-wq/lifx-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwi-wq%2Flifx-tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwi-wq%2Flifx-tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e332e7099ebc44e4f687ed3b9dd29993c3ef245f [INFO] checking wi-wq/lifx-tool against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwi-wq%2Flifx-tool" "/workspace/builds/worker-44/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-44/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wi-wq/lifx-tool on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wi-wq/lifx-tool [INFO] finished tweaking git repo https://github.com/wi-wq/lifx-tool [INFO] tweaked toml for git repo https://github.com/wi-wq/lifx-tool written to /workspace/builds/worker-44/source/Cargo.toml [INFO] crate git repo https://github.com/wi-wq/lifx-tool already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lifx-core v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4a91d6b26a30b50f256fa9589c29a156b195fe048ed087f8d17c843d7e3a8c1 [INFO] running `Command { std: "docker" "start" "-a" "d4a91d6b26a30b50f256fa9589c29a156b195fe048ed087f8d17c843d7e3a8c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4a91d6b26a30b50f256fa9589c29a156b195fe048ed087f8d17c843d7e3a8c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4a91d6b26a30b50f256fa9589c29a156b195fe048ed087f8d17c843d7e3a8c1", kill_on_drop: false }` [INFO] [stdout] d4a91d6b26a30b50f256fa9589c29a156b195fe048ed087f8d17c843d7e3a8c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41d3184accd7c4a8705f26ee8264f9ac6d80b36fbb4f7613ea03688660d70327 [INFO] running `Command { std: "docker" "start" "-a" "41d3184accd7c4a8705f26ee8264f9ac6d80b36fbb4f7613ea03688660d70327", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking simplelog v0.9.0 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking lifx-core v0.2.0 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking lifx-tool v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (3 fixes) [INFO] [stdout] warning: associated constant is never used: `KELVIN_MIN` [INFO] [stdout] --> src/packing/types.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub const KELVIN_MIN: u16 = 2500; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `KELVIN_MAX` [INFO] [stdout] --> src/packing/types.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub const KELVIN_MAX: u16 = 9000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `HUE_MAX` [INFO] [stdout] --> src/packing/types.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub const HUE_MAX: f64 = 360.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/packing/types.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(h: f64, s: u16, b: u16, k: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_hsvk` [INFO] [stdout] --> src/packing/types.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn from_hsvk(h: f64, s: f64, v: f64, k: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_rgbk` [INFO] [stdout] --> src/packing/types.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn from_rgbk(r: f64, g: f64, b: f64, k: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clamp` [INFO] [stdout] --> src/util.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn clamp(x: T, lo: T, hi: T) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `max3` [INFO] [stdout] --> src/util.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn max3(a: T, b: T, c: T) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `min3` [INFO] [stdout] --> src/util.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn min3(a: T, b: T, c: T) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/packing/types.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(h: f64, s: u16, b: u16, k: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_rgbk` [INFO] [stdout] --> src/packing/types.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn from_rgbk(r: f64, g: f64, b: f64, k: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `max3` [INFO] [stdout] --> src/util.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn max3(a: T, b: T, c: T) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `min3` [INFO] [stdout] --> src/util.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn min3(a: T, b: T, c: T) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.93s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking lifx-tool v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: associated constant is never used: `KELVIN_MIN` [INFO] [stdout] --> src/packing/types.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub const KELVIN_MIN: u16 = 2500; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `KELVIN_MAX` [INFO] [stdout] --> src/packing/types.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub const KELVIN_MAX: u16 = 9000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `HUE_MAX` [INFO] [stdout] --> src/packing/types.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub const HUE_MAX: f64 = 360.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/packing/types.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(h: f64, s: u16, b: u16, k: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_hsvk` [INFO] [stdout] --> src/packing/types.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn from_hsvk(h: f64, s: f64, v: f64, k: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_rgbk` [INFO] [stdout] --> src/packing/types.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn from_rgbk(r: f64, g: f64, b: f64, k: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clamp` [INFO] [stdout] --> src/util.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn clamp(x: T, lo: T, hi: T) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `max3` [INFO] [stdout] --> src/util.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn max3(a: T, b: T, c: T) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `min3` [INFO] [stdout] --> src/util.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn min3(a: T, b: T, c: T) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/packing/types.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(h: f64, s: u16, b: u16, k: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_rgbk` [INFO] [stdout] --> src/packing/types.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn from_rgbk(r: f64, g: f64, b: f64, k: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `max3` [INFO] [stdout] --> src/util.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn max3(a: T, b: T, c: T) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `min3` [INFO] [stdout] --> src/util.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn min3(a: T, b: T, c: T) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.72s [INFO] running `Command { std: "docker" "inspect" "41d3184accd7c4a8705f26ee8264f9ac6d80b36fbb4f7613ea03688660d70327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41d3184accd7c4a8705f26ee8264f9ac6d80b36fbb4f7613ea03688660d70327", kill_on_drop: false }` [INFO] [stdout] 41d3184accd7c4a8705f26ee8264f9ac6d80b36fbb4f7613ea03688660d70327