[INFO] cloning repository https://github.com/FrankGoyens/discrete_hitbox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FrankGoyens/discrete_hitbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrankGoyens%2Fdiscrete_hitbox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrankGoyens%2Fdiscrete_hitbox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c6d694563a86dd29ce2ec1eaf4589941d8352cf [INFO] checking FrankGoyens/discrete_hitbox/0c6d694563a86dd29ce2ec1eaf4589941d8352cf against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrankGoyens%2Fdiscrete_hitbox" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FrankGoyens/discrete_hitbox on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FrankGoyens/discrete_hitbox [INFO] finished tweaking git repo https://github.com/FrankGoyens/discrete_hitbox [INFO] tweaked toml for git repo https://github.com/FrankGoyens/discrete_hitbox written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/FrankGoyens/discrete_hitbox 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04eab21610fea4b32c8f7dc2792f0ebf203709652abfff00e20952198b20849a [INFO] running `Command { std: "docker" "start" "-a" "04eab21610fea4b32c8f7dc2792f0ebf203709652abfff00e20952198b20849a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04eab21610fea4b32c8f7dc2792f0ebf203709652abfff00e20952198b20849a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04eab21610fea4b32c8f7dc2792f0ebf203709652abfff00e20952198b20849a", kill_on_drop: false }` [INFO] [stdout] 04eab21610fea4b32c8f7dc2792f0ebf203709652abfff00e20952198b20849a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29554181bae07a1ce48afd46a23a6fc4ba70a529ddb8a6da34e006589f34b161 [INFO] running `Command { std: "docker" "start" "-a" "29554181bae07a1ce48afd46a23a6fc4ba70a529ddb8a6da34e006589f34b161", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking discrete_hitbox v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/linear_algebra.rs (1 fix) [INFO] [stdout] warning: function `is_close` is never used [INFO] [stdout] --> src/foundation.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn is_close(first: DHFloat, second: DHFloat) -> bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float_le` is never used [INFO] [stdout] --> src/foundation.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn float_le(first: DHFloat, second: DHFloat) -> bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float_gt` is never used [INFO] [stdout] --> src/foundation.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn float_gt(first: DHFloat, second: DHFloat) -> bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/foundation.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Line{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 45 | pub start: Point, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | pub end: Point, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Line` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Inside`, `Outside`, and `On` are never constructed [INFO] [stdout] --> src/linear_algebra.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum BoundarySituation{ [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 7 | Inside, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Outside, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | On, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoundarySituation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `normal`, `dot`, and `situate` are never used [INFO] [stdout] --> src/linear_algebra.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl dhf::Point{ [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 13 | fn normal(&self) -> dhf::Point{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn dot(&self, other: &dhf::Point) -> dhf::DHFloat{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn situate(&self, other: &dhf::Point) -> BoundarySituation{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Adjustment` is never used [INFO] [stdout] --> src/linear_algebra.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | enum Adjustment{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_winding_number_adjustment` is never used [INFO] [stdout] --> src/linear_algebra.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn determine_winding_number_adjustment(start: &dhf::Point, end: &dhf::Point, point: &dhf::Point) -> Adjustment{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_winding_number` is never used [INFO] [stdout] --> src/linear_algebra.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn calc_winding_number(point: &dhf::Point, polygon: &Vec) -> i32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `shape_factory` [INFO] [stdout] --> src/linear_algebra.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | let given_shape = shape_factory::make_rectangle(12., 10.); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `shape_factory` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 99 + use crate::shape_factory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `discrete_hitbox` (bin "discrete_hitbox" test) due to 2 previous errors [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" "29554181bae07a1ce48afd46a23a6fc4ba70a529ddb8a6da34e006589f34b161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29554181bae07a1ce48afd46a23a6fc4ba70a529ddb8a6da34e006589f34b161", kill_on_drop: false }` [INFO] [stdout] 29554181bae07a1ce48afd46a23a6fc4ba70a529ddb8a6da34e006589f34b161