[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#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaehyunsol%2Fbogo-renderer" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/baehyunsol/bogo-renderer on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "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-0-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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66d954aadada80c11e9082d397a9e4926c6ae9b91a6a53f4b7ab2b0695a30bc9 [INFO] running `Command { std: "docker" "start" "-a" "66d954aadada80c11e9082d397a9e4926c6ae9b91a6a53f4b7ab2b0695a30bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66d954aadada80c11e9082d397a9e4926c6ae9b91a6a53f4b7ab2b0695a30bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66d954aadada80c11e9082d397a9e4926c6ae9b91a6a53f4b7ab2b0695a30bc9", kill_on_drop: false }` [INFO] [stdout] 66d954aadada80c11e9082d397a9e4926c6ae9b91a6a53f4b7ab2b0695a30bc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5d38219785a87b4b1127ded0640b324b49a7b3e81230097edefff43ffc927b0 [INFO] running `Command { std: "docker" "start" "-a" "f5d38219785a87b4b1127ded0640b324b49a7b3e81230097edefff43ffc927b0", 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 rayon-core v1.9.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking glam v0.20.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.4 [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 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: 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: 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: 8 warnings emitted [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: 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.27s [INFO] running `Command { std: "docker" "inspect" "f5d38219785a87b4b1127ded0640b324b49a7b3e81230097edefff43ffc927b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5d38219785a87b4b1127ded0640b324b49a7b3e81230097edefff43ffc927b0", kill_on_drop: false }` [INFO] [stdout] f5d38219785a87b4b1127ded0640b324b49a7b3e81230097edefff43ffc927b0