[INFO] cloning repository https://github.com/BwuNi/ray-tracing-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BwuNi/ray-tracing-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBwuNi%2Fray-tracing-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBwuNi%2Fray-tracing-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad545a77d15b28c8aaab2f6594ea1020dbac9a42 [INFO] testing BwuNi/ray-tracing-rust against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBwuNi%2Fray-tracing-rust" "/workspace/builds/worker-119/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-119/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BwuNi/ray-tracing-rust on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BwuNi/ray-tracing-rust [INFO] finished tweaking git repo https://github.com/BwuNi/ray-tracing-rust [INFO] tweaked toml for git repo https://github.com/BwuNi/ray-tracing-rust written to /workspace/builds/worker-119/source/Cargo.toml [INFO] crate git repo https://github.com/BwuNi/ray-tracing-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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 libc v0.2.48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 395a3944aa0d0ccfd438e6ff3adf407697ec7df1f1edc060bc6cc08fd37c290d [INFO] running `Command { std: "docker" "start" "-a" "395a3944aa0d0ccfd438e6ff3adf407697ec7df1f1edc060bc6cc08fd37c290d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "395a3944aa0d0ccfd438e6ff3adf407697ec7df1f1edc060bc6cc08fd37c290d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "395a3944aa0d0ccfd438e6ff3adf407697ec7df1f1edc060bc6cc08fd37c290d", kill_on_drop: false }` [INFO] [stdout] 395a3944aa0d0ccfd438e6ff3adf407697ec7df1f1edc060bc6cc08fd37c290d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cdf24d0f4df8bd8c1615ce8c5ac28554b238decb7b2fa0df29f93fca436aafe [INFO] running `Command { std: "docker" "start" "-a" "4cdf24d0f4df8bd8c1615ce8c5ac28554b238decb7b2fa0df29f93fca436aafe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling ray-tracing-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/hit_list.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub list: Vec>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/hit_list.rs:11:80 [INFO] [stdout] | [INFO] [stdout] 11 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<(HitRecord,&Box)> { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/hit_list.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | let mut res:Option<(HitRecord,&Box)> = None; [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/sphere.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub material: Box, [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/sphere.rs:14:80 [INFO] [stdout] | [INFO] [stdout] 14 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<(HitRecord,&Box)> { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/mod.rs:19:80 [INFO] [stdout] | [INFO] [stdout] 19 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<(HitRecord,&Box)>; [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hit::hit_list::HitList` [INFO] [stdout] --> src/render/color.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::hit::hit_list::HitList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/color.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn gen() -> Box Vec3> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> Vec3` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/task.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | color: Box Vec3>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> Vec3` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/task.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | callback: Box) -> bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec<(i32, i32, Vec3)>) -> bool` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/task.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | callback: Box) -> bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec<(i32, i32, Vec3)>) -> bool` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sence/background.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | pub type BackGround = Box Vec3>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Ray) -> Vec3` [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] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fuzz` [INFO] [stdout] --> src/base/ray.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn random_in_unit_sphere(fuzz:f64) -> Vec3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fuzz` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/hit_list.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub list: Vec>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/hit_list.rs:11:80 [INFO] [stdout] | [INFO] [stdout] 11 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<(HitRecord,&Box)> { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/hit_list.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | let mut res:Option<(HitRecord,&Box)> = None; [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/sphere.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub material: Box, [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/sphere.rs:14:80 [INFO] [stdout] | [INFO] [stdout] 14 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<(HitRecord,&Box)> { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/mod.rs:19:80 [INFO] [stdout] | [INFO] [stdout] 19 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<(HitRecord,&Box)>; [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hit::hit_list::HitList` [INFO] [stdout] --> src/render/color.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::hit::hit_list::HitList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/color.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn gen() -> Box Vec3> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> Vec3` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/task.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | color: Box Vec3>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> Vec3` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/task.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | callback: Box) -> bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec<(i32, i32, Vec3)>) -> bool` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/task.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | callback: Box) -> bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec<(i32, i32, Vec3)>) -> bool` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sence/background.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | pub type BackGround = Box Vec3>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Ray) -> Vec3` [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] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fuzz` [INFO] [stdout] --> src/base/ray.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn random_in_unit_sphere(fuzz:f64) -> Vec3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fuzz` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.01s [INFO] running `Command { std: "docker" "inspect" "4cdf24d0f4df8bd8c1615ce8c5ac28554b238decb7b2fa0df29f93fca436aafe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cdf24d0f4df8bd8c1615ce8c5ac28554b238decb7b2fa0df29f93fca436aafe", kill_on_drop: false }` [INFO] [stdout] 4cdf24d0f4df8bd8c1615ce8c5ac28554b238decb7b2fa0df29f93fca436aafe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a113cf464f88a6af58822ca3840a231c0d72be21059faf78a5ac79becc321a3 [INFO] running `Command { std: "docker" "start" "-a" "5a113cf464f88a6af58822ca3840a231c0d72be21059faf78a5ac79becc321a3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/hit_list.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub list: Vec>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/hit_list.rs:11:80 [INFO] [stdout] | [INFO] [stdout] 11 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<(HitRecord,&Box)> { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/hit_list.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | let mut res:Option<(HitRecord,&Box)> = None; [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/sphere.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub material: Box, [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/sphere.rs:14:80 [INFO] [stdout] | [INFO] [stdout] 14 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<(HitRecord,&Box)> { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/mod.rs:19:80 [INFO] [stdout] | [INFO] [stdout] 19 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<(HitRecord,&Box)>; [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hit::hit_list::HitList` [INFO] [stdout] --> src/render/color.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::hit::hit_list::HitList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/color.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn gen() -> Box Vec3> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> Vec3` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/task.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | color: Box Vec3>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> Vec3` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/task.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | callback: Box) -> bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec<(i32, i32, Vec3)>) -> bool` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/task.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | callback: Box) -> bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec<(i32, i32, Vec3)>) -> bool` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sence/background.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | pub type BackGround = Box Vec3>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Ray) -> Vec3` [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] [INFO] [stdout] [INFO] [stderr] Compiling ray-tracing-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `fuzz` [INFO] [stdout] --> src/base/ray.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn random_in_unit_sphere(fuzz:f64) -> Vec3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fuzz` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/hit_list.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub list: Vec>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/hit_list.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub list: Vec>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/hit_list.rs:11:80 [INFO] [stdout] | [INFO] [stdout] 11 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<(HitRecord,&Box)> { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/hit_list.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | let mut res:Option<(HitRecord,&Box)> = None; [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/hit_list.rs:11:80 [INFO] [stdout] | [INFO] [stdout] 11 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<(HitRecord,&Box)> { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/sphere.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub material: Box, [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/hit_list.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | let mut res:Option<(HitRecord,&Box)> = None; [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/sphere.rs:14:80 [INFO] [stdout] | [INFO] [stdout] 14 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<(HitRecord,&Box)> { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/sphere.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub material: Box, [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/sphere.rs:14:80 [INFO] [stdout] | [INFO] [stdout] 14 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<(HitRecord,&Box)> { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/mod.rs:19:80 [INFO] [stdout] | [INFO] [stdout] 19 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<(HitRecord,&Box)>; [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hit::hit_list::HitList` [INFO] [stdout] --> src/render/color.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::hit::hit_list::HitList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hit/mod.rs:19:80 [INFO] [stdout] | [INFO] [stdout] 19 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<(HitRecord,&Box)>; [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/color.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn gen() -> Box Vec3> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> Vec3` [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hit::hit_list::HitList` [INFO] [stdout] --> src/render/color.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::hit::hit_list::HitList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/task.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | color: Box Vec3>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> Vec3` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/color.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn gen() -> Box Vec3> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> Vec3` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/task.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | callback: Box) -> bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec<(i32, i32, Vec3)>) -> bool` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/task.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | color: Box Vec3>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> Vec3` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/task.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | callback: Box) -> bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec<(i32, i32, Vec3)>) -> bool` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/task.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | callback: Box) -> bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec<(i32, i32, Vec3)>) -> bool` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sence/background.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | pub type BackGround = Box Vec3>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Ray) -> Vec3` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render/task.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | callback: Box) -> bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec<(i32, i32, Vec3)>) -> bool` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sence/background.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | pub type BackGround = Box Vec3>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Ray) -> Vec3` [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] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fuzz` [INFO] [stdout] --> src/base/ray.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn random_in_unit_sphere(fuzz:f64) -> Vec3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fuzz` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fuzz` [INFO] [stdout] --> src/base/ray.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn random_in_unit_sphere(fuzz:f64) -> Vec3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fuzz` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.58s [INFO] running `Command { std: "docker" "inspect" "5a113cf464f88a6af58822ca3840a231c0d72be21059faf78a5ac79becc321a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a113cf464f88a6af58822ca3840a231c0d72be21059faf78a5ac79becc321a3", kill_on_drop: false }` [INFO] [stdout] 5a113cf464f88a6af58822ca3840a231c0d72be21059faf78a5ac79becc321a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d1b332d629bd60f77dec35db6a52c050e73ddd505032b5ad7ced4960bab6b3f3 [INFO] running `Command { std: "docker" "start" "-a" "d1b332d629bd60f77dec35db6a52c050e73ddd505032b5ad7ced4960bab6b3f3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hit/hit_list.rs:7:23 [INFO] [stderr] | [INFO] [stderr] 7 | pub list: Vec>, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hit/hit_list.rs:11:80 [INFO] [stderr] | [INFO] [stderr] 11 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<(HitRecord,&Box)> { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hit/hit_list.rs:12:44 [INFO] [stderr] | [INFO] [stderr] 12 | let mut res:Option<(HitRecord,&Box)> = None; [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hit/sphere.rs:10:23 [INFO] [stderr] | [INFO] [stderr] 10 | pub material: Box, [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hit/sphere.rs:14:80 [INFO] [stderr] | [INFO] [stderr] 14 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<(HitRecord,&Box)> { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hit/mod.rs:19:80 [INFO] [stderr] | [INFO] [stderr] 19 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option<(HitRecord,&Box)>; [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::hit::hit_list::HitList` [INFO] [stderr] --> src/render/color.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use crate::hit::hit_list::HitList; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/render/color.rs:60:21 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn gen() -> Box Vec3> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> Vec3` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/render/task.rs:14:16 [INFO] [stderr] | [INFO] [stderr] 14 | color: Box Vec3>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> Vec3` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/render/task.rs:15:19 [INFO] [stderr] | [INFO] [stderr] 15 | callback: Box) -> bool>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec<(i32, i32, Vec3)>) -> bool` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/render/task.rs:57:19 [INFO] [stderr] | [INFO] [stderr] 57 | callback: Box) -> bool>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec<(i32, i32, Vec3)>) -> bool` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sence/background.rs:4:27 [INFO] [stderr] | [INFO] [stderr] 4 | pub type BackGround = Box Vec3>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Ray) -> Vec3` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fuzz` [INFO] [stderr] --> src/base/ray.rs:30:26 [INFO] [stderr] | [INFO] [stderr] 30 | fn random_in_unit_sphere(fuzz:f64) -> Vec3 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fuzz` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `ray-tracing-rust` (lib) generated 13 warnings [INFO] [stderr] warning: `ray-tracing-rust` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] warning: `ray-tracing-rust` (bin "ray-tracing-rust" test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.56s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ffi-4019fca6cdd2e495) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ray_tracing_rust-59a18bbed9f81b63) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d1b332d629bd60f77dec35db6a52c050e73ddd505032b5ad7ced4960bab6b3f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1b332d629bd60f77dec35db6a52c050e73ddd505032b5ad7ced4960bab6b3f3", kill_on_drop: false }` [INFO] [stdout] d1b332d629bd60f77dec35db6a52c050e73ddd505032b5ad7ced4960bab6b3f3