[INFO] cloning repository https://github.com/tismajo/CC2018-PRY2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tismajo/CC2018-PRY2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftismajo%2FCC2018-PRY2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftismajo%2FCC2018-PRY2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] efd4cacb16d768583645b0ac289960733ab0c9dc [INFO] checking tismajo/CC2018-PRY2 against try#7424ce9ff9baac3e9d9f5dd3c85828cddea0134d for pr-136776-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftismajo%2FCC2018-PRY2" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tismajo/CC2018-PRY2 [INFO] finished tweaking git repo https://github.com/tismajo/CC2018-PRY2 [INFO] tweaked toml for git repo https://github.com/tismajo/CC2018-PRY2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tismajo/CC2018-PRY2 on toolchain 7424ce9ff9baac3e9d9f5dd3c85828cddea0134d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tismajo/CC2018-PRY2 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" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "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 prettyplease v0.2.36 [INFO] [stderr] Downloaded seq-macro v0.3.6 [INFO] [stderr] Downloaded cc v1.2.30 [INFO] [stderr] Downloaded raylib v5.5.1 [INFO] [stderr] Downloaded raylib-sys v5.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f077f0d42e5db2eaa6145af123b7a46c5b08e7f73b6e8891e259dbb868d902d1 [INFO] running `Command { std: "docker" "start" "-a" "f077f0d42e5db2eaa6145af123b7a46c5b08e7f73b6e8891e259dbb868d902d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f077f0d42e5db2eaa6145af123b7a46c5b08e7f73b6e8891e259dbb868d902d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f077f0d42e5db2eaa6145af123b7a46c5b08e7f73b6e8891e259dbb868d902d1", kill_on_drop: false }` [INFO] [stdout] f077f0d42e5db2eaa6145af123b7a46c5b08e7f73b6e8891e259dbb868d902d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3ff758a6cf7c8f8ce876692c180f8aea1211622ca3ea1b9074729172f11e6b4 [INFO] running `Command { std: "docker" "start" "-a" "e3ff758a6cf7c8f8ce876692c180f8aea1211622ca3ea1b9074729172f11e6b4", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling raylib-sys v5.5.1 [INFO] [stderr] Checking raylib v5.5.1 [INFO] [stderr] Checking CC2018-Project1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/triangle.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let denom = ((p1.y - p2.y) * (p0.x - p2.x) + (p2.x - p1.x) * (p0.y - p2.y)); [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] 54 - let denom = ((p1.y - p2.y) * (p0.x - p2.x) + (p2.x - p1.x) * (p0.y - p2.y)); [INFO] [stdout] 54 + let denom = (p1.y - p2.y) * (p0.x - p2.x) + (p2.x - p1.x) * (p0.y - p2.y) ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/triangle.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let denom = ((p1.y - p2.y) * (p0.x - p2.x) + (p2.x - p1.x) * (p0.y - p2.y)); [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] 54 - let denom = ((p1.y - p2.y) * (p0.x - p2.x) + (p2.x - p1.x) * (p0.y - p2.y)); [INFO] [stdout] 54 + let denom = (p1.y - p2.y) * (p0.x - p2.x) + (p2.x - p1.x) * (p0.y - p2.y) ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | let mut y = v.y * scale; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | let mut y = v.y * scale; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_color` is never read [INFO] [stdout] --> src/framebuffer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Framebuffer { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | current_color: Color, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_color` is never read [INFO] [stdout] --> src/framebuffer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Framebuffer { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | current_color: Color, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_current_color`, `set_background_color`, `set_pixel`, `set_pixel_depth`, and `render_to_file` are never used [INFO] [stdout] --> src/framebuffer.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Framebuffer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn set_current_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn set_background_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn set_pixel(&mut self, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn set_pixel_depth(&mut self, x: i32, y: i32, depth: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn render_to_file(&self, path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line` is never used [INFO] [stdout] --> src/line.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn line(framebuffer: &mut Framebuffer, start: Vector2, end: Vector2) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_polygon` is never used [INFO] [stdout] --> src/line.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn draw_polygon(framebuffer: &mut Framebuffer, points: &[Vector2]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_current_color`, `set_background_color`, `set_pixel`, `set_pixel_depth`, and `render_to_file` are never used [INFO] [stdout] --> src/framebuffer.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Framebuffer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn set_current_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn set_background_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn set_pixel(&mut self, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn set_pixel_depth(&mut self, x: i32, y: i32, depth: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn render_to_file(&self, path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line` is never used [INFO] [stdout] --> src/line.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn line(framebuffer: &mut Framebuffer, start: Vector2, end: Vector2) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Rocky`, `Gas`, `Crystal`, `Lava`, and `Ice` are never constructed [INFO] [stdout] --> src/triangle.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ShaderType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Rocky, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | Gas, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | Crystal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | Lava, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | Ice, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_polygon` is never used [INFO] [stdout] --> src/line.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn draw_polygon(framebuffer: &mut Framebuffer, points: &[Vector2]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Rocky`, `Gas`, `Crystal`, `Lava`, and `Ice` are never constructed [INFO] [stdout] --> src/triangle.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ShaderType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Rocky, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | Gas, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | Crystal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | Lava, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | Ice, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | / tex.update_texture_rec( [INFO] [stdout] 102 | | Rectangle { [INFO] [stdout] 103 | | x: 0.0, [INFO] [stdout] 104 | | y: 0.0, [INFO] [stdout] ... | [INFO] [stdout] 108 | | &raw, [INFO] [stdout] 109 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 101 | let _ = tex.update_texture_rec( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | / tex.update_texture_rec( [INFO] [stdout] 102 | | Rectangle { [INFO] [stdout] 103 | | x: 0.0, [INFO] [stdout] 104 | | y: 0.0, [INFO] [stdout] ... | [INFO] [stdout] 108 | | &raw, [INFO] [stdout] 109 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 101 | let _ = tex.update_texture_rec( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.73s [INFO] running `Command { std: "docker" "inspect" "e3ff758a6cf7c8f8ce876692c180f8aea1211622ca3ea1b9074729172f11e6b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3ff758a6cf7c8f8ce876692c180f8aea1211622ca3ea1b9074729172f11e6b4", kill_on_drop: false }` [INFO] [stdout] e3ff758a6cf7c8f8ce876692c180f8aea1211622ca3ea1b9074729172f11e6b4