[INFO] cloning repository https://github.com/rbuch703/rust-rtree-3d [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-rtree-3d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbuch703%2Frust-rtree-3d", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbuch703%2Frust-rtree-3d'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2980f7e2196548e36ff739c331f7197bc5a6563b [INFO] checking rbuch703/rust-rtree-3d against try#47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 for pr-149058 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbuch703%2Frust-rtree-3d" "/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-rtree-3d [INFO] finished tweaking git repo https://github.com/rbuch703/rust-rtree-3d [INFO] tweaked toml for git repo https://github.com/rbuch703/rust-rtree-3d written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rbuch703/rust-rtree-3d on toolchain 47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rbuch703/rust-rtree-3d 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" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.29 [INFO] [stderr] Downloaded cairo-rs v0.14.3 [INFO] [stderr] Downloaded strum v0.21.0 [INFO] [stderr] Downloaded gobject-sys v0.14.0 [INFO] [stderr] Downloaded cairo-sys-rs v0.14.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.29 [INFO] [stderr] Downloaded proc-macro-crate v1.0.0 [INFO] [stderr] Downloaded glib-macros v0.14.1 [INFO] [stderr] Downloaded strum_macros v0.21.1 [INFO] [stderr] Downloaded system-deps v3.2.0 [INFO] [stderr] Downloaded version-compare v0.0.11 [INFO] [stderr] Downloaded anyhow v1.0.43 [INFO] [stderr] Downloaded glib-sys v0.14.0 [INFO] [stderr] Downloaded cfg-expr v0.8.1 [INFO] [stderr] Downloaded rand v0.4.3 [INFO] [stderr] Downloaded glib v0.14.5 [INFO] [stderr] Downloaded thiserror v1.0.29 [INFO] [stderr] Downloaded itertools v0.10.1 [INFO] [stderr] Downloaded syn v1.0.76 [INFO] [stderr] Downloaded libc v0.2.101 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f04dfb375637ee4e45d67ebd8afe8ec58b7882b1b0298a6c54f4ef290962ad35 [INFO] running `Command { std: "docker" "start" "-a" "f04dfb375637ee4e45d67ebd8afe8ec58b7882b1b0298a6c54f4ef290962ad35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f04dfb375637ee4e45d67ebd8afe8ec58b7882b1b0298a6c54f4ef290962ad35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f04dfb375637ee4e45d67ebd8afe8ec58b7882b1b0298a6c54f4ef290962ad35", kill_on_drop: false }` [INFO] [stdout] f04dfb375637ee4e45d67ebd8afe8ec58b7882b1b0298a6c54f4ef290962ad35 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50453af8a2bb7a2f8aea1af72d779b983b90e3c70b6eedc3c8b4a3a2e17ab656 [INFO] running `Command { std: "docker" "start" "-a" "50453af8a2bb7a2f8aea1af72d779b983b90e3c70b6eedc3c8b4a3a2e17ab656", 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 smallvec v1.6.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling version-compare v0.0.11 [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling cfg-expr v0.8.1 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling futures-channel v0.3.17 [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 system-deps v3.2.0 [INFO] [stderr] Compiling glib-macros v0.14.1 [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-rtree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `RTreeNode<(f64, f64)>: Clone` is not satisfied [INFO] [stdout] --> src/main.rs:255:87 [INFO] [stdout] | [INFO] [stdout] 255 | leaves[*block_start_index..*block_start_index + *nodes_in_this_block].to_vec(), [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Clone` is not implemented for `RTreeNode<(f64, f64)>` [INFO] [stdout] --> src/main.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | enum RTreeNode [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `std::slice::::to_vec` [INFO] [stdout] --> /rustc/47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268/library/alloc/src/slice.rs:372:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec>: Bounded2D` is not satisfied [INFO] [stdout] --> src/main.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 254 | let node = RTreeNode::new_leaf( [INFO] [stdout] | ------------------- required by a bound introduced by this call [INFO] [stdout] 255 | leaves[*block_start_index..*block_start_index + *nodes_in_this_block].to_vec(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Bounded2D` is not implemented for `Vec>` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `Bounded2D` [INFO] [stdout] --> src/main.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | impl Bounded2D for (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `(f64, f64)` [INFO] [stdout] ... [INFO] [stdout] 109 | / impl Bounded2D for RTreeNode [INFO] [stdout] 110 | | where [INFO] [stdout] 111 | | T: Bounded2D, [INFO] [stdout] | |_________________^ `RTreeNode` [INFO] [stdout] note: required by a bound in `RTreeNode::::new_leaf` [INFO] [stdout] --> src/main.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | T: Bounded2D, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `RTreeNode::::new_leaf` [INFO] [stdout] 81 | { [INFO] [stdout] 82 | fn new_leaf(item: T) -> RTreeNode { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for enum `RTreeNode` in the current scope [INFO] [stdout] --> src/main.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 64 | enum RTreeNode [INFO] [stdout] | ----------------- method `unwrap` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 254 | let node = RTreeNode::new_leaf( [INFO] [stdout] | ________________________- [INFO] [stdout] 255 | | leaves[*block_start_index..*block_start_index + *nodes_in_this_block].to_vec(), [INFO] [stdout] 256 | | ) [INFO] [stdout] 257 | | .unwrap(); [INFO] [stdout] | | -^^^^^^ method not found in `RTreeNode>>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec>: Bounded2D` is not satisfied [INFO] [stdout] --> src/main.rs:254:24 [INFO] [stdout] | [INFO] [stdout] 254 | let node = RTreeNode::new_leaf( [INFO] [stdout] | ________________________^ [INFO] [stdout] 255 | | leaves[*block_start_index..*block_start_index + *nodes_in_this_block].to_vec(), [INFO] [stdout] 256 | | ) [INFO] [stdout] | |_____________^ the trait `Bounded2D` is not implemented for `Vec>` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `Bounded2D` [INFO] [stdout] --> src/main.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | impl Bounded2D for (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `(f64, f64)` [INFO] [stdout] ... [INFO] [stdout] 109 | / impl Bounded2D for RTreeNode [INFO] [stdout] 110 | | where [INFO] [stdout] 111 | | T: Bounded2D, [INFO] [stdout] | |_________________^ `RTreeNode` [INFO] [stdout] note: required by a bound in `RTreeNode` [INFO] [stdout] --> src/main.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 64 | enum RTreeNode [INFO] [stdout] | --------- required by a bound in this enum [INFO] [stdout] 65 | where [INFO] [stdout] 66 | T: Bounded2D, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `RTreeNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | for (x, y) in leaves { [INFO] [stdout] | ^^^^^^ ------ this is an iterator with items of type `RTreeNode<(f64, f64)>` [INFO] [stdout] | | [INFO] [stdout] | expected `RTreeNode<(f64, f64)>`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `RTreeNode<(f64, f64)>` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-rtree` (bin "rust-rtree" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `RTreeNode<(f64, f64)>: Clone` is not satisfied [INFO] [stdout] --> src/main.rs:255:87 [INFO] [stdout] | [INFO] [stdout] 255 | leaves[*block_start_index..*block_start_index + *nodes_in_this_block].to_vec(), [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Clone` is not implemented for `RTreeNode<(f64, f64)>` [INFO] [stdout] --> src/main.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | enum RTreeNode [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `std::slice::::to_vec` [INFO] [stdout] --> /rustc/47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268/library/alloc/src/slice.rs:372:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec>: Bounded2D` is not satisfied [INFO] [stdout] --> src/main.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 254 | let node = RTreeNode::new_leaf( [INFO] [stdout] | ------------------- required by a bound introduced by this call [INFO] [stdout] 255 | leaves[*block_start_index..*block_start_index + *nodes_in_this_block].to_vec(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Bounded2D` is not implemented for `Vec>` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `Bounded2D` [INFO] [stdout] --> src/main.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | impl Bounded2D for (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `(f64, f64)` [INFO] [stdout] ... [INFO] [stdout] 109 | / impl Bounded2D for RTreeNode [INFO] [stdout] 110 | | where [INFO] [stdout] 111 | | T: Bounded2D, [INFO] [stdout] | |_________________^ `RTreeNode` [INFO] [stdout] note: required by a bound in `RTreeNode::::new_leaf` [INFO] [stdout] --> src/main.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | T: Bounded2D, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `RTreeNode::::new_leaf` [INFO] [stdout] 81 | { [INFO] [stdout] 82 | fn new_leaf(item: T) -> RTreeNode { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for enum `RTreeNode` in the current scope [INFO] [stdout] --> src/main.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 64 | enum RTreeNode [INFO] [stdout] | ----------------- method `unwrap` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 254 | let node = RTreeNode::new_leaf( [INFO] [stdout] | ________________________- [INFO] [stdout] 255 | | leaves[*block_start_index..*block_start_index + *nodes_in_this_block].to_vec(), [INFO] [stdout] 256 | | ) [INFO] [stdout] 257 | | .unwrap(); [INFO] [stdout] | | -^^^^^^ method not found in `RTreeNode>>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec>: Bounded2D` is not satisfied [INFO] [stdout] --> src/main.rs:254:24 [INFO] [stdout] | [INFO] [stdout] 254 | let node = RTreeNode::new_leaf( [INFO] [stdout] | ________________________^ [INFO] [stdout] 255 | | leaves[*block_start_index..*block_start_index + *nodes_in_this_block].to_vec(), [INFO] [stdout] 256 | | ) [INFO] [stdout] | |_____________^ the trait `Bounded2D` is not implemented for `Vec>` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `Bounded2D` [INFO] [stdout] --> src/main.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | impl Bounded2D for (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `(f64, f64)` [INFO] [stdout] ... [INFO] [stdout] 109 | / impl Bounded2D for RTreeNode [INFO] [stdout] 110 | | where [INFO] [stdout] 111 | | T: Bounded2D, [INFO] [stdout] | |_________________^ `RTreeNode` [INFO] [stdout] note: required by a bound in `RTreeNode` [INFO] [stdout] --> src/main.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 64 | enum RTreeNode [INFO] [stdout] | --------- required by a bound in this enum [INFO] [stdout] 65 | where [INFO] [stdout] 66 | T: Bounded2D, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `RTreeNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | for (x, y) in leaves { [INFO] [stdout] | ^^^^^^ ------ this is an iterator with items of type `RTreeNode<(f64, f64)>` [INFO] [stdout] | | [INFO] [stdout] | expected `RTreeNode<(f64, f64)>`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `RTreeNode<(f64, f64)>` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-rtree` (bin "rust-rtree") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "50453af8a2bb7a2f8aea1af72d779b983b90e3c70b6eedc3c8b4a3a2e17ab656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50453af8a2bb7a2f8aea1af72d779b983b90e3c70b6eedc3c8b4a3a2e17ab656", kill_on_drop: false }` [INFO] [stdout] 50453af8a2bb7a2f8aea1af72d779b983b90e3c70b6eedc3c8b4a3a2e17ab656