[INFO] cloning repository https://github.com/bcomb/hello-rust-raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bcomb/hello-rust-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbcomb%2Fhello-rust-raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbcomb%2Fhello-rust-raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 382cc9533985d2d1bdcc3241c1e96936da44167e [INFO] testing bcomb/hello-rust-raytracer against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbcomb%2Fhello-rust-raytracer" "/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/bcomb/hello-rust-raytracer on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bcomb/hello-rust-raytracer [INFO] finished tweaking git repo https://github.com/bcomb/hello-rust-raytracer [INFO] tweaked toml for git repo https://github.com/bcomb/hello-rust-raytracer written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/bcomb/hello-rust-raytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lodepng v2.4.2 [INFO] [stderr] Downloaded rgb v0.8.12 [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd7d989fa9c987f659347d54108b40687355cb819bcb99a5403f30159fc833e8 [INFO] running `Command { std: "docker" "start" "-a" "bd7d989fa9c987f659347d54108b40687355cb819bcb99a5403f30159fc833e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd7d989fa9c987f659347d54108b40687355cb819bcb99a5403f30159fc833e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd7d989fa9c987f659347d54108b40687355cb819bcb99a5403f30159fc833e8", kill_on_drop: false }` [INFO] [stdout] bd7d989fa9c987f659347d54108b40687355cb819bcb99a5403f30159fc833e8 [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ebf9ef1bd3f4c2953f37b4f5977601f277a0c910770c466941c1d86e109f284 [INFO] running `Command { std: "docker" "start" "-a" "5ebf9ef1bd3f4c2953f37b4f5977601f277a0c910770c466941c1d86e109f284", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling rgb v0.8.12 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling lodepng v2.4.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling hello-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | fn compute_color(scene: &Vec>, ray: &Ray, depth: i32) -> Vec3 { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - fn compute_color(scene: &Vec>, ray: &Ray, depth: i32) -> Vec3 { [INFO] [stdout] 10 + fn compute_color(scene: &Vec>, ray: &Ray, depth: i32) -> Vec3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | fn random_scene() -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - fn random_scene() -> Vec> { [INFO] [stdout] 30 + fn random_scene() -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/sphere.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | material: Rc [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - material: Rc [INFO] [stdout] 9 + material: Rc [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/hitable.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub material: &'a Material // material of the hit surface [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - pub material: &'a Material // material of the hit surface [INFO] [stdout] 9 + pub material: &'a dyn Material // material of the hit surface [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/sphere.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(center: Vec3, radius: f32, material: Rc) -> Sphere { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - pub fn new(center: Vec3, radius: f32, material: Rc) -> Sphere { [INFO] [stdout] 13 + pub fn new(center: Vec3, radius: f32, material: Rc) -> Sphere { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/hitable.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn closest_hit<'a>(list: &'a Vec>,r: &Ray, tmin: f32, tmax: f32 ) -> Option > { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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 closest_hit<'a>(list: &'a Vec>,r: &Ray, tmin: f32, tmax: f32 ) -> Option > { [INFO] [stdout] 17 + pub fn closest_hit<'a>(list: &'a Vec>,r: &Ray, tmin: f32, tmax: f32 ) -> Option > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | let mut scene : Vec> = Vec::with_capacity(500); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - let mut scene : Vec> = Vec::with_capacity(500); [INFO] [stdout] 31 + let mut scene : Vec> = Vec::with_capacity(500); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.64s [INFO] running `Command { std: "docker" "inspect" "5ebf9ef1bd3f4c2953f37b4f5977601f277a0c910770c466941c1d86e109f284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ebf9ef1bd3f4c2953f37b4f5977601f277a0c910770c466941c1d86e109f284", kill_on_drop: false }` [INFO] [stdout] 5ebf9ef1bd3f4c2953f37b4f5977601f277a0c910770c466941c1d86e109f284 [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b0202e37cc10b0d883d5c5710988d4b94c40df8cdbf1c597e8ecbc20be63c43 [INFO] running `Command { std: "docker" "start" "-a" "8b0202e37cc10b0d883d5c5710988d4b94c40df8cdbf1c597e8ecbc20be63c43", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling hello-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | fn compute_color(scene: &Vec>, ray: &Ray, depth: i32) -> Vec3 { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - fn compute_color(scene: &Vec>, ray: &Ray, depth: i32) -> Vec3 { [INFO] [stdout] 10 + fn compute_color(scene: &Vec>, ray: &Ray, depth: i32) -> Vec3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | fn random_scene() -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - fn random_scene() -> Vec> { [INFO] [stdout] 30 + fn random_scene() -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/sphere.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | material: Rc [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - material: Rc [INFO] [stdout] 9 + material: Rc [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/hitable.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub material: &'a Material // material of the hit surface [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - pub material: &'a Material // material of the hit surface [INFO] [stdout] 9 + pub material: &'a dyn Material // material of the hit surface [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/sphere.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(center: Vec3, radius: f32, material: Rc) -> Sphere { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - pub fn new(center: Vec3, radius: f32, material: Rc) -> Sphere { [INFO] [stdout] 13 + pub fn new(center: Vec3, radius: f32, material: Rc) -> Sphere { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/hitable.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn closest_hit<'a>(list: &'a Vec>,r: &Ray, tmin: f32, tmax: f32 ) -> Option > { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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 closest_hit<'a>(list: &'a Vec>,r: &Ray, tmin: f32, tmax: f32 ) -> Option > { [INFO] [stdout] 17 + pub fn closest_hit<'a>(list: &'a Vec>,r: &Ray, tmin: f32, tmax: f32 ) -> Option > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | let mut scene : Vec> = Vec::with_capacity(500); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - let mut scene : Vec> = Vec::with_capacity(500); [INFO] [stdout] 31 + let mut scene : Vec> = Vec::with_capacity(500); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `lerp` found for struct `vec3::Vec3` in the current scope [INFO] [stdout] --> src/core/vec3.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Vec3 { [INFO] [stdout] | --------------- function or associated item `lerp` not found for this [INFO] [stdout] ... [INFO] [stdout] 275 | assert_eq!(Vec3::lerp(&a,&b,0.0), lerp_0); [INFO] [stdout] | ^^^^ function or associated item not found in `vec3::Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `lerp` found for struct `vec3::Vec3` in the current scope [INFO] [stdout] --> src/core/vec3.rs:276:22 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Vec3 { [INFO] [stdout] | --------------- function or associated item `lerp` not found for this [INFO] [stdout] ... [INFO] [stdout] 276 | assert_eq!(Vec3::lerp(&a,&b,0.5), lerp_05); [INFO] [stdout] | ^^^^ function or associated item not found in `vec3::Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `lerp` found for struct `vec3::Vec3` in the current scope [INFO] [stdout] --> src/core/vec3.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Vec3 { [INFO] [stdout] | --------------- function or associated item `lerp` not found for this [INFO] [stdout] ... [INFO] [stdout] 277 | assert_eq!(Vec3::lerp(&a,&b,1.0), lerp_1); [INFO] [stdout] | ^^^^ function or associated item not found in `vec3::Vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello-rust` due to 4 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8b0202e37cc10b0d883d5c5710988d4b94c40df8cdbf1c597e8ecbc20be63c43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b0202e37cc10b0d883d5c5710988d4b94c40df8cdbf1c597e8ecbc20be63c43", kill_on_drop: false }` [INFO] [stdout] 8b0202e37cc10b0d883d5c5710988d4b94c40df8cdbf1c597e8ecbc20be63c43