[INFO] cloning repository https://github.com/avandolder/tinyrenderer-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/avandolder/tinyrenderer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favandolder%2Ftinyrenderer-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favandolder%2Ftinyrenderer-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11fb2d7d719ba5900b12d404aef8fefc5d2414c0 [INFO] testing avandolder/tinyrenderer-rs against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favandolder%2Ftinyrenderer-rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/avandolder/tinyrenderer-rs on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/avandolder/tinyrenderer-rs [INFO] finished tweaking git repo https://github.com/avandolder/tinyrenderer-rs [INFO] tweaked toml for git repo https://github.com/avandolder/tinyrenderer-rs written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/avandolder/tinyrenderer-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 812cd5d42824cc77b2bd69755e99d0e4e55a578e014de5bb57150e6a1c81712d [INFO] running `Command { std: "docker" "start" "-a" "812cd5d42824cc77b2bd69755e99d0e4e55a578e014de5bb57150e6a1c81712d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "812cd5d42824cc77b2bd69755e99d0e4e55a578e014de5bb57150e6a1c81712d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "812cd5d42824cc77b2bd69755e99d0e4e55a578e014de5bb57150e6a1c81712d", kill_on_drop: false }` [INFO] [stdout] 812cd5d42824cc77b2bd69755e99d0e4e55a578e014de5bb57150e6a1c81712d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 732beaf57f703fbd915b6ad38126f44f79a093aa80100ddc455337732bf34117 [INFO] running `Command { std: "docker" "start" "-a" "732beaf57f703fbd915b6ad38126f44f79a093aa80100ddc455337732bf34117", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling image v0.22.4 [INFO] [stderr] Compiling tinyrenderer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Vec2i`, `Vec3i` [INFO] [stdout] --> src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use geometry::{Vec2f, Vec2i, Vec3f, Vec3i}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Vec2i` [INFO] [stdout] --> src/geometry.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Vec2i = Vec2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Vec3i` [INFO] [stdout] --> src/geometry.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Vec3i = Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/geometry.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn x(&self) -> S { self.0[0] } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/geometry.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn y(&self) -> S { self.0[1] } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `u` [INFO] [stdout] --> src/geometry.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn u(&self) -> S { self.0[0] } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `v` [INFO] [stdout] --> src/geometry.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn v(&self) -> S { self.0[1] } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/geometry.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn length(&self) -> S { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `squared_length` [INFO] [stdout] --> src/geometry.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn squared_length(&self) -> S { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/geometry.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn dot(&self, other: Self) -> S { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/geometry.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn x(&self) -> S { self.0[0] } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/geometry.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn y(&self) -> S { self.0[1] } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `z` [INFO] [stdout] --> src/geometry.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn z(&self) -> S { self.0[2] } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ivert` [INFO] [stdout] --> src/geometry.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn ivert(&self) -> S { self.0[0] } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iuv` [INFO] [stdout] --> src/geometry.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn iuv(&self) -> S { self.0[1] } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inorm` [INFO] [stdout] --> src/geometry.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn inorm(&self) -> S { self.0[2] } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/geometry.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn length(&self) -> S { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `squared_length` [INFO] [stdout] --> src/geometry.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn squared_length(&self) -> S { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normalize` [INFO] [stdout] --> src/geometry.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn normalize(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normalized` [INFO] [stdout] --> src/geometry.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn normalized(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/geometry.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn dot(&self, other: Self) -> S { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WHITE` [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const WHITE: Color = image::Rgba([255, 255, 255, 255]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RED` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | const RED: Color = image::Rgba([255, 0, 0, 255]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_line` [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn draw_line( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 6m 04s [INFO] running `Command { std: "docker" "inspect" "732beaf57f703fbd915b6ad38126f44f79a093aa80100ddc455337732bf34117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "732beaf57f703fbd915b6ad38126f44f79a093aa80100ddc455337732bf34117", kill_on_drop: false }` [INFO] [stdout] 732beaf57f703fbd915b6ad38126f44f79a093aa80100ddc455337732bf34117 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a06c253aceab7b67e064b2ae214fa6704ddcc8fcbcadff6545cb02354c8f2a8 [INFO] running `Command { std: "docker" "start" "-a" "7a06c253aceab7b67e064b2ae214fa6704ddcc8fcbcadff6545cb02354c8f2a8", kill_on_drop: false }` [INFO] [stderr] Compiling tinyrenderer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Vec2i`, `Vec3i` [INFO] [stdout] --> src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use geometry::{Vec2f, Vec2i, Vec3f, Vec3i}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Vec2i` [INFO] [stdout] --> src/geometry.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Vec2i = Vec2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Vec3i` [INFO] [stdout] --> src/geometry.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Vec3i = Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/geometry.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn x(&self) -> S { self.0[0] } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/geometry.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn y(&self) -> S { self.0[1] } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `u` [INFO] [stdout] --> src/geometry.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn u(&self) -> S { self.0[0] } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `v` [INFO] [stdout] --> src/geometry.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn v(&self) -> S { self.0[1] } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/geometry.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn length(&self) -> S { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `squared_length` [INFO] [stdout] --> src/geometry.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn squared_length(&self) -> S { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/geometry.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn dot(&self, other: Self) -> S { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/geometry.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn x(&self) -> S { self.0[0] } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/geometry.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn y(&self) -> S { self.0[1] } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `z` [INFO] [stdout] --> src/geometry.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn z(&self) -> S { self.0[2] } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ivert` [INFO] [stdout] --> src/geometry.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn ivert(&self) -> S { self.0[0] } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iuv` [INFO] [stdout] --> src/geometry.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn iuv(&self) -> S { self.0[1] } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inorm` [INFO] [stdout] --> src/geometry.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn inorm(&self) -> S { self.0[2] } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/geometry.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn length(&self) -> S { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `squared_length` [INFO] [stdout] --> src/geometry.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn squared_length(&self) -> S { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normalize` [INFO] [stdout] --> src/geometry.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn normalize(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normalized` [INFO] [stdout] --> src/geometry.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn normalized(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/geometry.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn dot(&self, other: Self) -> S { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WHITE` [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const WHITE: Color = image::Rgba([255, 255, 255, 255]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RED` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | const RED: Color = image::Rgba([255, 0, 0, 255]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_line` [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn draw_line( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "7a06c253aceab7b67e064b2ae214fa6704ddcc8fcbcadff6545cb02354c8f2a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a06c253aceab7b67e064b2ae214fa6704ddcc8fcbcadff6545cb02354c8f2a8", kill_on_drop: false }` [INFO] [stdout] 7a06c253aceab7b67e064b2ae214fa6704ddcc8fcbcadff6545cb02354c8f2a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 644e54cef3fb8a4052ef6847728edaff1fe63ea6a71f3d3d2d146518b4f978b2 [INFO] running `Command { std: "docker" "start" "-a" "644e54cef3fb8a4052ef6847728edaff1fe63ea6a71f3d3d2d146518b4f978b2", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Vec2i`, `Vec3i` [INFO] [stderr] --> src/main.rs:7:23 [INFO] [stderr] | [INFO] [stderr] 7 | use geometry::{Vec2f, Vec2i, Vec3f, Vec3i}; [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Vec2i` [INFO] [stderr] --> src/geometry.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub type Vec2i = Vec2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Vec3i` [INFO] [stderr] --> src/geometry.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | pub type Vec3i = Vec3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `x` [INFO] [stderr] --> src/geometry.rs:72:12 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn x(&self) -> S { self.0[0] } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `y` [INFO] [stderr] --> src/geometry.rs:73:12 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn y(&self) -> S { self.0[1] } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `u` [INFO] [stderr] --> src/geometry.rs:74:12 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn u(&self) -> S { self.0[0] } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `v` [INFO] [stderr] --> src/geometry.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn v(&self) -> S { self.0[1] } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `length` [INFO] [stderr] --> src/geometry.rs:77:12 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn length(&self) -> S { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `squared_length` [INFO] [stderr] --> src/geometry.rs:81:12 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn squared_length(&self) -> S { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dot` [INFO] [stderr] --> src/geometry.rs:85:12 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn dot(&self, other: Self) -> S { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `x` [INFO] [stderr] --> src/geometry.rs:224:12 [INFO] [stderr] | [INFO] [stderr] 224 | pub fn x(&self) -> S { self.0[0] } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `y` [INFO] [stderr] --> src/geometry.rs:225:12 [INFO] [stderr] | [INFO] [stderr] 225 | pub fn y(&self) -> S { self.0[1] } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `z` [INFO] [stderr] --> src/geometry.rs:226:12 [INFO] [stderr] | [INFO] [stderr] 226 | pub fn z(&self) -> S { self.0[2] } [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `ivert` [INFO] [stderr] --> src/geometry.rs:227:12 [INFO] [stderr] | [INFO] [stderr] 227 | pub fn ivert(&self) -> S { self.0[0] } [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `iuv` [INFO] [stderr] --> src/geometry.rs:228:12 [INFO] [stderr] | [INFO] [stderr] 228 | pub fn iuv(&self) -> S { self.0[1] } [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inorm` [INFO] [stderr] --> src/geometry.rs:229:12 [INFO] [stderr] | [INFO] [stderr] 229 | pub fn inorm(&self) -> S { self.0[2] } [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `length` [INFO] [stderr] --> src/geometry.rs:231:12 [INFO] [stderr] | [INFO] [stderr] 231 | pub fn length(&self) -> S { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: associated function is never used: `squared_length` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/geometry.rs:235:12 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 235 | pub fn squared_length(&self) -> S { [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `normalize` [INFO] [stderr] --> src/geometry.rs:239:12 [INFO] [stderr] | [INFO] [stderr] 239 | pub fn normalize(&mut self) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `normalized` [INFO] [stderr] --> src/geometry.rs:246:12 [INFO] [stderr] | [INFO] [stderr] 246 | pub fn normalized(&self) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dot` [INFO] [stderr] --> src/geometry.rs:250:12 [INFO] [stderr] | [INFO] [stderr] 250 | pub fn dot(&self, other: Self) -> S { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `WHITE` [INFO] [stderr] --> src/main.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | const WHITE: Color = image::Rgba([255, 255, 255, 255]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `RED` [INFO] [stderr] --> src/main.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | const RED: Color = image::Rgba([255, 0, 0, 255]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `draw_line` [INFO] [stderr] --> src/main.rs:20:4 [INFO] [stderr] | [INFO] [stderr] 20 | fn draw_line( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tinyrenderer` (bin "tinyrenderer" test) generated 24 warnings [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 4.19s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tinyrenderer-7c1e6f6bb10677d1) [INFO] running `Command { std: "docker" "inspect" "644e54cef3fb8a4052ef6847728edaff1fe63ea6a71f3d3d2d146518b4f978b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "644e54cef3fb8a4052ef6847728edaff1fe63ea6a71f3d3d2d146518b4f978b2", kill_on_drop: false }` [INFO] [stdout] 644e54cef3fb8a4052ef6847728edaff1fe63ea6a71f3d3d2d146518b4f978b2