[INFO] cloning repository https://github.com/post-rex/sdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/post-rex/sdf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpost-rex%2Fsdf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpost-rex%2Fsdf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ffb402a9658943f26af3876f9adc04baa7fc19e [INFO] building post-rex/sdf against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpost-rex%2Fsdf" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/post-rex/sdf [INFO] finished tweaking git repo https://github.com/post-rex/sdf [INFO] tweaked toml for git repo https://github.com/post-rex/sdf written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/post-rex/sdf on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/post-rex/sdf 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nalgebra-macros v0.1.0 [INFO] [stderr] Downloaded bytemuck v1.7.2 [INFO] [stderr] Downloaded matrixmultiply v0.3.1 [INFO] [stderr] Downloaded simba v0.6.0 [INFO] [stderr] Downloaded fastrand v1.5.0 [INFO] [stderr] Downloaded memoffset v0.6.4 [INFO] [stderr] Downloaded mimalloc v0.1.26 [INFO] [stderr] Downloaded safe_arch v0.6.0 [INFO] [stderr] Downloaded ahash v0.7.4 [INFO] [stderr] Downloaded gif v0.11.2 [INFO] [stderr] Downloaded hecs v0.6.5 [INFO] [stderr] Downloaded wide v0.7.1 [INFO] [stderr] Downloaded nalgebra v0.29.0 [INFO] [stderr] Downloaded libc v0.2.102 [INFO] [stderr] Downloaded libmimalloc-sys v0.1.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97eec753793f4d55fe9f0696cd29903c20cb6b00b470214a90bab8e6347949ce [INFO] running `Command { std: "docker" "start" "-a" "97eec753793f4d55fe9f0696cd29903c20cb6b00b470214a90bab8e6347949ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97eec753793f4d55fe9f0696cd29903c20cb6b00b470214a90bab8e6347949ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97eec753793f4d55fe9f0696cd29903c20cb6b00b470214a90bab8e6347949ce", kill_on_drop: false }` [INFO] [stdout] 97eec753793f4d55fe9f0696cd29903c20cb6b00b470214a90bab8e6347949ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 68b5af20372dd1295ce98669d1e2a13d2e9d1d70653cbc35f48b30269fb81c44 [INFO] running `Command { std: "docker" "start" "-a" "68b5af20372dd1295ce98669d1e2a13d2e9d1d70653cbc35f48b30269fb81c44", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling wasi v0.10.2+wasi-snapshot-preview1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling wide v0.7.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling matrixmultiply v0.3.1 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling libmimalloc-sys v0.1.22 [INFO] [stderr] Compiling hecs v0.6.5 [INFO] [stderr] Compiling approx v0.5.0 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling mimalloc v0.1.26 [INFO] [stderr] Compiling simba v0.6.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling nalgebra v0.29.0 [INFO] [stderr] Compiling sdf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/light.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Color, Vec3f}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra::Vector3` [INFO] [stdout] --> src/light.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::Vector3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div` and `Mul` [INFO] [stdout] --> src/light.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Div, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Norm` [INFO] [stdout] --> src/ray.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{Norm, Vector3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector4` [INFO] [stdout] --> src/sdf.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::{Vector2, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sdf` [INFO] [stdout] --> src/main.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::sdf::{color_sphere, Sdf}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Intersect` [INFO] [stdout] --> src/main.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::world::{Intersect, World}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra as na` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point3`, `Point4`, and `Vector` [INFO] [stdout] --> src/main.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use nalgebra::{Point2, Point3, Point4, Vector, Vector2, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | fn shader(world: &World, mut dir: Vector3) -> Vector4 { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pt` [INFO] [stdout] --> src/main.rs:249:33 [INFO] [stdout] | [INFO] [stdout] 249 | LightKind::Infinite(pt) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ILLUM_THRESHOLD` is never used [INFO] [stdout] --> src/main.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | const ILLUM_THRESHOLD: f32 = 0.000001; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorWrapper` is never constructed [INFO] [stdout] --> src/main.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct ColorWrapper(pub Color); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `color` is never used [INFO] [stdout] --> src/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn color(x: f32, y: f32, z: f32) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `origin` is never read [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 62 | origin: Vector3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rf32` is never used [INFO] [stdout] --> src/main.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn rf32() -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `background_shader` is never used [INFO] [stdout] --> src/main.rs:312:4 [INFO] [stdout] | [INFO] [stdout] 312 | fn background_shader(_world: &World, dir: &Vector3) -> Vector4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AllBright` and `Infinite` are never constructed [INFO] [stdout] --> src/light.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum LightKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 12 | AllBright, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | Point, [INFO] [stdout] 14 | Infinite(Vec3f), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uv` is never read [INFO] [stdout] --> src/sdf.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Sdf { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | uv: Arc Uv + Send + Sync>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sdf` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `steps` and `distance` are never read [INFO] [stdout] --> src/world.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Intersect { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub steps: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub distance: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.00s [INFO] running `Command { std: "docker" "inspect" "68b5af20372dd1295ce98669d1e2a13d2e9d1d70653cbc35f48b30269fb81c44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68b5af20372dd1295ce98669d1e2a13d2e9d1d70653cbc35f48b30269fb81c44", kill_on_drop: false }` [INFO] [stdout] 68b5af20372dd1295ce98669d1e2a13d2e9d1d70653cbc35f48b30269fb81c44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] f35bce5f5f642f5af77f1319435c7df883d47099a75eafaf0ad85060ee78dcf3 [INFO] running `Command { std: "docker" "start" "-a" "f35bce5f5f642f5af77f1319435c7df883d47099a75eafaf0ad85060ee78dcf3", kill_on_drop: false }` [INFO] [stderr] Compiling sdf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/light.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Color, Vec3f}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra::Vector3` [INFO] [stdout] --> src/light.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::Vector3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div` and `Mul` [INFO] [stdout] --> src/light.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Div, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Norm` [INFO] [stdout] --> src/ray.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{Norm, Vector3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector4` [INFO] [stdout] --> src/sdf.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::{Vector2, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sdf` [INFO] [stdout] --> src/main.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::sdf::{color_sphere, Sdf}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Intersect` [INFO] [stdout] --> src/main.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::world::{Intersect, World}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra as na` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use nalgebra as na; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point3`, `Point4`, and `Vector` [INFO] [stdout] --> src/main.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use nalgebra::{Point2, Point3, Point4, Vector, Vector2, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | fn shader(world: &World, mut dir: Vector3) -> Vector4 { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pt` [INFO] [stdout] --> src/main.rs:249:33 [INFO] [stdout] | [INFO] [stdout] 249 | LightKind::Infinite(pt) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ILLUM_THRESHOLD` is never used [INFO] [stdout] --> src/main.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | const ILLUM_THRESHOLD: f32 = 0.000001; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorWrapper` is never constructed [INFO] [stdout] --> src/main.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct ColorWrapper(pub Color); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `color` is never used [INFO] [stdout] --> src/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn color(x: f32, y: f32, z: f32) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `origin` is never read [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 62 | origin: Vector3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rf32` is never used [INFO] [stdout] --> src/main.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn rf32() -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `background_shader` is never used [INFO] [stdout] --> src/main.rs:312:4 [INFO] [stdout] | [INFO] [stdout] 312 | fn background_shader(_world: &World, dir: &Vector3) -> Vector4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AllBright` and `Infinite` are never constructed [INFO] [stdout] --> src/light.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum LightKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 12 | AllBright, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | Point, [INFO] [stdout] 14 | Infinite(Vec3f), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uv` is never read [INFO] [stdout] --> src/sdf.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Sdf { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | uv: Arc Uv + Send + Sync>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sdf` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `steps` and `distance` are never read [INFO] [stdout] --> src/world.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Intersect { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub steps: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub distance: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "f35bce5f5f642f5af77f1319435c7df883d47099a75eafaf0ad85060ee78dcf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f35bce5f5f642f5af77f1319435c7df883d47099a75eafaf0ad85060ee78dcf3", kill_on_drop: false }` [INFO] [stdout] f35bce5f5f642f5af77f1319435c7df883d47099a75eafaf0ad85060ee78dcf3