[INFO] cloning repository https://github.com/brundonsmith/raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brundonsmith/raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrundonsmith%2Fraytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrundonsmith%2Fraytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63e1cd2d7636c5e7c95f65817aa7325748a23405 [INFO] testing brundonsmith/raytracer against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrundonsmith%2Fraytracer" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brundonsmith/raytracer on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brundonsmith/raytracer [INFO] finished tweaking git repo https://github.com/brundonsmith/raytracer [INFO] tweaked toml for git repo https://github.com/brundonsmith/raytracer written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/brundonsmith/raytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tinytemplate v1.0.3 [INFO] [stderr] Downloaded rand_pcg v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b041f54b3206287b08aee94c92d61c62ada84aa238b9889d5eebe7ca7c6c695 [INFO] running `Command { std: "docker" "start" "-a" "2b041f54b3206287b08aee94c92d61c62ada84aa238b9889d5eebe7ca7c6c695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b041f54b3206287b08aee94c92d61c62ada84aa238b9889d5eebe7ca7c6c695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b041f54b3206287b08aee94c92d61c62ada84aa238b9889d5eebe7ca7c6c695", kill_on_drop: false }` [INFO] [stdout] 2b041f54b3206287b08aee94c92d61c62ada84aa238b9889d5eebe7ca7c6c695 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 854bb902d59724c19a85276c500aa74da6c8d997fba02b103ad82b611de7aa19 [INFO] running `Command { std: "docker" "start" "-a" "854bb902d59724c19a85276c500aa74da6c8d997fba02b103ad82b611de7aa19", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_pcg v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling crossbeam v0.7.2 [INFO] [stderr] Compiling rayon v1.2.0 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling png v0.15.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.16 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling image v0.22.3 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/mesh.rs:217:34 [INFO] [stdout] | [INFO] [stdout] 217 | fn texture_coordinate(&self, point: &Vec3) -> (f32,f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_3_decimals` is never used [INFO] [stdout] --> src/matrix.rs:251:4 [INFO] [stdout] | [INFO] [stdout] 251 | fn round_3_decimals(x: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uv_coords` is never read [INFO] [stdout] --> src/mesh.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Mesh { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | uv_coords: Vec<(f32,f32)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/bin/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `construct_plane_texture_test`, `construct_reflect_scene`, `construct_sphere_texture_test`, `construct_tree_scene`, `construct_wallpaper_scene_2`, and `construct_wallpaper_scene` [INFO] [stdout] --> src/bin/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | construct_reflect_scene, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | construct_room_scene, [INFO] [stdout] 26 | construct_plane_texture_test, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | construct_sphere_texture_test, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | construct_wallpaper_scene, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | construct_wallpaper_scene_2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | construct_tree_scene}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/bin/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 41.76s [INFO] running `Command { std: "docker" "inspect" "854bb902d59724c19a85276c500aa74da6c8d997fba02b103ad82b611de7aa19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "854bb902d59724c19a85276c500aa74da6c8d997fba02b103ad82b611de7aa19", kill_on_drop: false }` [INFO] [stdout] 854bb902d59724c19a85276c500aa74da6c8d997fba02b103ad82b611de7aa19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ca1a254e163fe03289a556c31742abc6347a0ed8ded85e634977bd0bcabcdd4 [INFO] running `Command { std: "docker" "start" "-a" "6ca1a254e163fe03289a556c31742abc6347a0ed8ded85e634977bd0bcabcdd4", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling rand_xoshiro v0.3.1 [INFO] [stderr] Compiling rand_os v0.2.2 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/mesh.rs:217:34 [INFO] [stdout] | [INFO] [stdout] 217 | fn texture_coordinate(&self, point: &Vec3) -> (f32,f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_3_decimals` is never used [INFO] [stdout] --> src/matrix.rs:251:4 [INFO] [stdout] | [INFO] [stdout] 251 | fn round_3_decimals(x: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uv_coords` is never read [INFO] [stdout] --> src/mesh.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Mesh { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | uv_coords: Vec<(f32,f32)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling criterion-plot v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling tinytemplate v1.0.3 [INFO] [stderr] Compiling criterion v0.3.0 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/bin/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `construct_plane_texture_test`, `construct_reflect_scene`, `construct_sphere_texture_test`, `construct_tree_scene`, `construct_wallpaper_scene_2`, and `construct_wallpaper_scene` [INFO] [stdout] --> src/bin/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | construct_reflect_scene, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | construct_room_scene, [INFO] [stdout] 26 | construct_plane_texture_test, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | construct_sphere_texture_test, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | construct_wallpaper_scene, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | construct_wallpaper_scene_2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | construct_tree_scene}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/bin/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/mesh.rs:217:34 [INFO] [stdout] | [INFO] [stdout] 217 | fn texture_coordinate(&self, point: &Vec3) -> (f32,f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uv_coords` is never read [INFO] [stdout] --> src/mesh.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Mesh { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | uv_coords: Vec<(f32,f32)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 39.24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6ca1a254e163fe03289a556c31742abc6347a0ed8ded85e634977bd0bcabcdd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ca1a254e163fe03289a556c31742abc6347a0ed8ded85e634977bd0bcabcdd4", kill_on_drop: false }` [INFO] [stdout] 6ca1a254e163fe03289a556c31742abc6347a0ed8ded85e634977bd0bcabcdd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c378dd1cda46d40ecdbef38213f7d87321214e5a6c94255b0d9d049e48eff1f7 [INFO] running `Command { std: "docker" "start" "-a" "c378dd1cda46d40ecdbef38213f7d87321214e5a6c94255b0d9d049e48eff1f7", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `point` [INFO] [stderr] --> src/mesh.rs:217:34 [INFO] [stderr] | [INFO] [stderr] 217 | fn texture_coordinate(&self, point: &Vec3) -> (f32,f32) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `round_3_decimals` is never used [INFO] [stderr] --> src/matrix.rs:251:4 [INFO] [stderr] | [INFO] [stderr] 251 | fn round_3_decimals(x: f32) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `uv_coords` is never read [INFO] [stderr] --> src/mesh.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 38 | pub struct Mesh { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 44 | uv_coords: Vec<(f32,f32)>, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `raytracer` (lib) generated 3 warnings [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/bin/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `construct_plane_texture_test`, `construct_reflect_scene`, `construct_sphere_texture_test`, `construct_tree_scene`, `construct_wallpaper_scene_2`, and `construct_wallpaper_scene` [INFO] [stderr] --> src/bin/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | construct_reflect_scene, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 25 | construct_room_scene, [INFO] [stderr] 26 | construct_plane_texture_test, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 27 | construct_sphere_texture_test, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 28 | construct_wallpaper_scene, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 29 | construct_wallpaper_scene_2, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 30 | construct_tree_scene}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stderr] --> src/bin/main.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `raytracer` (bin "raytracer" test) generated 3 warnings (run `cargo fix --bin "raytracer" --tests` to apply 2 suggestions) [INFO] [stderr] warning: field `uv_coords` is never read [INFO] [stderr] --> src/mesh.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 38 | pub struct Mesh { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 44 | uv_coords: Vec<(f32,f32)>, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `raytracer` (lib test) generated 2 warnings (1 duplicate) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/raytracer-992b528e2827772d) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test vec3::tests::test_ops ... ok [INFO] [stdout] test matrix::test_from_to ... ok [INFO] [stdout] test matrix::test_mul ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- matrix::test_mul stdout ---- [INFO] [stdout] thread 'matrix::test_mul' panicked at src/matrix.rs:226:5: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Matrix([ [INFO] [stdout] 185, 121, 167, 101, [INFO] [stdout] 225, 154, 219, 127, [INFO] [stdout] 153, 155, 143, 111, [INFO] [stdout] 290, 212, 222, 218,]) [INFO] [stdout] right: Matrix([ [INFO] [stdout] 210, 93, 171, 105, [INFO] [stdout] 267, 149, 146, 169, [INFO] [stdout] 236, 104, 172, 128, [INFO] [stdout] 271, 149, 268, 169,]) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x63c3c555461a - std::backtrace_rs::backtrace::libunwind::trace::h45f575fdcec9cdc1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x63c3c555461a - std::backtrace_rs::backtrace::trace_unsynchronized::heed7aaaa28209ac3 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x63c3c555461a - std::sys::backtrace::_print_fmt::h47d1e3547844619c [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x63c3c555461a - ::fmt::h6c37de0361fa7462 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x63c3c557b8b3 - core::fmt::rt::Argument::fmt::h6606d9b5304941e1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x63c3c557b8b3 - core::fmt::write::hf77fe0583268bf67 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/fmt/mod.rs:1437:21 [INFO] [stdout] 6: 0x63c3c5551313 - std::io::Write::write_fmt::h672ff980e46892ac [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x63c3c5554462 - std::sys::backtrace::BacktraceLock::print::hce84519ec0e7588e [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x63c3c5555a9e - std::panicking::default_hook::{{closure}}::h6e0433c33d1ed12b [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:284:22 [INFO] [stdout] 9: 0x63c3c55558a7 - std::panicking::default_hook::h19d4e9e8d7fba9e2 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:308:9 [INFO] [stdout] 10: 0x63c3c551ef18 - as core::ops::function::Fn>::call::hd2aa5731f018e269 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 11: 0x63c3c551ef18 - test::test_main::{{closure}}::h1ae6fb8f80aa49b6 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x63c3c55562b8 - as core::ops::function::Fn>::call::h4f2af756974b90d5 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 13: 0x63c3c55562b8 - std::panicking::rust_panic_with_hook::hd21771b96ea64164 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:825:13 [INFO] [stdout] 14: 0x63c3c5555f6a - std::panicking::begin_panic_handler::{{closure}}::h2e177f984fc72cbb [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:690:13 [INFO] [stdout] 15: 0x63c3c5554af9 - std::sys::backtrace::__rust_end_short_backtrace::ha7f0445003f40b38 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x63c3c5555bfd - rust_begin_unwind [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:681:5 [INFO] [stdout] 17: 0x63c3c5579900 - core::panicking::panic_fmt::h85741df7bc4071b6 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x63c3c5579c22 - core::panicking::assert_failed_inner::h889a6bf80d9117a5 [INFO] [stdout] 19: 0x63c3c54e4823 - core::panicking::assert_failed::h4a8edf88b4fe6f8e [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panicking.rs:364:5 [INFO] [stdout] 20: 0x63c3c54e47e8 - raytracer::matrix::test_mul::h90a2e77bcb6af05b [INFO] [stdout] at /opt/rustwide/workdir/src/matrix.rs:226:5 [INFO] [stdout] 21: 0x63c3c54e47e8 - raytracer::matrix::test_mul::{{closure}}::h81431aade2f35bb3 [INFO] [stdout] at /opt/rustwide/workdir/src/matrix.rs:211:14 [INFO] [stdout] 22: 0x63c3c54e47e8 - core::ops::function::FnOnce::call_once::he4aa5b5837d64fb0 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x63c3c5523b5b - core::ops::function::FnOnce::call_once::hc1e06e2a5640370a [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x63c3c5523b5b - test::__rust_begin_short_backtrace::heb5aa654e2797f5b [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:632:18 [INFO] [stdout] 25: 0x63c3c5523469 - test::run_test_in_process::{{closure}}::h1329474a96646ad1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:655:60 [INFO] [stdout] 26: 0x63c3c5523469 - as core::ops::function::FnOnce<()>>::call_once::hc87a7a8694e6d844 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x63c3c5523469 - std::panicking::try::do_call::h3b8456af8bacf88f [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:573:40 [INFO] [stdout] 28: 0x63c3c5523469 - std::panicking::try::hc177f95c6592cea1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:536:19 [INFO] [stdout] 29: 0x63c3c5523469 - std::panic::catch_unwind::h847b2adf17f7da7a [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x63c3c5523469 - test::run_test_in_process::h824f7775d92af51e [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:655:27 [INFO] [stdout] 31: 0x63c3c5523469 - test::run_test::{{closure}}::hdfaf20d18f7af8f6 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:576:43 [INFO] [stdout] 32: 0x63c3c54e620a - test::run_test::{{closure}}::he83661a0a1c97403 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:606:41 [INFO] [stdout] 33: 0x63c3c54e620a - std::sys::backtrace::__rust_begin_short_backtrace::hd3a78fd401685e9b [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x63c3c54e9c46 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h78d6a457dee8dc60 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/thread/mod.rs:561:17 [INFO] [stdout] 35: 0x63c3c54e9c46 - as core::ops::function::FnOnce<()>>::call_once::hc4069b3cc6600bde [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x63c3c54e9c46 - std::panicking::try::do_call::h0dde49ad0af85fa8 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:573:40 [INFO] [stdout] 37: 0x63c3c54e9c46 - std::panicking::try::h918d0d3a7e94727d [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:536:19 [INFO] [stdout] 38: 0x63c3c54e9c46 - std::panic::catch_unwind::h7016984cdcdd8b9e [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x63c3c54e9c46 - std::thread::Builder::spawn_unchecked_::{{closure}}::h2766f51195a4a65d [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/thread/mod.rs:559:30 [INFO] [stdout] 40: 0x63c3c54e9c46 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hbd6e39e4ea63a011 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x63c3c555a18b - as core::ops::function::FnOnce>::call_once::h34bec2a4cdedc102 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 42: 0x63c3c555a18b - as core::ops::function::FnOnce>::call_once::ha62c0d1861fdf293 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 43: 0x63c3c555a18b - std::sys::pal::unix::thread::Thread::new::thread_start::h71fe57097907b3f8 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 44: 0x7ae6e5a1eac3 - [INFO] [stdout] 45: 0x7ae6e5aafa04 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] matrix::test_mul [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "c378dd1cda46d40ecdbef38213f7d87321214e5a6c94255b0d9d049e48eff1f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c378dd1cda46d40ecdbef38213f7d87321214e5a6c94255b0d9d049e48eff1f7", kill_on_drop: false }` [INFO] [stdout] c378dd1cda46d40ecdbef38213f7d87321214e5a6c94255b0d9d049e48eff1f7