[INFO] cloning repository https://github.com/stephenjayakar/procedural-raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephenjayakar/procedural-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephenjayakar%2Fprocedural-raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephenjayakar%2Fprocedural-raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c58b5ce0ff51bbfff425feacf340d7447da04594 [INFO] checking stephenjayakar/procedural-raytracer against master#09a371361240e42b0d69438fd1179efcf212e576 for pr-157814-crater-rollup [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephenjayakar%2Fprocedural-raytracer" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stephenjayakar/procedural-raytracer [INFO] finished tweaking git repo https://github.com/stephenjayakar/procedural-raytracer [INFO] tweaked toml for git repo https://github.com/stephenjayakar/procedural-raytracer written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stephenjayakar/procedural-raytracer on toolchain 09a371361240e42b0d69438fd1179efcf212e576 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stephenjayakar/procedural-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" "+09a371361240e42b0d69438fd1179efcf212e576" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2 v0.32.1 [INFO] [stderr] Downloaded sdl2-sys v0.32.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7cf07dcec6eec8f91d8fcff9552b5c74122c05467aaf1800be6da9d6f61e2ab2" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] d065d40edb9e31cce1a68ccc4fd3838922cd9580ef69d7de224c00e76241d20a [INFO] running `Command { std: "docker" "start" "d065d40edb9e31cce1a68ccc4fd3838922cd9580ef69d7de224c00e76241d20a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d065d40edb9e31cce1a68ccc4fd3838922cd9580ef69d7de224c00e76241d20a" "/opt/rustwide/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d065d40edb9e31cce1a68ccc4fd3838922cd9580ef69d7de224c00e76241d20a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d065d40edb9e31cce1a68ccc4fd3838922cd9580ef69d7de224c00e76241d20a" "/opt/rustwide/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling sdl2-sys v0.32.5 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Checking rand_xorshift v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.32.1 [INFO] [stderr] Checking rust-raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:111:39 [INFO] [stdout] | [INFO] [stdout] 111 | let alpha = ((1.0 - fmin(1.0, ((height + HEIGHT as f32 / 2.0) / (HEIGHT as f32)))) * 255.0) as u8; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 111 - let alpha = ((1.0 - fmin(1.0, ((height + HEIGHT as f32 / 2.0) / (HEIGHT as f32)))) * 255.0) as u8; [INFO] [stdout] 111 + let alpha = ((1.0 - fmin(1.0, (height + HEIGHT as f32 / 2.0) / (HEIGHT as f32))) * 255.0) as u8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:123:35 [INFO] [stdout] | [INFO] [stdout] 123 | let alpha = ((1.0 - fmin(1.0, (((rect_height + rect_height) as f32 / 2.0) / (rect_height as f32)))) * 255.0) as u8; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - let alpha = ((1.0 - fmin(1.0, (((rect_height + rect_height) as f32 / 2.0) / (rect_height as f32)))) * 255.0) as u8; [INFO] [stdout] 123 + let alpha = ((1.0 - fmin(1.0, ((rect_height + rect_height) as f32 / 2.0) / (rect_height as f32))) * 255.0) as u8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:179:50 [INFO] [stdout] | [INFO] [stdout] 179 | fn get_image(&self, width: u32, height: u32, timestamp: Option) -> Image { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fog` [INFO] [stdout] --> src/main.rs:221:52 [INFO] [stdout] | [INFO] [stdout] 221 | let State { position, samples, direction, fov, fog } = *state; [INFO] [stdout] | ^^^ help: try ignoring the field: `fog: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_time` is never read [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 129 | struct ProceduralGenerator { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 130 | start_time: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:111:39 [INFO] [stdout] | [INFO] [stdout] 111 | let alpha = ((1.0 - fmin(1.0, ((height + HEIGHT as f32 / 2.0) / (HEIGHT as f32)))) * 255.0) as u8; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 111 - let alpha = ((1.0 - fmin(1.0, ((height + HEIGHT as f32 / 2.0) / (HEIGHT as f32)))) * 255.0) as u8; [INFO] [stdout] 111 + let alpha = ((1.0 - fmin(1.0, (height + HEIGHT as f32 / 2.0) / (HEIGHT as f32))) * 255.0) as u8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:123:35 [INFO] [stdout] | [INFO] [stdout] 123 | let alpha = ((1.0 - fmin(1.0, (((rect_height + rect_height) as f32 / 2.0) / (rect_height as f32)))) * 255.0) as u8; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - let alpha = ((1.0 - fmin(1.0, (((rect_height + rect_height) as f32 / 2.0) / (rect_height as f32)))) * 255.0) as u8; [INFO] [stdout] 123 + let alpha = ((1.0 - fmin(1.0, ((rect_height + rect_height) as f32 / 2.0) / (rect_height as f32))) * 255.0) as u8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | canvas.fill_rect(Rect::new(x, y, width, height)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 119 | let _ = canvas.fill_rect(Rect::new(x, y, width, height)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | std::fs::create_dir("./dump"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 249 | let _ = std::fs::create_dir("./dump"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:179:50 [INFO] [stdout] | [INFO] [stdout] 179 | fn get_image(&self, width: u32, height: u32, timestamp: Option) -> Image { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fog` [INFO] [stdout] --> src/main.rs:221:52 [INFO] [stdout] | [INFO] [stdout] 221 | let State { position, samples, direction, fov, fog } = *state; [INFO] [stdout] | ^^^ help: try ignoring the field: `fog: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_time` is never read [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 129 | struct ProceduralGenerator { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 130 | start_time: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | canvas.fill_rect(Rect::new(x, y, width, height)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 119 | let _ = canvas.fill_rect(Rect::new(x, y, width, height)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | std::fs::create_dir("./dump"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 249 | let _ = std::fs::create_dir("./dump"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.87s [INFO] running `Command { std: "docker" "inspect" "d065d40edb9e31cce1a68ccc4fd3838922cd9580ef69d7de224c00e76241d20a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d065d40edb9e31cce1a68ccc4fd3838922cd9580ef69d7de224c00e76241d20a", kill_on_drop: false }` [INFO] [stdout] d065d40edb9e31cce1a68ccc4fd3838922cd9580ef69d7de224c00e76241d20a