[INFO] cloning repository https://github.com/yhl1219/ray [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yhl1219/ray" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyhl1219%2Fray", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyhl1219%2Fray'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7663a93908d73894bd1e7cbb20311590eafb52b [INFO] testing yhl1219/ray against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyhl1219%2Fray" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yhl1219/ray on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yhl1219/ray [INFO] finished tweaking git repo https://github.com/yhl1219/ray [INFO] tweaked toml for git repo https://github.com/yhl1219/ray written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/yhl1219/ray already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-complex v0.4.0 [INFO] [stderr] Downloaded num-rational v0.4.0 [INFO] [stderr] Downloaded approx v0.5.0 [INFO] [stderr] Downloaded matrixmultiply v0.3.2 [INFO] [stderr] Downloaded safe_arch v0.6.0 [INFO] [stderr] Downloaded rawpointer v0.2.1 [INFO] [stderr] Downloaded nalgebra-macros v0.1.0 [INFO] [stderr] Downloaded simba v0.7.0 [INFO] [stderr] Downloaded wide v0.7.3 [INFO] [stderr] Downloaded nalgebra v0.30.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86d4f74e9e8b9001b809c38a46cf89e135f0815ab1d7a0039c7e7c513899cc7a [INFO] running `Command { std: "docker" "start" "-a" "86d4f74e9e8b9001b809c38a46cf89e135f0815ab1d7a0039c7e7c513899cc7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86d4f74e9e8b9001b809c38a46cf89e135f0815ab1d7a0039c7e7c513899cc7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86d4f74e9e8b9001b809c38a46cf89e135f0815ab1d7a0039c7e7c513899cc7a", kill_on_drop: false }` [INFO] [stdout] 86d4f74e9e8b9001b809c38a46cf89e135f0815ab1d7a0039c7e7c513899cc7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c52f5ba144cd6508dff029ade37c3ebe70a675d8177e339252f32f4181a0a9f6 [INFO] running `Command { std: "docker" "start" "-a" "c52f5ba144cd6508dff029ade37c3ebe70a675d8177e339252f32f4181a0a9f6", 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] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling wide v0.7.3 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling approx v0.5.0 [INFO] [stderr] Compiling simba v0.7.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling nalgebra v0.30.1 [INFO] [stderr] Compiling ray v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `specular` [INFO] [stdout] --> src/material.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | specular: Fp, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `diffusion` [INFO] [stdout] --> src/material.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | diffusion: Fp, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `refraction` [INFO] [stdout] --> src/material.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | refraction: Fp, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rho_d` [INFO] [stdout] --> src/material.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | rho_d: Fp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rho_s` [INFO] [stdout] --> src/material.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | rho_s: Fp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `phong_s` [INFO] [stdout] --> src/material.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | phong_s: Fp, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `refration_rate` [INFO] [stdout] --> src/material.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | refration_rate: Fp, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `PresetBRDF` [INFO] [stdout] --> src/material.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum PresetBRDF { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/material.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(spec: Fp, diff: Fp, refr: Fp, rhod: Fp, rhos: Fp, phongs: Fp, refn: Fp) -> BRDF { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_preset` [INFO] [stdout] --> src/material.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn load_preset(preset: PresetBRDF) -> BRDF { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `brdf` [INFO] [stdout] --> src/material.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | brdf: BRDF, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PureMaterial` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (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/material.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new(brdf: BRDF, color: Vector3f) -> PureMaterial { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.25s [INFO] running `Command { std: "docker" "inspect" "c52f5ba144cd6508dff029ade37c3ebe70a675d8177e339252f32f4181a0a9f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c52f5ba144cd6508dff029ade37c3ebe70a675d8177e339252f32f4181a0a9f6", kill_on_drop: false }` [INFO] [stdout] c52f5ba144cd6508dff029ade37c3ebe70a675d8177e339252f32f4181a0a9f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b01c5deecefb303d235397b96c04bd54d0dc07b0fe9ffc10ca53e9f0e7599e25 [INFO] running `Command { std: "docker" "start" "-a" "b01c5deecefb303d235397b96c04bd54d0dc07b0fe9ffc10ca53e9f0e7599e25", kill_on_drop: false }` [INFO] [stderr] Compiling ray v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `specular` [INFO] [stdout] --> src/material.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | specular: Fp, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `diffusion` [INFO] [stdout] --> src/material.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | diffusion: Fp, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `refraction` [INFO] [stdout] --> src/material.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | refraction: Fp, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rho_d` [INFO] [stdout] --> src/material.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | rho_d: Fp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rho_s` [INFO] [stdout] --> src/material.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | rho_s: Fp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `phong_s` [INFO] [stdout] --> src/material.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | phong_s: Fp, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `refration_rate` [INFO] [stdout] --> src/material.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | refration_rate: Fp, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `PresetBRDF` [INFO] [stdout] --> src/material.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum PresetBRDF { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/material.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(spec: Fp, diff: Fp, refr: Fp, rhod: Fp, rhos: Fp, phongs: Fp, refn: Fp) -> BRDF { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_preset` [INFO] [stdout] --> src/material.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn load_preset(preset: PresetBRDF) -> BRDF { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `brdf` [INFO] [stdout] --> src/material.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | brdf: BRDF, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PureMaterial` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (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/material.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new(brdf: BRDF, color: Vector3f) -> PureMaterial { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "b01c5deecefb303d235397b96c04bd54d0dc07b0fe9ffc10ca53e9f0e7599e25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b01c5deecefb303d235397b96c04bd54d0dc07b0fe9ffc10ca53e9f0e7599e25", kill_on_drop: false }` [INFO] [stdout] b01c5deecefb303d235397b96c04bd54d0dc07b0fe9ffc10ca53e9f0e7599e25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a2a5c57163884179a6a591231c0bb6d2962771e5add6432d358e361b260a81b4 [INFO] running `Command { std: "docker" "start" "-a" "a2a5c57163884179a6a591231c0bb6d2962771e5add6432d358e361b260a81b4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: field is never read: `specular` [INFO] [stderr] --> src/material.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | specular: Fp, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/material.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `diffusion` [INFO] [stderr] --> src/material.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | diffusion: Fp, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/material.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `refraction` [INFO] [stderr] --> src/material.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | refraction: Fp, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/material.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `rho_d` [INFO] [stderr] --> src/material.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | rho_d: Fp, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/material.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `rho_s` [INFO] [stderr] --> src/material.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | rho_s: Fp, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/material.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `phong_s` [INFO] [stderr] --> src/material.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | phong_s: Fp, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/material.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `refration_rate` [INFO] [stderr] --> src/material.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | refration_rate: Fp, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BRDF` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/material.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `PresetBRDF` [INFO] [stderr] --> src/material.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | pub enum PresetBRDF { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/material.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn new(spec: Fp, diff: Fp, refr: Fp, rhod: Fp, rhos: Fp, phongs: Fp, refn: Fp) -> BRDF { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `load_preset` [INFO] [stderr] --> src/material.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn load_preset(preset: PresetBRDF) -> BRDF { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `brdf` [INFO] [stderr] --> src/material.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | brdf: BRDF, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PureMaterial` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/material.rs:66:10 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (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/material.rs:73:12 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn new(brdf: BRDF, color: Vector3f) -> PureMaterial { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `ray` (bin "ray" test) generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.15s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ray-8360b25fb4701a26) [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" "a2a5c57163884179a6a591231c0bb6d2962771e5add6432d358e361b260a81b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2a5c57163884179a6a591231c0bb6d2962771e5add6432d358e361b260a81b4", kill_on_drop: false }` [INFO] [stdout] a2a5c57163884179a6a591231c0bb6d2962771e5add6432d358e361b260a81b4