[INFO] cloning repository https://github.com/sanderman01/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/sanderman01/rust-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanderman01%2Frust-raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanderman01%2Frust-raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12037e64a5f614bf302d6ff425f42cf69413ff4d [INFO] checking sanderman01/rust-raytracer against try#b32fc44666c052e7cf07ab471bfb6f9ec571902f for pr-138676 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanderman01%2Frust-raytracer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sanderman01/rust-raytracer on toolchain b32fc44666c052e7cf07ab471bfb6f9ec571902f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sanderman01/rust-raytracer [INFO] finished tweaking git repo https://github.com/sanderman01/rust-raytracer [INFO] tweaked toml for git repo https://github.com/sanderman01/rust-raytracer written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sanderman01/rust-raytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nalgebra-glm v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:6475c868a6d27846ca172efb246699580b64b57a5b3744ef73949e850a31b38a" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d5477fb2ba06c05be9d3fba6f7ec3c412f7cc7843699f9dfa468386fb345417 [INFO] running `Command { std: "docker" "start" "-a" "7d5477fb2ba06c05be9d3fba6f7ec3c412f7cc7843699f9dfa468386fb345417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d5477fb2ba06c05be9d3fba6f7ec3c412f7cc7843699f9dfa468386fb345417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d5477fb2ba06c05be9d3fba6f7ec3c412f7cc7843699f9dfa468386fb345417", kill_on_drop: false }` [INFO] [stdout] 7d5477fb2ba06c05be9d3fba6f7ec3c412f7cc7843699f9dfa468386fb345417 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:6475c868a6d27846ca172efb246699580b64b57a5b3744ef73949e850a31b38a" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ce628afd22c431ea37673f0c04d6414770bd6ba734f3b9c02ee60c41252d515 [INFO] running `Command { std: "docker" "start" "-a" "1ce628afd22c431ea37673f0c04d6414770bd6ba734f3b9c02ee60c41252d515", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling libm v0.1.3 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking matrixmultiply v0.2.2 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking generic-array v0.12.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking png v0.14.1 [INFO] [stderr] Checking alga v0.9.1 [INFO] [stderr] Checking nalgebra v0.18.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.1 [INFO] [stderr] Checking nalgebra-glm v0.4.0 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | fn create_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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn create_scene() -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | fn create_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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn create_scene() -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:87:50 [INFO] [stdout] | [INFO] [stdout] 87 | fn render_image(camera: &Camera, scene: &Vec>, image: &mut RgbImage) { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 | fn render_image(camera: &Camera, scene: &Vec>, image: &mut RgbImage) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:87:50 [INFO] [stdout] | [INFO] [stdout] 87 | fn render_image(camera: &Camera, scene: &Vec>, image: &mut RgbImage) { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 | fn render_image(camera: &Camera, scene: &Vec>, image: &mut RgbImage) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:311:23 [INFO] [stdout] | [INFO] [stdout] 311 | material: &'a Box, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 311 | material: &'a Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:311:23 [INFO] [stdout] | [INFO] [stdout] 311 | material: &'a Box, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 311 | material: &'a Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | scene: &'a 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | scene: &'a Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | scene: &'a 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | scene: &'a Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:147:41 [INFO] [stdout] | [INFO] [stdout] 147 | fn trace_ray(ray: &Ray, scene: &Vec>, depth: u32) -> Vec3 { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 147 | fn trace_ray(ray: &Ray, scene: &Vec>, depth: u32) -> Vec3 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:147:41 [INFO] [stdout] | [INFO] [stdout] 147 | fn trace_ray(ray: &Ray, scene: &Vec>, depth: u32) -> Vec3 { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 147 | fn trace_ray(ray: &Ray, scene: &Vec>, depth: u32) -> Vec3 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:227:46 [INFO] [stdout] | [INFO] [stdout] 227 | fn get_material<'a>(&'a self) -> &'a Box { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 227 | fn get_material<'a>(&'a self) -> &'a Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:227:46 [INFO] [stdout] | [INFO] [stdout] 227 | fn get_material<'a>(&'a self) -> &'a Box { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 227 | fn get_material<'a>(&'a self) -> &'a Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | let mat: Box = if rnd_mat < 0.5 { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | let mat: Box = if rnd_mat < 0.5 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | let mat: Box = if rnd_mat < 0.5 { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | let mat: Box = if rnd_mat < 0.5 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_material` is never used [INFO] [stdout] --> src/main.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | trait SceneObject: Sync + Send { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 172 | fn ray_hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option; [INFO] [stdout] 173 | fn get_material<'a>(&'a self) -> &'a Box; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_material` is never used [INFO] [stdout] --> src/main.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | trait SceneObject: Sync + Send { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 172 | fn ray_hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option; [INFO] [stdout] 173 | fn get_material<'a>(&'a self) -> &'a Box; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.93s [INFO] running `Command { std: "docker" "inspect" "1ce628afd22c431ea37673f0c04d6414770bd6ba734f3b9c02ee60c41252d515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ce628afd22c431ea37673f0c04d6414770bd6ba734f3b9c02ee60c41252d515", kill_on_drop: false }` [INFO] [stdout] 1ce628afd22c431ea37673f0c04d6414770bd6ba734f3b9c02ee60c41252d515