[INFO] cloning repository https://github.com/tandalesc/rust-ray-tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tandalesc/rust-ray-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftandalesc%2Frust-ray-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftandalesc%2Frust-ray-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b27ecb44e5d39a4591abc32e50f3e743dd8f339 [INFO] checking tandalesc/rust-ray-tracer against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftandalesc%2Frust-ray-tracer" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tandalesc/rust-ray-tracer on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tandalesc/rust-ray-tracer [INFO] finished tweaking git repo https://github.com/tandalesc/rust-ray-tracer [INFO] tweaked toml for git repo https://github.com/tandalesc/rust-ray-tracer written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/tandalesc/rust-ray-tracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3509f0ba31f9d869194087f254375b494fa48d1e16bb41653e1a0e925edf7ee4 [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" "3509f0ba31f9d869194087f254375b494fa48d1e16bb41653e1a0e925edf7ee4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3509f0ba31f9d869194087f254375b494fa48d1e16bb41653e1a0e925edf7ee4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3509f0ba31f9d869194087f254375b494fa48d1e16bb41653e1a0e925edf7ee4", kill_on_drop: false }` [INFO] [stdout] 3509f0ba31f9d869194087f254375b494fa48d1e16bb41653e1a0e925edf7ee4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3e3180c5e25b83868467002ca2292eb36f7b7d1c6ae7991ae1adef5f98fe505 [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" "d3e3180c5e25b83868467002ca2292eb36f7b7d1c6ae7991ae1adef5f98fe505", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking safe-transmute v0.10.1 [INFO] [stderr] Checking approx v0.3.1 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking arrayvec v0.4.10 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking png v0.14.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking rayon v1.0.3 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.0 [INFO] [stderr] Checking rust-ray-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | pub object: &'a Object, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new<'b>(distance: f64, object: &'b Object) -> Intersection<'b> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | pub objects: Vec<&'a Object>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | pub lights: Vec<&'a Light>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:100:87 [INFO] [stdout] | [INFO] [stdout] 100 | fn shade_diffuse(scene: &Scene, hit_point: Point, surface_normal: Direction, object: &Object) -> Color { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | pub object: &'a Object, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new<'b>(distance: f64, object: &'b Object) -> Intersection<'b> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | pub objects: Vec<&'a Object>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | pub lights: Vec<&'a Light>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Light` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:100:87 [INFO] [stdout] | [INFO] [stdout] 100 | fn shade_diffuse(scene: &Scene, hit_point: Point, surface_normal: Direction, object: &Object) -> Color { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Diffuse` [INFO] [stdout] --> src/primitives.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Diffuse, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reflective` [INFO] [stdout] --> src/primitives.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / Reflective { [INFO] [stdout] 34 | | reflectivity: f64, [INFO] [stdout] 35 | | specular_color: Color, [INFO] [stdout] 36 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Refractive` [INFO] [stdout] --> src/primitives.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / Refractive { [INFO] [stdout] 38 | | index: f64, [INFO] [stdout] 39 | | transparency: f64, [INFO] [stdout] 40 | | reflectivity: f64, [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_prime` [INFO] [stdout] --> src/ray.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn create_prime(x: u32, y: u32, scene: &Scene) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_reflection` [INFO] [stdout] --> src/ray.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn create_reflection(surface_normal: Direction, direction: Direction, hit_point: Point, bias: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_transmission` [INFO] [stdout] --> src/ray.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn create_transmission(surface_normal: Direction, direction: Direction, hit_point: Point, bias: f64, index: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Intersection` [INFO] [stdout] --> src/scene.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Intersection<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/scene.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new<'b>(distance: f64, object: &'b Object) -> Intersection<'b> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Scene` [INFO] [stdout] --> src/scene.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Scene<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/scene.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn render<'b>(&self) -> DynamicImage { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `trace` [INFO] [stdout] --> src/scene.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn trace(&self, ray: &Ray) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_color` [INFO] [stdout] --> src/scene.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_color(scene: &Scene, ray: &Ray, intersection: &Intersection, depth: u32) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cast_ray` [INFO] [stdout] --> src/scene.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn cast_ray(scene: &Scene, ray: &Ray, depth: u32) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shade_diffuse` [INFO] [stdout] --> src/scene.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn shade_diffuse(scene: &Scene, hit_point: Point, surface_normal: Direction, object: &Object) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fresnel` [INFO] [stdout] --> src/scene.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn fresnel(surface_normal: Direction, direction: Direction, index: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.42s [INFO] running `Command { std: "docker" "inspect" "d3e3180c5e25b83868467002ca2292eb36f7b7d1c6ae7991ae1adef5f98fe505", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3e3180c5e25b83868467002ca2292eb36f7b7d1c6ae7991ae1adef5f98fe505", kill_on_drop: false }` [INFO] [stdout] d3e3180c5e25b83868467002ca2292eb36f7b7d1c6ae7991ae1adef5f98fe505