[INFO] cloning repository https://github.com/mattgodbolt/path-tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattgodbolt/path-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattgodbolt%2Fpath-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattgodbolt%2Fpath-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 859efe093e9822f3ee5cc8e30dbb80094f7aad85 [INFO] checking mattgodbolt/path-tracer against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattgodbolt%2Fpath-tracer" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattgodbolt/path-tracer on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mattgodbolt/path-tracer [INFO] finished tweaking git repo https://github.com/mattgodbolt/path-tracer [INFO] tweaked toml for git repo https://github.com/mattgodbolt/path-tracer written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/mattgodbolt/path-tracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0898cae2863479a17b3d3749c4de3fac4e309f6e98c80e44ad10baccfe4b13b7 [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" "0898cae2863479a17b3d3749c4de3fac4e309f6e98c80e44ad10baccfe4b13b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0898cae2863479a17b3d3749c4de3fac4e309f6e98c80e44ad10baccfe4b13b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0898cae2863479a17b3d3749c4de3fac4e309f6e98c80e44ad10baccfe4b13b7", kill_on_drop: false }` [INFO] [stdout] 0898cae2863479a17b3d3749c4de3fac4e309f6e98c80e44ad10baccfe4b13b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a989c0c6478f3e81be0decbb1122018302f3a3394c3643ef8ebf63d58ea1615 [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" "3a989c0c6478f3e81be0decbb1122018302f3a3394c3643ef8ebf63d58ea1615", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking byteorder v1.2.2 [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking argparse v0.2.1 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-iter v0.1.35 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking rayon-core v1.4.0 [INFO] [stderr] Checking rayon v1.0.1 [INFO] [stderr] Checking jpeg-decoder v0.1.14 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Checking path_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:74:69 [INFO] [stdout] | [INFO] [stdout] 74 | fn random_emission(&self, from: Vec3d, normal: Vec3d, rng: &mut F64Rng) -> (Vec3d, Vec3d) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn F64Rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/renderable.rs:17:69 [INFO] [stdout] | [INFO] [stdout] 17 | fn random_emission(&self, from: Vec3d, normal: Vec3d, rng: &mut F64Rng) -> (Vec3d, Vec3d); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn F64Rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | objects: Vec> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Renderable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn add(&mut self, object: Box) { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Renderable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | let mut hit_obj: Option<&Box> = None; [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Renderable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | fn shadow_cast(&self, ray: &Ray, light: &Renderable) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Renderable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | let mut hit_obj: Option<&Renderable> = None; [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Renderable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:60:71 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn sample_lights(&self, from: Vec3d, normal: Vec3d, rng: &mut F64Rng) -> Vec3d { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn F64Rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn radiance(scene: &Scene, ray: &Ray, depth: i32, rng: &mut F64Rng, emit: bool) -> Vec3d { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn F64Rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:74:69 [INFO] [stdout] | [INFO] [stdout] 74 | fn random_emission(&self, from: Vec3d, normal: Vec3d, rng: &mut F64Rng) -> (Vec3d, Vec3d) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn F64Rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/renderable.rs:17:69 [INFO] [stdout] | [INFO] [stdout] 17 | fn random_emission(&self, from: Vec3d, normal: Vec3d, rng: &mut F64Rng) -> (Vec3d, Vec3d); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn F64Rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | objects: Vec> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Renderable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn add(&mut self, object: Box) { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Renderable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | let mut hit_obj: Option<&Box> = None; [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Renderable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | fn shadow_cast(&self, ray: &Ray, light: &Renderable) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Renderable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | let mut hit_obj: Option<&Renderable> = None; [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Renderable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:60:71 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn sample_lights(&self, from: Vec3d, normal: Vec3d, rng: &mut F64Rng) -> Vec3d { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn F64Rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn radiance(scene: &Scene, ray: &Ray, depth: i32, rng: &mut F64Rng, emit: bool) -> Vec3d { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn F64Rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/math.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | Vec3d { x: self.x.clamp(), y: self.y.clamp(), z: self.z.clamp() } [INFO] [stdout] | ^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/math.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | Vec3d { x: self.x.clamp(), y: self.y.clamp(), z: self.z.clamp() } [INFO] [stdout] | ^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/math.rs:85:65 [INFO] [stdout] | [INFO] [stdout] 85 | Vec3d { x: self.x.clamp(), y: self.y.clamp(), z: self.z.clamp() } [INFO] [stdout] | ^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `path_tracer` [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] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/math.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | Vec3d { x: self.x.clamp(), y: self.y.clamp(), z: self.z.clamp() } [INFO] [stdout] | ^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/math.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | Vec3d { x: self.x.clamp(), y: self.y.clamp(), z: self.z.clamp() } [INFO] [stdout] | ^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/math.rs:85:65 [INFO] [stdout] | [INFO] [stdout] 85 | Vec3d { x: self.x.clamp(), y: self.y.clamp(), z: self.z.clamp() } [INFO] [stdout] | ^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3a989c0c6478f3e81be0decbb1122018302f3a3394c3643ef8ebf63d58ea1615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a989c0c6478f3e81be0decbb1122018302f3a3394c3643ef8ebf63d58ea1615", kill_on_drop: false }` [INFO] [stdout] 3a989c0c6478f3e81be0decbb1122018302f3a3394c3643ef8ebf63d58ea1615