[INFO] cloning repository https://github.com/Bechiscul/raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bechiscul/raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBechiscul%2Fraytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBechiscul%2Fraytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 109a7a3a0b04db8f7c884a7e8d68e96dc67613c3 [INFO] checking Bechiscul/raytracer against master#80ed61fbd64936ed676c2050e7e660b5ad78c9f2 for pr-100555 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBechiscul%2Fraytracer" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bechiscul/raytracer on toolchain 80ed61fbd64936ed676c2050e7e660b5ad78c9f2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+80ed61fbd64936ed676c2050e7e660b5ad78c9f2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bechiscul/raytracer [INFO] finished tweaking git repo https://github.com/Bechiscul/raytracer [INFO] tweaked toml for git repo https://github.com/Bechiscul/raytracer written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Bechiscul/raytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+80ed61fbd64936ed676c2050e7e660b5ad78c9f2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minifb v0.20.0 [INFO] [stderr] Downloaded sdl2 v0.34.5 [INFO] [stderr] Downloaded sdl2-sys v0.34.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+80ed61fbd64936ed676c2050e7e660b5ad78c9f2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1855ea2390ffc32c966c3c2c96c36ed06dd39674eafa50f8e1f6814ee7c7e46d [INFO] running `Command { std: "docker" "start" "-a" "1855ea2390ffc32c966c3c2c96c36ed06dd39674eafa50f8e1f6814ee7c7e46d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1855ea2390ffc32c966c3c2c96c36ed06dd39674eafa50f8e1f6814ee7c7e46d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1855ea2390ffc32c966c3c2c96c36ed06dd39674eafa50f8e1f6814ee7c7e46d", kill_on_drop: false }` [INFO] [stdout] 1855ea2390ffc32c966c3c2c96c36ed06dd39674eafa50f8e1f6814ee7c7e46d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+80ed61fbd64936ed676c2050e7e660b5ad78c9f2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9e2359fc3bd0aaf08faf4fe7117cfb644399f4a26fbafb1012fc08492e2b441 [INFO] running `Command { std: "docker" "start" "-a" "b9e2359fc3bd0aaf08faf4fe7117cfb644399f4a26fbafb1012fc08492e2b441", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Checking raw-window-handle v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Checking wide v0.7.4 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Compiling minifb v0.20.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking simba v0.7.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking wayland-commons v0.28.6 [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] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking nalgebra v0.30.1 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vector4` [INFO] [stdout] --> src/main.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::{vector, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::OpenOptions` [INFO] [stdout] --> src/framebuffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | fs::OpenOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hit`, `Material`, `Sphere` [INFO] [stdout] --> src/raytracer.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::scene::{Camera, Hit, Light, Material, Scene, Sphere}; [INFO] [stdout] | ^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnitVector3` [INFO] [stdout] --> src/raytracer.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::{vector, UnitVector3, Vector2, Vector3}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector4` [INFO] [stdout] --> src/scene.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{vector, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector4` [INFO] [stdout] --> src/main.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::{vector, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::OpenOptions` [INFO] [stdout] --> src/framebuffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | fs::OpenOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hit`, `Material`, `Sphere` [INFO] [stdout] --> src/raytracer.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::scene::{Camera, Hit, Light, Material, Scene, Sphere}; [INFO] [stdout] | ^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnitVector3` [INFO] [stdout] --> src/raytracer.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::{vector, UnitVector3, Vector2, Vector3}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector4` [INFO] [stdout] --> src/scene.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{vector, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `red_plasic` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let red_plasic = Material { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_red_plasic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `red_plasic` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let red_plasic = Material { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_red_plasic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_camera` is never used [INFO] [stdout] --> src/scene.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn set_camera(&mut self, camera: Camera) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `lights_mut` is never used [INFO] [stdout] --> src/scene.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn lights_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_camera` is never used [INFO] [stdout] --> src/scene.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn set_camera(&mut self, camera: Camera) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `lights_mut` is never used [INFO] [stdout] --> src/scene.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn lights_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.23s [INFO] running `Command { std: "docker" "inspect" "b9e2359fc3bd0aaf08faf4fe7117cfb644399f4a26fbafb1012fc08492e2b441", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9e2359fc3bd0aaf08faf4fe7117cfb644399f4a26fbafb1012fc08492e2b441", kill_on_drop: false }` [INFO] [stdout] b9e2359fc3bd0aaf08faf4fe7117cfb644399f4a26fbafb1012fc08492e2b441