[INFO] cloning repository https://github.com/Paul-1511/lab4 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Paul-1511/lab4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaul-1511%2Flab4", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaul-1511%2Flab4'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0bfdd1933f965bb2f9bcc0ff6928ca8d62896056 [INFO] checking Paul-1511/lab4 against try#579169d0e78824dc60934e5eb74cd3841f2b33e8 for pr-149328 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaul-1511%2Flab4" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Paul-1511/lab4 [INFO] finished tweaking git repo https://github.com/Paul-1511/lab4 [INFO] tweaked toml for git repo https://github.com/Paul-1511/lab4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Paul-1511/lab4 on toolchain 579169d0e78824dc60934e5eb74cd3841f2b33e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Paul-1511/lab4 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" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "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 glm v0.3.0 [INFO] [stderr] Downloaded sdl2 v0.38.0 [INFO] [stderr] Downloaded sdl2-sys v0.38.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b30d6998eac1713947daf40243ebc16b3ad7e2374b67f2959aa3448f8a874749 [INFO] running `Command { std: "docker" "start" "-a" "b30d6998eac1713947daf40243ebc16b3ad7e2374b67f2959aa3448f8a874749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b30d6998eac1713947daf40243ebc16b3ad7e2374b67f2959aa3448f8a874749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b30d6998eac1713947daf40243ebc16b3ad7e2374b67f2959aa3448f8a874749", kill_on_drop: false }` [INFO] [stdout] b30d6998eac1713947daf40243ebc16b3ad7e2374b67f2959aa3448f8a874749 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e90bd1042e0416cd4d39b07958c3ba372299cefc54c9fbc1d3a15fe3c24775e [INFO] running `Command { std: "docker" "start" "-a" "8e90bd1042e0416cd4d39b07958c3ba372299cefc54c9fbc1d3a15fe3c24775e", kill_on_drop: false }` [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling sdl2 v0.38.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking glm v0.3.0 [INFO] [stderr] Compiling sdl2-sys v0.38.0 [INFO] [stderr] Checking tobj v4.0.3 [INFO] [stderr] Checking lab4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sdl2::pixels::Color as SdlColor` [INFO] [stdout] --> src/framebuffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::pixels::Color as SdlColor; [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: `sdl2::pixels::Color as SdlColor` [INFO] [stdout] --> src/framebuffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::pixels::Color as SdlColor; [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 variable: `fb` [INFO] [stdout] --> src/triangle.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn draw_wireframe(&self, fb: &Framebuffer, canvas: &mut Canvas, scale: f32, offset: Vec3) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materials` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let materials = match materials { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bg_color` is never read [INFO] [stdout] --> src/framebuffer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Framebuffer { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | bg_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: method `clear` is never used [INFO] [stdout] --> src/framebuffer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Framebuffer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn clear(&self, canvas: &mut Canvas) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fb` [INFO] [stdout] --> src/triangle.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn draw_wireframe(&self, fb: &Framebuffer, canvas: &mut Canvas, scale: f32, offset: Vec3) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `WHITE`, `RED`, `GREEN`, `BLUE`, and `YELLOW` are never used [INFO] [stdout] --> src/color.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 8 | impl Color { [INFO] [stdout] | ---------- associated constants in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub const WHITE: Color = Color { r: 255, g: 255, b: 255 }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub const RED: Color = Color { r: 255, g: 0, b: 0 }; [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | pub const GREEN: Color = Color { r: 0, g: 255, b: 0 }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub const BLUE: Color = Color { r: 0, g: 0, b: 255 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | pub const YELLOW: Color = Color { r: 255, g: 255, b: 0 }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Triangle` is never constructed [INFO] [stdout] --> src/triangle.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Triangle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `draw_wireframe` are never used [INFO] [stdout] --> src/triangle.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Triangle { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(v0: Vec3, v1: Vec3, v2: Vec3, color: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn draw_wireframe(&self, fb: &Framebuffer, canvas: &mut Canvas, scale: f32, offset: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_screen_coords` is never used [INFO] [stdout] --> src/triangle.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn to_screen_coords(v: Vec3, scale: f32, offset: Vec3) -> sdl2::rect::Point { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materials` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let materials = match materials { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bg_color` is never read [INFO] [stdout] --> src/framebuffer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Framebuffer { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | bg_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: method `clear` is never used [INFO] [stdout] --> src/framebuffer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Framebuffer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn clear(&self, canvas: &mut Canvas) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `WHITE`, `RED`, `GREEN`, `BLUE`, and `YELLOW` are never used [INFO] [stdout] --> src/color.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 8 | impl Color { [INFO] [stdout] | ---------- associated constants in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub const WHITE: Color = Color { r: 255, g: 255, b: 255 }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub const RED: Color = Color { r: 255, g: 0, b: 0 }; [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | pub const GREEN: Color = Color { r: 0, g: 255, b: 0 }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub const BLUE: Color = Color { r: 0, g: 0, b: 255 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | pub const YELLOW: Color = Color { r: 255, g: 255, b: 0 }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Triangle` is never constructed [INFO] [stdout] --> src/triangle.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Triangle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `draw_wireframe` are never used [INFO] [stdout] --> src/triangle.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Triangle { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(v0: Vec3, v1: Vec3, v2: Vec3, color: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn draw_wireframe(&self, fb: &Framebuffer, canvas: &mut Canvas, scale: f32, offset: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_screen_coords` is never used [INFO] [stdout] --> src/triangle.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn to_screen_coords(v: Vec3, scale: f32, offset: Vec3) -> sdl2::rect::Point { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.29s [INFO] running `Command { std: "docker" "inspect" "8e90bd1042e0416cd4d39b07958c3ba372299cefc54c9fbc1d3a15fe3c24775e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e90bd1042e0416cd4d39b07958c3ba372299cefc54c9fbc1d3a15fe3c24775e", kill_on_drop: false }` [INFO] [stdout] 8e90bd1042e0416cd4d39b07958c3ba372299cefc54c9fbc1d3a15fe3c24775e