[INFO] cloning repository https://github.com/ReinierMaas/PathTracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ReinierMaas/PathTracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FReinierMaas%2FPathTracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FReinierMaas%2FPathTracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 671e23f3a95108fa9d8417aa5fd7fa1080892463 [INFO] checking ReinierMaas/PathTracer against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FReinierMaas%2FPathTracer" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ReinierMaas/PathTracer on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ReinierMaas/PathTracer [INFO] finished tweaking git repo https://github.com/ReinierMaas/PathTracer [INFO] tweaked toml for git repo https://github.com/ReinierMaas/PathTracer written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/ReinierMaas/PathTracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d49cff67e479bd5b93c840678cb9b9f22a557a06aee90186e2522eceb1dd8e6f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d49cff67e479bd5b93c840678cb9b9f22a557a06aee90186e2522eceb1dd8e6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d49cff67e479bd5b93c840678cb9b9f22a557a06aee90186e2522eceb1dd8e6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d49cff67e479bd5b93c840678cb9b9f22a557a06aee90186e2522eceb1dd8e6f", kill_on_drop: false }` [INFO] [stdout] d49cff67e479bd5b93c840678cb9b9f22a557a06aee90186e2522eceb1dd8e6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5800d207cb963b2def553ac6892449ef68b55d616eebdd52009050ff0f77210d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5800d207cb963b2def553ac6892449ef68b55d616eebdd52009050ff0f77210d", kill_on_drop: false }` [INFO] [stderr] Checking tobj v0.1.2 [INFO] [stderr] Checking spmc v0.2.1 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking num_cpus v1.2.1 [INFO] [stderr] Checking memmap v0.5.0 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Checking thread_local v0.3.2 [INFO] [stderr] Checking deque v0.3.1 [INFO] [stderr] Checking sdl2 v0.27.3 [INFO] [stderr] Checking cgmath v0.12.0 [INFO] [stderr] Checking rayon v0.6.0 [INFO] [stderr] Checking pathtracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `f32` is imported redundantly [INFO] [stdout] --> src/primitive/sphere.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 4 | use std::f32; [INFO] [stdout] | -------- the item `f32` is already imported here [INFO] [stdout] ... [INFO] [stdout] 99 | use std::f32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scene.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | let skybox = try!(Scene::::read_skybox()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scene.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | let scene = try!(Scene::new(triangles)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scene.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | let scene = try!(Scene::new(spheres)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scene.rs:172:20 [INFO] [stdout] | [INFO] [stdout] 172 | let file = try!(Mmap::open_path("./assets/sky_15.raw", Protection::Read)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/camera.rs:302:116 [INFO] [stdout] | [INFO] [stdout] 302 | accumalated_color += transport.mul_element_wise(0.1 * self.scene.sample_skybox(ray.direction));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `f32` is imported redundantly [INFO] [stdout] --> src/primitive/sphere.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 4 | use std::f32; [INFO] [stdout] | -------- the item `f32` is already imported here [INFO] [stdout] ... [INFO] [stdout] 99 | use std::f32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scene.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | let skybox = try!(Scene::::read_skybox()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scene.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | let scene = try!(Scene::new(triangles)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scene.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | let scene = try!(Scene::new(spheres)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scene.rs:172:20 [INFO] [stdout] | [INFO] [stdout] 172 | let file = try!(Mmap::open_path("./assets/sky_15.raw", Protection::Read)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/camera.rs:302:116 [INFO] [stdout] | [INFO] [stdout] 302 | accumalated_color += transport.mul_element_wise(0.1 * self.scene.sample_skybox(ray.direction));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `Option<(f32, f32)>` [INFO] [stdout] --> src/primitive/aabb.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | assert!(aabb.intersect(&mut r1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `Option<(f32, f32)>` [INFO] [stdout] --> src/primitive/aabb.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | assert!(!aabb.intersect(&mut r1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `Option<(f32, f32)>` [INFO] [stdout] --> src/primitive/aabb.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | assert!(aabb.intersect(&mut r1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `Option<(f32, f32)>` [INFO] [stdout] --> src/primitive/aabb.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | assert!(aabb.intersect(&mut r1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `Option<(f32, f32)>` [INFO] [stdout] --> src/primitive/aabb.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | assert!(aabb.intersect(&mut r1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `Option<(f32, f32)>` [INFO] [stdout] --> src/primitive/aabb.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | assert!(aabb.intersect(&mut r1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `Option<(f32, f32)>` [INFO] [stdout] --> src/primitive/aabb.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | assert!(aabb.intersect(&mut r1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `Option<(f32, f32)>` [INFO] [stdout] --> src/primitive/aabb.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | assert!(aabb.intersect(&mut r1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `Option>` [INFO] [stdout] --> src/primitive/triangle.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | assert!(triangle.intersect(&mut r1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | for (core_id, (mut chunk, mut chunk2)) in &mut accum_iter.zip(fb_iter).enumerate() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:152:43 [INFO] [stdout] | [INFO] [stdout] 152 | for (core_id, (mut chunk, mut chunk2)) in &mut accum_iter.zip(fb_iter).enumerate() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | for mut x in &mut accum[..] { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | for (chunk, mut float) in bytes.chunks(4).into_iter().zip(floats.iter_mut()) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0600`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pathtracer` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5800d207cb963b2def553ac6892449ef68b55d616eebdd52009050ff0f77210d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5800d207cb963b2def553ac6892449ef68b55d616eebdd52009050ff0f77210d", kill_on_drop: false }` [INFO] [stdout] 5800d207cb963b2def553ac6892449ef68b55d616eebdd52009050ff0f77210d