[INFO] cloning repository https://github.com/hatsunearu/tinyrendere-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hatsunearu/tinyrendere-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhatsunearu%2Ftinyrendere-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhatsunearu%2Ftinyrendere-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b76fde547ac14fe39d8307fda47dd8a74785eb90 [INFO] checking hatsunearu/tinyrendere-rs against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhatsunearu%2Ftinyrendere-rs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hatsunearu/tinyrendere-rs on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hatsunearu/tinyrendere-rs [INFO] finished tweaking git repo https://github.com/hatsunearu/tinyrendere-rs [INFO] tweaked toml for git repo https://github.com/hatsunearu/tinyrendere-rs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/hatsunearu/tinyrendere-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6367fd66ab71f16f918078d00511b4747d9faaa301baf9877d07bc40ebcdd0c5 [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" "6367fd66ab71f16f918078d00511b4747d9faaa301baf9877d07bc40ebcdd0c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6367fd66ab71f16f918078d00511b4747d9faaa301baf9877d07bc40ebcdd0c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6367fd66ab71f16f918078d00511b4747d9faaa301baf9877d07bc40ebcdd0c5", kill_on_drop: false }` [INFO] [stdout] 6367fd66ab71f16f918078d00511b4747d9faaa301baf9877d07bc40ebcdd0c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfa377eaf16b158e2ca6c4a5bf47d5887e1437e16c4b19f38df1130aab228096 [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" "bfa377eaf16b158e2ca6c4a5bf47d5887e1437e16c4b19f38df1130aab228096", 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] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking safe-transmute v0.10.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking inflate v0.4.4 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_pcg v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking num-complex v0.2.1 [INFO] [stderr] Checking approx v0.3.1 [INFO] [stderr] Checking rayon v1.0.3 [INFO] [stderr] Checking num-bigint v0.2.2 [INFO] [stderr] Checking png v0.14.0 [INFO] [stderr] Checking num-rational v0.2.1 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking tiff v0.2.1 [INFO] [stderr] Checking image v0.21.0 [INFO] [stderr] Checking tinyrende-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point2`, `Vector4` [INFO] [stdout] --> src/main.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | use cgmath::{Vector3, Vector4, Point3, Point2, Matrix4}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/gfx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref` [INFO] [stdout] --> src/gfx.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use core::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageBuffer` [INFO] [stdout] --> src/gfx.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use image::{ImageBuffer, Pixel}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector4` [INFO] [stdout] --> src/gfx.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | use cgmath::{Vector3, Point3, Point2, Matrix4, Vector4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/obj.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::obj::*` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::obj::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point2`, `Vector4` [INFO] [stdout] --> src/main.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | use cgmath::{Vector3, Vector4, Point3, Point2, Matrix4}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/gfx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref` [INFO] [stdout] --> src/gfx.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use core::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageBuffer` [INFO] [stdout] --> src/gfx.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use image::{ImageBuffer, Pixel}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector4` [INFO] [stdout] --> src/gfx.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | use cgmath::{Vector3, Point3, Point2, Matrix4, Vector4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/obj.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::obj::*` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::obj::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::prelude` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cgmath::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pixel` [INFO] [stdout] --> src/gfx.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use image::{ImageBuffer, Pixel}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xbias` [INFO] [stdout] --> src/main.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 141 | fn convert_coords(vertex: Point3, xbias: f32, ybias: f32, imgx: u32, imgy: u32) -> Point3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_xbias` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ybias` [INFO] [stdout] --> src/main.rs:141:52 [INFO] [stdout] | [INFO] [stdout] 141 | fn convert_coords(vertex: Point3, xbias: f32, ybias: f32, imgx: u32, imgy: u32) -> Point3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ybias` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imgx` [INFO] [stdout] --> src/main.rs:141:64 [INFO] [stdout] | [INFO] [stdout] 141 | fn convert_coords(vertex: Point3, xbias: f32, ybias: f32, imgx: u32, imgy: u32) -> Point3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imgx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imgy` [INFO] [stdout] --> src/main.rs:141:75 [INFO] [stdout] | [INFO] [stdout] 141 | fn convert_coords(vertex: Point3, xbias: f32, ybias: f32, imgx: u32, imgy: u32) -> Point3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imgy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::prelude` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cgmath::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pixel` [INFO] [stdout] --> src/gfx.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use image::{ImageBuffer, Pixel}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xbias` [INFO] [stdout] --> src/main.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 141 | fn convert_coords(vertex: Point3, xbias: f32, ybias: f32, imgx: u32, imgy: u32) -> Point3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_xbias` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ybias` [INFO] [stdout] --> src/main.rs:141:52 [INFO] [stdout] | [INFO] [stdout] 141 | fn convert_coords(vertex: Point3, xbias: f32, ybias: f32, imgx: u32, imgy: u32) -> Point3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ybias` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imgx` [INFO] [stdout] --> src/main.rs:141:64 [INFO] [stdout] | [INFO] [stdout] 141 | fn convert_coords(vertex: Point3, xbias: f32, ybias: f32, imgx: u32, imgy: u32) -> Point3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imgx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imgy` [INFO] [stdout] --> src/main.rs:141:75 [INFO] [stdout] | [INFO] [stdout] 141 | fn convert_coords(vertex: Point3, xbias: f32, ybias: f32, imgx: u32, imgy: u32) -> Point3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imgy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut face = obj::deindex_face(&face, &gfxobj); [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/main.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut face = obj::deindex_face(&face, &gfxobj); [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: function is never used: `convert_coords` [INFO] [stdout] --> src/main.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn convert_coords(vertex: Point3, xbias: f32, ybias: f32, imgx: u32, imgy: u32) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `convert_coords` [INFO] [stdout] --> src/main.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn convert_coords(vertex: Point3, xbias: f32, ybias: f32, imgx: u32, imgy: u32) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.22s [INFO] running `Command { std: "docker" "inspect" "bfa377eaf16b158e2ca6c4a5bf47d5887e1437e16c4b19f38df1130aab228096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfa377eaf16b158e2ca6c4a5bf47d5887e1437e16c4b19f38df1130aab228096", kill_on_drop: false }` [INFO] [stdout] bfa377eaf16b158e2ca6c4a5bf47d5887e1437e16c4b19f38df1130aab228096