[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 try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattgodbolt%2Fpath-tracer" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattgodbolt/path-tracer on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-1/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17fd5771bf08c2fc099971a8e847f7e69023fd86d9980442d1e0a0c66c7c3004 [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" "17fd5771bf08c2fc099971a8e847f7e69023fd86d9980442d1e0a0c66c7c3004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17fd5771bf08c2fc099971a8e847f7e69023fd86d9980442d1e0a0c66c7c3004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17fd5771bf08c2fc099971a8e847f7e69023fd86d9980442d1e0a0c66c7c3004", kill_on_drop: false }` [INFO] [stdout] 17fd5771bf08c2fc099971a8e847f7e69023fd86d9980442d1e0a0c66c7c3004 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5265a886f1647e79fbe9e6321ef3df86a5fa868a861701afaac255b75e59752d [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" "5265a886f1647e79fbe9e6321ef3df86a5fa868a861701afaac255b75e59752d", kill_on_drop: false }` [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.0 [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 lzw v0.10.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking argparse v0.2.1 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking crossbeam-deque v0.2.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] [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] [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: 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" "5265a886f1647e79fbe9e6321ef3df86a5fa868a861701afaac255b75e59752d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5265a886f1647e79fbe9e6321ef3df86a5fa868a861701afaac255b75e59752d", kill_on_drop: false }` [INFO] [stdout] 5265a886f1647e79fbe9e6321ef3df86a5fa868a861701afaac255b75e59752d