[INFO] cloning repository https://github.com/baehyunsol/bogo-renderer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/baehyunsol/bogo-renderer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaehyunsol%2Fbogo-renderer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaehyunsol%2Fbogo-renderer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e8c2c43ff16ec0854930f8051da0643be2ecdc8 [INFO] checking baehyunsol/bogo-renderer against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaehyunsol%2Fbogo-renderer" "/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/baehyunsol/bogo-renderer 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/baehyunsol/bogo-renderer [INFO] finished tweaking git repo https://github.com/baehyunsol/bogo-renderer [INFO] tweaked toml for git repo https://github.com/baehyunsol/bogo-renderer written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/baehyunsol/bogo-renderer 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] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-epoch v0.9.6 [INFO] [stderr] Downloaded hexasphere v6.0.0 [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] 2133f25faeec3dcb5f9cdbd8d5c886c0a0523c507394fd6205e784b5b74e1348 [INFO] running `Command { std: "docker" "start" "-a" "2133f25faeec3dcb5f9cdbd8d5c886c0a0523c507394fd6205e784b5b74e1348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2133f25faeec3dcb5f9cdbd8d5c886c0a0523c507394fd6205e784b5b74e1348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2133f25faeec3dcb5f9cdbd8d5c886c0a0523c507394fd6205e784b5b74e1348", kill_on_drop: false }` [INFO] [stdout] 2133f25faeec3dcb5f9cdbd8d5c886c0a0523c507394fd6205e784b5b74e1348 [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] 4d3d3d33dda0904b3d1262561bd47ec46a7dd255977798ae048df269115dc2cc [INFO] running `Command { std: "docker" "start" "-a" "4d3d3d33dda0904b3d1262561bd47ec46a7dd255977798ae048df269115dc2cc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Checking glam v0.20.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking rayon v1.5.1 [INFO] [stderr] Checking hexasphere v6.0.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking bogo-renderer v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | scene6().render(render_option).save("test.png").unwrap();panic!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 36 | [INFO] [stdout] 37 | / for (ind, mut sc) in scenes.into_iter().enumerate() { [INFO] [stdout] 38 | | let image = sc.render(render_option); [INFO] [stdout] 39 | | image.save(&format!("tt_scene{}.png", ind)).unwrap(); [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | break; [INFO] [stdout] | ----- any code following this expression is unreachable [INFO] [stdout] 52 | / for y in 50..100 { [INFO] [stdout] 53 | | let height = (noise.buffer[y * 2][x * 2].r as f64 - 96.0) * 0.1 - 24.0; [INFO] [stdout] 54 | | [INFO] [stdout] 55 | | if height < -24.0 { [INFO] [stdout] ... | [INFO] [stdout] 68 | | ); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | scene6().render(render_option).save("test.png").unwrap();panic!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 36 | [INFO] [stdout] 37 | / for (ind, mut sc) in scenes.into_iter().enumerate() { [INFO] [stdout] 38 | | let image = sc.render(render_option); [INFO] [stdout] 39 | | image.save(&format!("tt_scene{}.png", ind)).unwrap(); [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | break; [INFO] [stdout] | ----- any code following this expression is unreachable [INFO] [stdout] 52 | / for y in 50..100 { [INFO] [stdout] 53 | | let height = (noise.buffer[y * 2][x * 2].r as f64 - 96.0) * 0.1 - 24.0; [INFO] [stdout] 54 | | [INFO] [stdout] 55 | | if height < -24.0 { [INFO] [stdout] ... | [INFO] [stdout] 68 | | ); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scenes` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let scenes = vec![ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scenes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noise` [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let noise = img::Buffer::noise(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_noise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | for x in 50..100 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sphere_vertices` is never used [INFO] [stdout] --> src/shape/sphere.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn get_sphere_vertices(scale: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a`, `b`, and `c` are never read [INFO] [stdout] --> src/shape/plane.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Plane { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub a: f64, [INFO] [stdout] | ^ [INFO] [stdout] 10 | pub b: f64, [INFO] [stdout] | ^ [INFO] [stdout] 11 | pub c: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Plane` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_zoom`, `set_theta`, and `set_phi` are never used [INFO] [stdout] --> src/camera.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn set_zoom(&mut self, zoom: f64) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_theta(&mut self, theta: f64) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn set_phi(&mut self, phi: f64) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_8bit` is never used [INFO] [stdout] --> src/color.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn into_8bit(&self) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `medium`, `high`, `ultra`, `set_soft_shadow`, `show_lights`, and `set_global_illumination` are never used [INFO] [stdout] --> src/render.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl RenderOption { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn medium() -> RenderOption { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn high() -> RenderOption { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn ultra() -> RenderOption { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set_soft_shadow(&mut self, soft_shadow: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn show_lights(&mut self, show_lights: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn set_global_illumination(&mut self, gi: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contrast` is never used [INFO] [stdout] --> src/img.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Buffer { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn contrast(&self, po: usize) -> Buffer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_num` is never used [INFO] [stdout] --> src/misc.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn rand_num(from: f64, to: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scenes` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let scenes = vec![ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scenes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noise` [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let noise = img::Buffer::noise(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_noise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | for x in 50..100 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sphere_vertices` is never used [INFO] [stdout] --> src/shape/sphere.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn get_sphere_vertices(scale: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a`, `b`, and `c` are never read [INFO] [stdout] --> src/shape/plane.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Plane { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub a: f64, [INFO] [stdout] | ^ [INFO] [stdout] 10 | pub b: f64, [INFO] [stdout] | ^ [INFO] [stdout] 11 | pub c: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Plane` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_zoom`, `set_theta`, and `set_phi` are never used [INFO] [stdout] --> src/camera.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn set_zoom(&mut self, zoom: f64) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_theta(&mut self, theta: f64) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn set_phi(&mut self, phi: f64) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_8bit` is never used [INFO] [stdout] --> src/color.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn into_8bit(&self) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `medium`, `high`, `ultra`, `set_soft_shadow`, `show_lights`, and `set_global_illumination` are never used [INFO] [stdout] --> src/render.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl RenderOption { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn medium() -> RenderOption { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn high() -> RenderOption { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn ultra() -> RenderOption { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set_soft_shadow(&mut self, soft_shadow: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn show_lights(&mut self, show_lights: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn set_global_illumination(&mut self, gi: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contrast` is never used [INFO] [stdout] --> src/img.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Buffer { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn contrast(&self, po: usize) -> Buffer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_num` is never used [INFO] [stdout] --> src/misc.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn rand_num(from: f64, to: f64) -> f64 { [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 9.61s [INFO] running `Command { std: "docker" "inspect" "4d3d3d33dda0904b3d1262561bd47ec46a7dd255977798ae048df269115dc2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d3d3d33dda0904b3d1262561bd47ec46a7dd255977798ae048df269115dc2cc", kill_on_drop: false }` [INFO] [stdout] 4d3d3d33dda0904b3d1262561bd47ec46a7dd255977798ae048df269115dc2cc