[INFO] fetching crate CLAAR 0.3.0... [INFO] checking CLAAR-0.3.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate CLAAR 0.3.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate CLAAR 0.3.0 [INFO] finished tweaking crates.io crate CLAAR 0.3.0 [INFO] tweaked toml for crates.io crate CLAAR 0.3.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate CLAAR 0.3.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate CLAAR 0.3.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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01497748e6405bcded585769702c38599b773ac35ca7ca767384f5b3bc08ba3a [INFO] running `Command { std: "docker" "start" "-a" "01497748e6405bcded585769702c38599b773ac35ca7ca767384f5b3bc08ba3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01497748e6405bcded585769702c38599b773ac35ca7ca767384f5b3bc08ba3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01497748e6405bcded585769702c38599b773ac35ca7ca767384f5b3bc08ba3a", kill_on_drop: false }` [INFO] [stdout] 01497748e6405bcded585769702c38599b773ac35ca7ca767384f5b3bc08ba3a [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f60b586914f80dbe09acdb1cc5a221cff2a038c551329b1f3b60829332d8cf4 [INFO] running `Command { std: "docker" "start" "-a" "1f60b586914f80dbe09acdb1cc5a221cff2a038c551329b1f3b60829332d8cf4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking float-cmp v0.10.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking terminal_size v0.4.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking CLAAR v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Color` and `CustomColor` [INFO] [stdout] --> src/framebuffer.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::{Color, Colorize, CustomColor}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Height` and `Width` [INFO] [stdout] --> src/framebuffer.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use terminal_size::{Width, Height, terminal_size}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/framebuffer.rs:120:6 [INFO] [stdout] | [INFO] [stdout] 120 | if (prev_tile == Tile::new(0_f64, 0_f64, 0_f64, prev_tile.a)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - if (prev_tile == Tile::new(0_f64, 0_f64, 0_f64, prev_tile.a)) [INFO] [stdout] 120 + if prev_tile == Tile::new(0_f64, 0_f64, 0_f64, prev_tile.a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/framebuffer.rs:199:26 [INFO] [stdout] | [INFO] [stdout] 199 | tile.a = (num_valid_divs as f64 / (NUM_DIVS * NUM_DIVS) as f64); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 199 - tile.a = (num_valid_divs as f64 / (NUM_DIVS * NUM_DIVS) as f64); [INFO] [stdout] 199 + tile.a = num_valid_divs as f64 / (NUM_DIVS * NUM_DIVS) as f64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `CustomColor` [INFO] [stdout] --> src/primatives.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use colored::{Color, CustomColor}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::framebuffer::FrameBuffer` [INFO] [stdout] --> src/primatives.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::framebuffer::FrameBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::framebuffer::Tile` [INFO] [stdout] --> src/primatives.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::framebuffer::Tile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/primatives.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | if (line_point_two.x == line_point_one.x) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - if (line_point_two.x == line_point_one.x) [INFO] [stdout] 29 + if line_point_two.x == line_point_one.x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `CustomColor` [INFO] [stdout] --> src/framebuffer.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::{Color, Colorize, CustomColor}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Height` and `Width` [INFO] [stdout] --> src/framebuffer.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use terminal_size::{Width, Height, terminal_size}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/framebuffer.rs:120:6 [INFO] [stdout] | [INFO] [stdout] 120 | if (prev_tile == Tile::new(0_f64, 0_f64, 0_f64, prev_tile.a)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - if (prev_tile == Tile::new(0_f64, 0_f64, 0_f64, prev_tile.a)) [INFO] [stdout] 120 + if prev_tile == Tile::new(0_f64, 0_f64, 0_f64, prev_tile.a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/framebuffer.rs:199:26 [INFO] [stdout] | [INFO] [stdout] 199 | tile.a = (num_valid_divs as f64 / (NUM_DIVS * NUM_DIVS) as f64); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 199 - tile.a = (num_valid_divs as f64 / (NUM_DIVS * NUM_DIVS) as f64); [INFO] [stdout] 199 + tile.a = num_valid_divs as f64 / (NUM_DIVS * NUM_DIVS) as f64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `CustomColor` [INFO] [stdout] --> src/primatives.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use colored::{Color, CustomColor}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::framebuffer::FrameBuffer` [INFO] [stdout] --> src/primatives.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::framebuffer::FrameBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::framebuffer::Tile` [INFO] [stdout] --> src/primatives.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::framebuffer::Tile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/primatives.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | if (line_point_two.x == line_point_one.x) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - if (line_point_two.x == line_point_one.x) [INFO] [stdout] 29 + if line_point_two.x == line_point_one.x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `CLAAR` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `claar` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Colorize` and `CustomColor` [INFO] [stdout] --> src/main.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use colored::{Colorize, CustomColor}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use CLAAR::framebuffer::{self, FrameBuffer, Tile}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Colorize` and `CustomColor` [INFO] [stdout] --> src/main.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use colored::{Colorize, CustomColor}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use CLAAR::framebuffer::{self, FrameBuffer, Tile}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:151:2 [INFO] [stdout] | [INFO] [stdout] 129 | / loop [INFO] [stdout] 130 | | { [INFO] [stdout] 131 | | main_buffer.draw_triangle(&upper_left); [INFO] [stdout] 132 | | main_buffer.draw_triangle(&lower_right); [INFO] [stdout] ... | [INFO] [stdout] 148 | | main_buffer.clear_buffer(); [INFO] [stdout] 149 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 150 | [INFO] [stdout] 151 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `time` is assigned to, but never used [INFO] [stdout] --> src/main.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let mut time : f64 = 0_f64; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_time` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `norm_cos` is never used [INFO] [stdout] --> src/main.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn norm_cos(theta : f64) -> f64 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:151:2 [INFO] [stdout] | [INFO] [stdout] 129 | / loop [INFO] [stdout] 130 | | { [INFO] [stdout] 131 | | main_buffer.draw_triangle(&upper_left); [INFO] [stdout] 132 | | main_buffer.draw_triangle(&lower_right); [INFO] [stdout] ... | [INFO] [stdout] 148 | | main_buffer.clear_buffer(); [INFO] [stdout] 149 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 150 | [INFO] [stdout] 151 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `time` is assigned to, but never used [INFO] [stdout] --> src/main.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let mut time : f64 = 0_f64; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_time` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `norm_cos` is never used [INFO] [stdout] --> src/main.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn norm_cos(theta : f64) -> f64 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.93s [INFO] running `Command { std: "docker" "inspect" "1f60b586914f80dbe09acdb1cc5a221cff2a038c551329b1f3b60829332d8cf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f60b586914f80dbe09acdb1cc5a221cff2a038c551329b1f3b60829332d8cf4", kill_on_drop: false }` [INFO] [stdout] 1f60b586914f80dbe09acdb1cc5a221cff2a038c551329b1f3b60829332d8cf4