[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/63e1cd2d7636c5e7c95f65817aa7325748a23405 against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrundonsmith%2Fraytracer" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brundonsmith/raytracer on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "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-0-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" "+1.77.0" "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] [stderr] Downloaded crossbeam v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be9ec9dbcca9c950a961950f040356c4b787131297fb2d7bf05358ebcd79a98d [INFO] running `Command { std: "docker" "start" "-a" "be9ec9dbcca9c950a961950f040356c4b787131297fb2d7bf05358ebcd79a98d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be9ec9dbcca9c950a961950f040356c4b787131297fb2d7bf05358ebcd79a98d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be9ec9dbcca9c950a961950f040356c4b787131297fb2d7bf05358ebcd79a98d", kill_on_drop: false }` [INFO] [stdout] be9ec9dbcca9c950a961950f040356c4b787131297fb2d7bf05358ebcd79a98d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96e04dd655ef4b56d3b513405e685e034f132ea12f462b0188b551f0a96743b6 [INFO] running `Command { std: "docker" "start" "-a" "96e04dd655ef4b56d3b513405e685e034f132ea12f462b0188b551f0a96743b6", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling png v0.15.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand_pcg v0.2.0 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling crossbeam v0.7.2 [INFO] [stderr] Compiling rayon v1.2.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: 3 warnings emitted [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`, `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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 16.06s [INFO] running `Command { std: "docker" "inspect" "96e04dd655ef4b56d3b513405e685e034f132ea12f462b0188b551f0a96743b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96e04dd655ef4b56d3b513405e685e034f132ea12f462b0188b551f0a96743b6", kill_on_drop: false }` [INFO] [stdout] 96e04dd655ef4b56d3b513405e685e034f132ea12f462b0188b551f0a96743b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84f39151a5b49361e57fc1327dc1e844787fd8ef63132bc014b0f47787b9b18c [INFO] running `Command { std: "docker" "start" "-a" "84f39151a5b49361e57fc1327dc1e844787fd8ef63132bc014b0f47787b9b18c", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling syn v1.0.11 [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] [stdout] warning: 3 warnings emitted [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 criterion-plot v0.4.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling bstr v0.2.8 [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`, `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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 18.21s [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" "84f39151a5b49361e57fc1327dc1e844787fd8ef63132bc014b0f47787b9b18c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84f39151a5b49361e57fc1327dc1e844787fd8ef63132bc014b0f47787b9b18c", kill_on_drop: false }` [INFO] [stdout] 84f39151a5b49361e57fc1327dc1e844787fd8ef63132bc014b0f47787b9b18c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a0b4a2ae7a9297c0a43a0c656bbf4cdb60d3a01170b08ac1c5685f31c0d01843 [INFO] running `Command { std: "docker" "start" "-a" "a0b4a2ae7a9297c0a43a0c656bbf4cdb60d3a01170b08ac1c5685f31c0d01843", 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: 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) generated 3 warnings (run `cargo fix --lib -p raytracer` to apply 1 suggestion) [INFO] [stderr] warning: `raytracer` (lib test) generated 2 warnings (1 duplicate) [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`, `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] Finished test [optimized + debuginfo] target(s) in 0.14s [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-25970298d8857367) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test matrix::test_from_to ... ok [INFO] [stdout] test vec3::tests::test_ops ... 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: 0x55b82aad1596 - std::backtrace_rs::backtrace::libunwind::trace::h92ba5ac126ecc5ad [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x55b82aad1596 - std::backtrace_rs::backtrace::trace_unsynchronized::hfaa118b6e3a8f31a [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55b82aad1596 - std::sys_common::backtrace::_print_fmt::h2075f185adf13bbd [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x55b82aad1596 - ::fmt::h9c4bd387f9f3f544 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x55b82aafac20 - core::fmt::rt::Argument::fmt::h018ecebdf268b5bb [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x55b82aafac20 - core::fmt::write::h938c332fdab924eb [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x55b82aacee7f - std::io::Write::write_fmt::hf5d6d29a094a9ad9 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/io/mod.rs:1846:15 [INFO] [stdout] 7: 0x55b82aad1374 - std::sys_common::backtrace::_print::h3595c0f4303f3ccd [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x55b82aad1374 - std::sys_common::backtrace::print::ha888e6736b0bc71f [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x55b82aad30e7 - std::panicking::default_hook::{{closure}}::he19a7f79f7beab5e [INFO] [stdout] 10: 0x55b82aad2dcd - std::panicking::default_hook::h67efe04e9a5d446e [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x55b82aaa2cb7 - as core::ops::function::Fn>::call::ha485cc981b933d53 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/alloc/src/boxed.rs:2029:9 [INFO] [stdout] 12: 0x55b82aaa2cb7 - test::test_main::{{closure}}::h970c4d535211cea5 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/test/src/lib.rs:138:21 [INFO] [stdout] 13: 0x55b82aad3706 - as core::ops::function::Fn>::call::h9c9759b104a0af15 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/alloc/src/boxed.rs:2029:9 [INFO] [stdout] 14: 0x55b82aad3706 - std::panicking::rust_panic_with_hook::h49021cdbc4b22349 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panicking.rs:785:13 [INFO] [stdout] 15: 0x55b82aad3452 - std::panicking::begin_panic_handler::{{closure}}::hfbf601f3d8c62d13 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panicking.rs:659:13 [INFO] [stdout] 16: 0x55b82aad1a96 - std::sys_common::backtrace::__rust_end_short_backtrace::h98dd020b6e913806 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x55b82aad31a4 - rust_begin_unwind [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panicking.rs:647:5 [INFO] [stdout] 18: 0x55b82aa6d7e5 - core::panicking::panic_fmt::h0d3f1893e38be419 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x55b82aa6db2b - core::panicking::assert_failed_inner::he66e930fc360d575 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/panicking.rs:342:17 [INFO] [stdout] 20: 0x55b82aa6909f - core::panicking::assert_failed::h38ad26febe918ae7 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/panicking.rs:297:5 [INFO] [stdout] 21: 0x55b82aa6e658 - raytracer::matrix::test_mul::haf4f096b62718b78 [INFO] [stdout] at /opt/rustwide/workdir/src/matrix.rs:226:5 [INFO] [stdout] 22: 0x55b82aa6e658 - raytracer::matrix::test_mul::{{closure}}::h6e844a8764cf17f9 [INFO] [stdout] at /opt/rustwide/workdir/src/matrix.rs:211:14 [INFO] [stdout] 23: 0x55b82aa6e658 - core::ops::function::FnOnce::call_once::h53e74ab0a354199c [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x55b82aaa88af - core::ops::function::FnOnce::call_once::hc4365f2905c13fb3 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x55b82aaa88af - test::__rust_begin_short_backtrace::h23efa09c82420171 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/test/src/lib.rs:621:18 [INFO] [stdout] 26: 0x55b82aaa76d1 - test::run_test_in_process::{{closure}}::hf1473bb1a6c04edb [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/test/src/lib.rs:644:60 [INFO] [stdout] 27: 0x55b82aaa76d1 - as core::ops::function::FnOnce<()>>::call_once::hff07c3f39ec1a940 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x55b82aaa76d1 - std::panicking::try::do_call::h344a2a0d830f8cdb [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panicking.rs:554:40 [INFO] [stdout] 29: 0x55b82aaa76d1 - std::panicking::try::h307dc78c49c41dfc [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panicking.rs:518:19 [INFO] [stdout] 30: 0x55b82aaa76d1 - std::panic::catch_unwind::h09ff4c41f37beb25 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panic.rs:142:14 [INFO] [stdout] 31: 0x55b82aaa76d1 - test::run_test_in_process::h25a8f909b68e3831 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/test/src/lib.rs:644:27 [INFO] [stdout] 32: 0x55b82aaa76d1 - test::run_test::{{closure}}::h9934b77d061da8ff [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/test/src/lib.rs:567:43 [INFO] [stdout] 33: 0x55b82aa6eab6 - test::run_test::{{closure}}::hc3fe15393b08198a [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/test/src/lib.rs:595:41 [INFO] [stdout] 34: 0x55b82aa6eab6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2751c43450246c92 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 35: 0x55b82aa73af7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h1c68a4efdf3a14d2 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 36: 0x55b82aa73af7 - as core::ops::function::FnOnce<()>>::call_once::he4aa23e023cec824 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x55b82aa73af7 - std::panicking::try::do_call::hb75ff41794a19e9d [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panicking.rs:554:40 [INFO] [stdout] 38: 0x55b82aa73af7 - std::panicking::try::ha7903bccf307108c [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panicking.rs:518:19 [INFO] [stdout] 39: 0x55b82aa73af7 - std::panic::catch_unwind::h85a1dff12b1bcadc [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panic.rs:142:14 [INFO] [stdout] 40: 0x55b82aa73af7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h2c9f92cbe6cfd7e3 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 41: 0x55b82aa73af7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7d4afe73c576828a [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x55b82aad7aa5 - as core::ops::function::FnOnce>::call_once::h4f08d401a486e446 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 43: 0x55b82aad7aa5 - as core::ops::function::FnOnce>::call_once::h3476dfcdba628abc [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 44: 0x55b82aad7aa5 - std::sys::pal::unix::thread::Thread::new::thread_start::h2770ac7f8882db09 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f24fe998ac3 - [INFO] [stdout] 46: 0x7f24fea29bf4 - __clone [INFO] [stdout] 47: 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.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "a0b4a2ae7a9297c0a43a0c656bbf4cdb60d3a01170b08ac1c5685f31c0d01843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0b4a2ae7a9297c0a43a0c656bbf4cdb60d3a01170b08ac1c5685f31c0d01843", kill_on_drop: false }` [INFO] [stdout] a0b4a2ae7a9297c0a43a0c656bbf4cdb60d3a01170b08ac1c5685f31c0d01843