[INFO] cloning repository https://github.com/natnat-mc/rmarcher
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/natnat-mc/rmarcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatnat-mc%2Frmarcher", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatnat-mc%2Frmarcher'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e8d0ba0f25401587b459dbf1bebea2d93a69e4c8
[INFO] testing natnat-mc/rmarcher against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatnat-mc%2Frmarcher" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/natnat-mc/rmarcher on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/natnat-mc/rmarcher
[INFO] finished tweaking git repo https://github.com/natnat-mc/rmarcher
[INFO] tweaked toml for git repo https://github.com/natnat-mc/rmarcher written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/natnat-mc/rmarcher already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b160e07e21b2a1508cc129bd5beba40a1f1d08bb2bdded1dd2f66e4d33a9903a
[INFO] running `Command { std: "docker" "start" "-a" "b160e07e21b2a1508cc129bd5beba40a1f1d08bb2bdded1dd2f66e4d33a9903a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b160e07e21b2a1508cc129bd5beba40a1f1d08bb2bdded1dd2f66e4d33a9903a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b160e07e21b2a1508cc129bd5beba40a1f1d08bb2bdded1dd2f66e4d33a9903a", kill_on_drop: false }`
[INFO] [stdout] b160e07e21b2a1508cc129bd5beba40a1f1d08bb2bdded1dd2f66e4d33a9903a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3af040912835a4490fe64e47eb649f4323a95fdfb86e5be514e2567129dfc0f1
[INFO] running `Command { std: "docker" "start" "-a" "3af040912835a4490fe64e47eb649f4323a95fdfb86e5be514e2567129dfc0f1", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.93
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling weezl v0.1.4
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling bytemuck v1.5.1
[INFO] [stderr]    Compiling memoffset v0.6.3
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling rlua v0.17.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.3
[INFO] [stderr]    Compiling gif v0.11.2
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling bstr v0.2.15
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.3
[INFO] [stderr]    Compiling crossbeam-channel v0.5.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.1
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling crossbeam v0.8.0
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling tiff v0.6.1
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling rmarcher v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 |         |ctx, (pos, radius): (Vec3, Vec3)| LuaObject::new(Cuboid::new(pos, radius))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 |         |ctx, (pos, radius): (Vec3, f64)| LuaObject::new(Cylinder::new(pos, radius))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 |         |ctx, (a, b): (LuaObject, LuaObject)| LuaObject::new(Exclusion::new(a.get(), b.get()))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 |         |ctx, (a, b): (LuaObject, LuaObject)| LuaObject::new(Intersection::new(a.get(), b.get()))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 |         |ctx, obj: LuaObject| LuaObject::new(Negation::new(obj.get()))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 |         |ctx, (normal, offset): (Vec3, f64)| LuaObject::new(Plane::new(normal, offset))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 |         |ctx, (a, b, r): (LuaObject, LuaObject, f64)| LuaObject::new(SmoothUnion::new(a.get(), b.get(), r))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 62 |         |ctx, (pos, radius): (Vec3, f64)| LuaObject::new(Sphere::new(pos, radius))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:66:10
[INFO] [stdout]    |
[INFO] [stdout] 66 |         |ctx, (center, radius, thickness): (Vec3, f64, f64)| LuaObject::new(Torus::new(center, radius, thickness))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:70:10
[INFO] [stdout]    |
[INFO] [stdout] 70 |         |ctx, (obj, trans, disp): (LuaObject, Mat3, Vec3)| LuaObject::new(AffineTransform::new(obj.get(), trans, disp))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:74:10
[INFO] [stdout]    |
[INFO] [stdout] 74 |         |ctx, (obj, trans, center): (LuaObject, Mat3, Vec3)| LuaObject::new(TransformAround::new(obj.get(), trans, center))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:78:10
[INFO] [stdout]    |
[INFO] [stdout] 78 |         |ctx, (a, b): (LuaObject, LuaObject)| LuaObject::new(Union::new(a.get(), b.get()))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:82:10
[INFO] [stdout]    |
[INFO] [stdout] 82 |         |ctx, ()| LuaObject::new(Waves::new())
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 |         |ctx, (obj, light): (LuaObject, Light)| LuaObject::new(WithLights::new_one(obj.get(), light))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:90:10
[INFO] [stdout]    |
[INFO] [stdout] 90 |         |ctx, (obj, lights): (LuaObject, Vec<Light>)| LuaObject::new(WithAnyLights::new(obj.get(), lights))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:94:10
[INFO] [stdout]    |
[INFO] [stdout] 94 |         |ctx, (obj, material): (LuaObject, Material)| LuaObject::new(WithMaterial::new(obj.get(), material))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 |         |ctx, (x, y, z)| Ok(Vec3::new(x, y, z))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]  --> src/lua/vec3.rs:6:51
[INFO] [stdout]   |
[INFO] [stdout] 6 |         methods.add_meta_method(MetaMethod::Add, |ctx, a: &Self, b: Self| Ok(*a+b));
[INFO] [stdout]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]  --> src/lua/vec3.rs:7:51
[INFO] [stdout]   |
[INFO] [stdout] 7 |         methods.add_meta_method(MetaMethod::Sub, |ctx, a: &Self, b: Self| Ok(*a-b));
[INFO] [stdout]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]  --> src/lua/vec3.rs:8:51
[INFO] [stdout]   |
[INFO] [stdout] 8 |         methods.add_meta_method(MetaMethod::Mul, |ctx, a: &Self, b: Self| Ok(*a*b));
[INFO] [stdout]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]  --> src/lua/vec3.rs:9:51
[INFO] [stdout]   |
[INFO] [stdout] 9 |         methods.add_meta_method(MetaMethod::Pow, |ctx, a: &Self, b: Self| Ok(*a^b));
[INFO] [stdout]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:10:51
[INFO] [stdout]    |
[INFO] [stdout] 10 |         methods.add_meta_method(MetaMethod::Unm, |ctx, a: &Self, b: ()| Ok(-*a));
[INFO] [stdout]    |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/lua/vec3.rs:10:66
[INFO] [stdout]    |
[INFO] [stdout] 10 |         methods.add_meta_method(MetaMethod::Unm, |ctx, a: &Self, b: ()| Ok(-*a));
[INFO] [stdout]    |                                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:11:51
[INFO] [stdout]    |
[INFO] [stdout] 11 |         methods.add_meta_method(MetaMethod::Mul, |ctx, a: &Self, b: f64| Ok(*a*b));
[INFO] [stdout]    |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:12:51
[INFO] [stdout]    |
[INFO] [stdout] 12 |         methods.add_meta_method(MetaMethod::Div, |ctx, a: &Self, b: f64| Ok(*a/b));
[INFO] [stdout]    |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:14:34
[INFO] [stdout]    |
[INFO] [stdout] 14 |         methods.add_method("x", |ctx, x, ()| Ok(x.x()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:15:34
[INFO] [stdout]    |
[INFO] [stdout] 15 |         methods.add_method("y", |ctx, x, ()| Ok(x.y()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:16:34
[INFO] [stdout]    |
[INFO] [stdout] 16 |         methods.add_method("z", |ctx, x, ()| Ok(x.z()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:18:42
[INFO] [stdout]    |
[INFO] [stdout] 18 |         methods.add_method("magnitude", |ctx, x, ()| Ok(x.magnitude()));
[INFO] [stdout]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:19:37
[INFO] [stdout]    |
[INFO] [stdout] 19 |         methods.add_method("unit", |ctx, x, ()| Ok(x.unit()));
[INFO] [stdout]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:21:43
[INFO] [stdout]    |
[INFO] [stdout] 21 |         methods.add_method("distanceto", |ctx, x, y| Ok(x.distance_to(y)));
[INFO] [stdout]    |                                           ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:22:40
[INFO] [stdout]    |
[INFO] [stdout] 22 |         methods.add_method("angleto", |ctx, x, y| Ok(x.angle_to(y)));
[INFO] [stdout]    |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:23:42
[INFO] [stdout]    |
[INFO] [stdout] 23 |         methods.add_method("membermul", |ctx, x, y| Ok(x.member_mul(y)));
[INFO] [stdout]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 |         |ctx, (a, b, c, d, e, f, g, h, i)| Ok(Mat3::new(a, b, c, d, e, f, g, h, i))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]  --> src/lua/mat3.rs:6:51
[INFO] [stdout]   |
[INFO] [stdout] 6 |         methods.add_meta_method(MetaMethod::Add, |ctx, a: &Self, b: Self| Ok(*a+b));
[INFO] [stdout]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]  --> src/lua/mat3.rs:7:51
[INFO] [stdout]   |
[INFO] [stdout] 7 |         methods.add_meta_method(MetaMethod::Sub, |ctx, a: &Self, b: Self| Ok(*a-b));
[INFO] [stdout]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]  --> src/lua/mat3.rs:8:51
[INFO] [stdout]   |
[INFO] [stdout] 8 |         methods.add_meta_method(MetaMethod::Mul, |ctx, a: &Self, b: Self| Ok(*a*b));
[INFO] [stdout]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]  --> src/lua/mat3.rs:9:51
[INFO] [stdout]   |
[INFO] [stdout] 9 |         methods.add_meta_method(MetaMethod::Unm, |ctx, a: &Self, b: ()| Ok(-*a));
[INFO] [stdout]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]  --> src/lua/mat3.rs:9:66
[INFO] [stdout]   |
[INFO] [stdout] 9 |         methods.add_meta_method(MetaMethod::Unm, |ctx, a: &Self, b: ()| Ok(-*a));
[INFO] [stdout]   |                                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:11:51
[INFO] [stdout]    |
[INFO] [stdout] 11 |         methods.add_meta_method(MetaMethod::Div, |ctx, a: &Self, b: f64| Ok(*a/b));
[INFO] [stdout]    |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:13:34
[INFO] [stdout]    |
[INFO] [stdout] 13 |         methods.add_method("a", |ctx, x, ()| Ok(x.a()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:14:34
[INFO] [stdout]    |
[INFO] [stdout] 14 |         methods.add_method("b", |ctx, x, ()| Ok(x.b()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:15:34
[INFO] [stdout]    |
[INFO] [stdout] 15 |         methods.add_method("c", |ctx, x, ()| Ok(x.c()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:16:34
[INFO] [stdout]    |
[INFO] [stdout] 16 |         methods.add_method("d", |ctx, x, ()| Ok(x.d()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:17:34
[INFO] [stdout]    |
[INFO] [stdout] 17 |         methods.add_method("e", |ctx, x, ()| Ok(x.e()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:18:34
[INFO] [stdout]    |
[INFO] [stdout] 18 |         methods.add_method("f", |ctx, x, ()| Ok(x.f()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 |         methods.add_method("g", |ctx, x, ()| Ok(x.g()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:20:34
[INFO] [stdout]    |
[INFO] [stdout] 20 |         methods.add_method("h", |ctx, x, ()| Ok(x.h()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:21:34
[INFO] [stdout]    |
[INFO] [stdout] 21 |         methods.add_method("i", |ctx, x, ()| Ok(x.i()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:23:36
[INFO] [stdout]    |
[INFO] [stdout] 23 |         methods.add_method("det", |ctx, x, ()| Ok(x.det()));
[INFO] [stdout]    |                                    ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:24:37
[INFO] [stdout]    |
[INFO] [stdout] 24 |         methods.add_method("trans",|ctx, x, ()| Ok(x.trans()));
[INFO] [stdout]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:25:38
[INFO] [stdout]    |
[INFO] [stdout] 25 |         methods.add_method("minor", |ctx, x, ()| Ok(x.minor()));
[INFO] [stdout]    |                                      ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 |         methods.add_method("invert", |ctx, x, ()| Ok(x.invert()));
[INFO] [stdout]    |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:28:42
[INFO] [stdout]    |
[INFO] [stdout] 28 |         methods.add_method("membermul", |ctx, x, y| Ok(x.member_mul(y)));
[INFO] [stdout]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/color.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 |         |ctx, (r, g, b, u)| Ok(ColorVec::new([r, g, b, u]))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/color.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |         |ctx, (
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/color.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 |         |ctx, vec: ColorVec| Ok(ColorMat::new_from_diagonal(vec))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/color.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |         |ctx, (r, g, b, u)| Ok(ColorMat::new_from_diagonal(ColorVec::new([r, g, b, u])))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/material.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |ctx, (emission, reflection, surface)| Ok(Material::new(emission, reflection, surface))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/material.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 |         |ctx, (emission, reflection, surface)| Ok(Material::new_from_diagonal(emission, reflection, surface))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/light.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 |         |ctx, (pos, color)| Ok(Light::new(pos, color))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 |         |ctx, (x, y, z)| Ok(scale_xyz(x, y, z))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 |         |ctx, k| Ok(scale(k))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 |         |ctx, k| Ok(scale_x(k))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |         |ctx, k| Ok(scale_y(k))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 |         |ctx, k| Ok(scale_z(k))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 |         |ctx, (x, y, z)| Ok(rotate_xyz(x, y, z))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 |         |ctx, a| Ok(rotate_x(a))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 |         |ctx, a| Ok(rotate_y(a))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 |         |ctx, a| Ok(rotate_z(a))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:44:10
[INFO] [stdout]    |
[INFO] [stdout] 44 |         |ctx, transforms: Vec<Mat3>| {
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_cam` is never used
[INFO] [stdout]   --> src/main.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn default_cam() -> Cam {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_scene1` is never used
[INFO] [stdout]   --> src/main.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn default_scene1() -> Scene {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_scene2` is never used
[INFO] [stdout]   --> src/main.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn default_scene2() -> Scene {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_scene3` is never used
[INFO] [stdout]   --> src/main.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn default_scene3() -> Scene {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RED` is never used
[INFO] [stdout]   --> src/material.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / pub const RED: Material = Material::new_from_diagonal(
[INFO] [stdout] 42 | |     COLOR_ZERO,
[INFO] [stdout] 43 | |     ColorVec::new([0.75, 0.25, 0.25, 0.]),
[INFO] [stdout] 44 | |     Diffuse
[INFO] [stdout] 45 | | );
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GREEN` is never used
[INFO] [stdout]   --> src/material.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / pub const GREEN: Material = Material::new_from_diagonal(
[INFO] [stdout] 47 | |     COLOR_ZERO,
[INFO] [stdout] 48 | |     ColorVec::new([0.25, 0.75, 0.25, 0.]),
[INFO] [stdout] 49 | |     Diffuse
[INFO] [stdout] 50 | | );
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLUE` is never used
[INFO] [stdout]   --> src/material.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / pub const BLUE: Material = Material::new_from_diagonal(
[INFO] [stdout] 52 | |     COLOR_ZERO,
[INFO] [stdout] 53 | |     ColorVec::new([0.25, 0.25, 0.75, 0.]),
[INFO] [stdout] 54 | |     Diffuse
[INFO] [stdout] 55 | | );
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LIGHTSOURCE` is never used
[INFO] [stdout]   --> src/material.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | / pub const LIGHTSOURCE: Material = Material::new_from_diagonal(
[INFO] [stdout] 57 | |     ColorVec::new([1., 1., 1., 0.]),
[INFO] [stdout] 58 | |     COLOR_ONE,
[INFO] [stdout] 59 | |     Diffuse
[INFO] [stdout] 60 | | );
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MIRROR` is never used
[INFO] [stdout]   --> src/material.rs:62:1
[INFO] [stdout]    |
[INFO] [stdout] 62 | / pub const MIRROR: Material = Material::new_from_diagonal(
[INFO] [stdout] 63 | |     COLOR_ZERO,
[INFO] [stdout] 64 | |     ColorVec::new([0.9, 0.9, 0.9, 0.9]),
[INFO] [stdout] 65 | |     Reflective
[INFO] [stdout] 66 | | );
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STRONG_LIGHTSOURCE` is never used
[INFO] [stdout]   --> src/material.rs:68:1
[INFO] [stdout]    |
[INFO] [stdout] 68 | / pub const STRONG_LIGHTSOURCE: Material = Material::new_from_diagonal(
[INFO] [stdout] 69 | |     ColorVec::new([5., 5., 5., 0.]),
[INFO] [stdout] 70 | |     COLOR_ZERO,
[INFO] [stdout] 71 | |     Stop
[INFO] [stdout] 72 | | );
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BRIGHT_AF_LIGHTSOURCE` is never used
[INFO] [stdout]   --> src/material.rs:74:1
[INFO] [stdout]    |
[INFO] [stdout] 74 | / pub const BRIGHT_AF_LIGHTSOURCE: Material = Material::new_from_diagonal(
[INFO] [stdout] 75 | |     ColorVec::new([25., 25., 25., 0.]),
[INFO] [stdout] 76 | |     COLOR_ZERO,
[INFO] [stdout] 77 | |     Stop
[INFO] [stdout] 78 | | );
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UV_LIGHTSOURCE` is never used
[INFO] [stdout]   --> src/material.rs:80:1
[INFO] [stdout]    |
[INFO] [stdout] 80 | / pub const UV_LIGHTSOURCE: Material = Material::new_from_diagonal(
[INFO] [stdout] 81 | |     ColorVec::new_one(3),
[INFO] [stdout] 82 | |     ColorVec::new([0.25, 0.25, 0.25, 1.]),
[INFO] [stdout] 83 | |     Diffuse
[INFO] [stdout] 84 | | );
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLUORESCENT` is never used
[INFO] [stdout]   --> src/material.rs:85:1
[INFO] [stdout]    |
[INFO] [stdout] 85 | / pub const FLUORESCENT: Material = Material::new(
[INFO] [stdout] 86 | |     ColorVec::new([0.25; COLOR_CHANNELS]),
[INFO] [stdout] 87 | |     ColorMat::new([
[INFO] [stdout] 88 | |         [1., 0., 0., 0.75],
[INFO] [stdout] ...  |
[INFO] [stdout] 93 | |     Diffuse
[INFO] [stdout] 94 | | );
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_xyz` is never used
[INFO] [stdout]   --> src/object/sphere.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub const fn new_xyz(x: f64, y: f64, z: f64, radius: f64) -> Sphere {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_xyz` is never used
[INFO] [stdout]   --> src/object/plane.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new_xyz(x: f64, y: f64, z: f64, offset: f64) -> Plane {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_raw` is never used
[INFO] [stdout]   --> src/object/plane.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub const unsafe fn new_raw(normal: Vec3, offset: f64) -> Plane {
[INFO] [stdout]    |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_xyz` is never used
[INFO] [stdout]   --> src/object/cuboid.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new_xyz(cx: f64, cy: f64, cz: f64, rx: f64, ry: f64, rz: f64) -> Cuboid {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_xyz` is never used
[INFO] [stdout]   --> src/object/torus.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub const fn new_xyz(x: f64, y: f64, z: f64, radius: f64, thickness: f64) -> Torus {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/object/with_material.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn new(obj: T, fun: F) -> WithDynamicMaterial<T, F> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/object/with_lights.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn new(obj: T, lights: [Light; N]) -> WithLights<T, N> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_light` is never used
[INFO] [stdout]   --> src/object/with_lights.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn add_light(&mut self, light: Light) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_linear` is never used
[INFO] [stdout]   --> src/object/transform.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn new_linear(obj: T, transform: Mat3) -> AffineTransform<T> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_translate` is never used
[INFO] [stdout]   --> src/object/transform.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn new_translate(obj: T, translate: Vec3) -> AffineTransform<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_from_box` is never used
[INFO] [stdout]   --> src/object/scene.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new_from_box(scene: Box<dyn ObjClone>) -> Scene {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_cols` is never used
[INFO] [stdout]   --> src/structs/mat3.rs:38:18
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub const fn new_cols(a: Vec3, b: Vec3, c: Vec3) -> Mat3 {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_rows` is never used
[INFO] [stdout]   --> src/structs/mat3.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub const fn new_rows(a: Vec3, d: Vec3, g: Vec3) -> Mat3 {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_one` is never used
[INFO] [stdout]   --> src/structs/vec_n.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub const fn new_one(i: usize) -> Vec<N> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `magnitude` is never used
[INFO] [stdout]   --> src/structs/vec_n.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn magnitude(self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `unit` is never used
[INFO] [stdout]   --> src/structs/vec_n.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn unit(self) -> Vec<N> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `distance_to` is never used
[INFO] [stdout]   --> src/structs/vec_n.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn distance_to(self, other: Vec<N>) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `member_mul` is never used
[INFO] [stdout]   --> src/structs/vec_n.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn member_mul(self, other: Vec<N>) -> Vec<N> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_unit` is never used
[INFO] [stdout]   --> src/structs/mat_n.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub const fn new_unit() -> Mat<N> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_one` is never used
[INFO] [stdout]   --> src/structs/mat_n.rs:28:18
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub const fn new_one(i: usize, j: usize) -> Mat<N> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `v` is never used
[INFO] [stdout]   --> src/structs/mat_n.rs:44:18
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub const fn v(&self, i: usize, j: usize) -> f64 {
[INFO] [stdout]    |                  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_from_to` is never used
[INFO] [stdout]   --> src/structs/ray.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new_from_to(from: Vec3, to: Vec3) -> Ray {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `unit` is never used
[INFO] [stdout]   --> src/structs/ray.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn unit(&self) -> Ray {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from` is never used
[INFO] [stdout]   --> src/structs/ray.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn from(&self) -> Vec3 { self.from }
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `dir` is never used
[INFO] [stdout]   --> src/structs/ray.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn dir(&self) -> Vec3 { self.dir }
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_pointing` is never used
[INFO] [stdout]   --> src/structs/cam.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn new_pointing(pos: Vec3, pointing: Vec3, fov: f64) -> Cam {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RIGHT` is never used
[INFO] [stdout]   --> src/consts.rs:49:1
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub const RIGHT: Vec3 = X;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FORWARD` is never used
[INFO] [stdout]   --> src/consts.rs:50:1
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub const FORWARD: Vec3 = Z;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 112 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [optimized + debuginfo] target(s) in 35.28s
[INFO] running `Command { std: "docker" "inspect" "3af040912835a4490fe64e47eb649f4323a95fdfb86e5be514e2567129dfc0f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3af040912835a4490fe64e47eb649f4323a95fdfb86e5be514e2567129dfc0f1", kill_on_drop: false }`
[INFO] [stdout] 3af040912835a4490fe64e47eb649f4323a95fdfb86e5be514e2567129dfc0f1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d62587aa8e13130fc5a7de134ef66cae8263e7bd1e474e058e4531fbf7a71b7b
[INFO] running `Command { std: "docker" "start" "-a" "d62587aa8e13130fc5a7de134ef66cae8263e7bd1e474e058e4531fbf7a71b7b", kill_on_drop: false }`
[INFO] [stderr]    Compiling rmarcher v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 |         |ctx, (pos, radius): (Vec3, Vec3)| LuaObject::new(Cuboid::new(pos, radius))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 |         |ctx, (pos, radius): (Vec3, f64)| LuaObject::new(Cylinder::new(pos, radius))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 |         |ctx, (a, b): (LuaObject, LuaObject)| LuaObject::new(Exclusion::new(a.get(), b.get()))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 |         |ctx, (a, b): (LuaObject, LuaObject)| LuaObject::new(Intersection::new(a.get(), b.get()))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 |         |ctx, obj: LuaObject| LuaObject::new(Negation::new(obj.get()))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 |         |ctx, (normal, offset): (Vec3, f64)| LuaObject::new(Plane::new(normal, offset))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 |         |ctx, (a, b, r): (LuaObject, LuaObject, f64)| LuaObject::new(SmoothUnion::new(a.get(), b.get(), r))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 62 |         |ctx, (pos, radius): (Vec3, f64)| LuaObject::new(Sphere::new(pos, radius))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:66:10
[INFO] [stdout]    |
[INFO] [stdout] 66 |         |ctx, (center, radius, thickness): (Vec3, f64, f64)| LuaObject::new(Torus::new(center, radius, thickness))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:70:10
[INFO] [stdout]    |
[INFO] [stdout] 70 |         |ctx, (obj, trans, disp): (LuaObject, Mat3, Vec3)| LuaObject::new(AffineTransform::new(obj.get(), trans, disp))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:74:10
[INFO] [stdout]    |
[INFO] [stdout] 74 |         |ctx, (obj, trans, center): (LuaObject, Mat3, Vec3)| LuaObject::new(TransformAround::new(obj.get(), trans, center))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:78:10
[INFO] [stdout]    |
[INFO] [stdout] 78 |         |ctx, (a, b): (LuaObject, LuaObject)| LuaObject::new(Union::new(a.get(), b.get()))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:82:10
[INFO] [stdout]    |
[INFO] [stdout] 82 |         |ctx, ()| LuaObject::new(Waves::new())
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 |         |ctx, (obj, light): (LuaObject, Light)| LuaObject::new(WithLights::new_one(obj.get(), light))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:90:10
[INFO] [stdout]    |
[INFO] [stdout] 90 |         |ctx, (obj, lights): (LuaObject, Vec<Light>)| LuaObject::new(WithAnyLights::new(obj.get(), lights))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/obj.rs:94:10
[INFO] [stdout]    |
[INFO] [stdout] 94 |         |ctx, (obj, material): (LuaObject, Material)| LuaObject::new(WithMaterial::new(obj.get(), material))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 |         |ctx, (x, y, z)| Ok(Vec3::new(x, y, z))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]  --> src/lua/vec3.rs:6:51
[INFO] [stdout]   |
[INFO] [stdout] 6 |         methods.add_meta_method(MetaMethod::Add, |ctx, a: &Self, b: Self| Ok(*a+b));
[INFO] [stdout]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]  --> src/lua/vec3.rs:7:51
[INFO] [stdout]   |
[INFO] [stdout] 7 |         methods.add_meta_method(MetaMethod::Sub, |ctx, a: &Self, b: Self| Ok(*a-b));
[INFO] [stdout]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]  --> src/lua/vec3.rs:8:51
[INFO] [stdout]   |
[INFO] [stdout] 8 |         methods.add_meta_method(MetaMethod::Mul, |ctx, a: &Self, b: Self| Ok(*a*b));
[INFO] [stdout]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]  --> src/lua/vec3.rs:9:51
[INFO] [stdout]   |
[INFO] [stdout] 9 |         methods.add_meta_method(MetaMethod::Pow, |ctx, a: &Self, b: Self| Ok(*a^b));
[INFO] [stdout]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:10:51
[INFO] [stdout]    |
[INFO] [stdout] 10 |         methods.add_meta_method(MetaMethod::Unm, |ctx, a: &Self, b: ()| Ok(-*a));
[INFO] [stdout]    |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/lua/vec3.rs:10:66
[INFO] [stdout]    |
[INFO] [stdout] 10 |         methods.add_meta_method(MetaMethod::Unm, |ctx, a: &Self, b: ()| Ok(-*a));
[INFO] [stdout]    |                                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:11:51
[INFO] [stdout]    |
[INFO] [stdout] 11 |         methods.add_meta_method(MetaMethod::Mul, |ctx, a: &Self, b: f64| Ok(*a*b));
[INFO] [stdout]    |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:12:51
[INFO] [stdout]    |
[INFO] [stdout] 12 |         methods.add_meta_method(MetaMethod::Div, |ctx, a: &Self, b: f64| Ok(*a/b));
[INFO] [stdout]    |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:14:34
[INFO] [stdout]    |
[INFO] [stdout] 14 |         methods.add_method("x", |ctx, x, ()| Ok(x.x()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:15:34
[INFO] [stdout]    |
[INFO] [stdout] 15 |         methods.add_method("y", |ctx, x, ()| Ok(x.y()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:16:34
[INFO] [stdout]    |
[INFO] [stdout] 16 |         methods.add_method("z", |ctx, x, ()| Ok(x.z()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:18:42
[INFO] [stdout]    |
[INFO] [stdout] 18 |         methods.add_method("magnitude", |ctx, x, ()| Ok(x.magnitude()));
[INFO] [stdout]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:19:37
[INFO] [stdout]    |
[INFO] [stdout] 19 |         methods.add_method("unit", |ctx, x, ()| Ok(x.unit()));
[INFO] [stdout]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:21:43
[INFO] [stdout]    |
[INFO] [stdout] 21 |         methods.add_method("distanceto", |ctx, x, y| Ok(x.distance_to(y)));
[INFO] [stdout]    |                                           ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:22:40
[INFO] [stdout]    |
[INFO] [stdout] 22 |         methods.add_method("angleto", |ctx, x, y| Ok(x.angle_to(y)));
[INFO] [stdout]    |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/vec3.rs:23:42
[INFO] [stdout]    |
[INFO] [stdout] 23 |         methods.add_method("membermul", |ctx, x, y| Ok(x.member_mul(y)));
[INFO] [stdout]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 |         |ctx, (a, b, c, d, e, f, g, h, i)| Ok(Mat3::new(a, b, c, d, e, f, g, h, i))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]  --> src/lua/mat3.rs:6:51
[INFO] [stdout]   |
[INFO] [stdout] 6 |         methods.add_meta_method(MetaMethod::Add, |ctx, a: &Self, b: Self| Ok(*a+b));
[INFO] [stdout]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]  --> src/lua/mat3.rs:7:51
[INFO] [stdout]   |
[INFO] [stdout] 7 |         methods.add_meta_method(MetaMethod::Sub, |ctx, a: &Self, b: Self| Ok(*a-b));
[INFO] [stdout]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]  --> src/lua/mat3.rs:8:51
[INFO] [stdout]   |
[INFO] [stdout] 8 |         methods.add_meta_method(MetaMethod::Mul, |ctx, a: &Self, b: Self| Ok(*a*b));
[INFO] [stdout]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]  --> src/lua/mat3.rs:9:51
[INFO] [stdout]   |
[INFO] [stdout] 9 |         methods.add_meta_method(MetaMethod::Unm, |ctx, a: &Self, b: ()| Ok(-*a));
[INFO] [stdout]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]  --> src/lua/mat3.rs:9:66
[INFO] [stdout]   |
[INFO] [stdout] 9 |         methods.add_meta_method(MetaMethod::Unm, |ctx, a: &Self, b: ()| Ok(-*a));
[INFO] [stdout]   |                                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:11:51
[INFO] [stdout]    |
[INFO] [stdout] 11 |         methods.add_meta_method(MetaMethod::Div, |ctx, a: &Self, b: f64| Ok(*a/b));
[INFO] [stdout]    |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:13:34
[INFO] [stdout]    |
[INFO] [stdout] 13 |         methods.add_method("a", |ctx, x, ()| Ok(x.a()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:14:34
[INFO] [stdout]    |
[INFO] [stdout] 14 |         methods.add_method("b", |ctx, x, ()| Ok(x.b()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:15:34
[INFO] [stdout]    |
[INFO] [stdout] 15 |         methods.add_method("c", |ctx, x, ()| Ok(x.c()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:16:34
[INFO] [stdout]    |
[INFO] [stdout] 16 |         methods.add_method("d", |ctx, x, ()| Ok(x.d()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:17:34
[INFO] [stdout]    |
[INFO] [stdout] 17 |         methods.add_method("e", |ctx, x, ()| Ok(x.e()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:18:34
[INFO] [stdout]    |
[INFO] [stdout] 18 |         methods.add_method("f", |ctx, x, ()| Ok(x.f()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 |         methods.add_method("g", |ctx, x, ()| Ok(x.g()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:20:34
[INFO] [stdout]    |
[INFO] [stdout] 20 |         methods.add_method("h", |ctx, x, ()| Ok(x.h()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:21:34
[INFO] [stdout]    |
[INFO] [stdout] 21 |         methods.add_method("i", |ctx, x, ()| Ok(x.i()));
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:23:36
[INFO] [stdout]    |
[INFO] [stdout] 23 |         methods.add_method("det", |ctx, x, ()| Ok(x.det()));
[INFO] [stdout]    |                                    ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:24:37
[INFO] [stdout]    |
[INFO] [stdout] 24 |         methods.add_method("trans",|ctx, x, ()| Ok(x.trans()));
[INFO] [stdout]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:25:38
[INFO] [stdout]    |
[INFO] [stdout] 25 |         methods.add_method("minor", |ctx, x, ()| Ok(x.minor()));
[INFO] [stdout]    |                                      ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 |         methods.add_method("invert", |ctx, x, ()| Ok(x.invert()));
[INFO] [stdout]    |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/mat3.rs:28:42
[INFO] [stdout]    |
[INFO] [stdout] 28 |         methods.add_method("membermul", |ctx, x, y| Ok(x.member_mul(y)));
[INFO] [stdout]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/color.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 |         |ctx, (r, g, b, u)| Ok(ColorVec::new([r, g, b, u]))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/color.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |         |ctx, (
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/color.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 |         |ctx, vec: ColorVec| Ok(ColorMat::new_from_diagonal(vec))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/color.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |         |ctx, (r, g, b, u)| Ok(ColorMat::new_from_diagonal(ColorVec::new([r, g, b, u])))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/material.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |ctx, (emission, reflection, surface)| Ok(Material::new(emission, reflection, surface))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/material.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 |         |ctx, (emission, reflection, surface)| Ok(Material::new_from_diagonal(emission, reflection, surface))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/light.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 |         |ctx, (pos, color)| Ok(Light::new(pos, color))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 |         |ctx, (x, y, z)| Ok(scale_xyz(x, y, z))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 |         |ctx, k| Ok(scale(k))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 |         |ctx, k| Ok(scale_x(k))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |         |ctx, k| Ok(scale_y(k))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 |         |ctx, k| Ok(scale_z(k))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 |         |ctx, (x, y, z)| Ok(rotate_xyz(x, y, z))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 |         |ctx, a| Ok(rotate_x(a))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 |         |ctx, a| Ok(rotate_y(a))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 |         |ctx, a| Ok(rotate_z(a))
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/lua/transform.rs:44:10
[INFO] [stdout]    |
[INFO] [stdout] 44 |         |ctx, transforms: Vec<Mat3>| {
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_cam` is never used
[INFO] [stdout]   --> src/main.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn default_cam() -> Cam {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_scene1` is never used
[INFO] [stdout]   --> src/main.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn default_scene1() -> Scene {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_scene2` is never used
[INFO] [stdout]   --> src/main.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn default_scene2() -> Scene {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_scene3` is never used
[INFO] [stdout]   --> src/main.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn default_scene3() -> Scene {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RED` is never used
[INFO] [stdout]   --> src/material.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | / pub const RED: Material = Material::new_from_diagonal(
[INFO] [stdout] 42 | |     COLOR_ZERO,
[INFO] [stdout] 43 | |     ColorVec::new([0.75, 0.25, 0.25, 0.]),
[INFO] [stdout] 44 | |     Diffuse
[INFO] [stdout] 45 | | );
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GREEN` is never used
[INFO] [stdout]   --> src/material.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | / pub const GREEN: Material = Material::new_from_diagonal(
[INFO] [stdout] 47 | |     COLOR_ZERO,
[INFO] [stdout] 48 | |     ColorVec::new([0.25, 0.75, 0.25, 0.]),
[INFO] [stdout] 49 | |     Diffuse
[INFO] [stdout] 50 | | );
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLUE` is never used
[INFO] [stdout]   --> src/material.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | / pub const BLUE: Material = Material::new_from_diagonal(
[INFO] [stdout] 52 | |     COLOR_ZERO,
[INFO] [stdout] 53 | |     ColorVec::new([0.25, 0.25, 0.75, 0.]),
[INFO] [stdout] 54 | |     Diffuse
[INFO] [stdout] 55 | | );
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LIGHTSOURCE` is never used
[INFO] [stdout]   --> src/material.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | / pub const LIGHTSOURCE: Material = Material::new_from_diagonal(
[INFO] [stdout] 57 | |     ColorVec::new([1., 1., 1., 0.]),
[INFO] [stdout] 58 | |     COLOR_ONE,
[INFO] [stdout] 59 | |     Diffuse
[INFO] [stdout] 60 | | );
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MIRROR` is never used
[INFO] [stdout]   --> src/material.rs:62:1
[INFO] [stdout]    |
[INFO] [stdout] 62 | / pub const MIRROR: Material = Material::new_from_diagonal(
[INFO] [stdout] 63 | |     COLOR_ZERO,
[INFO] [stdout] 64 | |     ColorVec::new([0.9, 0.9, 0.9, 0.9]),
[INFO] [stdout] 65 | |     Reflective
[INFO] [stdout] 66 | | );
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STRONG_LIGHTSOURCE` is never used
[INFO] [stdout]   --> src/material.rs:68:1
[INFO] [stdout]    |
[INFO] [stdout] 68 | / pub const STRONG_LIGHTSOURCE: Material = Material::new_from_diagonal(
[INFO] [stdout] 69 | |     ColorVec::new([5., 5., 5., 0.]),
[INFO] [stdout] 70 | |     COLOR_ZERO,
[INFO] [stdout] 71 | |     Stop
[INFO] [stdout] 72 | | );
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BRIGHT_AF_LIGHTSOURCE` is never used
[INFO] [stdout]   --> src/material.rs:74:1
[INFO] [stdout]    |
[INFO] [stdout] 74 | / pub const BRIGHT_AF_LIGHTSOURCE: Material = Material::new_from_diagonal(
[INFO] [stdout] 75 | |     ColorVec::new([25., 25., 25., 0.]),
[INFO] [stdout] 76 | |     COLOR_ZERO,
[INFO] [stdout] 77 | |     Stop
[INFO] [stdout] 78 | | );
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UV_LIGHTSOURCE` is never used
[INFO] [stdout]   --> src/material.rs:80:1
[INFO] [stdout]    |
[INFO] [stdout] 80 | / pub const UV_LIGHTSOURCE: Material = Material::new_from_diagonal(
[INFO] [stdout] 81 | |     ColorVec::new_one(3),
[INFO] [stdout] 82 | |     ColorVec::new([0.25, 0.25, 0.25, 1.]),
[INFO] [stdout] 83 | |     Diffuse
[INFO] [stdout] 84 | | );
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLUORESCENT` is never used
[INFO] [stdout]   --> src/material.rs:85:1
[INFO] [stdout]    |
[INFO] [stdout] 85 | / pub const FLUORESCENT: Material = Material::new(
[INFO] [stdout] 86 | |     ColorVec::new([0.25; COLOR_CHANNELS]),
[INFO] [stdout] 87 | |     ColorMat::new([
[INFO] [stdout] 88 | |         [1., 0., 0., 0.75],
[INFO] [stdout] ...  |
[INFO] [stdout] 93 | |     Diffuse
[INFO] [stdout] 94 | | );
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_xyz` is never used
[INFO] [stdout]   --> src/object/sphere.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub const fn new_xyz(x: f64, y: f64, z: f64, radius: f64) -> Sphere {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_xyz` is never used
[INFO] [stdout]   --> src/object/plane.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new_xyz(x: f64, y: f64, z: f64, offset: f64) -> Plane {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_raw` is never used
[INFO] [stdout]   --> src/object/plane.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub const unsafe fn new_raw(normal: Vec3, offset: f64) -> Plane {
[INFO] [stdout]    |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_xyz` is never used
[INFO] [stdout]   --> src/object/cuboid.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new_xyz(cx: f64, cy: f64, cz: f64, rx: f64, ry: f64, rz: f64) -> Cuboid {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_xyz` is never used
[INFO] [stdout]   --> src/object/torus.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub const fn new_xyz(x: f64, y: f64, z: f64, radius: f64, thickness: f64) -> Torus {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/object/with_material.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn new(obj: T, fun: F) -> WithDynamicMaterial<T, F> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/object/with_lights.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn new(obj: T, lights: [Light; N]) -> WithLights<T, N> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_light` is never used
[INFO] [stdout]   --> src/object/with_lights.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn add_light(&mut self, light: Light) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_linear` is never used
[INFO] [stdout]   --> src/object/transform.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn new_linear(obj: T, transform: Mat3) -> AffineTransform<T> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_translate` is never used
[INFO] [stdout]   --> src/object/transform.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn new_translate(obj: T, translate: Vec3) -> AffineTransform<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_from_box` is never used
[INFO] [stdout]   --> src/object/scene.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new_from_box(scene: Box<dyn ObjClone>) -> Scene {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_cols` is never used
[INFO] [stdout]   --> src/structs/mat3.rs:38:18
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub const fn new_cols(a: Vec3, b: Vec3, c: Vec3) -> Mat3 {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_rows` is never used
[INFO] [stdout]   --> src/structs/mat3.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub const fn new_rows(a: Vec3, d: Vec3, g: Vec3) -> Mat3 {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_one` is never used
[INFO] [stdout]   --> src/structs/vec_n.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub const fn new_one(i: usize) -> Vec<N> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `magnitude` is never used
[INFO] [stdout]   --> src/structs/vec_n.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn magnitude(self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `unit` is never used
[INFO] [stdout]   --> src/structs/vec_n.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn unit(self) -> Vec<N> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `distance_to` is never used
[INFO] [stdout]   --> src/structs/vec_n.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn distance_to(self, other: Vec<N>) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `member_mul` is never used
[INFO] [stdout]   --> src/structs/vec_n.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn member_mul(self, other: Vec<N>) -> Vec<N> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_unit` is never used
[INFO] [stdout]   --> src/structs/mat_n.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub const fn new_unit() -> Mat<N> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_one` is never used
[INFO] [stdout]   --> src/structs/mat_n.rs:28:18
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub const fn new_one(i: usize, j: usize) -> Mat<N> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `v` is never used
[INFO] [stdout]   --> src/structs/mat_n.rs:44:18
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub const fn v(&self, i: usize, j: usize) -> f64 {
[INFO] [stdout]    |                  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_from_to` is never used
[INFO] [stdout]   --> src/structs/ray.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new_from_to(from: Vec3, to: Vec3) -> Ray {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `unit` is never used
[INFO] [stdout]   --> src/structs/ray.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn unit(&self) -> Ray {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from` is never used
[INFO] [stdout]   --> src/structs/ray.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn from(&self) -> Vec3 { self.from }
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `dir` is never used
[INFO] [stdout]   --> src/structs/ray.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn dir(&self) -> Vec3 { self.dir }
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_pointing` is never used
[INFO] [stdout]   --> src/structs/cam.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn new_pointing(pos: Vec3, pointing: Vec3, fov: f64) -> Cam {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RIGHT` is never used
[INFO] [stdout]   --> src/consts.rs:49:1
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub const RIGHT: Vec3 = X;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FORWARD` is never used
[INFO] [stdout]   --> src/consts.rs:50:1
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub const FORWARD: Vec3 = Z;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 112 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [optimized + debuginfo] target(s) in 0.82s
[INFO] running `Command { std: "docker" "inspect" "d62587aa8e13130fc5a7de134ef66cae8263e7bd1e474e058e4531fbf7a71b7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d62587aa8e13130fc5a7de134ef66cae8263e7bd1e474e058e4531fbf7a71b7b", kill_on_drop: false }`
[INFO] [stdout] d62587aa8e13130fc5a7de134ef66cae8263e7bd1e474e058e4531fbf7a71b7b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 09133e0de38c55e2f81c4ab7dfe17e7c9a9105172617e6da968ce7713cd69542
[INFO] running `Command { std: "docker" "start" "-a" "09133e0de38c55e2f81c4ab7dfe17e7c9a9105172617e6da968ce7713cd69542", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/obj.rs:34:10
[INFO] [stderr]    |
[INFO] [stderr] 34 |         |ctx, (pos, radius): (Vec3, Vec3)| LuaObject::new(Cuboid::new(pos, radius))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/obj.rs:38:10
[INFO] [stderr]    |
[INFO] [stderr] 38 |         |ctx, (pos, radius): (Vec3, f64)| LuaObject::new(Cylinder::new(pos, radius))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/obj.rs:42:10
[INFO] [stderr]    |
[INFO] [stderr] 42 |         |ctx, (a, b): (LuaObject, LuaObject)| LuaObject::new(Exclusion::new(a.get(), b.get()))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/obj.rs:46:10
[INFO] [stderr]    |
[INFO] [stderr] 46 |         |ctx, (a, b): (LuaObject, LuaObject)| LuaObject::new(Intersection::new(a.get(), b.get()))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/obj.rs:50:10
[INFO] [stderr]    |
[INFO] [stderr] 50 |         |ctx, obj: LuaObject| LuaObject::new(Negation::new(obj.get()))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/obj.rs:54:10
[INFO] [stderr]    |
[INFO] [stderr] 54 |         |ctx, (normal, offset): (Vec3, f64)| LuaObject::new(Plane::new(normal, offset))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/obj.rs:58:10
[INFO] [stderr]    |
[INFO] [stderr] 58 |         |ctx, (a, b, r): (LuaObject, LuaObject, f64)| LuaObject::new(SmoothUnion::new(a.get(), b.get(), r))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/obj.rs:62:10
[INFO] [stderr]    |
[INFO] [stderr] 62 |         |ctx, (pos, radius): (Vec3, f64)| LuaObject::new(Sphere::new(pos, radius))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/obj.rs:66:10
[INFO] [stderr]    |
[INFO] [stderr] 66 |         |ctx, (center, radius, thickness): (Vec3, f64, f64)| LuaObject::new(Torus::new(center, radius, thickness))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/obj.rs:70:10
[INFO] [stderr]    |
[INFO] [stderr] 70 |         |ctx, (obj, trans, disp): (LuaObject, Mat3, Vec3)| LuaObject::new(AffineTransform::new(obj.get(), trans, disp))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/obj.rs:74:10
[INFO] [stderr]    |
[INFO] [stderr] 74 |         |ctx, (obj, trans, center): (LuaObject, Mat3, Vec3)| LuaObject::new(TransformAround::new(obj.get(), trans, center))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/obj.rs:78:10
[INFO] [stderr]    |
[INFO] [stderr] 78 |         |ctx, (a, b): (LuaObject, LuaObject)| LuaObject::new(Union::new(a.get(), b.get()))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/obj.rs:82:10
[INFO] [stderr]    |
[INFO] [stderr] 82 |         |ctx, ()| LuaObject::new(Waves::new())
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/obj.rs:86:10
[INFO] [stderr]    |
[INFO] [stderr] 86 |         |ctx, (obj, light): (LuaObject, Light)| LuaObject::new(WithLights::new_one(obj.get(), light))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/obj.rs:90:10
[INFO] [stderr]    |
[INFO] [stderr] 90 |         |ctx, (obj, lights): (LuaObject, Vec<Light>)| LuaObject::new(WithAnyLights::new(obj.get(), lights))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/obj.rs:94:10
[INFO] [stderr]    |
[INFO] [stderr] 94 |         |ctx, (obj, material): (LuaObject, Material)| LuaObject::new(WithMaterial::new(obj.get(), material))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/vec3.rs:31:10
[INFO] [stderr]    |
[INFO] [stderr] 31 |         |ctx, (x, y, z)| Ok(Vec3::new(x, y, z))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]  --> src/lua/vec3.rs:6:51
[INFO] [stderr]   |
[INFO] [stderr] 6 |         methods.add_meta_method(MetaMethod::Add, |ctx, a: &Self, b: Self| Ok(*a+b));
[INFO] [stderr]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]  --> src/lua/vec3.rs:7:51
[INFO] [stderr]   |
[INFO] [stderr] 7 |         methods.add_meta_method(MetaMethod::Sub, |ctx, a: &Self, b: Self| Ok(*a-b));
[INFO] [stderr]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]  --> src/lua/vec3.rs:8:51
[INFO] [stderr]   |
[INFO] [stderr] 8 |         methods.add_meta_method(MetaMethod::Mul, |ctx, a: &Self, b: Self| Ok(*a*b));
[INFO] [stderr]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]  --> src/lua/vec3.rs:9:51
[INFO] [stderr]   |
[INFO] [stderr] 9 |         methods.add_meta_method(MetaMethod::Pow, |ctx, a: &Self, b: Self| Ok(*a^b));
[INFO] [stderr]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/vec3.rs:10:51
[INFO] [stderr]    |
[INFO] [stderr] 10 |         methods.add_meta_method(MetaMethod::Unm, |ctx, a: &Self, b: ()| Ok(-*a));
[INFO] [stderr]    |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `b`
[INFO] [stderr]   --> src/lua/vec3.rs:10:66
[INFO] [stderr]    |
[INFO] [stderr] 10 |         methods.add_meta_method(MetaMethod::Unm, |ctx, a: &Self, b: ()| Ok(-*a));
[INFO] [stderr]    |                                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/vec3.rs:11:51
[INFO] [stderr]    |
[INFO] [stderr] 11 |         methods.add_meta_method(MetaMethod::Mul, |ctx, a: &Self, b: f64| Ok(*a*b));
[INFO] [stderr]    |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/vec3.rs:12:51
[INFO] [stderr]    |
[INFO] [stderr] 12 |         methods.add_meta_method(MetaMethod::Div, |ctx, a: &Self, b: f64| Ok(*a/b));
[INFO] [stderr]    |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/vec3.rs:14:34
[INFO] [stderr]    |
[INFO] [stderr] 14 |         methods.add_method("x", |ctx, x, ()| Ok(x.x()));
[INFO] [stderr]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/vec3.rs:15:34
[INFO] [stderr]    |
[INFO] [stderr] 15 |         methods.add_method("y", |ctx, x, ()| Ok(x.y()));
[INFO] [stderr]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/vec3.rs:16:34
[INFO] [stderr]    |
[INFO] [stderr] 16 |         methods.add_method("z", |ctx, x, ()| Ok(x.z()));
[INFO] [stderr]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/vec3.rs:18:42
[INFO] [stderr]    |
[INFO] [stderr] 18 |         methods.add_method("magnitude", |ctx, x, ()| Ok(x.magnitude()));
[INFO] [stderr]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/vec3.rs:19:37
[INFO] [stderr]    |
[INFO] [stderr] 19 |         methods.add_method("unit", |ctx, x, ()| Ok(x.unit()));
[INFO] [stderr]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/vec3.rs:21:43
[INFO] [stderr]    |
[INFO] [stderr] 21 |         methods.add_method("distanceto", |ctx, x, y| Ok(x.distance_to(y)));
[INFO] [stderr]    |                                           ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/vec3.rs:22:40
[INFO] [stderr]    |
[INFO] [stderr] 22 |         methods.add_method("angleto", |ctx, x, y| Ok(x.angle_to(y)));
[INFO] [stderr]    |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/vec3.rs:23:42
[INFO] [stderr]    |
[INFO] [stderr] 23 |         methods.add_method("membermul", |ctx, x, y| Ok(x.member_mul(y)));
[INFO] [stderr]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/mat3.rs:36:10
[INFO] [stderr]    |
[INFO] [stderr] 36 |         |ctx, (a, b, c, d, e, f, g, h, i)| Ok(Mat3::new(a, b, c, d, e, f, g, h, i))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]  --> src/lua/mat3.rs:6:51
[INFO] [stderr]   |
[INFO] [stderr] 6 |         methods.add_meta_method(MetaMethod::Add, |ctx, a: &Self, b: Self| Ok(*a+b));
[INFO] [stderr]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]  --> src/lua/mat3.rs:7:51
[INFO] [stderr]   |
[INFO] [stderr] 7 |         methods.add_meta_method(MetaMethod::Sub, |ctx, a: &Self, b: Self| Ok(*a-b));
[INFO] [stderr]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]  --> src/lua/mat3.rs:8:51
[INFO] [stderr]   |
[INFO] [stderr] 8 |         methods.add_meta_method(MetaMethod::Mul, |ctx, a: &Self, b: Self| Ok(*a*b));
[INFO] [stderr]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]  --> src/lua/mat3.rs:9:51
[INFO] [stderr]   |
[INFO] [stderr] 9 |         methods.add_meta_method(MetaMethod::Unm, |ctx, a: &Self, b: ()| Ok(-*a));
[INFO] [stderr]   |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `b`
[INFO] [stderr]  --> src/lua/mat3.rs:9:66
[INFO] [stderr]   |
[INFO] [stderr] 9 |         methods.add_meta_method(MetaMethod::Unm, |ctx, a: &Self, b: ()| Ok(-*a));
[INFO] [stderr]   |                                                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/mat3.rs:11:51
[INFO] [stderr]    |
[INFO] [stderr] 11 |         methods.add_meta_method(MetaMethod::Div, |ctx, a: &Self, b: f64| Ok(*a/b));
[INFO] [stderr]    |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/mat3.rs:13:34
[INFO] [stderr]    |
[INFO] [stderr] 13 |         methods.add_method("a", |ctx, x, ()| Ok(x.a()));
[INFO] [stderr]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/mat3.rs:14:34
[INFO] [stderr]    |
[INFO] [stderr] 14 |         methods.add_method("b", |ctx, x, ()| Ok(x.b()));
[INFO] [stderr]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/mat3.rs:15:34
[INFO] [stderr]    |
[INFO] [stderr] 15 |         methods.add_method("c", |ctx, x, ()| Ok(x.c()));
[INFO] [stderr]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/mat3.rs:16:34
[INFO] [stderr]    |
[INFO] [stderr] 16 |         methods.add_method("d", |ctx, x, ()| Ok(x.d()));
[INFO] [stderr]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/mat3.rs:17:34
[INFO] [stderr]    |
[INFO] [stderr] 17 |         methods.add_method("e", |ctx, x, ()| Ok(x.e()));
[INFO] [stderr]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/mat3.rs:18:34
[INFO] [stderr]    |
[INFO] [stderr] 18 |         methods.add_method("f", |ctx, x, ()| Ok(x.f()));
[INFO] [stderr]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/mat3.rs:19:34
[INFO] [stderr]    |
[INFO] [stderr] 19 |         methods.add_method("g", |ctx, x, ()| Ok(x.g()));
[INFO] [stderr]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/mat3.rs:20:34
[INFO] [stderr]    |
[INFO] [stderr] 20 |         methods.add_method("h", |ctx, x, ()| Ok(x.h()));
[INFO] [stderr]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/mat3.rs:21:34
[INFO] [stderr]    |
[INFO] [stderr] 21 |         methods.add_method("i", |ctx, x, ()| Ok(x.i()));
[INFO] [stderr]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/mat3.rs:23:36
[INFO] [stderr]    |
[INFO] [stderr] 23 |         methods.add_method("det", |ctx, x, ()| Ok(x.det()));
[INFO] [stderr]    |                                    ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/mat3.rs:24:37
[INFO] [stderr]    |
[INFO] [stderr] 24 |         methods.add_method("trans",|ctx, x, ()| Ok(x.trans()));
[INFO] [stderr]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/mat3.rs:25:38
[INFO] [stderr]    |
[INFO] [stderr] 25 |         methods.add_method("minor", |ctx, x, ()| Ok(x.minor()));
[INFO] [stderr]    |                                      ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/mat3.rs:26:39
[INFO] [stderr]    |
[INFO] [stderr] 26 |         methods.add_method("invert", |ctx, x, ()| Ok(x.invert()));
[INFO] [stderr]    |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/mat3.rs:28:42
[INFO] [stderr]    |
[INFO] [stderr] 28 |         methods.add_method("membermul", |ctx, x, y| Ok(x.member_mul(y)));
[INFO] [stderr]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/color.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 |         |ctx, (r, g, b, u)| Ok(ColorVec::new([r, g, b, u]))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/color.rs:23:10
[INFO] [stderr]    |
[INFO] [stderr] 23 |         |ctx, (
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/color.rs:37:10
[INFO] [stderr]    |
[INFO] [stderr] 37 |         |ctx, vec: ColorVec| Ok(ColorMat::new_from_diagonal(vec))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/color.rs:41:10
[INFO] [stderr]    |
[INFO] [stderr] 41 |         |ctx, (r, g, b, u)| Ok(ColorMat::new_from_diagonal(ColorVec::new([r, g, b, u])))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/material.rs:21:10
[INFO] [stderr]    |
[INFO] [stderr] 21 |         |ctx, (emission, reflection, surface)| Ok(Material::new(emission, reflection, surface))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/material.rs:25:10
[INFO] [stderr]    |
[INFO] [stderr] 25 |         |ctx, (emission, reflection, surface)| Ok(Material::new_from_diagonal(emission, reflection, surface))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/light.rs:10:10
[INFO] [stderr]    |
[INFO] [stderr] 10 |         |ctx, (pos, color)| Ok(Light::new(pos, color))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/transform.rs:13:10
[INFO] [stderr]    |
[INFO] [stderr] 13 |         |ctx, (x, y, z)| Ok(scale_xyz(x, y, z))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/transform.rs:16:10
[INFO] [stderr]    |
[INFO] [stderr] 16 |         |ctx, k| Ok(scale(k))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/transform.rs:20:10
[INFO] [stderr]    |
[INFO] [stderr] 20 |         |ctx, k| Ok(scale_x(k))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/transform.rs:23:10
[INFO] [stderr]    |
[INFO] [stderr] 23 |         |ctx, k| Ok(scale_y(k))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/transform.rs:26:10
[INFO] [stderr]    |
[INFO] [stderr] 26 |         |ctx, k| Ok(scale_z(k))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/transform.rs:30:10
[INFO] [stderr]    |
[INFO] [stderr] 30 |         |ctx, (x, y, z)| Ok(rotate_xyz(x, y, z))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/transform.rs:34:10
[INFO] [stderr]    |
[INFO] [stderr] 34 |         |ctx, a| Ok(rotate_x(a))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/transform.rs:37:10
[INFO] [stderr]    |
[INFO] [stderr] 37 |         |ctx, a| Ok(rotate_y(a))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/transform.rs:40:10
[INFO] [stderr]    |
[INFO] [stderr] 40 |         |ctx, a| Ok(rotate_z(a))
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/lua/transform.rs:44:10
[INFO] [stderr]    |
[INFO] [stderr] 44 |         |ctx, transforms: Vec<Mat3>| {
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_cam` is never used
[INFO] [stderr]   --> src/main.rs:16:4
[INFO] [stderr]    |
[INFO] [stderr] 16 | fn default_cam() -> Cam {
[INFO] [stderr]    |    ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_scene1` is never used
[INFO] [stderr]   --> src/main.rs:20:4
[INFO] [stderr]    |
[INFO] [stderr] 20 | fn default_scene1() -> Scene {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_scene2` is never used
[INFO] [stderr]   --> src/main.rs:58:4
[INFO] [stderr]    |
[INFO] [stderr] 58 | fn default_scene2() -> Scene {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_scene3` is never used
[INFO] [stderr]   --> src/main.rs:70:4
[INFO] [stderr]    |
[INFO] [stderr] 70 | fn default_scene3() -> Scene {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `RED` is never used
[INFO] [stderr]   --> src/material.rs:41:1
[INFO] [stderr]    |
[INFO] [stderr] 41 | / pub const RED: Material = Material::new_from_diagonal(
[INFO] [stderr] 42 | |     COLOR_ZERO,
[INFO] [stderr] 43 | |     ColorVec::new([0.75, 0.25, 0.25, 0.]),
[INFO] [stderr] 44 | |     Diffuse
[INFO] [stderr] 45 | | );
[INFO] [stderr]    | |__^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `GREEN` is never used
[INFO] [stderr]   --> src/material.rs:46:1
[INFO] [stderr]    |
[INFO] [stderr] 46 | / pub const GREEN: Material = Material::new_from_diagonal(
[INFO] [stderr] 47 | |     COLOR_ZERO,
[INFO] [stderr] 48 | |     ColorVec::new([0.25, 0.75, 0.25, 0.]),
[INFO] [stderr] 49 | |     Diffuse
[INFO] [stderr] 50 | | );
[INFO] [stderr]    | |__^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `BLUE` is never used
[INFO] [stderr]   --> src/material.rs:51:1
[INFO] [stderr]    |
[INFO] [stderr] 51 | / pub const BLUE: Material = Material::new_from_diagonal(
[INFO] [stderr] 52 | |     COLOR_ZERO,
[INFO] [stderr] 53 | |     ColorVec::new([0.25, 0.25, 0.75, 0.]),
[INFO] [stderr] 54 | |     Diffuse
[INFO] [stderr] 55 | | );
[INFO] [stderr]    | |__^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `LIGHTSOURCE` is never used
[INFO] [stderr]   --> src/material.rs:56:1
[INFO] [stderr]    |
[INFO] [stderr] 56 | / pub const LIGHTSOURCE: Material = Material::new_from_diagonal(
[INFO] [stderr] 57 | |     ColorVec::new([1., 1., 1., 0.]),
[INFO] [stderr] 58 | |     COLOR_ONE,
[INFO] [stderr] 59 | |     Diffuse
[INFO] [stderr] 60 | | );
[INFO] [stderr]    | |__^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MIRROR` is never used
[INFO] [stderr]   --> src/material.rs:62:1
[INFO] [stderr]    |
[INFO] [stderr] 62 | / pub const MIRROR: Material = Material::new_from_diagonal(
[INFO] [stderr] 63 | |     COLOR_ZERO,
[INFO] [stderr] 64 | |     ColorVec::new([0.9, 0.9, 0.9, 0.9]),
[INFO] [stderr] 65 | |     Reflective
[INFO] [stderr] 66 | | );
[INFO] [stderr]    | |__^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `STRONG_LIGHTSOURCE` is never used
[INFO] [stderr]   --> src/material.rs:68:1
[INFO] [stderr]    |
[INFO] [stderr] 68 | / pub const STRONG_LIGHTSOURCE: Material = Material::new_from_diagonal(
[INFO] [stderr] 69 | |     ColorVec::new([5., 5., 5., 0.]),
[INFO] [stderr] 70 | |     COLOR_ZERO,
[INFO] [stderr] 71 | |     Stop
[INFO] [stderr] 72 | | );
[INFO] [stderr]    | |__^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `BRIGHT_AF_LIGHTSOURCE` is never used
[INFO] [stderr]   --> src/material.rs:74:1
[INFO] [stderr]    |
[INFO] [stderr] 74 | / pub const BRIGHT_AF_LIGHTSOURCE: Material = Material::new_from_diagonal(
[INFO] [stderr] 75 | |     ColorVec::new([25., 25., 25., 0.]),
[INFO] [stderr] 76 | |     COLOR_ZERO,
[INFO] [stderr] 77 | |     Stop
[INFO] [stderr] 78 | | );
[INFO] [stderr]    | |__^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `UV_LIGHTSOURCE` is never used
[INFO] [stderr]   --> src/material.rs:80:1
[INFO] [stderr]    |
[INFO] [stderr] 80 | / pub const UV_LIGHTSOURCE: Material = Material::new_from_diagonal(
[INFO] [stderr] 81 | |     ColorVec::new_one(3),
[INFO] [stderr] 82 | |     ColorVec::new([0.25, 0.25, 0.25, 1.]),
[INFO] [stderr] 83 | |     Diffuse
[INFO] [stderr] 84 | | );
[INFO] [stderr]    | |__^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `FLUORESCENT` is never used
[INFO] [stderr]   --> src/material.rs:85:1
[INFO] [stderr]    |
[INFO] [stderr] 85 | / pub const FLUORESCENT: Material = Material::new(
[INFO] [stderr] 86 | |     ColorVec::new([0.25; COLOR_CHANNELS]),
[INFO] [stderr] 87 | |     ColorMat::new([
[INFO] [stderr] 88 | |         [1., 0., 0., 0.75],
[INFO] [stderr] ...  |
[INFO] [stderr] 93 | |     Diffuse
[INFO] [stderr] 94 | | );
[INFO] [stderr]    | |__^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new_xyz` is never used
[INFO] [stderr]   --> src/object/sphere.rs:14:18
[INFO] [stderr]    |
[INFO] [stderr] 14 |     pub const fn new_xyz(x: f64, y: f64, z: f64, radius: f64) -> Sphere {
[INFO] [stderr]    |                  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new_xyz` is never used
[INFO] [stderr]   --> src/object/plane.rs:15:12
[INFO] [stderr]    |
[INFO] [stderr] 15 |     pub fn new_xyz(x: f64, y: f64, z: f64, offset: f64) -> Plane {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new_raw` is never used
[INFO] [stderr]   --> src/object/plane.rs:19:25
[INFO] [stderr]    |
[INFO] [stderr] 19 |     pub const unsafe fn new_raw(normal: Vec3, offset: f64) -> Plane {
[INFO] [stderr]    |                         ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new_xyz` is never used
[INFO] [stderr]   --> src/object/cuboid.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 14 |     pub fn new_xyz(cx: f64, cy: f64, cz: f64, rx: f64, ry: f64, rz: f64) -> Cuboid {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new_xyz` is never used
[INFO] [stderr]   --> src/object/torus.rs:15:18
[INFO] [stderr]    |
[INFO] [stderr] 15 |     pub const fn new_xyz(x: f64, y: f64, z: f64, radius: f64, thickness: f64) -> Torus {
[INFO] [stderr]    |                  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/object/with_material.rs:43:12
[INFO] [stderr]    |
[INFO] [stderr] 43 |     pub fn new(obj: T, fun: F) -> WithDynamicMaterial<T, F> {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/object/with_lights.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 13 |     pub fn new(obj: T, lights: [Light; N]) -> WithLights<T, N> {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `add_light` is never used
[INFO] [stderr]   --> src/object/with_lights.rs:57:12
[INFO] [stderr]    |
[INFO] [stderr] 57 |     pub fn add_light(&mut self, light: Light) {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new_linear` is never used
[INFO] [stderr]   --> src/object/transform.rs:19:12
[INFO] [stderr]    |
[INFO] [stderr] 19 |     pub fn new_linear(obj: T, transform: Mat3) -> AffineTransform<T> {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new_translate` is never used
[INFO] [stderr]   --> src/object/transform.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 22 |     pub fn new_translate(obj: T, translate: Vec3) -> AffineTransform<T> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new_from_box` is never used
[INFO] [stderr]   --> src/object/scene.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 14 |     pub fn new_from_box(scene: Box<dyn ObjClone>) -> Scene {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new_cols` is never used
[INFO] [stderr]   --> src/structs/mat3.rs:38:18
[INFO] [stderr]    |
[INFO] [stderr] 38 |     pub const fn new_cols(a: Vec3, b: Vec3, c: Vec3) -> Mat3 {
[INFO] [stderr]    |                  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new_rows` is never used
[INFO] [stderr]   --> src/structs/mat3.rs:46:18
[INFO] [stderr]    |
[INFO] [stderr] 46 |     pub const fn new_rows(a: Vec3, d: Vec3, g: Vec3) -> Mat3 {
[INFO] [stderr]    |                  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new_one` is never used
[INFO] [stderr]   --> src/structs/vec_n.rs:17:18
[INFO] [stderr]    |
[INFO] [stderr] 17 |     pub const fn new_one(i: usize) -> Vec<N> {
[INFO] [stderr]    |                  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `magnitude` is never used
[INFO] [stderr]   --> src/structs/vec_n.rs:27:12
[INFO] [stderr]    |
[INFO] [stderr] 27 |     pub fn magnitude(self) -> f64 {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `unit` is never used
[INFO] [stderr]   --> src/structs/vec_n.rs:36:12
[INFO] [stderr]    |
[INFO] [stderr] 36 |     pub fn unit(self) -> Vec<N> {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `distance_to` is never used
[INFO] [stderr]   --> src/structs/vec_n.rs:40:12
[INFO] [stderr]    |
[INFO] [stderr] 40 |     pub fn distance_to(self, other: Vec<N>) -> f64 {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `member_mul` is never used
[INFO] [stderr]   --> src/structs/vec_n.rs:44:12
[INFO] [stderr]    |
[INFO] [stderr] 44 |     pub fn member_mul(self, other: Vec<N>) -> Vec<N> {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new_unit` is never used
[INFO] [stderr]   --> src/structs/mat_n.rs:18:18
[INFO] [stderr]    |
[INFO] [stderr] 18 |     pub const fn new_unit() -> Mat<N> {
[INFO] [stderr]    |                  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new_one` is never used
[INFO] [stderr]   --> src/structs/mat_n.rs:28:18
[INFO] [stderr]    |
[INFO] [stderr] 28 |     pub const fn new_one(i: usize, j: usize) -> Mat<N> {
[INFO] [stderr]    |                  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `v` is never used
[INFO] [stderr]   --> src/structs/mat_n.rs:44:18
[INFO] [stderr]    |
[INFO] [stderr] 44 |     pub const fn v(&self, i: usize, j: usize) -> f64 {
[INFO] [stderr]    |                  ^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new_from_to` is never used
[INFO] [stderr]   --> src/structs/ray.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 14 |     pub fn new_from_to(from: Vec3, to: Vec3) -> Ray {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `unit` is never used
[INFO] [stderr]   --> src/structs/ray.rs:18:12
[INFO] [stderr]    |
[INFO] [stderr] 18 |     pub fn unit(&self) -> Ray {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from` is never used
[INFO] [stderr]   --> src/structs/ray.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 22 |     pub fn from(&self) -> Vec3 { self.from }
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `dir` is never used
[INFO] [stderr]   --> src/structs/ray.rs:23:12
[INFO] [stderr]    |
[INFO] [stderr] 23 |     pub fn dir(&self) -> Vec3 { self.dir }
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new_pointing` is never used
[INFO] [stderr]   --> src/structs/cam.rs:27:12
[INFO] [stderr]    |
[INFO] [stderr] 27 |     pub fn new_pointing(pos: Vec3, pointing: Vec3, fov: f64) -> Cam {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `RIGHT` is never used
[INFO] [stderr]   --> src/consts.rs:49:1
[INFO] [stderr]    |
[INFO] [stderr] 49 | pub const RIGHT: Vec3 = X;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `FORWARD` is never used
[INFO] [stderr]   --> src/consts.rs:50:1
[INFO] [stderr]    |
[INFO] [stderr] 50 | pub const FORWARD: Vec3 = Z;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rmarcher` (bin "rmarcher" test) generated 112 warnings
[INFO] [stderr]     Finished test [optimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rmarcher-0da9e728625e29fc)
[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] running `Command { std: "docker" "inspect" "09133e0de38c55e2f81c4ab7dfe17e7c9a9105172617e6da968ce7713cd69542", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "09133e0de38c55e2f81c4ab7dfe17e7c9a9105172617e6da968ce7713cd69542", kill_on_drop: false }`
[INFO] [stdout] 09133e0de38c55e2f81c4ab7dfe17e7c9a9105172617e6da968ce7713cd69542
