[INFO] cloning repository https://github.com/devprofile98/tinyrenderer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devprofile98/tinyrenderer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevprofile98%2Ftinyrenderer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevprofile98%2Ftinyrenderer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d2fef4290085ee5cc0a9839c3874824b3591239 [INFO] checking devprofile98/tinyrenderer against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevprofile98%2Ftinyrenderer" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/devprofile98/tinyrenderer on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/devprofile98/tinyrenderer [INFO] finished tweaking git repo https://github.com/devprofile98/tinyrenderer [INFO] tweaked toml for git repo https://github.com/devprofile98/tinyrenderer written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/devprofile98/tinyrenderer 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/devprofile98/targa-rs.git` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c42f02cf8c4c4ae86fc28e0f31fc7ef79fa6dd07c26211101d47c38a722da4de [INFO] running `Command { std: "docker" "start" "-a" "c42f02cf8c4c4ae86fc28e0f31fc7ef79fa6dd07c26211101d47c38a722da4de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c42f02cf8c4c4ae86fc28e0f31fc7ef79fa6dd07c26211101d47c38a722da4de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c42f02cf8c4c4ae86fc28e0f31fc7ef79fa6dd07c26211101d47c38a722da4de", kill_on_drop: false }` [INFO] [stdout] c42f02cf8c4c4ae86fc28e0f31fc7ef79fa6dd07c26211101d47c38a722da4de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17273cded24b356c82377ddee0ad2237ff476ee2f852b7d982de60941bf5e7e6 [INFO] running `Command { std: "docker" "start" "-a" "17273cded24b356c82377ddee0ad2237ff476ee2f852b7d982de60941bf5e7e6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking serde v1.0.188 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tgars v0.1.0 (https://github.com/devprofile98/targa-rs.git#ca2dd7b4) [INFO] [stderr] Checking tinyrenderder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `fs::File` [INFO] [stdout] --> src/utils/math.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | io::{BufRead, BufReader}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/utils/math.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | convert::From, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/utils/math.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `fs::File` [INFO] [stdout] --> src/utils/math.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | io::{BufRead, BufReader}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `TargaImage` [INFO] [stdout] --> src/utils/math.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use tgars::{Color, TargaImage}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/utils/math.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | convert::From, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/utils/math.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `TargaImage` [INFO] [stdout] --> src/utils/math.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use tgars::{Color, TargaImage}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/triangles/triangles.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let mut model = Model::load("model.obj"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/triangles/triangles.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let mut model = Model::load("model.obj"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `green` [INFO] [stdout] --> src/wireframe.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let green: Color = Color::rgb(0, 255, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_green` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blue` [INFO] [stdout] --> src/wireframe.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let blue: Color = Color::rgb(0, 0, 255); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_blue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `green` [INFO] [stdout] --> src/wireframe.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let green: Color = Color::rgb(0, 255, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_green` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blue` [INFO] [stdout] --> src/wireframe.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let blue: Color = Color::rgb(0, 0, 255); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_blue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_line` is never used [INFO] [stdout] --> src/utils/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn draw_line(image: &mut TargaImage, mut p1: Vec2, mut p2: Vec2, color: &Color) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `newf` are never used [INFO] [stdout] --> src/utils/math.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl Vec2 { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 80 | pub fn new(x: u16, y: u16) -> Vec2 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn newf(x: f32, y: f32) -> Vec2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw` is never used [INFO] [stdout] --> src/wireframe.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn draw(model_path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_line` is never used [INFO] [stdout] --> src/utils/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn draw_line(image: &mut TargaImage, mut p1: Vec2, mut p2: Vec2, color: &Color) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `newf` are never used [INFO] [stdout] --> src/utils/math.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl Vec2 { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 80 | pub fn new(x: u16, y: u16) -> Vec2 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn newf(x: f32, y: f32) -> Vec2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw` is never used [INFO] [stdout] --> src/wireframe.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn draw(model_path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.47s [INFO] running `Command { std: "docker" "inspect" "17273cded24b356c82377ddee0ad2237ff476ee2f852b7d982de60941bf5e7e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17273cded24b356c82377ddee0ad2237ff476ee2f852b7d982de60941bf5e7e6", kill_on_drop: false }` [INFO] [stdout] 17273cded24b356c82377ddee0ad2237ff476ee2f852b7d982de60941bf5e7e6