[INFO] updating cached repository https://github.com/avandolder/raytracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c67f1a80f65d52672f78681ffdb7c26e87f1e98 [INFO] testing avandolder/raytracing/5c67f1a80f65d52672f78681ffdb7c26e87f1e98 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favandolder%2Fraytracing" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/avandolder/raytracing on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/avandolder/raytracing [INFO] finished tweaking git repo https://github.com/avandolder/raytracing [INFO] tweaked toml for git repo https://github.com/avandolder/raytracing written to /workspace/builds/worker-27/source/Cargo.toml [INFO] crate git repo https://github.com/avandolder/raytracing already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ec288825b47c2577a6bbb36bf1a12d07c0bc6aa8938c6600096650fa540e5a3 [INFO] running `Command { std: "docker" "start" "-a" "0ec288825b47c2577a6bbb36bf1a12d07c0bc6aa8938c6600096650fa540e5a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ec288825b47c2577a6bbb36bf1a12d07c0bc6aa8938c6600096650fa540e5a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ec288825b47c2577a6bbb36bf1a12d07c0bc6aa8938c6600096650fa540e5a3", kill_on_drop: false }` [INFO] [stdout] 0ec288825b47c2577a6bbb36bf1a12d07c0bc6aa8938c6600096650fa540e5a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45f016f27ba9a9993877b97ab3cfc06a21df28f61b86678453aa3e2606c15b61 [INFO] running `Command { std: "docker" "start" "-a" "45f016f27ba9a9993877b97ab3cfc06a21df28f61b86678453aa3e2606c15b61", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling image v0.22.4 [INFO] [stderr] Compiling raytracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/vec3.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | (self.0[0] * self.0[0] + self.0[1] * self.0[1] + self.0[2] * self.0[2]) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 26 - (self.0[0] * self.0[0] + self.0[1] * self.0[1] + self.0[2] * self.0[2]) [INFO] [stdout] 26 + self.0[0] * self.0[0] + self.0[1] * self.0[1] + self.0[2] * self.0[2] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene` [INFO] [stdout] --> src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn random_scene() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `two_spheres` [INFO] [stdout] --> src/main.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn two_spheres() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `two_perlin_spheres` [INFO] [stdout] --> src/main.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn two_perlin_spheres() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simple_light` [INFO] [stdout] --> src/main.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn simple_light() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Glass` [INFO] [stdout] --> src/material.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Glass(f32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Material` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Metal` [INFO] [stdout] --> src/material.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Metal(Vec3, f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Material` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/moving_sphere.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sphere.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(center: Vec3, radius: f32, mat: Material) -> Sphere { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Checker` [INFO] [stdout] --> src/texture.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / Checker { [INFO] [stdout] 7 | | odd: Box, [INFO] [stdout] 8 | | even: Box, [INFO] [stdout] 9 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Texture` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/texture.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Image` [INFO] [stdout] --> src/texture.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / Image { [INFO] [stdout] 11 | | data: Vec, [INFO] [stdout] 12 | | w: u32, [INFO] [stdout] 13 | | h: u32, [INFO] [stdout] 14 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Texture` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/texture.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Noise` [INFO] [stdout] --> src/texture.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / Noise { [INFO] [stdout] 16 | | scale: f32, [INFO] [stdout] 17 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Texture` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/texture.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `checker` [INFO] [stdout] --> src/texture.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn checker(odd: Texture, even: Texture) -> Texture { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `noise` [INFO] [stdout] --> src/texture.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn noise(scale: f32) -> Texture { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 23.49s [INFO] running `Command { std: "docker" "inspect" "45f016f27ba9a9993877b97ab3cfc06a21df28f61b86678453aa3e2606c15b61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45f016f27ba9a9993877b97ab3cfc06a21df28f61b86678453aa3e2606c15b61", kill_on_drop: false }` [INFO] [stdout] 45f016f27ba9a9993877b97ab3cfc06a21df28f61b86678453aa3e2606c15b61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8478ecad95c299fedbffc84aecc29822d9d236e021fa81d1d6084b7cef6cb983 [INFO] running `Command { std: "docker" "start" "-a" "8478ecad95c299fedbffc84aecc29822d9d236e021fa81d1d6084b7cef6cb983", kill_on_drop: false }` [INFO] [stderr] Compiling raytracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/vec3.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | (self.0[0] * self.0[0] + self.0[1] * self.0[1] + self.0[2] * self.0[2]) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 26 - (self.0[0] * self.0[0] + self.0[1] * self.0[1] + self.0[2] * self.0[2]) [INFO] [stdout] 26 + self.0[0] * self.0[0] + self.0[1] * self.0[1] + self.0[2] * self.0[2] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene` [INFO] [stdout] --> src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn random_scene() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `two_spheres` [INFO] [stdout] --> src/main.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn two_spheres() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `two_perlin_spheres` [INFO] [stdout] --> src/main.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn two_perlin_spheres() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simple_light` [INFO] [stdout] --> src/main.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn simple_light() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Glass` [INFO] [stdout] --> src/material.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Glass(f32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Material` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Metal` [INFO] [stdout] --> src/material.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Metal(Vec3, f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Material` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/moving_sphere.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sphere.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(center: Vec3, radius: f32, mat: Material) -> Sphere { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Checker` [INFO] [stdout] --> src/texture.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / Checker { [INFO] [stdout] 7 | | odd: Box, [INFO] [stdout] 8 | | even: Box, [INFO] [stdout] 9 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Texture` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/texture.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Image` [INFO] [stdout] --> src/texture.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / Image { [INFO] [stdout] 11 | | data: Vec, [INFO] [stdout] 12 | | w: u32, [INFO] [stdout] 13 | | h: u32, [INFO] [stdout] 14 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Texture` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/texture.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Noise` [INFO] [stdout] --> src/texture.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / Noise { [INFO] [stdout] 16 | | scale: f32, [INFO] [stdout] 17 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Texture` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/texture.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `checker` [INFO] [stdout] --> src/texture.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn checker(odd: Texture, even: Texture) -> Texture { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `noise` [INFO] [stdout] --> src/texture.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn noise(scale: f32) -> Texture { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 1.18s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/raytracing-beee6882209e3f0a) [INFO] running `Command { std: "docker" "inspect" "8478ecad95c299fedbffc84aecc29822d9d236e021fa81d1d6084b7cef6cb983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8478ecad95c299fedbffc84aecc29822d9d236e021fa81d1d6084b7cef6cb983", kill_on_drop: false }` [INFO] [stdout] 8478ecad95c299fedbffc84aecc29822d9d236e021fa81d1d6084b7cef6cb983 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8649b4c0d426b9687f6634ac0b2d3864c1f4af6cdcd26ad2c755615bec064885 [INFO] running `Command { std: "docker" "start" "-a" "8649b4c0d426b9687f6634ac0b2d3864c1f4af6cdcd26ad2c755615bec064885", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/vec3.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | (self.0[0] * self.0[0] + self.0[1] * self.0[1] + self.0[2] * self.0[2]) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 26 - (self.0[0] * self.0[0] + self.0[1] * self.0[1] + self.0[2] * self.0[2]) [INFO] [stderr] 26 + self.0[0] * self.0[0] + self.0[1] * self.0[1] + self.0[2] * self.0[2] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function is never used: `random_scene` [INFO] [stderr] --> src/main.rs:34:4 [INFO] [stderr] | [INFO] [stderr] 34 | fn random_scene() -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `two_spheres` [INFO] [stderr] --> src/main.rs:116:4 [INFO] [stderr] | [INFO] [stderr] 116 | fn two_spheres() -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `two_perlin_spheres` [INFO] [stderr] --> src/main.rs:135:4 [INFO] [stderr] | [INFO] [stderr] 135 | fn two_perlin_spheres() -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `simple_light` [INFO] [stderr] --> src/main.rs:150:4 [INFO] [stderr] | [INFO] [stderr] 150 | fn simple_light() -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Glass` [INFO] [stderr] --> src/material.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | Glass(f32), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Material` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/material.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Metal` [INFO] [stderr] --> src/material.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Metal(Vec3, f32), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Material` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/material.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/moving_sphere.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/sphere.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn new(center: Vec3, radius: f32, mat: Material) -> Sphere { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Checker` [INFO] [stderr] --> src/texture.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | / Checker { [INFO] [stderr] 7 | | odd: Box, [INFO] [stderr] 8 | | even: Box, [INFO] [stderr] 9 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `Texture` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/texture.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Image` [INFO] [stderr] --> src/texture.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | / Image { [INFO] [stderr] 11 | | data: Vec, [INFO] [stderr] 12 | | w: u32, [INFO] [stderr] 13 | | h: u32, [INFO] [stderr] 14 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `Texture` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/texture.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Noise` [INFO] [stderr] --> src/texture.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | / Noise { [INFO] [stderr] 16 | | scale: f32, [INFO] [stderr] 17 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `Texture` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/texture.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `checker` [INFO] [stderr] --> src/texture.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn checker(odd: Texture, even: Texture) -> Texture { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `noise` [INFO] [stderr] --> src/texture.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn noise(scale: f32) -> Texture { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `raytracing` (bin "raytracing" test) generated 14 warnings [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/raytracing-beee6882209e3f0a) [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" "8649b4c0d426b9687f6634ac0b2d3864c1f4af6cdcd26ad2c755615bec064885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8649b4c0d426b9687f6634ac0b2d3864c1f4af6cdcd26ad2c755615bec064885", kill_on_drop: false }` [INFO] [stdout] 8649b4c0d426b9687f6634ac0b2d3864c1f4af6cdcd26ad2c755615bec064885