[INFO] cloning repository https://github.com/magnhalv/ray_tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/magnhalv/ray_tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmagnhalv%2Fray_tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmagnhalv%2Fray_tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa624e54b937f119022770b99e84bc1e4e54c275 [INFO] checking magnhalv/ray_tracer against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmagnhalv%2Fray_tracer" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/magnhalv/ray_tracer on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/magnhalv/ray_tracer [INFO] finished tweaking git repo https://github.com/magnhalv/ray_tracer [INFO] tweaked toml for git repo https://github.com/magnhalv/ray_tracer written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/magnhalv/ray_tracer 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xkbcommon-sys v0.7.5 [INFO] [stderr] Downloaded xkb v0.2.1 [INFO] [stderr] Downloaded clang-sys v1.3.0 [INFO] [stderr] Downloaded unidiff v0.3.3 [INFO] [stderr] Downloaded minifb v0.19.3 [INFO] [stderr] Downloaded orbclient v0.3.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e21bbc21ab8cbf0e9648b62bd6a693f3489f086c37a2173a464799f38c219d43 [INFO] running `Command { std: "docker" "start" "-a" "e21bbc21ab8cbf0e9648b62bd6a693f3489f086c37a2173a464799f38c219d43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e21bbc21ab8cbf0e9648b62bd6a693f3489f086c37a2173a464799f38c219d43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e21bbc21ab8cbf0e9648b62bd6a693f3489f086c37a2173a464799f38c219d43", kill_on_drop: false }` [INFO] [stdout] e21bbc21ab8cbf0e9648b62bd6a693f3489f086c37a2173a464799f38c219d43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8442a64be5215a86eb6e2c6e6f32e1e8b91e833cbaf91119cd06adddeda44e59 [INFO] running `Command { std: "docker" "start" "-a" "8442a64be5215a86eb6e2c6e6f32e1e8b91e833cbaf91119cd06adddeda44e59", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking nix v0.20.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking ray_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{thread, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::world_generator::generate_test_world` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::world_generator::generate_test_world; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseButton` [INFO] [stdout] --> src/main.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use minifb::{Key, MouseButton, MouseMode, Window, WindowOptions}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/color.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/tuple.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BLACK`, `WHITE` [INFO] [stdout] --> src/world_generator.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::{Color, BLACK, WHITE}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{thread, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::world_generator::generate_test_world` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::world_generator::generate_test_world; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseButton` [INFO] [stdout] --> src/main.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use minifb::{Key, MouseButton, MouseMode, Window, WindowOptions}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/color.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/tuple.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BLACK`, `WHITE` [INFO] [stdout] --> src/world_generator.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::{Color, BLACK, WHITE}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bone_color` [INFO] [stdout] --> src/world_generator.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let bone_color = Color::new(205.0 / 255.0, 197.0 / 255.0, 180.0 / 255.0); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bone_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `liliac_color` [INFO] [stdout] --> src/world_generator.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let liliac_color = Color::new(181.0 / 255.0, 157.0 / 255.0, 164.0 / 255.0); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_liliac_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dark_red_color` [INFO] [stdout] --> src/world_generator.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let dark_red_color = Color::new(85.0 / 255.0, 27.0 / 255.0, 20.0 / 255.0); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dark_red_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let color = render_at(240, 148, &camera, &world); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color2` [INFO] [stdout] --> src/main.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let color2 = render_at(32, 212, &camera, &world); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_color2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE` is never used [INFO] [stdout] --> src/color.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const WHITE: Color = Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI` is never used [INFO] [stdout] --> src/math.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const PI: f32 = core::f32::consts::PI; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first` and `second` are never read [INFO] [stdout] --> src/pattern.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct TestPattern { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 138 | pub first: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 139 | pub second: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `t`, `point`, and `is_inside` are never read [INFO] [stdout] --> src/ray.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Computation<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 68 | pub object: &'a dyn Shape, [INFO] [stdout] 69 | pub t: f32, [INFO] [stdout] | ^ [INFO] [stdout] 70 | pub point: Tuple, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub is_inside: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut_material` is never used [INFO] [stdout] --> src/shape.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Shape: Sync + Send { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn get_mut_material(&mut self) -> &mut Material; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shearing` is never used [INFO] [stdout] --> src/transformation.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn shearing( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `red` is never used [INFO] [stdout] --> src/world_generator.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const red: Color = Color { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `pink` is never used [INFO] [stdout] --> src/world_generator.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const pink: Color = Color { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_world` is never used [INFO] [stdout] --> src/world_generator.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn generate_test_world() -> World { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `red` should have an upper case name [INFO] [stdout] --> src/world_generator.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const red: Color = Color { [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `RED` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `pink` should have an upper case name [INFO] [stdout] --> src/world_generator.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const pink: Color = Color { [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `PINK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bone_color` [INFO] [stdout] --> src/world_generator.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let bone_color = Color::new(205.0 / 255.0, 197.0 / 255.0, 180.0 / 255.0); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bone_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `liliac_color` [INFO] [stdout] --> src/world_generator.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let liliac_color = Color::new(181.0 / 255.0, 157.0 / 255.0, 164.0 / 255.0); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_liliac_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dark_red_color` [INFO] [stdout] --> src/world_generator.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let dark_red_color = Color::new(85.0 / 255.0, 27.0 / 255.0, 20.0 / 255.0); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dark_red_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let color = render_at(240, 148, &camera, &world); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color2` [INFO] [stdout] --> src/main.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let color2 = render_at(32, 212, &camera, &world); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_color2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first` and `second` are never read [INFO] [stdout] --> src/pattern.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct TestPattern { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 138 | pub first: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 139 | pub second: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `red` is never used [INFO] [stdout] --> src/world_generator.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const red: Color = Color { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `pink` is never used [INFO] [stdout] --> src/world_generator.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const pink: Color = Color { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_world` is never used [INFO] [stdout] --> src/world_generator.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn generate_test_world() -> World { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `red` should have an upper case name [INFO] [stdout] --> src/world_generator.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const red: Color = Color { [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `RED` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `pink` should have an upper case name [INFO] [stdout] --> src/world_generator.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const pink: Color = Color { [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `PINK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.58s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "8442a64be5215a86eb6e2c6e6f32e1e8b91e833cbaf91119cd06adddeda44e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8442a64be5215a86eb6e2c6e6f32e1e8b91e833cbaf91119cd06adddeda44e59", kill_on_drop: false }` [INFO] [stdout] 8442a64be5215a86eb6e2c6e6f32e1e8b91e833cbaf91119cd06adddeda44e59 [INFO] checking magnhalv/ray_tracer against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmagnhalv%2Fray_tracer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/magnhalv/ray_tracer on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/magnhalv/ray_tracer [INFO] finished tweaking git repo https://github.com/magnhalv/ray_tracer [INFO] tweaked toml for git repo https://github.com/magnhalv/ray_tracer written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/magnhalv/ray_tracer 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d86778a6175411e32efb3bf603d4be66c7eaccc43f132e1ecce9d3344f82394 [INFO] running `Command { std: "docker" "start" "-a" "1d86778a6175411e32efb3bf603d4be66c7eaccc43f132e1ecce9d3344f82394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d86778a6175411e32efb3bf603d4be66c7eaccc43f132e1ecce9d3344f82394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d86778a6175411e32efb3bf603d4be66c7eaccc43f132e1ecce9d3344f82394", kill_on_drop: false }` [INFO] [stdout] 1d86778a6175411e32efb3bf603d4be66c7eaccc43f132e1ecce9d3344f82394 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d411d1ec070db7bb2553af58306779a4b16e47b6bc7d93eabd50da8320be31e9 [INFO] running `Command { std: "docker" "start" "-a" "d411d1ec070db7bb2553af58306779a4b16e47b6bc7d93eabd50da8320be31e9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking nix v0.20.2 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking ray_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{thread, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::world_generator::generate_test_world` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::world_generator::generate_test_world; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseButton` [INFO] [stdout] --> src/main.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use minifb::{Key, MouseButton, MouseMode, Window, WindowOptions}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/color.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/tuple.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BLACK`, `WHITE` [INFO] [stdout] --> src/world_generator.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::{Color, BLACK, WHITE}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{thread, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::world_generator::generate_test_world` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::world_generator::generate_test_world; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseButton` [INFO] [stdout] --> src/main.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use minifb::{Key, MouseButton, MouseMode, Window, WindowOptions}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/color.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/tuple.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BLACK`, `WHITE` [INFO] [stdout] --> src/world_generator.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::{Color, BLACK, WHITE}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bone_color` [INFO] [stdout] --> src/world_generator.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let bone_color = Color::new(205.0 / 255.0, 197.0 / 255.0, 180.0 / 255.0); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bone_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `liliac_color` [INFO] [stdout] --> src/world_generator.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let liliac_color = Color::new(181.0 / 255.0, 157.0 / 255.0, 164.0 / 255.0); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_liliac_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dark_red_color` [INFO] [stdout] --> src/world_generator.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let dark_red_color = Color::new(85.0 / 255.0, 27.0 / 255.0, 20.0 / 255.0); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dark_red_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let color = render_at(240, 148, &camera, &world); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color2` [INFO] [stdout] --> src/main.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let color2 = render_at(32, 212, &camera, &world); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_color2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE` is never used [INFO] [stdout] --> src/color.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const WHITE: Color = Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI` is never used [INFO] [stdout] --> src/math.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const PI: f32 = core::f32::consts::PI; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first` and `second` are never read [INFO] [stdout] --> src/pattern.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct TestPattern { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 138 | pub first: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 139 | pub second: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `t`, `point`, and `is_inside` are never read [INFO] [stdout] --> src/ray.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Computation<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 68 | pub object: &'a dyn Shape, [INFO] [stdout] 69 | pub t: f32, [INFO] [stdout] | ^ [INFO] [stdout] 70 | pub point: Tuple, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub is_inside: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut_material` is never used [INFO] [stdout] --> src/shape.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Shape: Sync + Send { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn get_mut_material(&mut self) -> &mut Material; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shearing` is never used [INFO] [stdout] --> src/transformation.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn shearing( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `red` is never used [INFO] [stdout] --> src/world_generator.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const red: Color = Color { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `pink` is never used [INFO] [stdout] --> src/world_generator.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const pink: Color = Color { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_world` is never used [INFO] [stdout] --> src/world_generator.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn generate_test_world() -> World { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `red` should have an upper case name [INFO] [stdout] --> src/world_generator.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const red: Color = Color { [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `RED` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `pink` should have an upper case name [INFO] [stdout] --> src/world_generator.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const pink: Color = Color { [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `PINK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bone_color` [INFO] [stdout] --> src/world_generator.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let bone_color = Color::new(205.0 / 255.0, 197.0 / 255.0, 180.0 / 255.0); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bone_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `liliac_color` [INFO] [stdout] --> src/world_generator.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let liliac_color = Color::new(181.0 / 255.0, 157.0 / 255.0, 164.0 / 255.0); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_liliac_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dark_red_color` [INFO] [stdout] --> src/world_generator.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let dark_red_color = Color::new(85.0 / 255.0, 27.0 / 255.0, 20.0 / 255.0); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dark_red_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let color = render_at(240, 148, &camera, &world); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color2` [INFO] [stdout] --> src/main.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let color2 = render_at(32, 212, &camera, &world); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_color2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first` and `second` are never read [INFO] [stdout] --> src/pattern.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct TestPattern { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 138 | pub first: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 139 | pub second: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `red` is never used [INFO] [stdout] --> src/world_generator.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const red: Color = Color { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `pink` is never used [INFO] [stdout] --> src/world_generator.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const pink: Color = Color { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_test_world` is never used [INFO] [stdout] --> src/world_generator.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn generate_test_world() -> World { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `red` should have an upper case name [INFO] [stdout] --> src/world_generator.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const red: Color = Color { [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `RED` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `pink` should have an upper case name [INFO] [stdout] --> src/world_generator.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const pink: Color = Color { [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `PINK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.64s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "d411d1ec070db7bb2553af58306779a4b16e47b6bc7d93eabd50da8320be31e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d411d1ec070db7bb2553af58306779a4b16e47b6bc7d93eabd50da8320be31e9", kill_on_drop: false }` [INFO] [stdout] d411d1ec070db7bb2553af58306779a4b16e47b6bc7d93eabd50da8320be31e9