[INFO] cloning repository https://github.com/BjarkePedersen/raytracey-not-a-raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BjarkePedersen/raytracey-not-a-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBjarkePedersen%2Fraytracey-not-a-raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBjarkePedersen%2Fraytracey-not-a-raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2496c6b5c131656078ef766a90415a2475c6ac8 [INFO] testing BjarkePedersen/raytracey-not-a-raytracer against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBjarkePedersen%2Fraytracey-not-a-raytracer" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BjarkePedersen/raytracey-not-a-raytracer on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BjarkePedersen/raytracey-not-a-raytracer [INFO] finished tweaking git repo https://github.com/BjarkePedersen/raytracey-not-a-raytracer [INFO] tweaked toml for git repo https://github.com/BjarkePedersen/raytracey-not-a-raytracer written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BjarkePedersen/raytracey-not-a-raytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-iter v0.1.37 [INFO] [stderr] Downloaded time v0.3.1 [INFO] [stderr] Downloaded rand v0.4.5 [INFO] [stderr] Downloaded sdl2 v0.31.0 [INFO] [stderr] Downloaded sdl2-sys v0.31.0 [INFO] [stderr] Downloaded nix v0.20.1 [INFO] [stderr] Downloaded orbclient v0.3.20 [INFO] [stderr] Downloaded xkbcommon-sys v0.7.5 [INFO] [stderr] Downloaded xkb v0.2.1 [INFO] [stderr] Downloaded minifb v0.19.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 780031233cb5262aff8b5067ce6e95d7c4bb47767ffe40bddcf202283ec6c7f3 [INFO] running `Command { std: "docker" "start" "-a" "780031233cb5262aff8b5067ce6e95d7c4bb47767ffe40bddcf202283ec6c7f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "780031233cb5262aff8b5067ce6e95d7c4bb47767ffe40bddcf202283ec6c7f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "780031233cb5262aff8b5067ce6e95d7c4bb47767ffe40bddcf202283ec6c7f3", kill_on_drop: false }` [INFO] [stdout] 780031233cb5262aff8b5067ce6e95d7c4bb47767ffe40bddcf202283ec6c7f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 436a3130b551d27758ef8d88e1d151969a320dcf91fe01d985d6936d1de42ef2 [INFO] running `Command { std: "docker" "start" "-a" "436a3130b551d27758ef8d88e1d151969a320dcf91fe01d985d6936d1de42ef2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling time v0.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling nix v0.20.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling ordered-float v2.7.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] error: could not compile `nix` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/bin/rustc --crate-name nix --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nix-0.20.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=c3aa5474bc08b033 -C extra-filename=-c3aa5474bc08b033 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-b8f2fcfec265dfb2.rmeta --extern cfg_if=/opt/rustwide/target/debug/deps/libcfg_if-0128a598f57c42f0.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-843872a38fdfce55.rmeta --extern memoffset=/opt/rustwide/target/debug/deps/libmemoffset-41d0065c78292d4d.rmeta --cap-lints allow --cap-lints=forbid -Copt-level=3` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "436a3130b551d27758ef8d88e1d151969a320dcf91fe01d985d6936d1de42ef2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "436a3130b551d27758ef8d88e1d151969a320dcf91fe01d985d6936d1de42ef2", kill_on_drop: false }` [INFO] [stdout] 436a3130b551d27758ef8d88e1d151969a320dcf91fe01d985d6936d1de42ef2 [INFO] testing BjarkePedersen/raytracey-not-a-raytracer against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBjarkePedersen%2Fraytracey-not-a-raytracer" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BjarkePedersen/raytracey-not-a-raytracer on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BjarkePedersen/raytracey-not-a-raytracer [INFO] finished tweaking git repo https://github.com/BjarkePedersen/raytracey-not-a-raytracer [INFO] tweaked toml for git repo https://github.com/BjarkePedersen/raytracey-not-a-raytracer written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/BjarkePedersen/raytracey-not-a-raytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c193021e4e5a4d77e385a47ce76a0e5dcdba1451a658e8547e025f136fbf315c [INFO] running `Command { std: "docker" "start" "-a" "c193021e4e5a4d77e385a47ce76a0e5dcdba1451a658e8547e025f136fbf315c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c193021e4e5a4d77e385a47ce76a0e5dcdba1451a658e8547e025f136fbf315c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c193021e4e5a4d77e385a47ce76a0e5dcdba1451a658e8547e025f136fbf315c", kill_on_drop: false }` [INFO] [stdout] c193021e4e5a4d77e385a47ce76a0e5dcdba1451a658e8547e025f136fbf315c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb219810780101a698fa85abc67e0cf6eb7f6d396db28ce48c7c8c130c56f2f5 [INFO] running `Command { std: "docker" "start" "-a" "fb219810780101a698fa85abc67e0cf6eb7f6d396db28ce48c7c8c130c56f2f5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling nix v0.20.1 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling rgb v0.8.27 [INFO] [stderr] Compiling ordered-float v2.7.0 [INFO] [stderr] Compiling time v0.3.1 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling simple_rust_cpu_raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bresenham.rs:114:6 [INFO] [stdout] | [INFO] [stdout] 114 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ord` is imported redundantly [INFO] [stdout] --> src/skybox.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::Ord; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Ord` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cgmath::Matrix4::::look_at_dir`: Use Matrix4::look_to_rh [INFO] [stdout] --> src/bresenham.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | let dir = Matrix4::look_at_dir( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cgmath::Matrix4::::look_at_dir`: Use Matrix4::look_to_rh [INFO] [stdout] --> src/pathtrace.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | let dir = Matrix4::look_at_dir( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ord` [INFO] [stdout] --> src/skybox.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::Ord; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/main.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | let col = col * Col::from_hue(cr) * (1.0 / Col::from_hue(cr).luminance()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/helpers.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Col { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn powf(&self, power: f32) -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn powi(&self, power: i32) -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn red() -> Col { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn green() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn blue() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn yellow() -> Col { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn cyan() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn magenta() -> Col { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn black() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn white() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn grey() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn light_grey() -> Col { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn dark_grey() -> Col { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn from_random_hue(rng: &mut ThreadRng) -> Col { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uv_to_pixel_coordinates` is never used [INFO] [stdout] --> src/helpers.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn uv_to_pixel_coordinates(uv: UV, width: f32, height: f32) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dimensions` is never read [INFO] [stdout] --> src/helpers.rs:366:5 [INFO] [stdout] | [INFO] [stdout] 364 | pub struct Axis { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 365 | axis: usize, [INFO] [stdout] 366 | dimensions: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Axis` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `next` are never used [INFO] [stdout] --> src/helpers.rs:376:12 [INFO] [stdout] | [INFO] [stdout] 375 | impl Axis { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 376 | pub fn new(dimensions: usize) -> Axis { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | pub fn next(&self) -> Axis { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Light` is never constructed [INFO] [stdout] --> src/scene.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Light { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Light` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/scene.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | / &self.lines.iter().for_each(|line| { [INFO] [stdout] 93 | | for (x, y) in line.render_line(camera, display_width, display_height) { [INFO] [stdout] 94 | | let col = col_to_rgb_u32(line.color); [INFO] [stdout] 95 | | [INFO] [stdout] 96 | | buffer[display_width * y as usize + (display_width - x as usize)] = col; [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | }); [INFO] [stdout] | |__________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | let _ = &self.lines.iter().for_each(|line| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.97s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "fb219810780101a698fa85abc67e0cf6eb7f6d396db28ce48c7c8c130c56f2f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb219810780101a698fa85abc67e0cf6eb7f6d396db28ce48c7c8c130c56f2f5", kill_on_drop: false }` [INFO] [stdout] fb219810780101a698fa85abc67e0cf6eb7f6d396db28ce48c7c8c130c56f2f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c589a99446940903cb71ed66640d2cb0ad0afcf1adb4afdbaa533307e40f1e76 [INFO] running `Command { std: "docker" "start" "-a" "c589a99446940903cb71ed66640d2cb0ad0afcf1adb4afdbaa533307e40f1e76", kill_on_drop: false }` [INFO] [stderr] Compiling simple_rust_cpu_raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bresenham.rs:114:6 [INFO] [stdout] | [INFO] [stdout] 114 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ord` is imported redundantly [INFO] [stdout] --> src/skybox.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::Ord; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Ord` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cgmath::Matrix4::::look_at_dir`: Use Matrix4::look_to_rh [INFO] [stdout] --> src/bresenham.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | let dir = Matrix4::look_at_dir( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cgmath::Matrix4::::look_at_dir`: Use Matrix4::look_to_rh [INFO] [stdout] --> src/pathtrace.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | let dir = Matrix4::look_at_dir( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ord` [INFO] [stdout] --> src/skybox.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::Ord; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/main.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | let col = col * Col::from_hue(cr) * (1.0 / Col::from_hue(cr).luminance()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/helpers.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Col { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn powf(&self, power: f32) -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn powi(&self, power: i32) -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn red() -> Col { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn green() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn blue() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn yellow() -> Col { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn cyan() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn magenta() -> Col { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn black() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn white() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn grey() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn light_grey() -> Col { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn dark_grey() -> Col { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn from_random_hue(rng: &mut ThreadRng) -> Col { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uv_to_pixel_coordinates` is never used [INFO] [stdout] --> src/helpers.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn uv_to_pixel_coordinates(uv: UV, width: f32, height: f32) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dimensions` is never read [INFO] [stdout] --> src/helpers.rs:366:5 [INFO] [stdout] | [INFO] [stdout] 364 | pub struct Axis { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 365 | axis: usize, [INFO] [stdout] 366 | dimensions: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Axis` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `next` are never used [INFO] [stdout] --> src/helpers.rs:376:12 [INFO] [stdout] | [INFO] [stdout] 375 | impl Axis { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 376 | pub fn new(dimensions: usize) -> Axis { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | pub fn next(&self) -> Axis { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Light` is never constructed [INFO] [stdout] --> src/scene.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Light { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Light` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/scene.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | / &self.lines.iter().for_each(|line| { [INFO] [stdout] 93 | | for (x, y) in line.render_line(camera, display_width, display_height) { [INFO] [stdout] 94 | | let col = col_to_rgb_u32(line.color); [INFO] [stdout] 95 | | [INFO] [stdout] 96 | | buffer[display_width * y as usize + (display_width - x as usize)] = col; [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | }); [INFO] [stdout] | |__________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | let _ = &self.lines.iter().for_each(|line| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c589a99446940903cb71ed66640d2cb0ad0afcf1adb4afdbaa533307e40f1e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c589a99446940903cb71ed66640d2cb0ad0afcf1adb4afdbaa533307e40f1e76", kill_on_drop: false }` [INFO] [stdout] c589a99446940903cb71ed66640d2cb0ad0afcf1adb4afdbaa533307e40f1e76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5deca1e4e1375873318476c1ef8edb7ef32881c0d6ecc067aa320a5d2e6f0a5a [INFO] running `Command { std: "docker" "start" "-a" "5deca1e4e1375873318476c1ef8edb7ef32881c0d6ecc067aa320a5d2e6f0a5a", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/bresenham.rs:114:6 [INFO] [stderr] | [INFO] [stderr] 114 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Ord` is imported redundantly [INFO] [stderr] --> src/skybox.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::cmp::Ord; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:115:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `Ord` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `cgmath::Matrix4::::look_at_dir`: Use Matrix4::look_to_rh [INFO] [stderr] --> src/bresenham.rs:181:28 [INFO] [stderr] | [INFO] [stderr] 181 | let dir = Matrix4::look_at_dir( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `cgmath::Matrix4::::look_at_dir`: Use Matrix4::look_to_rh [INFO] [stderr] --> src/pathtrace.rs:163:32 [INFO] [stderr] | [INFO] [stderr] 163 | let dir = Matrix4::look_at_dir( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp::Ord` [INFO] [stderr] --> src/skybox.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::cmp::Ord; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `col` [INFO] [stderr] --> src/main.rs:128:25 [INFO] [stderr] | [INFO] [stderr] 128 | let col = col * Col::from_hue(cr) * (1.0 / Col::from_hue(cr).luminance()); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/helpers.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 45 | impl Col { [INFO] [stderr] | -------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 62 | pub fn powf(&self, power: f32) -> Col { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | pub fn powi(&self, power: i32) -> Col { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 78 | pub fn red() -> Col { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 81 | pub fn green() -> Col { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 84 | pub fn blue() -> Col { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 87 | pub fn yellow() -> Col { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | pub fn cyan() -> Col { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | pub fn magenta() -> Col { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 96 | pub fn black() -> Col { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 99 | pub fn white() -> Col { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 102 | pub fn grey() -> Col { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 105 | pub fn light_grey() -> Col { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 108 | pub fn dark_grey() -> Col { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 121 | pub fn from_random_hue(rng: &mut ThreadRng) -> Col { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `uv_to_pixel_coordinates` is never used [INFO] [stderr] --> src/helpers.rs:309:8 [INFO] [stderr] | [INFO] [stderr] 309 | pub fn uv_to_pixel_coordinates(uv: UV, width: f32, height: f32) -> Vector2 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `dimensions` is never read [INFO] [stderr] --> src/helpers.rs:366:5 [INFO] [stderr] | [INFO] [stderr] 364 | pub struct Axis { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 365 | axis: usize, [INFO] [stderr] 366 | dimensions: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Axis` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `next` are never used [INFO] [stderr] --> src/helpers.rs:376:12 [INFO] [stderr] | [INFO] [stderr] 375 | impl Axis { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 376 | pub fn new(dimensions: usize) -> Axis { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 382 | pub fn next(&self) -> Axis { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Light` is never constructed [INFO] [stderr] --> src/scene.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct Light { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Light` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/scene.rs:92:9 [INFO] [stderr] | [INFO] [stderr] 92 | / &self.lines.iter().for_each(|line| { [INFO] [stderr] 93 | | for (x, y) in line.render_line(camera, display_width, display_height) { [INFO] [stderr] 94 | | let col = col_to_rgb_u32(line.color); [INFO] [stderr] 95 | | [INFO] [stderr] 96 | | buffer[display_width * y as usize + (display_width - x as usize)] = col; [INFO] [stderr] 97 | | } [INFO] [stderr] 98 | | }); [INFO] [stderr] | |__________^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 92 | let _ = &self.lines.iter().for_each(|line| { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `simple_rust_cpu_raytracer` (bin "simple_rust_cpu_raytracer" test) generated 12 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/simple_rust_cpu_raytracer-01e88c3a17eff461) [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" "5deca1e4e1375873318476c1ef8edb7ef32881c0d6ecc067aa320a5d2e6f0a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5deca1e4e1375873318476c1ef8edb7ef32881c0d6ecc067aa320a5d2e6f0a5a", kill_on_drop: false }` [INFO] [stdout] 5deca1e4e1375873318476c1ef8edb7ef32881c0d6ecc067aa320a5d2e6f0a5a