[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] b17e6746885cf75201e7abfee26a2ef73241b3ec [INFO] checking kliml/tinyrenderer against try#d990716b6a1fdde1300748828a9c9e79dfd0b898 for pr-74846 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkliml%2Ftinyrenderer" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kliml/tinyrenderer on toolchain d990716b6a1fdde1300748828a9c9e79dfd0b898 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "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-8/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" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] warning: spurious network error (2 tries remaining): [28] Timeout was reached (failed to download any data for `tobj v2.0.2` within 30s) [INFO] [stderr] Downloaded tobj v2.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0e8db140e3ffd9a056f3b2873a7a32dd7286fed00dfcad51adcf8db738ec4db9 [INFO] running `Command { std: "docker" "start" "-a" "0e8db140e3ffd9a056f3b2873a7a32dd7286fed00dfcad51adcf8db738ec4db9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e8db140e3ffd9a056f3b2873a7a32dd7286fed00dfcad51adcf8db738ec4db9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e8db140e3ffd9a056f3b2873a7a32dd7286fed00dfcad51adcf8db738ec4db9", kill_on_drop: false }` [INFO] [stdout] 0e8db140e3ffd9a056f3b2873a7a32dd7286fed00dfcad51adcf8db738ec4db9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d24f9e4b3a6780130719b8804abd2778685f1cef67aaf02b69fe106236898452 [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" "d24f9e4b3a6780130719b8804abd2778685f1cef67aaf02b69fe106236898452", 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] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking tobj v2.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rayon-core v1.7.1 [INFO] [stderr] Checking png v0.16.6 [INFO] [stderr] Checking num-complex v0.3.0 [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:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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, BitXor, Div, Mul, Neg, Sub}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Triangle` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use geometry::{Triangle, Vec3f, Vec3i}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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, BitXor, Div, Mul, Neg, Sub}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Triangle` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use geometry::{Triangle, Vec3f, Vec3i}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `white` [INFO] [stdout] --> src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | 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:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | 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:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | 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:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | 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:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | 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:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | 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:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | 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:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | 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(v0: &Vec3f, v1: &Vec3f, image: &mut ImageBuffer, Vec>, color: Rgb) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `triangle` [INFO] [stdout] --> src/main.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn triangle( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ax` should have a snake case name [INFO] [stdout] --> src/main.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | 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:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | 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:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | 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:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | 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:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | 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:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | 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:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | 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:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | 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] [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(v0: &Vec3f, v1: &Vec3f, image: &mut ImageBuffer, Vec>, color: Rgb) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `triangle` [INFO] [stdout] --> src/main.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn triangle( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ax` should have a snake case name [INFO] [stdout] --> src/main.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | 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:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | 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:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | 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:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | 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:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | 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:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | 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:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | 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:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | 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 29.38s [INFO] running `Command { std: "docker" "inspect" "d24f9e4b3a6780130719b8804abd2778685f1cef67aaf02b69fe106236898452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d24f9e4b3a6780130719b8804abd2778685f1cef67aaf02b69fe106236898452", kill_on_drop: false }` [INFO] [stdout] d24f9e4b3a6780130719b8804abd2778685f1cef67aaf02b69fe106236898452