[INFO] cloning repository https://github.com/MarchMol/lab1_graph_polygons [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MarchMol/lab1_graph_polygons" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarchMol%2Flab1_graph_polygons", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarchMol%2Flab1_graph_polygons'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5854d16abd152620429c3198fd6ec882dbea865e [INFO] checking MarchMol/lab1_graph_polygons against master#dc375db7d8df0aa450e622c529147c95eee756f5 for pr-156749 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarchMol%2Flab1_graph_polygons" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MarchMol/lab1_graph_polygons [INFO] finished tweaking git repo https://github.com/MarchMol/lab1_graph_polygons [INFO] tweaked toml for git repo https://github.com/MarchMol/lab1_graph_polygons written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MarchMol/lab1_graph_polygons on toolchain dc375db7d8df0aa450e622c529147c95eee756f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MarchMol/lab1_graph_polygons 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" "+dc375db7d8df0aa450e622c529147c95eee756f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded alga v0.8.2 [INFO] [stderr] Downloaded nalgebra-glm v0.3.0 [INFO] [stderr] Downloaded libm v0.1.4 [INFO] [stderr] Downloaded nalgebra v0.17.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] bdb4ae9341a6dfc8437586efbfb6f1a6ef81d53d9f3afe46805a2a74a537dd0d [INFO] running `Command { std: "docker" "start" "bdb4ae9341a6dfc8437586efbfb6f1a6ef81d53d9f3afe46805a2a74a537dd0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bdb4ae9341a6dfc8437586efbfb6f1a6ef81d53d9f3afe46805a2a74a537dd0d" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdb4ae9341a6dfc8437586efbfb6f1a6ef81d53d9f3afe46805a2a74a537dd0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bdb4ae9341a6dfc8437586efbfb6f1a6ef81d53d9f3afe46805a2a74a537dd0d" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking alga v0.8.2 [INFO] [stderr] Checking nalgebra v0.17.3 [INFO] [stderr] Checking nalgebra-glm v0.3.0 [INFO] [stderr] Checking lab1_graph_polygons v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/line.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | while (y!=y2 as f32) { [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] 28 - while (y!=y2 as f32) { [INFO] [stdout] 28 + while y!=y2 as f32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/framebuffer.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | let _x = (x as f32).clamp(0.0, (self.width as f32)) as usize; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - let _x = (x as f32).clamp(0.0, (self.width as f32)) as usize; [INFO] [stdout] 42 + let _x = (x as f32).clamp(0.0, self.width as f32 ) as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/framebuffer.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | let _y = (y as f32).clamp(0.0, (self.height as f32)) as usize; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - let _y = (y as f32).clamp(0.0, (self.height as f32)) as usize; [INFO] [stdout] 43 + let _y = (y as f32).clamp(0.0, self.height as f32 ) as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/line.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | while (y!=y2 as f32) { [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] 28 - while (y!=y2 as f32) { [INFO] [stdout] 28 + while y!=y2 as f32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/framebuffer.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | let _x = (x as f32).clamp(0.0, (self.width as f32)) as usize; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - let _x = (x as f32).clamp(0.0, (self.width as f32)) as usize; [INFO] [stdout] 42 + let _x = (x as f32).clamp(0.0, self.width as f32 ) as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/framebuffer.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | let _y = (y as f32).clamp(0.0, (self.height as f32)) as usize; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - let _y = (y as f32).clamp(0.0, (self.height as f32)) as usize; [INFO] [stdout] 43 + let _y = (y as f32).clamp(0.0, self.height as f32 ) as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_me` is never used [INFO] [stdout] --> src/color.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn print_me(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | framebuffer.render("polygon4.bmp"); [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] 80 | let _ = framebuffer.render("polygon4.bmp"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/framebuffer.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | bmp::write_bmp_file(file_path, &self.buffer ,self. width, self.height); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = bmp::write_bmp_file(file_path, &self.buffer ,self. width, self.height); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_me` is never used [INFO] [stdout] --> src/color.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn print_me(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | framebuffer.render("polygon4.bmp"); [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] 80 | let _ = framebuffer.render("polygon4.bmp"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/framebuffer.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | bmp::write_bmp_file(file_path, &self.buffer ,self. width, self.height); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = bmp::write_bmp_file(file_path, &self.buffer ,self. width, self.height); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.52s [INFO] running `Command { std: "docker" "inspect" "bdb4ae9341a6dfc8437586efbfb6f1a6ef81d53d9f3afe46805a2a74a537dd0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdb4ae9341a6dfc8437586efbfb6f1a6ef81d53d9f3afe46805a2a74a537dd0d", kill_on_drop: false }` [INFO] [stdout] bdb4ae9341a6dfc8437586efbfb6f1a6ef81d53d9f3afe46805a2a74a537dd0d