[INFO] cloning repository https://github.com/rivques/flame_decoration_simulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rivques/flame_decoration_simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frivques%2Fflame_decoration_simulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frivques%2Fflame_decoration_simulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7df1ba1b83fe829dc3023a3ec192812294ee1e6a [INFO] building rivques/flame_decoration_simulator against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frivques%2Fflame_decoration_simulator" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rivques/flame_decoration_simulator [INFO] finished tweaking git repo https://github.com/rivques/flame_decoration_simulator [INFO] tweaked toml for git repo https://github.com/rivques/flame_decoration_simulator written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rivques/flame_decoration_simulator 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/rivques/flame_decoration_simulator 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 882b9226df3842454dff353d041a5ac80e692e1d76699f9ef6a9eeb99e2ae4db [INFO] running `Command { std: "docker" "start" "-a" "882b9226df3842454dff353d041a5ac80e692e1d76699f9ef6a9eeb99e2ae4db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "882b9226df3842454dff353d041a5ac80e692e1d76699f9ef6a9eeb99e2ae4db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "882b9226df3842454dff353d041a5ac80e692e1d76699f9ef6a9eeb99e2ae4db", kill_on_drop: false }` [INFO] [stdout] 882b9226df3842454dff353d041a5ac80e692e1d76699f9ef6a9eeb99e2ae4db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 428b5b0018596c00a27b8c685921150fa4b9d46e4023e7c96429cf71b572180e [INFO] running `Command { std: "docker" "start" "-a" "428b5b0018596c00a27b8c685921150fa4b9d46e4023e7c96429cf71b572180e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cc v1.2.5 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling compact_str v0.8.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling instability v0.3.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling flame_decoration_simulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `env::args` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env::args, thread}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace_dbg` [INFO] [stdout] --> src/simulations/height_flicker.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{trace_dbg, types::{Simulation, LED, RGB}}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/simulations/height_flicker.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let distance = (led.coords.1 as f32 - self.current_height * self.pattern_height); // how far the LED is from the pattern [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - let distance = (led.coords.1 as f32 - self.current_height * self.pattern_height); // how far the LED is from the pattern [INFO] [stdout] 45 + let distance = led.coords.1 as f32 - self.current_height * self.pattern_height; // how far the LED is from the pattern [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace_dbg` [INFO] [stdout] --> src/simulations/candle_colored.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{trace_dbg, types::{Simulation, LED, RGB}}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/simulations/candle_colored.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | let val = if vert_pct <= 1.0 {1.0} else {(-vert_pct * 20.0 + 21.0)}; // fade out sharply if above top of flame [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - let val = if vert_pct <= 1.0 {1.0} else {(-vert_pct * 20.0 + 21.0)}; // fade out sharply if above top of flame [INFO] [stdout] 57 + let val = if vert_pct <= 1.0 {1.0} else {-vert_pct * 20.0 + 21.0}; // fade out sharply if above top of flame [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/logging.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use color_eyre::eyre::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::error` [INFO] [stdout] --> src/logging.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/simulations/height_flicker.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | for (i, led) in leds.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlwaysOnSim` is never constructed [INFO] [stdout] --> src/simulations/always_on_sim.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AlwaysOnSim; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.99s [INFO] running `Command { std: "docker" "inspect" "428b5b0018596c00a27b8c685921150fa4b9d46e4023e7c96429cf71b572180e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "428b5b0018596c00a27b8c685921150fa4b9d46e4023e7c96429cf71b572180e", kill_on_drop: false }` [INFO] [stdout] 428b5b0018596c00a27b8c685921150fa4b9d46e4023e7c96429cf71b572180e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 308cff83bcfac67cb0948e91df548a0b362b92baf5115176110cd53ff4c039ec [INFO] running `Command { std: "docker" "start" "-a" "308cff83bcfac67cb0948e91df548a0b362b92baf5115176110cd53ff4c039ec", kill_on_drop: false }` [INFO] [stderr] Compiling flame_decoration_simulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `env::args` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env::args, thread}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace_dbg` [INFO] [stdout] --> src/simulations/height_flicker.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{trace_dbg, types::{Simulation, LED, RGB}}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/simulations/height_flicker.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let distance = (led.coords.1 as f32 - self.current_height * self.pattern_height); // how far the LED is from the pattern [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - let distance = (led.coords.1 as f32 - self.current_height * self.pattern_height); // how far the LED is from the pattern [INFO] [stdout] 45 + let distance = led.coords.1 as f32 - self.current_height * self.pattern_height; // how far the LED is from the pattern [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace_dbg` [INFO] [stdout] --> src/simulations/candle_colored.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{trace_dbg, types::{Simulation, LED, RGB}}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/simulations/candle_colored.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | let val = if vert_pct <= 1.0 {1.0} else {(-vert_pct * 20.0 + 21.0)}; // fade out sharply if above top of flame [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - let val = if vert_pct <= 1.0 {1.0} else {(-vert_pct * 20.0 + 21.0)}; // fade out sharply if above top of flame [INFO] [stdout] 57 + let val = if vert_pct <= 1.0 {1.0} else {-vert_pct * 20.0 + 21.0}; // fade out sharply if above top of flame [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/logging.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use color_eyre::eyre::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::error` [INFO] [stdout] --> src/logging.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/simulations/height_flicker.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | for (i, led) in leds.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlwaysOnSim` is never constructed [INFO] [stdout] --> src/simulations/always_on_sim.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AlwaysOnSim; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.75s [INFO] running `Command { std: "docker" "inspect" "308cff83bcfac67cb0948e91df548a0b362b92baf5115176110cd53ff4c039ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "308cff83bcfac67cb0948e91df548a0b362b92baf5115176110cd53ff4c039ec", kill_on_drop: false }` [INFO] [stdout] 308cff83bcfac67cb0948e91df548a0b362b92baf5115176110cd53ff4c039ec