[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] 7b24572717773cbc1cf1648418e9f843cc2dbc18 [INFO] checking Blobfishman/opti_space against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlobfishman%2Fopti_space" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Blobfishman/opti_space on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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-4/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eef1eb4e1f61245d0e751f28afe8e65ac5416125e939c7ad93f02697e2382ee9 [INFO] running `Command { std: "docker" "start" "-a" "eef1eb4e1f61245d0e751f28afe8e65ac5416125e939c7ad93f02697e2382ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eef1eb4e1f61245d0e751f28afe8e65ac5416125e939c7ad93f02697e2382ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eef1eb4e1f61245d0e751f28afe8e65ac5416125e939c7ad93f02697e2382ee9", kill_on_drop: false }` [INFO] [stdout] eef1eb4e1f61245d0e751f28afe8e65ac5416125e939c7ad93f02697e2382ee9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bddd45611aeffdaf259788beb3c400bcb48a01a936d6106b42210487d5ad4409 [INFO] running `Command { std: "docker" "start" "-a" "bddd45611aeffdaf259788beb3c400bcb48a01a936d6106b42210487d5ad4409", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking stl_io v0.6.0 [INFO] [stderr] Checking csv-core v0.1.10 [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[E0308]: mismatched types [INFO] [stdout] --> src/rect.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 33 | impl Rect [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 117 | 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[E0308]: mismatched types [INFO] [stdout] --> src/rect.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 33 | impl Rect [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 117 | 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[E0308]: mismatched types [INFO] [stdout] --> src/rect.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 33 | impl Rect [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 120 | 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/rect.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 33 | impl Rect [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 120 | 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/rect.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 33 | impl Rect [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn get_overlapped_area(&self, other: &Rect) -> T { [INFO] [stdout] | - expected `T` because of return type [INFO] [stdout] 115 | / cmp::max( [INFO] [stdout] 116 | | 0, [INFO] [stdout] 117 | | cmp::min(other.p2.x, self.p2.x) - cmp::max(other.p1.x, self.p1.x), [INFO] [stdout] 118 | | ) * cmp::max( [INFO] [stdout] 119 | | 0, [INFO] [stdout] 120 | | cmp::min(other.p2.y, self.p2.y) - cmp::max(other.p1.y, self.p1.y), [INFO] [stdout] 121 | | ) [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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [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/rect.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 33 | impl Rect [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn get_overlapped_area(&self, other: &Rect) -> T { [INFO] [stdout] | - expected `T` because of return type [INFO] [stdout] 115 | / cmp::max( [INFO] [stdout] 116 | | 0, [INFO] [stdout] 117 | | cmp::min(other.p2.x, self.p2.x) - cmp::max(other.p1.x, self.p1.x), [INFO] [stdout] 118 | | ) * cmp::max( [INFO] [stdout] 119 | | 0, [INFO] [stdout] 120 | | cmp::min(other.p2.y, self.p2.y) - cmp::max(other.p1.y, self.p1.y), [INFO] [stdout] 121 | | ) [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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bddd45611aeffdaf259788beb3c400bcb48a01a936d6106b42210487d5ad4409", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bddd45611aeffdaf259788beb3c400bcb48a01a936d6106b42210487d5ad4409", kill_on_drop: false }` [INFO] [stdout] bddd45611aeffdaf259788beb3c400bcb48a01a936d6106b42210487d5ad4409