[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#79452e8441468c5568c20bfca2aa1fe75b645b2d for pr-152210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftismajo%2FCC2018-PRY2" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tismajo/CC2018-PRY2 on toolchain 79452e8441468c5568c20bfca2aa1fe75b645b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "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" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "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 thiserror v1.0.69 [INFO] [stderr] Downloaded seq-macro v0.3.6 [INFO] [stderr] Downloaded cmake v0.1.54 [INFO] [stderr] Downloaded thiserror-impl v1.0.69 [INFO] [stderr] Downloaded proc-macro2 v1.0.95 [INFO] [stderr] Downloaded cfg-if v1.0.1 [INFO] [stderr] Downloaded rustc-hash v1.1.0 [INFO] [stderr] Downloaded windows-targets v0.53.2 [INFO] [stderr] Downloaded cc v1.2.30 [INFO] [stderr] Downloaded paste v1.0.15 [INFO] [stderr] Downloaded bitflags v2.9.1 [INFO] [stderr] Downloaded libloading v0.8.8 [INFO] [stderr] Downloaded log v0.4.27 [INFO] [stderr] Downloaded minimal-lexical v0.2.1 [INFO] [stderr] Downloaded memchr v2.7.5 [INFO] [stderr] Downloaded prettyplease v0.2.36 [INFO] [stderr] Downloaded nom v7.1.3 [INFO] [stderr] Downloaded itertools v0.13.0 [INFO] [stderr] Downloaded aho-corasick v1.1.3 [INFO] [stderr] Downloaded cexpr v0.6.0 [INFO] [stderr] Downloaded glob v0.3.2 [INFO] [stderr] Downloaded clang-sys v1.8.1 [INFO] [stderr] Downloaded bindgen v0.70.1 [INFO] [stderr] Downloaded regex v1.11.1 [INFO] [stderr] Downloaded syn v2.0.104 [INFO] [stderr] Downloaded either v1.15.0 [INFO] [stderr] Downloaded shlex v1.3.0 [INFO] [stderr] Downloaded raylib v5.5.1 [INFO] [stderr] Downloaded regex-syntax v0.8.5 [INFO] [stderr] Downloaded regex-automata v0.4.9 [INFO] [stderr] Downloaded libc v0.2.174 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.53.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.53.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.53.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.53.0 [INFO] [stderr] Downloaded windows_i686_gnullvm v0.53.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.53.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.53.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.53.0 [INFO] [stderr] Downloaded raylib-sys v5.5.1 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76bafd0deeacef6eeb95a608f1fc5482230649149f87156a348b9f35d18712a7 [INFO] running `Command { std: "docker" "start" "-a" "76bafd0deeacef6eeb95a608f1fc5482230649149f87156a348b9f35d18712a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76bafd0deeacef6eeb95a608f1fc5482230649149f87156a348b9f35d18712a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76bafd0deeacef6eeb95a608f1fc5482230649149f87156a348b9f35d18712a7", kill_on_drop: false }` [INFO] [stdout] 76bafd0deeacef6eeb95a608f1fc5482230649149f87156a348b9f35d18712a7 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 196685db365ba2c5c72fbc99d51f2e251e0862de8befba07ce9b26c80b5addf8 [INFO] running `Command { std: "docker" "start" "-a" "196685db365ba2c5c72fbc99d51f2e251e0862de8befba07ce9b26c80b5addf8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [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] 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: 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: 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: 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: 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 19.29s [INFO] running `Command { std: "docker" "inspect" "196685db365ba2c5c72fbc99d51f2e251e0862de8befba07ce9b26c80b5addf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "196685db365ba2c5c72fbc99d51f2e251e0862de8befba07ce9b26c80b5addf8", kill_on_drop: false }` [INFO] [stdout] 196685db365ba2c5c72fbc99d51f2e251e0862de8befba07ce9b26c80b5addf8