[INFO] cloning repository https://github.com/johnshiver/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/johnshiver/ray_tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnshiver%2Fray_tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnshiver%2Fray_tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c14007026264ca4a0c85112d3ad7be1f4d48271d [INFO] checking johnshiver/ray_tracer against master#4a0ee3cdc66573c8b46471462db7088a89d25183 for pr-102513 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnshiver%2Fray_tracer" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/johnshiver/ray_tracer on toolchain 4a0ee3cdc66573c8b46471462db7088a89d25183 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a0ee3cdc66573c8b46471462db7088a89d25183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/johnshiver/ray_tracer [INFO] finished tweaking git repo https://github.com/johnshiver/ray_tracer [INFO] tweaked toml for git repo https://github.com/johnshiver/ray_tracer written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/johnshiver/ray_tracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a0ee3cdc66573c8b46471462db7088a89d25183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+4a0ee3cdc66573c8b46471462db7088a89d25183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65a97b85400866cdc1cab5af99094ea95c968f4abe2ddbc38ab4c4c13086f0ff [INFO] running `Command { std: "docker" "start" "-a" "65a97b85400866cdc1cab5af99094ea95c968f4abe2ddbc38ab4c4c13086f0ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65a97b85400866cdc1cab5af99094ea95c968f4abe2ddbc38ab4c4c13086f0ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65a97b85400866cdc1cab5af99094ea95c968f4abe2ddbc38ab4c4c13086f0ff", kill_on_drop: false }` [INFO] [stdout] 65a97b85400866cdc1cab5af99094ea95c968f4abe2ddbc38ab4c4c13086f0ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+4a0ee3cdc66573c8b46471462db7088a89d25183" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1a63f3e47b40d51c9a0d9585ffd57f95087f723c5b544b7b863ddcb01866948 [INFO] running `Command { std: "docker" "start" "-a" "f1a63f3e47b40d51c9a0d9585ffd57f95087f723c5b544b7b863ddcb01866948", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking ray_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `get_pixel` is never used [INFO] [stdout] --> src/canvas.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_pixel(&self, x: usize, y: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transpose` is never used [INFO] [stdout] --> src/matrix.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn transpose(m: M4x4) -> M4x4 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `submatrix_4x4` is never used [INFO] [stdout] --> src/matrix.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn submatrix_4x4(matrix: &M4x4, row: usize, col: usize) -> M3x3 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minor_4x4` is never used [INFO] [stdout] --> src/matrix.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn minor_4x4(matrix: &M4x4, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cofactor_4x4` is never used [INFO] [stdout] --> src/matrix.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn cofactor_4x4(matrix: &M4x4, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determinant_4x4` is never used [INFO] [stdout] --> src/matrix.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn determinant_4x4(matrix: &M4x4) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invertible_4x4` is never used [INFO] [stdout] --> src/matrix.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn invertible_4x4(matrix: &M4x4) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invert_4x4` is never used [INFO] [stdout] --> src/matrix.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn invert_4x4(matrix: &M4x4) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `submatrix_3x3` is never used [INFO] [stdout] --> src/matrix.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn submatrix_3x3(matrix: &M3x3, row: usize, col: usize) -> M2x2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minor_3x3` is never used [INFO] [stdout] --> src/matrix.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn minor_3x3(matrix: &M3x3, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cofactor_3x3` is never used [INFO] [stdout] --> src/matrix.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn cofactor_3x3(matrix: &M3x3, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determinant_3x3` is never used [INFO] [stdout] --> src/matrix.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn determinant_3x3(matrix: &M3x3) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determinant_2x2` is never used [INFO] [stdout] --> src/matrix.rs:333:8 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn determinant_2x2(m: &M2x2) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/matrix.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn new(msg: &str) -> MatrixTransformationError { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translation` is never used [INFO] [stdout] --> src/matrix_transformations.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn translation(x: f64, y: f64, z: f64) -> M4x4 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scaling` is never used [INFO] [stdout] --> src/matrix_transformations.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn scaling(x: f64, y: f64, z: f64) -> M4x4 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotation_x` is never used [INFO] [stdout] --> src/matrix_transformations.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn rotation_x(radians: f64) -> M4x4 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotation_z` is never used [INFO] [stdout] --> src/matrix_transformations.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn rotation_z(radians: f64) -> M4x4 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shearing` is never used [INFO] [stdout] --> src/matrix_transformations.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn shearing(xy: f64, xx: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> M4x4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPHERE_ORIGIN` is never used [INFO] [stdout] --> src/rays.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const SPHERE_ORIGIN: Tuple = Tuple { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `origin` and `direction` are never read [INFO] [stdout] --> src/rays.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Ray { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 17 | origin: Point, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | direction: Vector, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ray` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_sphere` is never used [INFO] [stdout] --> src/rays.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new_sphere() -> Sphere { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_intersection` is never used [INFO] [stdout] --> src/rays.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new_intersection(t: f64, object: Sphere) -> Intersection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/rays.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Intersections { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 83 | items: Vec>, [INFO] [stdout] 84 | count: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersections` is never used [INFO] [stdout] --> src/rays.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn intersections(items: Vec>, count: i64) -> Intersections { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersect` is never used [INFO] [stdout] --> src/rays.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn intersect(r: &Ray, s: Sphere) -> Intersections { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hit` is never used [INFO] [stdout] --> src/rays.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn hit(xs: Intersections) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rays.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(origin: Point, direction: Vector) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `position` is never used [INFO] [stdout] --> src/rays.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn position(&self, time: f64) -> Tuple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `discriminant` is never used [INFO] [stdout] --> src/rays.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn discriminant(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_point` is never used [INFO] [stdout] --> src/tuple.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn is_point(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_vector` is never used [INFO] [stdout] --> src/tuple.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn is_vector(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_unit_vector` is never used [INFO] [stdout] --> src/tuple.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn is_unit_vector(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `dot` is never used [INFO] [stdout] --> src/tuple.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn dot(&self, tb: &Vector) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `cross` is never used [INFO] [stdout] --> src/tuple.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn cross(&self, vec_b: &Vector) -> Vector { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.61s [INFO] running `Command { std: "docker" "inspect" "f1a63f3e47b40d51c9a0d9585ffd57f95087f723c5b544b7b863ddcb01866948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1a63f3e47b40d51c9a0d9585ffd57f95087f723c5b544b7b863ddcb01866948", kill_on_drop: false }` [INFO] [stdout] f1a63f3e47b40d51c9a0d9585ffd57f95087f723c5b544b7b863ddcb01866948