[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] testing mattgodbolt/path-tracer against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattgodbolt%2Fpath-tracer" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattgodbolt/path-tracer on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-11/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b2d2d9002328202f78b500f4bc67f9077e92bcae3c58635429d3626ffc00766 [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" "1b2d2d9002328202f78b500f4bc67f9077e92bcae3c58635429d3626ffc00766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b2d2d9002328202f78b500f4bc67f9077e92bcae3c58635429d3626ffc00766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b2d2d9002328202f78b500f4bc67f9077e92bcae3c58635429d3626ffc00766", kill_on_drop: false }` [INFO] [stdout] 1b2d2d9002328202f78b500f4bc67f9077e92bcae3c58635429d3626ffc00766 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ca466da59e7873846905caf7fe4d2293c798402524d9a2eff30613e72bc5129 [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" "2ca466da59e7873846905caf7fe4d2293c798402524d9a2eff30613e72bc5129", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling byteorder v1.2.2 [INFO] [stderr] Compiling argparse v0.2.1 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.14 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling path_tracer v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - pub fn radiance(scene: &Scene, ray: &Ray, depth: i32, rng: &mut F64Rng, emit: bool) -> Vec3d { [INFO] [stdout] 17 + pub fn radiance(scene: &Scene, ray: &Ray, depth: i32, rng: &mut dyn F64Rng, emit: bool) -> Vec3d { [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - objects: Vec> [INFO] [stdout] 8 + objects: Vec> [INFO] [stdout] | [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - fn random_emission(&self, from: Vec3d, normal: Vec3d, rng: &mut F64Rng) -> (Vec3d, Vec3d) { [INFO] [stdout] 74 + fn random_emission(&self, from: Vec3d, normal: Vec3d, rng: &mut dyn F64Rng) -> (Vec3d, Vec3d) { [INFO] [stdout] | [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - fn random_emission(&self, from: Vec3d, normal: Vec3d, rng: &mut F64Rng) -> (Vec3d, Vec3d); [INFO] [stdout] 17 + fn random_emission(&self, from: Vec3d, normal: Vec3d, rng: &mut dyn F64Rng) -> (Vec3d, Vec3d); [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - pub fn add(&mut self, object: Box) { [INFO] [stdout] 15 + pub fn add(&mut self, object: Box) { [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - fn shadow_cast(&self, ray: &Ray, light: &Renderable) -> bool { [INFO] [stdout] 38 + fn shadow_cast(&self, ray: &Ray, light: &dyn Renderable) -> bool { [INFO] [stdout] | [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - pub fn sample_lights(&self, from: Vec3d, normal: Vec3d, rng: &mut F64Rng) -> Vec3d { [INFO] [stdout] 60 + pub fn sample_lights(&self, from: Vec3d, normal: Vec3d, rng: &mut dyn F64Rng) -> Vec3d { [INFO] [stdout] | [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] 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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - let mut hit_obj: Option<&Box> = None; [INFO] [stdout] 20 + let mut hit_obj: Option<&Box> = None; [INFO] [stdout] | [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - let mut hit_obj: Option<&Renderable> = None; [INFO] [stdout] 39 + let mut hit_obj: Option<&dyn Renderable> = None; [INFO] [stdout] | [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` due to 4 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2ca466da59e7873846905caf7fe4d2293c798402524d9a2eff30613e72bc5129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ca466da59e7873846905caf7fe4d2293c798402524d9a2eff30613e72bc5129", kill_on_drop: false }` [INFO] [stdout] 2ca466da59e7873846905caf7fe4d2293c798402524d9a2eff30613e72bc5129