[INFO] cloning repository https://github.com/gustavo-ferreira03/3d-engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gustavo-ferreira03/3d-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgustavo-ferreira03%2F3d-engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgustavo-ferreira03%2F3d-engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3143cd34e3ea38e2a208d0d2773d7dda8469e576
[INFO] checking gustavo-ferreira03/3d-engine against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgustavo-ferreira03%2F3d-engine" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gustavo-ferreira03/3d-engine
[INFO] finished tweaking git repo https://github.com/gustavo-ferreira03/3d-engine
[INFO] tweaked toml for git repo https://github.com/gustavo-ferreira03/3d-engine written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gustavo-ferreira03/3d-engine on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gustavo-ferreira03/3d-engine 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded partial-min-max v0.4.0
[INFO] [stderr]   Downloaded min-max v0.1.8
[INFO] [stderr]   Downloaded libc v0.2.141
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e33c964f0853b31be1a7bb1b3ad6bd555ebd5ae5e9cfdde14da0d36968d3e399
[INFO] running `Command { std: "docker" "start" "-a" "e33c964f0853b31be1a7bb1b3ad6bd555ebd5ae5e9cfdde14da0d36968d3e399", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e33c964f0853b31be1a7bb1b3ad6bd555ebd5ae5e9cfdde14da0d36968d3e399", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e33c964f0853b31be1a7bb1b3ad6bd555ebd5ae5e9cfdde14da0d36968d3e399", kill_on_drop: false }`
[INFO] [stdout] e33c964f0853b31be1a7bb1b3ad6bd555ebd5ae5e9cfdde14da0d36968d3e399
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dcf2eb55e982ba8b1c8eb36386fe41151ed620bfca540aa741657509585be9d5
[INFO] running `Command { std: "docker" "start" "-a" "dcf2eb55e982ba8b1c8eb36386fe41151ed620bfca540aa741657509585be9d5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.141
[INFO] [stderr]     Checking partial-min-max v0.4.0
[INFO] [stderr]    Compiling sdl2-sys v0.35.2
[INFO] [stderr]     Checking min-max v0.1.8
[INFO] [stderr]    Compiling sdl2 v0.35.2
[INFO] [stderr]     Checking spinning_cube v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[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: `std::sync::Arc`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::Mutex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `min_max::*`
[INFO] [stdout]  --> src/triangle.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use min_max::*;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/triangle.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{thread};
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/rectangle.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/cube.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::cube::*`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::cube::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[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: `std::sync::Arc`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::Mutex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `min_max::*`
[INFO] [stdout]  --> src/triangle.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use min_max::*;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/triangle.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{thread};
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/rectangle.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/cube.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::cube::*`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::cube::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `zfar`
[INFO] [stdout]   --> src/main.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let zfar: f32 = 100.0;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_zfar`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `znear`
[INFO] [stdout]    --> src/main.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let znear: f32 = 10.0;
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_znear`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `zfar`
[INFO] [stdout]   --> src/main.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let zfar: f32 = 100.0;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_zfar`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `znear`
[INFO] [stdout]    --> src/main.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let znear: f32 = 10.0;
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_znear`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `translate` and `point_is_inside_triangle` are never used
[INFO] [stdout]    --> src/triangle.rs:92:12
[INFO] [stdout]     |
[INFO] [stdout]  11 | impl Triangle {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn translate(&mut self, axis: Axis, distance: f32) -> Triangle {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn point_is_inside_triangle(vertices: &Vec<Vector>, p: Vector) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]  --> src/rectangle.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Rectangle {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `draw`, `rotate`, and `translate` are never used
[INFO] [stdout]   --> src/rectangle.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Rectangle {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(top_left: Vector, bottom_right: Vector, invert: bool) -> Rectangle {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn draw(&self, canvas: &mut Canvas<Window>) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn rotate(&mut self, axis: Axis, angle: f32) -> Rectangle {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn translate(&mut self, axis: Axis, distance: f32) -> Rectangle {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cube` is never constructed
[INFO] [stdout]  --> src/cube.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Cube {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `rotate`, and `draw` are never used
[INFO] [stdout]   --> src/cube.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Cube {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new(center: Vector, size: f32) -> Cube {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn rotate(&mut self, axis: Axis, angle: f32) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn draw(&self, canvas: &mut Canvas<Window>) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `translate` and `point_is_inside_triangle` are never used
[INFO] [stdout]    --> src/triangle.rs:92:12
[INFO] [stdout]     |
[INFO] [stdout]  11 | impl Triangle {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn translate(&mut self, axis: Axis, distance: f32) -> Triangle {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn point_is_inside_triangle(vertices: &Vec<Vector>, p: Vector) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]  --> src/rectangle.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Rectangle {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `draw`, `rotate`, and `translate` are never used
[INFO] [stdout]   --> src/rectangle.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Rectangle {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(top_left: Vector, bottom_right: Vector, invert: bool) -> Rectangle {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn draw(&self, canvas: &mut Canvas<Window>) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn rotate(&mut self, axis: Axis, angle: f32) -> Rectangle {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn translate(&mut self, axis: Axis, distance: f32) -> Rectangle {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cube` is never constructed
[INFO] [stdout]  --> src/cube.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Cube {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `rotate`, and `draw` are never used
[INFO] [stdout]   --> src/cube.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Cube {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new(center: Vector, size: f32) -> Cube {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn rotate(&mut self, axis: Axis, angle: f32) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn draw(&self, canvas: &mut Canvas<Window>) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.99s
[INFO] running `Command { std: "docker" "inspect" "dcf2eb55e982ba8b1c8eb36386fe41151ed620bfca540aa741657509585be9d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcf2eb55e982ba8b1c8eb36386fe41151ed620bfca540aa741657509585be9d5", kill_on_drop: false }`
[INFO] [stdout] dcf2eb55e982ba8b1c8eb36386fe41151ed620bfca540aa741657509585be9d5
