[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlobfishman%2Fopti_space" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Blobfishman/opti_space on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-6/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71d33788af6ebb3732ef65bb3da86c7d1c9f95bea7c16a8f83d7dd222087cf60 [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" "71d33788af6ebb3732ef65bb3da86c7d1c9f95bea7c16a8f83d7dd222087cf60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71d33788af6ebb3732ef65bb3da86c7d1c9f95bea7c16a8f83d7dd222087cf60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71d33788af6ebb3732ef65bb3da86c7d1c9f95bea7c16a8f83d7dd222087cf60", kill_on_drop: false }` [INFO] [stdout] 71d33788af6ebb3732ef65bb3da86c7d1c9f95bea7c16a8f83d7dd222087cf60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb358959fd07d0c7de81ed9db6b7f20ea63687259817c31c572a5ba6dffc68d2 [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" "fb358959fd07d0c7de81ed9db6b7f20ea63687259817c31c572a5ba6dffc68d2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [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 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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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: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` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "fb358959fd07d0c7de81ed9db6b7f20ea63687259817c31c572a5ba6dffc68d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb358959fd07d0c7de81ed9db6b7f20ea63687259817c31c572a5ba6dffc68d2", kill_on_drop: false }` [INFO] [stdout] fb358959fd07d0c7de81ed9db6b7f20ea63687259817c31c572a5ba6dffc68d2