[INFO] cloning repository https://github.com/kliml/tinyrenderer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kliml/tinyrenderer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkliml%2Ftinyrenderer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkliml%2Ftinyrenderer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f0cb0d8e95dcd0e1e7d9720bf2eccfaf5ed04c7 [INFO] checking kliml/tinyrenderer against master#e1beee4992ad4b235fc700bf7af1ee86f894ea53 for pr-74130 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkliml%2Ftinyrenderer" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kliml/tinyrenderer on toolchain e1beee4992ad4b235fc700bf7af1ee86f894ea53 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kliml/tinyrenderer [INFO] finished tweaking git repo https://github.com/kliml/tinyrenderer [INFO] tweaked toml for git repo https://github.com/kliml/tinyrenderer written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/kliml/tinyrenderer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d612b31ca14485886f89d55d34aed7143d7067fb596a1142cbdcce2700fd03be [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d612b31ca14485886f89d55d34aed7143d7067fb596a1142cbdcce2700fd03be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d612b31ca14485886f89d55d34aed7143d7067fb596a1142cbdcce2700fd03be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d612b31ca14485886f89d55d34aed7143d7067fb596a1142cbdcce2700fd03be", kill_on_drop: false }` [INFO] [stdout] d612b31ca14485886f89d55d34aed7143d7067fb596a1142cbdcce2700fd03be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbdfcae8102c536c8124b2b061a25fe36b2db48d4680826d350807be4c904aa9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bbdfcae8102c536c8124b2b061a25fe36b2db48d4680826d350807be4c904aa9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking tobj v2.0.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking png v0.16.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rayon-core v1.7.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rayon v1.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num v0.3.0 [INFO] [stderr] Checking jpeg-decoder v0.1.19 [INFO] [stderr] Checking image v0.23.6 [INFO] [stderr] Checking tinyrenderer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign`, `Neg` [INFO] [stdout] --> src/geometry.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, AddAssign, Mul, Neg, Sub, Div, BitXor }; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Triangle` [INFO] [stdout] --> src/main.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | use geometry::{ Vec3f, Vec3i, Triangle }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign`, `Neg` [INFO] [stdout] --> src/geometry.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, AddAssign, Mul, Neg, Sub, Div, BitXor }; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Triangle` [INFO] [stdout] --> src/main.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | use geometry::{ Vec3f, Vec3i, Triangle }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `white` [INFO] [stdout] --> src/main.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let white = Rgb::from_channels(255, 255, 255, 255); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_white` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `red` [INFO] [stdout] --> src/main.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let red = Rgb::from_channels(255, 0, 0, 255); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_red` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `green` [INFO] [stdout] --> src/main.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let green = Rgb::from_channels(0, 255, 0, 255); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_green` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materials` [INFO] [stdout] --> src/main.rs:135:18 [INFO] [stdout] | [INFO] [stdout] 135 | let (models, materials) = obj.unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `white` [INFO] [stdout] --> src/main.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let white = Rgb::from_channels(255, 255, 255, 255); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_white` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `red` [INFO] [stdout] --> src/main.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let red = Rgb::from_channels(255, 0, 0, 255); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_red` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `green` [INFO] [stdout] --> src/main.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let green = Rgb::from_channels(0, 255, 0, 255); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_green` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materials` [INFO] [stdout] --> src/main.rs:135:18 [INFO] [stdout] | [INFO] [stdout] 135 | let (models, materials) = obj.unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normalize` [INFO] [stdout] --> src/geometry.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn normalize(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `line` [INFO] [stdout] --> src/main.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn line( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `barycentric` [INFO] [stdout] --> src/main.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn barycentric( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ax` should have a snake case name [INFO] [stdout] --> src/main.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let mut Ax = v0.x + ((v2.x - v0.x) as f32 * alpha) as i32; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ax` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ay` should have a snake case name [INFO] [stdout] --> src/main.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut Ay = v0.y + ((v2.y - v0.y) as f32 * alpha) as i32; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Bx` should have a snake case name [INFO] [stdout] --> src/main.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let mut Bx = v0.x + ((v1.x - v0.x) as f32 * beta) as i32; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `bx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `By` should have a snake case name [INFO] [stdout] --> src/main.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let mut By = v0.y + ((v1.x - v0.y) as f32 * beta) as i32; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ax` should have a snake case name [INFO] [stdout] --> src/main.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let mut Ax = v0.x + ((v2.x - v0.x) as f32 * alpha) as i32; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ay` should have a snake case name [INFO] [stdout] --> src/main.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let mut Ay = v0.y + ((v2.y - v0.y) as f32 * alpha) as i32; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Bx` should have a snake case name [INFO] [stdout] --> src/main.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let mut Bx = v1.x + ((v2.x - v1.x) as f32 * beta) as i32; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `bx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `By` should have a snake case name [INFO] [stdout] --> src/main.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | let mut By = v1.y + ((v2.x - v1.y) as f32 * beta) as i32; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normalize` [INFO] [stdout] --> src/geometry.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn normalize(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `line` [INFO] [stdout] --> src/main.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn line( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `barycentric` [INFO] [stdout] --> src/main.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn barycentric( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ax` should have a snake case name [INFO] [stdout] --> src/main.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let mut Ax = v0.x + ((v2.x - v0.x) as f32 * alpha) as i32; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ax` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ay` should have a snake case name [INFO] [stdout] --> src/main.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut Ay = v0.y + ((v2.y - v0.y) as f32 * alpha) as i32; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Bx` should have a snake case name [INFO] [stdout] --> src/main.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let mut Bx = v0.x + ((v1.x - v0.x) as f32 * beta) as i32; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `bx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `By` should have a snake case name [INFO] [stdout] --> src/main.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let mut By = v0.y + ((v1.x - v0.y) as f32 * beta) as i32; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ax` should have a snake case name [INFO] [stdout] --> src/main.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let mut Ax = v0.x + ((v2.x - v0.x) as f32 * alpha) as i32; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ay` should have a snake case name [INFO] [stdout] --> src/main.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let mut Ay = v0.y + ((v2.y - v0.y) as f32 * alpha) as i32; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Bx` should have a snake case name [INFO] [stdout] --> src/main.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let mut Bx = v1.x + ((v2.x - v1.x) as f32 * beta) as i32; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `bx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `By` should have a snake case name [INFO] [stdout] --> src/main.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | let mut By = v1.y + ((v2.x - v1.y) as f32 * beta) as i32; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.43s [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bbdfcae8102c536c8124b2b061a25fe36b2db48d4680826d350807be4c904aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbdfcae8102c536c8124b2b061a25fe36b2db48d4680826d350807be4c904aa9", kill_on_drop: false }` [INFO] [stdout] bbdfcae8102c536c8124b2b061a25fe36b2db48d4680826d350807be4c904aa9