[INFO] cloning repository https://github.com/AidoP/tendon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AidoP/tendon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAidoP%2Ftendon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAidoP%2Ftendon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c5a48e84717233cad8c61cb63a7ab19c2684d46 [INFO] testing AidoP/tendon against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAidoP%2Ftendon" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AidoP/tendon on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AidoP/tendon [INFO] finished tweaking git repo https://github.com/AidoP/tendon [INFO] tweaked toml for git repo https://github.com/AidoP/tendon written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/AidoP/tendon already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02db023e64db5bc0ee1a0d391b976c789c669c13dc3c7102b98cbdf23b262b5f [INFO] running `Command { std: "docker" "start" "-a" "02db023e64db5bc0ee1a0d391b976c789c669c13dc3c7102b98cbdf23b262b5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02db023e64db5bc0ee1a0d391b976c789c669c13dc3c7102b98cbdf23b262b5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02db023e64db5bc0ee1a0d391b976c789c669c13dc3c7102b98cbdf23b262b5f", kill_on_drop: false }` [INFO] [stdout] 02db023e64db5bc0ee1a0d391b976c789c669c13dc3c7102b98cbdf23b262b5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1403df37723bdd94c3ad0876ef301c701b3087e0a810a5b3dc8e454bb86b926 [INFO] running `Command { std: "docker" "start" "-a" "a1403df37723bdd94c3ad0876ef301c701b3087e0a810a5b3dc8e454bb86b926", kill_on_drop: false }` [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling weezl v0.1.3 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling bytemuck v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling tendon v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.12 [INFO] [stdout] warning: unused imports: `Read`, `Write`, `fs::File` [INFO] [stdout] --> src/fb.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, io::{Read, Write}, path::Path}; [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, `fs::File` [INFO] [stdout] --> src/fb.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, io::{Read, Write}, path::Path}; [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `maths::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use maths::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sampler`, `Texture` [INFO] [stdout] --> src/main.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use fb::{Sampler, Texture}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut fb = fb::Framebuffer::new().unwrap(); [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: associated function is never used: `set` [INFO] [stdout] --> src/fb.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set(&mut self, x: usize, y: usize, colour: Colour) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_tri` [INFO] [stdout] --> src/fb.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn draw_tri<'a>(&mut self, tri: Tri, uvs: Tri, sampler: &Sampler<'a>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `convert` [INFO] [stdout] --> src/fb.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn convert(self, fb: &Framebuffer) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Sampler` [INFO] [stdout] --> src/fb.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Sampler<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sample` [INFO] [stdout] --> src/fb.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn sample(&self, x: f64, y: f64) -> Colour { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Texture` [INFO] [stdout] --> src/fb.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct Texture { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/fb.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn load>(path: P) -> image::ImageResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/fb.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn get(&self, x: usize, y: usize) -> Colour { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `interpolate` [INFO] [stdout] --> src/maths.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn interpolate(&self, other: &Self, x: f64, y: f64) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `ONE` [INFO] [stdout] --> src/maths.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub const ONE: Self = Self { x: 1.0, y: 1.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `magnitude` [INFO] [stdout] --> src/maths.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn magnitude(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normal` [INFO] [stdout] --> src/maths.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn normal(self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse_gradient` [INFO] [stdout] --> src/maths.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn inverse_gradient(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/maths.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn dot(self, other: Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area_tri` [INFO] [stdout] --> src/maths.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn area_tri(self, other: Self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `ONE` [INFO] [stdout] --> src/maths.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub const ONE: Self = Self { x: 1.0, y: 1.0, z: 1.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `magnitude` [INFO] [stdout] --> src/maths.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn magnitude(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normal` [INFO] [stdout] --> src/maths.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn normal(self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/maths.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn dot(self, other: Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cross` [INFO] [stdout] --> src/maths.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn cross(self, other: Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `ONE` [INFO] [stdout] --> src/maths.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | pub const ONE: Self = Self { x: 1.0, y: 1.0, z: 1.0, w: 1.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `magnitude` [INFO] [stdout] --> src/maths.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn magnitude(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normal` [INFO] [stdout] --> src/maths.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn normal(self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/maths.rs:423:12 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn dot(self, other: Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `copy` [INFO] [stdout] --> src/maths.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn copy(&self) -> [[f64; 4]; 4] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.78s [INFO] running `Command { std: "docker" "inspect" "a1403df37723bdd94c3ad0876ef301c701b3087e0a810a5b3dc8e454bb86b926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1403df37723bdd94c3ad0876ef301c701b3087e0a810a5b3dc8e454bb86b926", kill_on_drop: false }` [INFO] [stdout] a1403df37723bdd94c3ad0876ef301c701b3087e0a810a5b3dc8e454bb86b926 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 637dcf1d6848fc63f9013d1d63ef23c55aefd59a54338fa0b07ccf70514c8f17 [INFO] running `Command { std: "docker" "start" "-a" "637dcf1d6848fc63f9013d1d63ef23c55aefd59a54338fa0b07ccf70514c8f17", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `Read`, `Write`, `fs::File` [INFO] [stdout] --> src/fb.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, io::{Read, Write}, path::Path}; [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tendon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, `fs::File` [INFO] [stdout] --> src/fb.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, io::{Read, Write}, path::Path}; [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, `fs::File` [INFO] [stdout] --> src/fb.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, io::{Read, Write}, path::Path}; [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `maths::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use maths::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sampler`, `Texture` [INFO] [stdout] --> src/main.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use fb::{Sampler, Texture}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut fb = fb::Framebuffer::new().unwrap(); [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: associated function is never used: `set` [INFO] [stdout] --> src/fb.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set(&mut self, x: usize, y: usize, colour: Colour) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_tri` [INFO] [stdout] --> src/fb.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn draw_tri<'a>(&mut self, tri: Tri, uvs: Tri, sampler: &Sampler<'a>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `convert` [INFO] [stdout] --> src/fb.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn convert(self, fb: &Framebuffer) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Sampler` [INFO] [stdout] --> src/fb.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Sampler<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sample` [INFO] [stdout] --> src/fb.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn sample(&self, x: f64, y: f64) -> Colour { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Texture` [INFO] [stdout] --> src/fb.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct Texture { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/fb.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn load>(path: P) -> image::ImageResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/fb.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn get(&self, x: usize, y: usize) -> Colour { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `interpolate` [INFO] [stdout] --> src/maths.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn interpolate(&self, other: &Self, x: f64, y: f64) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `ONE` [INFO] [stdout] --> src/maths.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub const ONE: Self = Self { x: 1.0, y: 1.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `magnitude` [INFO] [stdout] --> src/maths.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn magnitude(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normal` [INFO] [stdout] --> src/maths.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn normal(self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse_gradient` [INFO] [stdout] --> src/maths.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn inverse_gradient(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/maths.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn dot(self, other: Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area_tri` [INFO] [stdout] --> src/maths.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn area_tri(self, other: Self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `ONE` [INFO] [stdout] --> src/maths.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub const ONE: Self = Self { x: 1.0, y: 1.0, z: 1.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `magnitude` [INFO] [stdout] --> src/maths.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn magnitude(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normal` [INFO] [stdout] --> src/maths.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn normal(self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/maths.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn dot(self, other: Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cross` [INFO] [stdout] --> src/maths.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn cross(self, other: Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `ONE` [INFO] [stdout] --> src/maths.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | pub const ONE: Self = Self { x: 1.0, y: 1.0, z: 1.0, w: 1.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `magnitude` [INFO] [stdout] --> src/maths.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn magnitude(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normal` [INFO] [stdout] --> src/maths.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn normal(self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/maths.rs:423:12 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn dot(self, other: Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `copy` [INFO] [stdout] --> src/maths.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn copy(&self) -> [[f64; 4]; 4] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.49s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/tendon-b600fb331ccbebd7) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/tendon-f66cb495735635db) [INFO] running `Command { std: "docker" "inspect" "637dcf1d6848fc63f9013d1d63ef23c55aefd59a54338fa0b07ccf70514c8f17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "637dcf1d6848fc63f9013d1d63ef23c55aefd59a54338fa0b07ccf70514c8f17", kill_on_drop: false }` [INFO] [stdout] 637dcf1d6848fc63f9013d1d63ef23c55aefd59a54338fa0b07ccf70514c8f17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cb7cd94805c497b3bf16b8aa82b51dec34415c12688d9e0d389ef3f86b805ff6 [INFO] running `Command { std: "docker" "start" "-a" "cb7cd94805c497b3bf16b8aa82b51dec34415c12688d9e0d389ef3f86b805ff6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `Read`, `Write`, `fs::File` [INFO] [stderr] --> src/fb.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{fs::File, io::{Read, Write}, path::Path}; [INFO] [stderr] | ^^^^^^^^ ^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `tendon` (lib) generated 1 warning [INFO] [stderr] warning: `tendon` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: unused import: `maths::*` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use maths::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Sampler`, `Texture` [INFO] [stderr] --> src/main.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | use fb::{Sampler, Texture}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | let mut fb = fb::Framebuffer::new().unwrap(); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set` [INFO] [stderr] --> src/fb.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn set(&mut self, x: usize, y: usize, colour: Colour) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `draw_tri` [INFO] [stderr] --> src/fb.rs:71:12 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn draw_tri<'a>(&mut self, tri: Tri, uvs: Tri, sampler: &Sampler<'a>) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `convert` [INFO] [stderr] --> src/fb.rs:142:12 [INFO] [stderr] | [INFO] [stderr] 142 | pub fn convert(self, fb: &Framebuffer) -> u32 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Sampler` [INFO] [stderr] --> src/fb.rs:157:12 [INFO] [stderr] | [INFO] [stderr] 157 | pub struct Sampler<'a> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `sample` [INFO] [stderr] --> src/fb.rs:162:12 [INFO] [stderr] | [INFO] [stderr] 162 | pub fn sample(&self, x: f64, y: f64) -> Colour { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Texture` [INFO] [stderr] --> src/fb.rs:169:12 [INFO] [stderr] | [INFO] [stderr] 169 | pub struct Texture { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `load` [INFO] [stderr] --> src/fb.rs:175:12 [INFO] [stderr] | [INFO] [stderr] 175 | pub fn load>(path: P) -> image::ImageResult { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get` [INFO] [stderr] --> src/fb.rs:188:12 [INFO] [stderr] | [INFO] [stderr] 188 | pub fn get(&self, x: usize, y: usize) -> Colour { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `interpolate` [INFO] [stderr] --> src/maths.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn interpolate(&self, other: &Self, x: f64, y: f64) -> Vector2 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `ONE` [INFO] [stderr] --> src/maths.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | pub const ONE: Self = Self { x: 1.0, y: 1.0 }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `magnitude` [INFO] [stderr] --> src/maths.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn magnitude(self) -> f64 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `normal` [INFO] [stderr] --> src/maths.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn normal(self) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inverse_gradient` [INFO] [stderr] --> src/maths.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn inverse_gradient(self) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dot` [INFO] [stderr] --> src/maths.rs:87:12 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn dot(self, other: Self) -> f64 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `area_tri` [INFO] [stderr] --> src/maths.rs:106:12 [INFO] [stderr] | [INFO] [stderr] 106 | pub fn area_tri(self, other: Self) -> f64 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `ONE` [INFO] [stderr] --> src/maths.rs:216:5 [INFO] [stderr] | [INFO] [stderr] 216 | pub const ONE: Self = Self { x: 1.0, y: 1.0, z: 1.0 }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `magnitude` [INFO] [stderr] --> src/maths.rs:224:12 [INFO] [stderr] | [INFO] [stderr] 224 | pub fn magnitude(self) -> f64 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `normal` [INFO] [stderr] --> src/maths.rs:234:12 [INFO] [stderr] | [INFO] [stderr] 234 | pub fn normal(self) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dot` [INFO] [stderr] --> src/maths.rs:250:12 [INFO] [stderr] | [INFO] [stderr] 250 | pub fn dot(self, other: Self) -> f64 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cross` [INFO] [stderr] --> src/maths.rs:262:12 [INFO] [stderr] | [INFO] [stderr] 262 | pub fn cross(self, other: Self) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `ONE` [INFO] [stderr] --> src/maths.rs:388:5 [INFO] [stderr] | [INFO] [stderr] 388 | pub const ONE: Self = Self { x: 1.0, y: 1.0, z: 1.0, w: 1.0 }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `magnitude` [INFO] [stderr] --> src/maths.rs:396:12 [INFO] [stderr] | [INFO] [stderr] 396 | pub fn magnitude(self) -> f64 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `normal` [INFO] [stderr] --> src/maths.rs:406:12 [INFO] [stderr] | [INFO] [stderr] 406 | pub fn normal(self) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dot` [INFO] [stderr] --> src/maths.rs:423:12 [INFO] [stderr] | [INFO] [stderr] 423 | pub fn dot(self, other: Self) -> f64 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `copy` [INFO] [stderr] --> src/maths.rs:547:12 [INFO] [stderr] | [INFO] [stderr] 547 | pub fn copy(&self) -> [[f64; 4]; 4] { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tendon` (bin "tendon" test) generated 29 warnings (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tendon-b600fb331ccbebd7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tendon-f66cb495735635db) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tendon [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test src/fb.rs - fb::Framebuffer (line 13) - compile ... ok [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name tendon --test /opt/rustwide/workdir/src/lib.rs -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps -L native=/opt/rustwide/target/debug/build/tendon-994b737895140829/out --extern image=/opt/rustwide/target/debug/deps/libimage-90959451f3ca1ffc.rlib --extern tendon=/opt/rustwide/target/debug/deps/libtendon-5cd5ffcf35182da8.rlib -C embed-bitcode=no --error-format human` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "cb7cd94805c497b3bf16b8aa82b51dec34415c12688d9e0d389ef3f86b805ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb7cd94805c497b3bf16b8aa82b51dec34415c12688d9e0d389ef3f86b805ff6", kill_on_drop: false }` [INFO] [stdout] cb7cd94805c497b3bf16b8aa82b51dec34415c12688d9e0d389ef3f86b805ff6