[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 try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [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 ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rgb v0.8.12 [INFO] [stderr] Downloaded lodepng v2.4.2 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f071405fde3e2dcebcbf1672a6c03eeaf9bd307917c9437455c9cd36bafe5830 [INFO] running `Command { std: "docker" "start" "-a" "f071405fde3e2dcebcbf1672a6c03eeaf9bd307917c9437455c9cd36bafe5830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f071405fde3e2dcebcbf1672a6c03eeaf9bd307917c9437455c9cd36bafe5830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f071405fde3e2dcebcbf1672a6c03eeaf9bd307917c9437455c9cd36bafe5830", kill_on_drop: false }` [INFO] [stdout] f071405fde3e2dcebcbf1672a6c03eeaf9bd307917c9437455c9cd36bafe5830 [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=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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c831910ed476fb222625824984524ee754158b307d1736ac487561638cf669b8 [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" "c831910ed476fb222625824984524ee754158b307d1736ac487561638cf669b8", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rgb v0.8.12 [INFO] [stderr] Compiling lodepng v2.4.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.1 [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/core/sphere.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | material: Rc [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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 issue #80165 [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] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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 issue #80165 [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] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.57s [INFO] running `Command { std: "docker" "inspect" "c831910ed476fb222625824984524ee754158b307d1736ac487561638cf669b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c831910ed476fb222625824984524ee754158b307d1736ac487561638cf669b8", kill_on_drop: false }` [INFO] [stdout] c831910ed476fb222625824984524ee754158b307d1736ac487561638cf669b8 [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=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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9dbd4e8eb9084fdd638c49f816a86607c1f52c48d8effaaad13841ecdb9c569d [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" "9dbd4e8eb9084fdd638c49f816a86607c1f52c48d8effaaad13841ecdb9c569d", kill_on_drop: false }` [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/core/sphere.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | material: Rc [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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 issue #80165 [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] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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 issue #80165 [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] | ^^^^^^^^ help: use `dyn`: `dyn Material` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [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 issue #80165 [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "9dbd4e8eb9084fdd638c49f816a86607c1f52c48d8effaaad13841ecdb9c569d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dbd4e8eb9084fdd638c49f816a86607c1f52c48d8effaaad13841ecdb9c569d", kill_on_drop: false }` [INFO] [stdout] 9dbd4e8eb9084fdd638c49f816a86607c1f52c48d8effaaad13841ecdb9c569d