[INFO] updating cached repository https://github.com/PENGUINLIONG/lighar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] [stderr] From https://github.com/PENGUINLIONG/lighar [INFO] [stderr] 7b14ca2..cdc49e2 master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cdc49e283813aa5abc8521e20aea08637e65c7be [INFO] testing PENGUINLIONG/lighar against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPENGUINLIONG%2Flighar" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PENGUINLIONG/lighar on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PENGUINLIONG/lighar [INFO] finished tweaking git repo https://github.com/PENGUINLIONG/lighar [INFO] tweaked toml for git repo https://github.com/PENGUINLIONG/lighar written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/PENGUINLIONG/lighar already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 484797b7e25a7d7f67bd521c0acc401f24064424503fc9f27c0c8cec21395c41 [INFO] running `Command { std: "docker" "start" "-a" "484797b7e25a7d7f67bd521c0acc401f24064424503fc9f27c0c8cec21395c41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "484797b7e25a7d7f67bd521c0acc401f24064424503fc9f27c0c8cec21395c41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "484797b7e25a7d7f67bd521c0acc401f24064424503fc9f27c0c8cec21395c41", kill_on_drop: false }` [INFO] [stdout] 484797b7e25a7d7f67bd521c0acc401f24064424503fc9f27c0c8cec21395c41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbe3ade41c594c1ea221fcb0541972acb27178571f2dec752f7393e4ed40664b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dbe3ade41c594c1ea221fcb0541972acb27178571f2dec752f7393e4ed40664b", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling image v0.23.0 [INFO] [stderr] Compiling lighar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Mul` [INFO] [stdout] --> src/rt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Mul; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transform` [INFO] [stdout] --> src/rt.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::geom::{Transform, Triangle, Color}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector` [INFO] [stdout] --> src/img.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geom::{Color, Vector}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rn2` [INFO] [stdout] --> src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let rn2 = rn * rn; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rn2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mat` [INFO] [stdout] --> src/main.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | mat: &Self::Material, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | ray: &Self::Ray, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tri` [INFO] [stdout] --> src/main.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | tri: &Triangle, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | payload: &mut Self::Payload, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mat` [INFO] [stdout] --> src/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | mat: &Self::Material, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/main.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | ray: &Self::Ray, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | payload: &mut Self::Payload [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | let v = n.cross(u); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dplnray_mag` [INFO] [stdout] --> src/geom.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 492 | let dplnray_mag = dplnray.dot(dplnray); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dplnray_mag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ray_cast_sph` [INFO] [stdout] --> src/geom.rs:459:8 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn ray_cast_sph(ray: &Ray, sph: &Sphere) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ray_cast_pln` [INFO] [stdout] --> src/geom.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn ray_cast_pln(ray: &Ray, pln: &Plane) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rough` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | rough: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `metal` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | metal: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DebugPayload` [INFO] [stdout] --> src/main.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct DebugPayload { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `skybox` [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | skybox: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `skybox_samp` [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | skybox_samp: CubeSampler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/main.rs:277:7 [INFO] [stdout] | [INFO] [stdout] 277 | ].into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `p` should have an upper case name [INFO] [stdout] --> src/model.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | const p: f32 = 0.5; [INFO] [stdout] | ^ help: convert the identifier to upper case: `P` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `n` should have an upper case name [INFO] [stdout] --> src/model.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | const n: f32 = -0.5; [INFO] [stdout] | ^ help: convert the identifier to upper case: `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `a` should have an upper case name [INFO] [stdout] --> src/model.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | const a: usize = 0; [INFO] [stdout] | ^ help: convert the identifier to upper case: `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `b` should have an upper case name [INFO] [stdout] --> src/model.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | const b: usize = 1; [INFO] [stdout] | ^ help: convert the identifier to upper case: `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `c` should have an upper case name [INFO] [stdout] --> src/model.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | const c: usize = 2; [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d` should have an upper case name [INFO] [stdout] --> src/model.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | const d: usize = 3; [INFO] [stdout] | ^ help: convert the identifier to upper case: `D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `e` should have an upper case name [INFO] [stdout] --> src/model.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | const e: usize = 4; [INFO] [stdout] | ^ help: convert the identifier to upper case: `E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `f` should have an upper case name [INFO] [stdout] --> src/model.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | const f: usize = 5; [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `F` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `g` should have an upper case name [INFO] [stdout] --> src/model.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | const g: usize = 6; [INFO] [stdout] | ^ help: convert the identifier to upper case: `G` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `h` should have an upper case name [INFO] [stdout] --> src/model.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | const h: usize = 7; [INFO] [stdout] | ^ help: convert the identifier to upper case: `H` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.89s [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dbe3ade41c594c1ea221fcb0541972acb27178571f2dec752f7393e4ed40664b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbe3ade41c594c1ea221fcb0541972acb27178571f2dec752f7393e4ed40664b", kill_on_drop: false }` [INFO] [stdout] dbe3ade41c594c1ea221fcb0541972acb27178571f2dec752f7393e4ed40664b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca5600fe0c388f9598d01d7c0cda3e87cc1f767ac4747972afa362dbb7304b5b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ca5600fe0c388f9598d01d7c0cda3e87cc1f767ac4747972afa362dbb7304b5b", kill_on_drop: false }` [INFO] [stderr] Compiling lighar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Mul` [INFO] [stdout] --> src/rt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Mul; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transform` [INFO] [stdout] --> src/rt.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::geom::{Transform, Triangle, Color}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector` [INFO] [stdout] --> src/img.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geom::{Color, Vector}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rn2` [INFO] [stdout] --> src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let rn2 = rn * rn; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rn2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mat` [INFO] [stdout] --> src/main.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | mat: &Self::Material, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | ray: &Self::Ray, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tri` [INFO] [stdout] --> src/main.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | tri: &Triangle, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | payload: &mut Self::Payload, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mat` [INFO] [stdout] --> src/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | mat: &Self::Material, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/main.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | ray: &Self::Ray, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | payload: &mut Self::Payload [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | let v = n.cross(u); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dplnray_mag` [INFO] [stdout] --> src/geom.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 492 | let dplnray_mag = dplnray.dot(dplnray); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dplnray_mag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ray_cast_sph` [INFO] [stdout] --> src/geom.rs:459:8 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn ray_cast_sph(ray: &Ray, sph: &Sphere) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ray_cast_pln` [INFO] [stdout] --> src/geom.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn ray_cast_pln(ray: &Ray, pln: &Plane) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rough` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | rough: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `metal` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | metal: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DebugPayload` [INFO] [stdout] --> src/main.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct DebugPayload { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `skybox` [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | skybox: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `skybox_samp` [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | skybox_samp: CubeSampler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/main.rs:277:7 [INFO] [stdout] | [INFO] [stdout] 277 | ].into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `p` should have an upper case name [INFO] [stdout] --> src/model.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | const p: f32 = 0.5; [INFO] [stdout] | ^ help: convert the identifier to upper case: `P` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `n` should have an upper case name [INFO] [stdout] --> src/model.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | const n: f32 = -0.5; [INFO] [stdout] | ^ help: convert the identifier to upper case: `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `a` should have an upper case name [INFO] [stdout] --> src/model.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | const a: usize = 0; [INFO] [stdout] | ^ help: convert the identifier to upper case: `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `b` should have an upper case name [INFO] [stdout] --> src/model.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | const b: usize = 1; [INFO] [stdout] | ^ help: convert the identifier to upper case: `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `c` should have an upper case name [INFO] [stdout] --> src/model.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | const c: usize = 2; [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d` should have an upper case name [INFO] [stdout] --> src/model.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | const d: usize = 3; [INFO] [stdout] | ^ help: convert the identifier to upper case: `D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `e` should have an upper case name [INFO] [stdout] --> src/model.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | const e: usize = 4; [INFO] [stdout] | ^ help: convert the identifier to upper case: `E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `f` should have an upper case name [INFO] [stdout] --> src/model.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | const f: usize = 5; [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `F` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `g` should have an upper case name [INFO] [stdout] --> src/model.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | const g: usize = 6; [INFO] [stdout] | ^ help: convert the identifier to upper case: `G` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `h` should have an upper case name [INFO] [stdout] --> src/model.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | const h: usize = 7; [INFO] [stdout] | ^ help: convert the identifier to upper case: `H` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "ca5600fe0c388f9598d01d7c0cda3e87cc1f767ac4747972afa362dbb7304b5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca5600fe0c388f9598d01d7c0cda3e87cc1f767ac4747972afa362dbb7304b5b", kill_on_drop: false }` [INFO] [stdout] ca5600fe0c388f9598d01d7c0cda3e87cc1f767ac4747972afa362dbb7304b5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 01913fd9198c549046191da42d3bf56ba510d224ac5261f703f2d63bd5191e27 [INFO] running `Command { std: "docker" "start" "-a" "01913fd9198c549046191da42d3bf56ba510d224ac5261f703f2d63bd5191e27", kill_on_drop: false }` [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 [INFO] [stdout] [INFO] [stderr] warning: unused import: `std::ops::Mul` [INFO] [stderr] --> src/rt.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Mul; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Transform` [INFO] [stderr] --> src/rt.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::geom::{Transform, Triangle, Color}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Vector` [INFO] [stderr] --> src/img.rs:1:26 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::geom::{Color, Vector}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rn2` [INFO] [stderr] --> src/main.rs:97:13 [INFO] [stderr] | [INFO] [stderr] 97 | let rn2 = rn * rn; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rn2` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mat` [INFO] [stderr] --> src/main.rs:126:9 [INFO] [stderr] | [INFO] [stderr] 126 | mat: &Self::Material, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_mat` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ray` [INFO] [stderr] --> src/main.rs:132:9 [INFO] [stderr] | [INFO] [stderr] 132 | ray: &Self::Ray, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tri` [INFO] [stderr] --> src/main.rs:133:9 [INFO] [stderr] | [INFO] [stderr] 133 | tri: &Triangle, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tri` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `payload` [INFO] [stderr] --> src/main.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | payload: &mut Self::Payload, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mat` [INFO] [stderr] --> src/main.rs:136:9 [INFO] [stderr] | [INFO] [stderr] 136 | mat: &Self::Material, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_mat` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ray` [INFO] [stderr] --> src/main.rs:142:9 [INFO] [stderr] | [INFO] [stderr] 142 | ray: &Self::Ray, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `payload` [INFO] [stderr] --> src/main.rs:143:9 [INFO] [stderr] | [INFO] [stderr] 143 | payload: &mut Self::Payload [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/main.rs:178:21 [INFO] [stderr] | [INFO] [stderr] 178 | let v = n.cross(u); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dplnray_mag` [INFO] [stderr] --> src/geom.rs:492:9 [INFO] [stderr] | [INFO] [stderr] 492 | let dplnray_mag = dplnray.dot(dplnray); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dplnray_mag` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ray_cast_sph` [INFO] [stderr] --> src/geom.rs:459:8 [INFO] [stderr] | [INFO] [stderr] 459 | pub fn ray_cast_sph(ray: &Ray, sph: &Sphere) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ray_cast_pln` [INFO] [stderr] --> src/geom.rs:490:8 [INFO] [stderr] | [INFO] [stderr] 490 | pub fn ray_cast_pln(ray: &Ray, pln: &Plane) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `rough` [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | rough: f32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `metal` [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | metal: f32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `DebugPayload` [INFO] [stderr] --> src/main.rs:51:8 [INFO] [stderr] | [INFO] [stderr] 51 | struct DebugPayload { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `skybox` [INFO] [stderr] --> src/main.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | skybox: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `skybox_samp` [INFO] [stderr] --> src/main.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | skybox_samp: CubeSampler, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/main.rs:277:7 [INFO] [stderr] | [INFO] [stderr] 277 | ].into_iter() [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: constant `p` should have an upper case name [INFO] [stderr] --> src/model.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | const p: f32 = 0.5; [INFO] [stderr] | ^ help: convert the identifier to upper case: `P` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `n` should have an upper case name [INFO] [stderr] --> src/model.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | const n: f32 = -0.5; [INFO] [stderr] | ^ help: convert the identifier to upper case: `N` [INFO] [stderr] [INFO] [stderr] warning: constant `a` should have an upper case name [INFO] [stderr] --> src/model.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | const a: usize = 0; [INFO] [stderr] | ^ help: convert the identifier to upper case: `A` [INFO] [stderr] [INFO] [stderr] warning: constant `b` should have an upper case name [INFO] [stderr] --> src/model.rs:19:11 [INFO] [stderr] | [INFO] [stderr] 19 | const b: usize = 1; [INFO] [stderr] | ^ help: convert the identifier to upper case: `B` [INFO] [stderr] [INFO] [stderr] warning: constant `c` should have an upper case name [INFO] [stderr] --> src/model.rs:20:11 [INFO] [stderr] | [INFO] [stderr] 20 | const c: usize = 2; [INFO] [stderr] | ^ help: convert the identifier to upper case (notice the capitalization): `C` [INFO] [stderr] [INFO] [stderr] warning: constant `d` should have an upper case name [INFO] [stderr] --> src/model.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | const d: usize = 3; [INFO] [stderr] | ^ help: convert the identifier to upper case: `D` [INFO] [stderr] [INFO] [stderr] warning: constant `e` should have an upper case name [INFO] [stderr] --> src/model.rs:22:11 [INFO] [stderr] | [INFO] [stderr] 22 | const e: usize = 4; [INFO] [stderr] | ^ help: convert the identifier to upper case: `E` [INFO] [stderr] [INFO] [stderr] warning: constant `f` should have an upper case name [INFO] [stderr] --> src/model.rs:23:11 [INFO] [stderr] | [INFO] [stderr] 23 | const f: usize = 5; [INFO] [stderr] | ^ help: convert the identifier to upper case (notice the capitalization): `F` [INFO] [stderr] [INFO] [stderr] warning: constant `g` should have an upper case name [INFO] [stderr] --> src/model.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | const g: usize = 6; [INFO] [stderr] | ^ help: convert the identifier to upper case: `G` [INFO] [stderr] [INFO] [stderr] warning: constant `h` should have an upper case name [INFO] [stderr] --> src/model.rs:25:11 [INFO] [stderr] | [INFO] [stderr] 25 | const h: usize = 7; [INFO] [stderr] | ^ help: convert the identifier to upper case: `H` [INFO] [stderr] [INFO] [stderr] warning: 31 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/lighar-f2b4de762f53be90 [INFO] running `Command { std: "docker" "inspect" "01913fd9198c549046191da42d3bf56ba510d224ac5261f703f2d63bd5191e27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01913fd9198c549046191da42d3bf56ba510d224ac5261f703f2d63bd5191e27", kill_on_drop: false }` [INFO] [stdout] 01913fd9198c549046191da42d3bf56ba510d224ac5261f703f2d63bd5191e27