[INFO] cloning repository https://github.com/tdelv/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/tdelv/rust-ray-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftdelv%2Frust-ray-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftdelv%2Frust-ray-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83ee6fcac0131b99b58265ae0ce2356ca626a753 [INFO] testing tdelv/rust-ray-tracer against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftdelv%2Frust-ray-tracer" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tdelv/rust-ray-tracer [INFO] finished tweaking git repo https://github.com/tdelv/rust-ray-tracer [INFO] tweaked toml for git repo https://github.com/tdelv/rust-ray-tracer written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tdelv/rust-ray-tracer on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tdelv/rust-ray-tracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4159de082237c7b96b3c5f357c451c28ed4edc5b78419ae192d2b63bd7c97c3c [INFO] running `Command { std: "docker" "start" "-a" "4159de082237c7b96b3c5f357c451c28ed4edc5b78419ae192d2b63bd7c97c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4159de082237c7b96b3c5f357c451c28ed4edc5b78419ae192d2b63bd7c97c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4159de082237c7b96b3c5f357c451c28ed4edc5b78419ae192d2b63bd7c97c3c", kill_on_drop: false }` [INFO] [stdout] 4159de082237c7b96b3c5f357c451c28ed4edc5b78419ae192d2b63bd7c97c3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 22a724d80aa1f791556b3d97db603bc0e27b498d4a52fc8e76ff1e5bd180d54c [INFO] running `Command { std: "docker" "start" "-a" "22a724d80aa1f791556b3d97db603bc0e27b498d4a52fc8e76ff1e5bd180d54c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling structopt v0.3.22 [INFO] [stderr] Compiling graphics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/trace.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | ... let cost = cost.abs(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cost` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | ImageError(image::ImageError), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - ImageError(image::ImageError), [INFO] [stdout] 13 + ImageError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | IOError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - IOError(std::io::Error), [INFO] [stdout] 14 + IOError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | InvalidShape(String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - InvalidShape(String), [INFO] [stdout] 15 + InvalidShape(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | InvalidObject(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - InvalidObject(String), [INFO] [stdout] 16 + InvalidObject(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | InvalidLine(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - InvalidLine(String), [INFO] [stdout] 17 + InvalidLine(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `rand_hemi` and `shift` are never used [INFO] [stdout] --> src/linalg.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Vector3 { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn rand_hemi() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn shift(&self, dx: f64, dy: f64, dz: f64) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `shift` and `get_point` are never used [INFO] [stdout] --> src/shapes.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Ray { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn shift(&self, dx: f64, dy: f64, dz: f64) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_point(&self, t: f64) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/shapes.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl Plane { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 39 | fn new(point: Vector3, norm: Vector3) -> Plane { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Triangle` is never constructed [INFO] [stdout] --> src/shapes.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Triangle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Triangle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `vertices`, and `area` are never used [INFO] [stdout] --> src/shapes.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl Triangle { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 128 | pub fn new(v1: Vector3, v2: Vector3, v3: Vector3) -> Triangle { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn vertices(&self) -> [Vector3; 3] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn area(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.04s [INFO] running `Command { std: "docker" "inspect" "22a724d80aa1f791556b3d97db603bc0e27b498d4a52fc8e76ff1e5bd180d54c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22a724d80aa1f791556b3d97db603bc0e27b498d4a52fc8e76ff1e5bd180d54c", kill_on_drop: false }` [INFO] [stdout] 22a724d80aa1f791556b3d97db603bc0e27b498d4a52fc8e76ff1e5bd180d54c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ac9f41bd359477bd704266522c46b0a3126fc67c7c8004436400e1d664fa0d40 [INFO] running `Command { std: "docker" "start" "-a" "ac9f41bd359477bd704266522c46b0a3126fc67c7c8004436400e1d664fa0d40", kill_on_drop: false }` [INFO] [stderr] Compiling graphics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/trace.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | ... let cost = cost.abs(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cost` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | ImageError(image::ImageError), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - ImageError(image::ImageError), [INFO] [stdout] 13 + ImageError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | IOError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - IOError(std::io::Error), [INFO] [stdout] 14 + IOError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | InvalidShape(String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - InvalidShape(String), [INFO] [stdout] 15 + InvalidShape(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | InvalidObject(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - InvalidObject(String), [INFO] [stdout] 16 + InvalidObject(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/config.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | InvalidLine(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - InvalidLine(String), [INFO] [stdout] 17 + InvalidLine(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `rand_hemi` and `shift` are never used [INFO] [stdout] --> src/linalg.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Vector3 { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn rand_hemi() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn shift(&self, dx: f64, dy: f64, dz: f64) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `shift` and `get_point` are never used [INFO] [stdout] --> src/shapes.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Ray { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn shift(&self, dx: f64, dy: f64, dz: f64) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_point(&self, t: f64) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/shapes.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl Plane { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 39 | fn new(point: Vector3, norm: Vector3) -> Plane { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Triangle` is never constructed [INFO] [stdout] --> src/shapes.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct Triangle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Triangle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `vertices`, and `area` are never used [INFO] [stdout] --> src/shapes.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl Triangle { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 128 | pub fn new(v1: Vector3, v2: Vector3, v3: Vector3) -> Triangle { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn vertices(&self) -> [Vector3; 3] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn area(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "ac9f41bd359477bd704266522c46b0a3126fc67c7c8004436400e1d664fa0d40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac9f41bd359477bd704266522c46b0a3126fc67c7c8004436400e1d664fa0d40", kill_on_drop: false }` [INFO] [stdout] ac9f41bd359477bd704266522c46b0a3126fc67c7c8004436400e1d664fa0d40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b8f2777f879d83071b9f2374b42ffd0942d72c33aa671a6ad195573b9e03f08c [INFO] running `Command { std: "docker" "start" "-a" "b8f2777f879d83071b9f2374b42ffd0942d72c33aa671a6ad195573b9e03f08c", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `cost` [INFO] [stderr] --> src/trace.rs:98:33 [INFO] [stderr] | [INFO] [stderr] 98 | ... let cost = cost.abs(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cost` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/config.rs:13:16 [INFO] [stderr] | [INFO] [stderr] 13 | ImageError(image::ImageError), [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 13 - ImageError(image::ImageError), [INFO] [stderr] 13 + ImageError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/config.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | IOError(std::io::Error), [INFO] [stderr] | ------- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 14 - IOError(std::io::Error), [INFO] [stderr] 14 + IOError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/config.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 15 | InvalidShape(String), [INFO] [stderr] | ------------ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 15 - InvalidShape(String), [INFO] [stderr] 15 + InvalidShape(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/config.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | InvalidObject(String), [INFO] [stderr] | ------------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 16 - InvalidObject(String), [INFO] [stderr] 16 + InvalidObject(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/config.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | InvalidLine(String), [INFO] [stderr] | ----------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 17 - InvalidLine(String), [INFO] [stderr] 17 + InvalidLine(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: associated items `rand_hemi` and `shift` are never used [INFO] [stderr] --> src/linalg.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl Vector3 { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 30 | pub fn rand_hemi() -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 86 | pub fn shift(&self, dx: f64, dy: f64, dz: f64) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `shift` and `get_point` are never used [INFO] [stderr] --> src/shapes.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl Ray { [INFO] [stderr] | -------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 15 | pub fn shift(&self, dx: f64, dy: f64, dz: f64) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | pub fn get_point(&self, t: f64) -> Vector3 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/shapes.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 38 | impl Plane { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 39 | fn new(point: Vector3, norm: Vector3) -> Plane { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Triangle` is never constructed [INFO] [stderr] --> src/shapes.rs:122:12 [INFO] [stderr] | [INFO] [stderr] 122 | pub struct Triangle { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Triangle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `vertices`, and `area` are never used [INFO] [stderr] --> src/shapes.rs:128:12 [INFO] [stderr] | [INFO] [stderr] 127 | impl Triangle { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] 128 | pub fn new(v1: Vector3, v2: Vector3, v3: Vector3) -> Triangle { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 136 | pub fn vertices(&self) -> [Vector3; 3] { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 140 | pub fn area(&self) -> f64 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `graphics` (bin "graphics" test) generated 11 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/graphics-2c408f29e62439bd) [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" "b8f2777f879d83071b9f2374b42ffd0942d72c33aa671a6ad195573b9e03f08c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8f2777f879d83071b9f2374b42ffd0942d72c33aa671a6ad195573b9e03f08c", kill_on_drop: false }` [INFO] [stdout] b8f2777f879d83071b9f2374b42ffd0942d72c33aa671a6ad195573b9e03f08c