[INFO] cloning repository https://github.com/pepone42/raytracer.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pepone42/raytracer.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepone42%2Fraytracer.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepone42%2Fraytracer.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9bf53733c283bede7f8369c66fa9fd04c60a732 [INFO] testing pepone42/raytracer.rs against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepone42%2Fraytracer.rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pepone42/raytracer.rs on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pepone42/raytracer.rs [INFO] finished tweaking git repo https://github.com/pepone42/raytracer.rs [INFO] tweaked toml for git repo https://github.com/pepone42/raytracer.rs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/pepone42/raytracer.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1763a9bd97e72ea7b35501e4d1b745987fb099adc8b4ad158040006b4f5917b9 [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" "1763a9bd97e72ea7b35501e4d1b745987fb099adc8b4ad158040006b4f5917b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1763a9bd97e72ea7b35501e4d1b745987fb099adc8b4ad158040006b4f5917b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1763a9bd97e72ea7b35501e4d1b745987fb099adc8b4ad158040006b4f5917b9", kill_on_drop: false }` [INFO] [stdout] 1763a9bd97e72ea7b35501e4d1b745987fb099adc8b4ad158040006b4f5917b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d82e47eb7bc69852c6e7aef418e1b3ba008774fdb42c7d0c3680f7379424a4c [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" "2d82e47eb7bc69852c6e7aef418e1b3ba008774fdb42c7d0c3680f7379424a4c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.22 [INFO] [stderr] Compiling gcc v0.3.45 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling dylib v0.0.1 [INFO] [stderr] Compiling time v0.1.37 [INFO] [stderr] Compiling x11-dl v2.2.1 [INFO] [stderr] Compiling minifb v0.9.1 [INFO] [stderr] Compiling raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | fn surface(&self) -> &Surface; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/sphere.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | surface: &'a Surface, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/sphere.rs:14:59 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(center: Vector3, radius: f64, surface: &'a Surface) -> Self { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/sphere.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | fn surface(&self) -> &Surface { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/plane.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | surface: &'a Surface, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/plane.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(norm: Vector3, offset: f64, surface: &'a Surface) -> Self { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/plane.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | fn surface(&self) -> &Surface { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/intersection.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub object: &'a Object, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scene.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub objects: Vec<&'a Object>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/raytracer.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | obj: &Object, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/raytracer.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_natural_color(&self, obj: &Object, pos: Vector3, norm: Vector3, rd: Vector3) -> Color { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.14s [INFO] running `Command { std: "docker" "inspect" "2d82e47eb7bc69852c6e7aef418e1b3ba008774fdb42c7d0c3680f7379424a4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d82e47eb7bc69852c6e7aef418e1b3ba008774fdb42c7d0c3680f7379424a4c", kill_on_drop: false }` [INFO] [stdout] 2d82e47eb7bc69852c6e7aef418e1b3ba008774fdb42c7d0c3680f7379424a4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f13c2ef8ac05971f528f6b811a70f0474dd0253a252594b365aeeda5ff637ed0 [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" "f13c2ef8ac05971f528f6b811a70f0474dd0253a252594b365aeeda5ff637ed0", kill_on_drop: false }` [INFO] [stderr] Compiling raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | fn surface(&self) -> &Surface; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/sphere.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | surface: &'a Surface, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/sphere.rs:14:59 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(center: Vector3, radius: f64, surface: &'a Surface) -> Self { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/sphere.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | fn surface(&self) -> &Surface { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/plane.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | surface: &'a Surface, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/plane.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(norm: Vector3, offset: f64, surface: &'a Surface) -> Self { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/plane.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | fn surface(&self) -> &Surface { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/intersection.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub object: &'a Object, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scene.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub objects: Vec<&'a Object>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/raytracer.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | obj: &Object, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/raytracer.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_natural_color(&self, obj: &Object, pos: Vector3, norm: Vector3, rd: Vector3) -> Color { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "f13c2ef8ac05971f528f6b811a70f0474dd0253a252594b365aeeda5ff637ed0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f13c2ef8ac05971f528f6b811a70f0474dd0253a252594b365aeeda5ff637ed0", kill_on_drop: false }` [INFO] [stdout] f13c2ef8ac05971f528f6b811a70f0474dd0253a252594b365aeeda5ff637ed0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] da0c1dc7b5fc6875730a853f77a696f1976791910235a5f62e412b7a2c78f59f [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" "da0c1dc7b5fc6875730a853f77a696f1976791910235a5f62e412b7a2c78f59f", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/object.rs:9:27 [INFO] [stderr] | [INFO] [stderr] 9 | fn surface(&self) -> &Surface; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sphere.rs:10:18 [INFO] [stderr] | [INFO] [stderr] 10 | surface: &'a Surface, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sphere.rs:14:59 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new(center: Vector3, radius: f64, surface: &'a Surface) -> Self { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sphere.rs:47:27 [INFO] [stderr] | [INFO] [stderr] 47 | fn surface(&self) -> &Surface { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/plane.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | surface: &'a Surface, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/plane.rs:13:57 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new(norm: Vector3, offset: f64, surface: &'a Surface) -> Self { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/plane.rs:40:27 [INFO] [stderr] | [INFO] [stderr] 40 | fn surface(&self) -> &Surface { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Surface` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/intersection.rs:6:21 [INFO] [stderr] | [INFO] [stderr] 6 | pub object: &'a Object, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | pub objects: Vec<&'a Object>, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raytracer.rs:48:15 [INFO] [stderr] | [INFO] [stderr] 48 | obj: &Object, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raytracer.rs:65:39 [INFO] [stderr] | [INFO] [stderr] 65 | fn get_natural_color(&self, obj: &Object, pos: Vector3, norm: Vector3, rd: Vector3) -> Color { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 11 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/raytrace-ecbfee7165934e48) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test color::add ... ok [INFO] [stdout] test color::clamp ... ok [INFO] [stdout] test color::scalar_mul ... ok [INFO] [stdout] test color::sub ... ok [INFO] [stdout] test vector3::add ... ok [INFO] [stdout] test vector3::cross ... ok [INFO] [stdout] test vector3::dot ... ok [INFO] [stdout] test vector3::norm ... ok [INFO] [stdout] test vector3::scalar_mul_vector ... ok [INFO] [stdout] test vector3::sub ... ok [INFO] [stdout] test vector3::vector_mul_scalar ... ok [INFO] [stdout] test vector3::len ... ok [INFO] [stdout] test color::to_pixel_color ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "da0c1dc7b5fc6875730a853f77a696f1976791910235a5f62e412b7a2c78f59f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da0c1dc7b5fc6875730a853f77a696f1976791910235a5f62e412b7a2c78f59f", kill_on_drop: false }` [INFO] [stdout] da0c1dc7b5fc6875730a853f77a696f1976791910235a5f62e412b7a2c78f59f