[INFO] cloning repository https://github.com/aviansie-ben/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/aviansie-ben/rust-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faviansie-ben%2Frust-raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faviansie-ben%2Frust-raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b661c78a4cb089535275e32af8aa7afa71de661e [INFO] testing aviansie-ben/rust-raytracer against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faviansie-ben%2Frust-raytracer" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aviansie-ben/rust-raytracer on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aviansie-ben/rust-raytracer [INFO] finished tweaking git repo https://github.com/aviansie-ben/rust-raytracer [INFO] tweaked toml for git repo https://github.com/aviansie-ben/rust-raytracer written to /workspace/builds/worker-24/source/Cargo.toml [INFO] crate git repo https://github.com/aviansie-ben/rust-raytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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 rand_pcg v0.3.0 [INFO] [stderr] Downloaded jpeg-decoder v0.1.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e35450f8f3367b98a100db32a2dc6babf48f182f56ca08bf26fc47362584404f [INFO] running `Command { std: "docker" "start" "-a" "e35450f8f3367b98a100db32a2dc6babf48f182f56ca08bf26fc47362584404f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e35450f8f3367b98a100db32a2dc6babf48f182f56ca08bf26fc47362584404f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e35450f8f3367b98a100db32a2dc6babf48f182f56ca08bf26fc47362584404f", kill_on_drop: false }` [INFO] [stdout] e35450f8f3367b98a100db32a2dc6babf48f182f56ca08bf26fc47362584404f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5501fce8d6c75da3db2381a6ed81896c679247b802677fad821a854830d9ef76 [INFO] running `Command { std: "docker" "start" "-a" "5501fce8d6c75da3db2381a6ed81896c679247b802677fad821a854830d9ef76", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling weezl v0.1.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling bytemuck v1.5.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_pcg v0.3.0 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.21 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.12 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Matrix3` [INFO] [stdout] --> src/object.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use cgmath::{EuclideanSpace, InnerSpace, Matrix3, Matrix4, Point2, Point3, Rad, SquareMatrix, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/ray.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ElementWise` [INFO] [stdout] --> src/render.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use cgmath::{ElementWise, EuclideanSpace, InnerSpace, Matrix4, Point2, Point3, SquareMatrix, Vector2, Vector3, Zero}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RngCore` [INFO] [stdout] --> src/render.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::{RngCore, SeedableRng, Rng}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ObjectKind` [INFO] [stdout] --> src/scene.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | use object::{Object, ObjectKind}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::Pixel::channel_count`: please use CHANNEL_COUNT associated constant [INFO] [stdout] --> src/texture.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | let no_channels =
::channel_count() as usize;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated associated function `cgmath::Matrix4::::look_at`: Use Matrix4::look_at_rh
[INFO] [stdout] --> src/render.rs:28:18
[INFO] [stdout] |
[INFO] [stdout] 28 | Matrix4::look_at(self.pos, self.look_at, self.up)
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_luma`: replaced by `to_luma8`
[INFO] [stdout] --> src/texture.rs:28:43
[INFO] [stdout] |
[INFO] [stdout] 28 | Texture2D::new(image::open(path)?.to_luma())
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgb`: replaced by `to_rgb8`
[INFO] [stdout] --> src/texture.rs:34:43
[INFO] [stdout] |
[INFO] [stdout] 34 | Texture2D::new(image::open(path)?.to_rgb())
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `GenericImageView`
[INFO] [stdout] --> src/main.rs:28:13
[INFO] [stdout] |
[INFO] [stdout] 28 | use image::{GenericImageView, ImageBuffer, Rgb};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `settings`
[INFO] [stdout] --> src/render.rs:116:5
[INFO] [stdout] |
[INFO] [stdout] 116 | settings: &InternalRenderSettings,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `obb`
[INFO] [stdout] --> src/object.rs:220:5
[INFO] [stdout] |
[INFO] [stdout] 220 | obb: BoundingBox,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `construct_scene`
[INFO] [stdout] --> src/main.rs:51:4
[INFO] [stdout] |
[INFO] [stdout] 51 | fn construct_scene() -> scene::Scene {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.80s
[INFO] running `Command { std: "docker" "inspect" "5501fce8d6c75da3db2381a6ed81896c679247b802677fad821a854830d9ef76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5501fce8d6c75da3db2381a6ed81896c679247b802677fad821a854830d9ef76", kill_on_drop: false }`
[INFO] [stdout] 5501fce8d6c75da3db2381a6ed81896c679247b802677fad821a854830d9ef76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1569425e470a83854f733133bce0c4e1458528ef6ecfa344196b732cb4e6e47b
[INFO] running `Command { std: "docker" "start" "-a" "1569425e470a83854f733133bce0c4e1458528ef6ecfa344196b732cb4e6e47b", kill_on_drop: false }`
[INFO] [stderr] Compiling scopeguard v1.1.0
[INFO] [stderr] Compiling either v1.5.0
[INFO] [stderr] Compiling adler32 v1.2.0
[INFO] [stderr] Compiling byteorder v1.4.2
[INFO] [stderr] Compiling weezl v0.1.3
[INFO] [stderr] Compiling bitflags v1.0.4
[INFO] [stderr] Compiling color_quant v1.1.0
[INFO] [stderr] Compiling scoped_threadpool v0.1.9
[INFO] [stderr] Compiling bytemuck v1.5.0
[INFO] [stderr] Compiling libc v0.2.84
[INFO] [stderr] Compiling crossbeam-utils v0.8.1
[INFO] [stderr] Compiling crc32fast v1.2.1
[INFO] [stderr] Compiling memoffset v0.6.1
[INFO] [stderr] Compiling num-traits v0.2.14
[INFO] [stderr] Compiling miniz_oxide v0.4.3
[INFO] [stderr] Compiling itertools v0.10.0
[INFO] [stderr] Compiling miniz_oxide v0.3.7
[INFO] [stderr] Compiling deflate v0.8.6
[INFO] [stderr] Compiling gif v0.11.1
[INFO] [stderr] Compiling crossbeam-epoch v0.9.1
[INFO] [stderr] Compiling crossbeam-channel v0.5.0
[INFO] [stderr] Compiling num_cpus v1.8.0
[INFO] [stderr] Compiling getrandom v0.2.2
[INFO] [stderr] Compiling crossbeam-deque v0.8.0
[INFO] [stderr] Compiling rand_core v0.6.1
[INFO] [stderr] Compiling rand_chacha v0.3.0
[INFO] [stderr] Compiling rand_pcg v0.3.0
[INFO] [stderr] Compiling rayon-core v1.9.0
[INFO] [stderr] Compiling num-integer v0.1.44
[INFO] [stderr] Compiling approx v0.4.0
[INFO] [stderr] Compiling rand v0.8.3
[INFO] [stderr] Compiling cgmath v0.18.0
[INFO] [stderr] Compiling png v0.16.8
[INFO] [stderr] Compiling num-rational v0.3.2
[INFO] [stderr] Compiling num-iter v0.1.37
[INFO] [stderr] Compiling rayon v1.5.0
[INFO] [stderr] Compiling jpeg-decoder v0.1.21
[INFO] [stderr] Compiling tiff v0.6.1
[INFO] [stderr] Compiling image v0.23.12
[INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Matrix3`
[INFO] [stdout] --> src/object.rs:5:42
[INFO] [stdout] |
[INFO] [stdout] 5 | use cgmath::{EuclideanSpace, InnerSpace, Matrix3, Matrix4, Point2, Point3, Rad, SquareMatrix, Vector3};
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::f32::consts::PI`
[INFO] [stdout] --> src/ray.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::f32::consts::PI;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `ElementWise`
[INFO] [stdout] --> src/render.rs:5:14
[INFO] [stdout] |
[INFO] [stdout] 5 | use cgmath::{ElementWise, EuclideanSpace, InnerSpace, Matrix4, Point2, Point3, SquareMatrix, Vector2, Vector3, Zero};
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `RngCore`
[INFO] [stdout] --> src/render.rs:11:12
[INFO] [stdout] |
[INFO] [stdout] 11 | use rand::{RngCore, SeedableRng, Rng};
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `ObjectKind`
[INFO] [stdout] --> src/scene.rs:91:26
[INFO] [stdout] |
[INFO] [stdout] 91 | use object::{Object, ObjectKind};
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated associated function `image::Pixel::channel_count`: please use CHANNEL_COUNT associated constant
[INFO] [stdout] --> src/texture.rs:66:41
[INFO] [stdout] |
[INFO] [stdout] 66 | let no_channels =
::channel_count() as usize;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated associated function `cgmath::Matrix4::::look_at`: Use Matrix4::look_at_rh
[INFO] [stdout] --> src/render.rs:28:18
[INFO] [stdout] |
[INFO] [stdout] 28 | Matrix4::look_at(self.pos, self.look_at, self.up)
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_luma`: replaced by `to_luma8`
[INFO] [stdout] --> src/texture.rs:28:43
[INFO] [stdout] |
[INFO] [stdout] 28 | Texture2D::new(image::open(path)?.to_luma())
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgb`: replaced by `to_rgb8`
[INFO] [stdout] --> src/texture.rs:34:43
[INFO] [stdout] |
[INFO] [stdout] 34 | Texture2D::new(image::open(path)?.to_rgb())
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `GenericImageView`
[INFO] [stdout] --> src/main.rs:28:13
[INFO] [stdout] |
[INFO] [stdout] 28 | use image::{GenericImageView, ImageBuffer, Rgb};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `settings`
[INFO] [stdout] --> src/render.rs:116:5
[INFO] [stdout] |
[INFO] [stdout] 116 | settings: &InternalRenderSettings,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `obb`
[INFO] [stdout] --> src/object.rs:220:5
[INFO] [stdout] |
[INFO] [stdout] 220 | obb: BoundingBox,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `construct_scene`
[INFO] [stdout] --> src/main.rs:51:4
[INFO] [stdout] |
[INFO] [stdout] 51 | fn construct_scene() -> scene::Scene {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3m 51s
[INFO] running `Command { std: "docker" "inspect" "1569425e470a83854f733133bce0c4e1458528ef6ecfa344196b732cb4e6e47b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1569425e470a83854f733133bce0c4e1458528ef6ecfa344196b732cb4e6e47b", kill_on_drop: false }`
[INFO] [stdout] 1569425e470a83854f733133bce0c4e1458528ef6ecfa344196b732cb4e6e47b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ea3c1eed0dcce6c56446b4e40fa462314bbc8b5b7393346589fde3e5e982cd64
[INFO] running `Command { std: "docker" "start" "-a" "ea3c1eed0dcce6c56446b4e40fa462314bbc8b5b7393346589fde3e5e982cd64", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Matrix3`
[INFO] [stderr] --> src/object.rs:5:42
[INFO] [stderr] |
[INFO] [stderr] 5 | use cgmath::{EuclideanSpace, InnerSpace, Matrix3, Matrix4, Point2, Point3, Rad, SquareMatrix, Vector3};
[INFO] [stderr] | ^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `std::f32::consts::PI`
[INFO] [stderr] --> src/ray.rs:1:5
[INFO] [stderr] |
[INFO] [stderr] 1 | use std::f32::consts::PI;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `ElementWise`
[INFO] [stderr] --> src/render.rs:5:14
[INFO] [stderr] |
[INFO] [stderr] 5 | use cgmath::{ElementWise, EuclideanSpace, InnerSpace, Matrix4, Point2, Point3, SquareMatrix, Vector2, Vector3, Zero};
[INFO] [stderr] | ^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `RngCore`
[INFO] [stderr] --> src/render.rs:11:12
[INFO] [stderr] |
[INFO] [stderr] 11 | use rand::{RngCore, SeedableRng, Rng};
[INFO] [stderr] | ^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `ObjectKind`
[INFO] [stderr] --> src/scene.rs:91:26
[INFO] [stderr] |
[INFO] [stderr] 91 | use object::{Object, ObjectKind};
[INFO] [stderr] | ^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: use of deprecated associated function `image::Pixel::channel_count`: please use CHANNEL_COUNT associated constant
[INFO] [stderr] --> src/texture.rs:66:41
[INFO] [stderr] |
[INFO] [stderr] 66 | let no_channels =
::channel_count() as usize;
[INFO] [stderr] | ^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: use of deprecated associated function `cgmath::Matrix4::::look_at`: Use Matrix4::look_at_rh
[INFO] [stderr] --> src/render.rs:28:18
[INFO] [stderr] |
[INFO] [stderr] 28 | Matrix4::look_at(self.pos, self.look_at, self.up)
[INFO] [stderr] | ^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: use of deprecated associated function `image::DynamicImage::to_luma`: replaced by `to_luma8`
[INFO] [stderr] --> src/texture.rs:28:43
[INFO] [stderr] |
[INFO] [stderr] 28 | Texture2D::new(image::open(path)?.to_luma())
[INFO] [stderr] | ^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: use of deprecated associated function `image::DynamicImage::to_rgb`: replaced by `to_rgb8`
[INFO] [stderr] --> src/texture.rs:34:43
[INFO] [stderr] |
[INFO] [stderr] 34 | Texture2D::new(image::open(path)?.to_rgb())
[INFO] [stderr] | ^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `GenericImageView`
[INFO] [stderr] --> src/main.rs:28:13
[INFO] [stderr] |
[INFO] [stderr] 28 | use image::{GenericImageView, ImageBuffer, Rgb};
[INFO] [stderr] | ^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `settings`
[INFO] [stderr] --> src/render.rs:116:5
[INFO] [stderr] |
[INFO] [stderr] 116 | settings: &InternalRenderSettings,
[INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: field is never read: `obb`
[INFO] [stderr] --> src/object.rs:220:5
[INFO] [stderr] |
[INFO] [stderr] 220 | obb: BoundingBox,
[INFO] [stderr] | ^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(dead_code)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: function is never used: `construct_scene`
[INFO] [stderr] --> src/main.rs:51:4
[INFO] [stderr] |
[INFO] [stderr] 51 | fn construct_scene() -> scene::Scene {
[INFO] [stderr] | ^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: `raytracer` (bin "raytracer" test) generated 13 warnings
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/raytracer-5d5debf7561ab6d6)
[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" "ea3c1eed0dcce6c56446b4e40fa462314bbc8b5b7393346589fde3e5e982cd64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea3c1eed0dcce6c56446b4e40fa462314bbc8b5b7393346589fde3e5e982cd64", kill_on_drop: false }`
[INFO] [stdout] ea3c1eed0dcce6c56446b4e40fa462314bbc8b5b7393346589fde3e5e982cd64