[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 master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rivques/flame_decoration_simulator on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded directories v5.0.1 [INFO] [stderr] Downloaded cc v1.2.5 [INFO] [stderr] Downloaded compact_str v0.8.0 [INFO] [stderr] Downloaded syn v2.0.91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 277f4c8ed8ef2bd0a16a63d3107a632776fce322f33829dba7ff97ccf7357c0e [INFO] running `Command { std: "docker" "start" "-a" "277f4c8ed8ef2bd0a16a63d3107a632776fce322f33829dba7ff97ccf7357c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "277f4c8ed8ef2bd0a16a63d3107a632776fce322f33829dba7ff97ccf7357c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "277f4c8ed8ef2bd0a16a63d3107a632776fce322f33829dba7ff97ccf7357c0e", kill_on_drop: false }` [INFO] [stdout] 277f4c8ed8ef2bd0a16a63d3107a632776fce322f33829dba7ff97ccf7357c0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23b90b089803f62abec95b1d421961bc2255ff31c152d9e514c8fb115c22fbb2 [INFO] running `Command { std: "docker" "start" "-a" "23b90b089803f62abec95b1d421961bc2255ff31c152d9e514c8fb115c22fbb2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling cc v1.2.5 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling compact_str v0.8.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [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 directories v5.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.10 [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 ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling instability v0.3.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui v0.29.0 [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 30.35s [INFO] running `Command { std: "docker" "inspect" "23b90b089803f62abec95b1d421961bc2255ff31c152d9e514c8fb115c22fbb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23b90b089803f62abec95b1d421961bc2255ff31c152d9e514c8fb115c22fbb2", kill_on_drop: false }` [INFO] [stdout] 23b90b089803f62abec95b1d421961bc2255ff31c152d9e514c8fb115c22fbb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e6386c6cbcaa2fa8c84d1a9715c544e26260b5205e9cbab5a12fba36c7751d5 [INFO] running `Command { std: "docker" "start" "-a" "2e6386c6cbcaa2fa8c84d1a9715c544e26260b5205e9cbab5a12fba36c7751d5", 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 1.04s [INFO] running `Command { std: "docker" "inspect" "2e6386c6cbcaa2fa8c84d1a9715c544e26260b5205e9cbab5a12fba36c7751d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e6386c6cbcaa2fa8c84d1a9715c544e26260b5205e9cbab5a12fba36c7751d5", kill_on_drop: false }` [INFO] [stdout] 2e6386c6cbcaa2fa8c84d1a9715c544e26260b5205e9cbab5a12fba36c7751d5