[INFO] cloning repository https://github.com/rbuch703/rust-bvh
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rbuch703/rust-bvh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbuch703%2Frust-bvh", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbuch703%2Frust-bvh'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 43e9404323ab62a054b2ab1abe96d59061becf43
[INFO] checking rbuch703/rust-bvh against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbuch703%2Frust-bvh" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rbuch703/rust-bvh
[INFO] finished tweaking git repo https://github.com/rbuch703/rust-bvh
[INFO] tweaked toml for git repo https://github.com/rbuch703/rust-bvh written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rbuch703/rust-bvh on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rbuch703/rust-bvh 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 31a15f132a3c2e2cfc86985bddb28517bd539f0a7ce9aec505a549097c46cd1f
[INFO] running `Command { std: "docker" "start" "-a" "31a15f132a3c2e2cfc86985bddb28517bd539f0a7ce9aec505a549097c46cd1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "31a15f132a3c2e2cfc86985bddb28517bd539f0a7ce9aec505a549097c46cd1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31a15f132a3c2e2cfc86985bddb28517bd539f0a7ce9aec505a549097c46cd1f", kill_on_drop: false }`
[INFO] [stdout] 31a15f132a3c2e2cfc86985bddb28517bd539f0a7ce9aec505a549097c46cd1f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] beea99364c9e13f91a9d76700fa7feff1d3e2f02818260e7d0ecbafd3e6721fe
[INFO] running `Command { std: "docker" "start" "-a" "beea99364c9e13f91a9d76700fa7feff1d3e2f02818260e7d0ecbafd3e6721fe", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling syn v1.0.76
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling anyhow v1.0.43
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling strum v0.21.0
[INFO] [stderr]    Compiling version-compare v0.0.11
[INFO] [stderr]    Compiling libc v0.2.101
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]    Compiling futures-task v0.3.17
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]    Compiling itertools v0.10.1
[INFO] [stderr]    Compiling cfg-expr v0.8.1
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking rand v0.4.3
[INFO] [stderr]     Checking futures-executor v0.3.17
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling thiserror-impl v1.0.29
[INFO] [stderr]    Compiling strum_macros v0.21.1
[INFO] [stderr]    Compiling thiserror v1.0.29
[INFO] [stderr]    Compiling proc-macro-crate v1.0.0
[INFO] [stderr]    Compiling glib-macros v0.14.1
[INFO] [stderr]    Compiling system-deps v3.2.0
[INFO] [stderr]    Compiling glib-sys v0.14.0
[INFO] [stderr]    Compiling gobject-sys v0.14.0
[INFO] [stderr]    Compiling cairo-sys-rs v0.14.0
[INFO] [stderr]     Checking glib v0.14.5
[INFO] [stderr]     Checking cairo-rs v0.14.3
[INFO] [stderr]     Checking rust-bvh v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: struct `KDTreeNodeSubdivision` is never constructed
[INFO] [stdout]   --> src/lib.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct KDTreeNodeSubdivision<T>
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `X` and `Y` are never constructed
[INFO] [stdout]   --> src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum Axis {
[INFO] [stdout]    |      ---- variants in this enum
[INFO] [stdout] 10 |     X,
[INFO] [stdout]    |     ^
[INFO] [stdout] 11 |     Y,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `axis`, `position`, and `child_nodes` are never read
[INFO] [stdout]   --> src/lib.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct KDTreeNodeSubdivision<T>
[INFO] [stdout]    |            --------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     axis: Axis,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 19 |     position: f64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 20 |     child_nodes: [KDTreeNode<T>; 2],
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `children` and `subdivision` are never read
[INFO] [stdout]   --> src/lib.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct KDTreeNode<T>
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |     children: Vec<T>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 28 |     subdivision: Option<Box<KDTreeNodeSubdivision<T>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `bounding_box`, `bounding_box_recursive`, `print_stats_recursive`, and `draw_recursive` are never used
[INFO] [stdout]    --> src/lib.rs:35:8
[INFO] [stdout]     |
[INFO] [stdout]  31 | / impl<T> KDTreeNode<T>
[INFO] [stdout]  32 | | where
[INFO] [stdout]  33 | |     T: Bounded2D+CairoDrawable,
[INFO] [stdout]     | |_______________________________- associated items in this implementation
[INFO] [stdout]  34 |   {
[INFO] [stdout]  35 |       fn new(items: Vec<T>) -> Self {
[INFO] [stdout]     |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |       fn bounding_box(&self) -> BoundingBox {
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |       fn bounding_box_recursive(&self) -> BoundingBox {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |       fn print_stats_recursive(&self, depth: usize) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |       fn draw_recursive(&self, context: &cairo::Context, depth: usize) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vec2` is never constructed
[INFO] [stdout]   --> src/primitives.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Vec2 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `remove_z` is never used
[INFO] [stdout]   --> src/primitives.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl Triangle<Pos3> {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] 42 |     fn remove_z(&self) -> Triangle<Pos2> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ray` is never constructed
[INFO] [stdout]    --> src/primitives.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub struct Ray {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `width`, and `height` are never used
[INFO] [stdout]    --> src/primitives.rs:182:8
[INFO] [stdout]     |
[INFO] [stdout] 173 | impl BoundingBox {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 182 |     fn new() -> BoundingBox {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     fn width(&self) -> f64 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     fn height(&self) -> f64 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-bvh` (lib test) due to 1 previous error; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: struct `KDTreeNodeSubdivision` is never constructed
[INFO] [stdout]   --> src/lib.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct KDTreeNodeSubdivision<T>
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `X` and `Y` are never constructed
[INFO] [stdout]   --> src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum Axis {
[INFO] [stdout]    |      ---- variants in this enum
[INFO] [stdout] 10 |     X,
[INFO] [stdout]    |     ^
[INFO] [stdout] 11 |     Y,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `axis`, `position`, and `child_nodes` are never read
[INFO] [stdout]   --> src/lib.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct KDTreeNodeSubdivision<T>
[INFO] [stdout]    |            --------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     axis: Axis,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 19 |     position: f64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 20 |     child_nodes: [KDTreeNode<T>; 2],
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `children` and `subdivision` are never read
[INFO] [stdout]   --> src/lib.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct KDTreeNode<T>
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |     children: Vec<T>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 28 |     subdivision: Option<Box<KDTreeNodeSubdivision<T>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `bounding_box`, `bounding_box_recursive`, `print_stats_recursive`, and `draw_recursive` are never used
[INFO] [stdout]    --> src/lib.rs:35:8
[INFO] [stdout]     |
[INFO] [stdout]  31 | / impl<T> KDTreeNode<T>
[INFO] [stdout]  32 | | where
[INFO] [stdout]  33 | |     T: Bounded2D+CairoDrawable,
[INFO] [stdout]     | |_______________________________- associated items in this implementation
[INFO] [stdout]  34 |   {
[INFO] [stdout]  35 |       fn new(items: Vec<T>) -> Self {
[INFO] [stdout]     |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |       fn bounding_box(&self) -> BoundingBox {
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |       fn bounding_box_recursive(&self) -> BoundingBox {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |       fn print_stats_recursive(&self, depth: usize) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |       fn draw_recursive(&self, context: &cairo::Context, depth: usize) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vec2` is never constructed
[INFO] [stdout]   --> src/primitives.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Vec2 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `remove_z` is never used
[INFO] [stdout]   --> src/primitives.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl Triangle<Pos3> {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] 42 |     fn remove_z(&self) -> Triangle<Pos2> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ray` is never constructed
[INFO] [stdout]    --> src/primitives.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub struct Ray {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `width`, and `height` are never used
[INFO] [stdout]    --> src/primitives.rs:182:8
[INFO] [stdout]     |
[INFO] [stdout] 173 | impl BoundingBox {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 182 |     fn new() -> BoundingBox {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     fn width(&self) -> f64 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     fn height(&self) -> f64 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-bvh` (lib) due to 1 previous error; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "beea99364c9e13f91a9d76700fa7feff1d3e2f02818260e7d0ecbafd3e6721fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "beea99364c9e13f91a9d76700fa7feff1d3e2f02818260e7d0ecbafd3e6721fe", kill_on_drop: false }`
[INFO] [stdout] beea99364c9e13f91a9d76700fa7feff1d3e2f02818260e7d0ecbafd3e6721fe
