[INFO] cloning repository https://github.com/Blobfishman/opti_space [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Blobfishman/opti_space" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlobfishman%2Fopti_space", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlobfishman%2Fopti_space'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 101ed3ea48e46153210ceb3837fad579d71bc4f3 [INFO] checking Blobfishman/opti_space against master#c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 for pr-86194 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlobfishman%2Fopti_space" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Blobfishman/opti_space on toolchain c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Blobfishman/opti_space [INFO] finished tweaking git repo https://github.com/Blobfishman/opti_space [INFO] tweaked toml for git repo https://github.com/Blobfishman/opti_space written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/Blobfishman/opti_space already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5ca7ab24fe3ff85ddfcb13106eacc2e389e99395a28d65dcbe63c41507f1b678 [INFO] running `Command { std: "docker" "start" "-a" "5ca7ab24fe3ff85ddfcb13106eacc2e389e99395a28d65dcbe63c41507f1b678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ca7ab24fe3ff85ddfcb13106eacc2e389e99395a28d65dcbe63c41507f1b678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ca7ab24fe3ff85ddfcb13106eacc2e389e99395a28d65dcbe63c41507f1b678", kill_on_drop: false }` [INFO] [stdout] 5ca7ab24fe3ff85ddfcb13106eacc2e389e99395a28d65dcbe63c41507f1b678 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3e800c619dddd4a5e43be59f5313bf9dec3470792907b0ebbc7f50a5277816e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e3e800c619dddd4a5e43be59f5313bf9dec3470792907b0ebbc7f50a5277816e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking stl_io v0.6.0 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking opti_space v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `intersecting_area` in this scope [INFO] [stdout] --> src/main.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | intersecting_area = cmp::max( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `intersecting_area` in this scope [INFO] [stdout] --> src/main.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | intersecting_area = cmp::max( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | /// blocks holds all rectangles placed on areas caped by max_width and max_height [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 395 | let mut blocks: Vec>; [INFO] [stdout] | -------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | /// blocks holds all rectangles placed on areas caped by max_width and max_height [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 395 | let mut blocks: Vec>; [INFO] [stdout] | -------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: Ord` is not satisfied [INFO] [stdout] --> src/main.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | cmp::min(other.p2.x, self.p2.x) - cmp::max(other.p1.x, self.p1.x), [INFO] [stdout] | ^^^^^^^^ the trait `Ord` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 85 | T: Copy + num_traits::Num + std::cmp::PartialOrd + std::ops::AddAssign + std::cmp::Ord, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: Ord` is not satisfied [INFO] [stdout] --> src/main.rs:167:47 [INFO] [stdout] | [INFO] [stdout] 167 | cmp::min(other.p2.x, self.p2.x) - cmp::max(other.p1.x, self.p1.x), [INFO] [stdout] | ^^^^^^^^ the trait `Ord` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 85 | T: Copy + num_traits::Num + std::cmp::PartialOrd + std::ops::AddAssign + std::cmp::Ord, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: Ord` is not satisfied [INFO] [stdout] --> src/main.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | cmp::min(other.p2.x, self.p2.x) - cmp::max(other.p1.x, self.p1.x), [INFO] [stdout] | ^^^^^^^^ the trait `Ord` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 85 | T: Copy + num_traits::Num + std::cmp::PartialOrd + std::ops::AddAssign + std::cmp::Ord, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: Ord` is not satisfied [INFO] [stdout] --> src/main.rs:167:47 [INFO] [stdout] | [INFO] [stdout] 167 | cmp::min(other.p2.x, self.p2.x) - cmp::max(other.p1.x, self.p1.x), [INFO] [stdout] | ^^^^^^^^ the trait `Ord` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 85 | T: Copy + num_traits::Num + std::cmp::PartialOrd + std::ops::AddAssign + std::cmp::Ord, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 83 | impl Rect [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 167 | cmp::min(other.p2.x, self.p2.x) - cmp::max(other.p1.x, self.p1.x), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected integer, found type parameter `T` [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: Ord` is not satisfied [INFO] [stdout] --> src/main.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | cmp::min(other.p2.y, self.p2.y) - cmp::max(other.p1.y, self.p1.y), [INFO] [stdout] | ^^^^^^^^ the trait `Ord` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 85 | T: Copy + num_traits::Num + std::cmp::PartialOrd + std::ops::AddAssign + std::cmp::Ord, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: Ord` is not satisfied [INFO] [stdout] --> src/main.rs:170:47 [INFO] [stdout] | [INFO] [stdout] 170 | cmp::min(other.p2.y, self.p2.y) - cmp::max(other.p1.y, self.p1.y), [INFO] [stdout] | ^^^^^^^^ the trait `Ord` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 85 | T: Copy + num_traits::Num + std::cmp::PartialOrd + std::ops::AddAssign + std::cmp::Ord, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 83 | impl Rect [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 167 | cmp::min(other.p2.x, self.p2.x) - cmp::max(other.p1.x, self.p1.x), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected integer, found type parameter `T` [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: Ord` is not satisfied [INFO] [stdout] --> src/main.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | cmp::min(other.p2.y, self.p2.y) - cmp::max(other.p1.y, self.p1.y), [INFO] [stdout] | ^^^^^^^^ the trait `Ord` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 85 | T: Copy + num_traits::Num + std::cmp::PartialOrd + std::ops::AddAssign + std::cmp::Ord, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: Ord` is not satisfied [INFO] [stdout] --> src/main.rs:170:47 [INFO] [stdout] | [INFO] [stdout] 170 | cmp::min(other.p2.y, self.p2.y) - cmp::max(other.p1.y, self.p1.y), [INFO] [stdout] | ^^^^^^^^ the trait `Ord` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 85 | T: Copy + num_traits::Num + std::cmp::PartialOrd + std::ops::AddAssign + std::cmp::Ord, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 83 | impl Rect [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 170 | cmp::min(other.p2.y, self.p2.y) - cmp::max(other.p1.y, self.p1.y), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected integer, found type parameter `T` [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 83 | impl Rect [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 170 | cmp::min(other.p2.y, self.p2.y) - cmp::max(other.p1.y, self.p1.y), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected integer, found type parameter `T` [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:175:44 [INFO] [stdout] | [INFO] [stdout] 83 | impl Rect [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 175 | self.get_overlapped_area(other) != 0 [INFO] [stdout] | ^ expected type parameter `T`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:328:16 [INFO] [stdout] | [INFO] [stdout] 328 | if &mea[upper_index].overlapped(&mea[lower_index]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `bool`, found `&bool` [INFO] [stdout] | help: consider removing the borrow: `mea[upper_index].overlapped(&mea[lower_index])` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `opti_space` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:175:44 [INFO] [stdout] | [INFO] [stdout] 83 | impl Rect [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 175 | self.get_overlapped_area(other) != 0 [INFO] [stdout] | ^ expected type parameter `T`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:328:16 [INFO] [stdout] | [INFO] [stdout] 328 | if &mea[upper_index].overlapped(&mea[lower_index]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `bool`, found `&bool` [INFO] [stdout] | help: consider removing the borrow: `mea[upper_index].overlapped(&mea[lower_index])` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e3e800c619dddd4a5e43be59f5313bf9dec3470792907b0ebbc7f50a5277816e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3e800c619dddd4a5e43be59f5313bf9dec3470792907b0ebbc7f50a5277816e", kill_on_drop: false }` [INFO] [stdout] e3e800c619dddd4a5e43be59f5313bf9dec3470792907b0ebbc7f50a5277816e