[INFO] fetching crate auburn 0.1.4... [INFO] checking auburn-0.1.4 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate auburn 0.1.4 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate auburn 0.1.4 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 crates.io crate auburn 0.1.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate auburn 0.1.4 [INFO] tweaked toml for crates.io crate auburn 0.1.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate auburn 0.1.4 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 885e7ab248595e2eca7ed6e1580e1983d75378276659f819fe86cf7c0a294a2d [INFO] running `Command { std: "docker" "start" "-a" "885e7ab248595e2eca7ed6e1580e1983d75378276659f819fe86cf7c0a294a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "885e7ab248595e2eca7ed6e1580e1983d75378276659f819fe86cf7c0a294a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "885e7ab248595e2eca7ed6e1580e1983d75378276659f819fe86cf7c0a294a2d", kill_on_drop: false }` [INFO] [stdout] 885e7ab248595e2eca7ed6e1580e1983d75378276659f819fe86cf7c0a294a2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a4619a2990aa90a7ffaf4b434cafe7b3fb37cb1f5dfccf3cd1dcfe4af89834f [INFO] running `Command { std: "docker" "start" "-a" "5a4619a2990aa90a7ffaf4b434cafe7b3fb37cb1f5dfccf3cd1dcfe4af89834f", 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] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking round-to v0.1.4 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v3.4.0 [INFO] [stderr] Checking serde_arrays v0.1.0 [INFO] [stderr] Checking serde_with v3.4.0 [INFO] [stderr] Checking lk_math v0.4.0 [INFO] [stderr] Checking auburn v0.1.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `auburn` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/col2d/shape/box2d.rs [INFO] [stderr] * src/col2d/shape/ellipse2d.rs [INFO] [stderr] * src/col2d/shape/rounded_box2d.rs [INFO] [stderr] * src/col2d/shape/tilemap.rs [INFO] [stderr] * src/col2d/transformation2d/isotropic2d.rs [INFO] [stderr] * src/col3d/shape/box3d.rs [INFO] [stderr] * src/col3d/transformation3d/isotropic3d.rs [INFO] [stderr] * src/utils/approx.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/approx.rs:55:6 [INFO] [stderr] | [INFO] [stderr] 55 | ($a:expr_2021, $b:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/approx.rs:55:20 [INFO] [stderr] | [INFO] [stderr] 55 | ($a:expr_2021, $b:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `disable` [INFO] [stderr] --> src/col2d/shape/rounded_box2d.rs:47:7 [INFO] [stderr] | [INFO] [stderr] 47 | #[cfg(disable)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `disable` [INFO] [stderr] --> src/col2d/shape/rounded_box2d.rs:191:7 [INFO] [stderr] | [INFO] [stderr] 191 | #[cfg(disable)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `disable` [INFO] [stderr] --> src/col2d/shape/rounded_box2d.rs:198:7 [INFO] [stderr] | [INFO] [stderr] 198 | #[cfg(disable)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y3` [INFO] [stderr] --> src/col2d/shape/box2d.rs:233:13 [INFO] [stderr] | [INFO] [stderr] 233 | let y3 = Vec2::new(0.0, -0.5); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_y3` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/col2d/shape/ellipse2d.rs:65:28 [INFO] [stderr] | [INFO] [stderr] 65 | fn collides_rel(&self, t: &Point, rel: &impl Transformation2d) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `local` [INFO] [stderr] --> src/col2d/shape/tilemap.rs:72:25 [INFO] [stderr] | [INFO] [stderr] 72 | let (chunk_pos, local) = tile_pos.modular_decompose(CHUNK_SIZE); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_local` [INFO] [stdout] warning: unexpected `cfg` condition name: `disable` [INFO] [stdout] --> src/col2d/shape/rounded_box2d.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(disable)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unexpected `cfg` condition name: `disable` [INFO] [stdout] --> src/col2d/shape/rounded_box2d.rs:191:7 [INFO] [stdout] | [INFO] [stdout] 191 | #[cfg(disable)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `tile` [INFO] [stdout] warning: unexpected `cfg` condition name: `disable` [INFO] [stdout] --> src/col2d/shape/rounded_box2d.rs:198:7 [INFO] [stdout] | [INFO] [stdout] 198 | #[cfg(disable)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/col2d/shape/tilemap.rs:204:13 [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/col2d/shape/rounded_box2d.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused import: `approx::assert_relative_eq` [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | use approx::assert_relative_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 204 | let tile = self.get_tile(tile_pos); [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/approx.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | ($a:expr, $b:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 55 | ($a:expr_2021, $b:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/approx.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | ($a:expr, $b:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 55 | ($a:expr, $b:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused variable: `y3` [INFO] [stdout] --> src/col2d/shape/box2d.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let y3 = Vec2::new(0.0, -0.5); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `up` [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/col2d/shape/ellipse2d.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | fn collides_rel(&self, t: &Point, rel: &impl Transformation2d) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/col2d/shape/tilemap.rs:205:13 [INFO] [stdout] warning: unused variable: `local` [INFO] [stdout] --> src/col2d/shape/tilemap.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | let (chunk_pos, local) = tile_pos.modular_decompose(CHUNK_SIZE); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/col2d/shape/tilemap.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let tile = self.get_tile(tile_pos); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 205 | let up = self.get_tile(tile_pos + V2i32::Y); [INFO] [stdout] warning: unused variable: `up` [INFO] [stdout] --> src/col2d/shape/tilemap.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let up = self.get_tile(tile_pos + V2i32::Y); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_up` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_up` [INFO] [stdout] warning: unused variable: `serialized` [INFO] [stdout] --> src/col2d/shape/tilemap.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let serialized = serde_json::to_writer(&mut writer, self)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serialized` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/col2d/transformation2d/isotropic2d.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | fn apply(&self, point: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `serialized` [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/col2d/transformation2d/isotropic2d.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn unapply(&self, point: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/col2d/shape/tilemap.rs:214:13 [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/col2d/transformation2d/isotropic2d.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | fn compose(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused variable: `y3` [INFO] [stdout] --> src/col3d/shape/box3d.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | let y3 = Vec3::new(0.0, -0.5, 0.0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y3` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 214 | let serialized = serde_json::to_writer(&mut writer, self)?; [INFO] [stdout] warning: unused variable: `t_t_inv_t` [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | let t_t_inv_t = t.compose(&t_inv); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_t_inv_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serialized` [INFO] [stdout] warning: unused variable: `t_inv_t` [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let t_inv_t = t_inv.compose(&t); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_inv_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused variable: `T3` [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let T3: Isotropic3d = Isotropic3d { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_T3` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `point` [INFO] [stdout] warning: unused variable: `T4` [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | let T4: Isotropic3d = Isotropic3d { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_T4` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/col2d/transformation2d/isotropic2d.rs:15:21 [INFO] [stdout] warning: unused variable: `T4_T3` [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | let T4_T3: Isotropic3d = Isotropic3d { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_T4_T3` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused variable: `T3_ORIGIN` [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | let T3_ORIGIN: Vec3 = Vec3::new(1.0, 2.0, 3.0); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_T3_ORIGIN` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 15 | fn apply(&self, point: Vec2) -> Vec2 { [INFO] [stdout] warning: unused variable: `T4_ORIGIN` [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | let T4_ORIGIN: Vec3 = Vec3::new(4.0, 5.0, 6.0); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_T4_ORIGIN` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] warning: unused variable: `T4_T3_ORIGIN` [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | let T4_T3_ORIGIN: Vec3 = Vec3::new(7.0, 11.0, 15.0); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_T4_T3_ORIGIN` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: unused variable: `point` [INFO] [stderr] --> src/col2d/transformation2d/isotropic2d.rs:19:23 [INFO] [stderr] | [INFO] [stderr] 19 | fn unapply(&self, point: Vec2) -> Vec2 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stderr] [INFO] [stdout] warning: associated constant `IDENTITY` is never used [INFO] [stdout] --> src/col2d/transformation2d/mod.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 60 | impl Rotor2d { [INFO] [stdout] | ------------ associated constant in this implementation [INFO] [stdout] 61 | const IDENTITY: Self = Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `other` [INFO] [stdout] warning: fields `pos`, `rot`, and `scale` are never read [INFO] [stdout] --> src/col2d/transformation2d/isotropic2d.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Isotropic2d { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pos: Vec2, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | rot: Rotor2d, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | scale: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/col2d/transformation2d/isotropic2d.rs:31:23 [INFO] [stdout] warning: variable `T3` should have a snake case name [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let T3: Isotropic3d = Isotropic3d { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `t3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: variable `T4` should have a snake case name [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | let T4: Isotropic3d = Isotropic3d { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `t4` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 31 | fn compose(&self, other: &Self) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y3` [INFO] [stderr] --> src/col3d/shape/box3d.rs:256:13 [INFO] [stderr] | [INFO] [stderr] 256 | let y3 = Vec3::new(0.0, -0.5, 0.0); [INFO] [stdout] warning: variable `T4_T3` should have a snake case name [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | let T4_T3: Isotropic3d = Isotropic3d { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `t4_t3` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_y3` [INFO] [stdout] warning: variable `T3_ORIGIN` should have a snake case name [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | let T3_ORIGIN: Vec3 = Vec3::new(1.0, 2.0, 3.0); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `t3_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t_t_inv_t` [INFO] [stderr] --> src/col3d/transformation3d/isotropic3d.rs:270:13 [INFO] [stderr] | [INFO] [stderr] 270 | let t_t_inv_t = t.compose(&t_inv); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_t_inv_t` [INFO] [stderr] [INFO] [stdout] warning: variable `T4_ORIGIN` should have a snake case name [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | let T4_ORIGIN: Vec3 = Vec3::new(4.0, 5.0, 6.0); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `t4_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `t_inv_t` [INFO] [stdout] warning: variable `T4_T3_ORIGIN` should have a snake case name [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | let T4_T3_ORIGIN: Vec3 = Vec3::new(7.0, 11.0, 15.0); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `t4_t3_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/col3d/transformation3d/isotropic3d.rs:271:13 [INFO] [stderr] | [INFO] [stderr] 271 | let t_inv_t = t_inv.compose(&t); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_inv_t` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `T3` [INFO] [stderr] --> src/col3d/transformation3d/isotropic3d.rs:287:13 [INFO] [stderr] | [INFO] [stderr] 287 | let T3: Isotropic3d = Isotropic3d { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_T3` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `T4` [INFO] [stderr] --> src/col3d/transformation3d/isotropic3d.rs:292:13 [INFO] [stderr] | [INFO] [stderr] 292 | let T4: Isotropic3d = Isotropic3d { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_T4` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `T4_T3` [INFO] [stderr] --> src/col3d/transformation3d/isotropic3d.rs:297:13 [INFO] [stderr] | [INFO] [stderr] 297 | let T4_T3: Isotropic3d = Isotropic3d { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_T4_T3` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `T3_ORIGIN` [INFO] [stderr] --> src/col3d/transformation3d/isotropic3d.rs:302:13 [INFO] [stderr] | [INFO] [stderr] 302 | let T3_ORIGIN: Vec3 = Vec3::new(1.0, 2.0, 3.0); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_T3_ORIGIN` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `T4_ORIGIN` [INFO] [stderr] --> src/col3d/transformation3d/isotropic3d.rs:303:13 [INFO] [stderr] | [INFO] [stderr] 303 | let T4_ORIGIN: Vec3 = Vec3::new(4.0, 5.0, 6.0); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_T4_ORIGIN` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `T4_T3_ORIGIN` [INFO] [stderr] --> src/col3d/transformation3d/isotropic3d.rs:304:13 [INFO] [stderr] | [INFO] [stderr] 304 | let T4_T3_ORIGIN: Vec3 = Vec3::new(7.0, 11.0, 15.0); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_T4_T3_ORIGIN` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 21 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `impl Iterator>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/utils/rect2.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn iterate(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/utils/rect2.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn iterate(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 30 | pub fn iterate(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/utils/rect2.rs:34:41 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iterate_north_east(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/utils/rect2.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iterate_north_east(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iterate_north_east(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/utils/rect2.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn iterate_south_east(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/utils/rect2.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn iterate_south_east(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 40 | pub fn iterate_south_east(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/utils/rect2.rs:46:41 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn iterate_south_west(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/utils/rect2.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn iterate_south_west(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 46 | pub fn iterate_south_west(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/utils/rect2.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn iterate_north_west(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/utils/rect2.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn iterate_north_west(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 52 | pub fn iterate_north_west(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `auburn` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/col2d/shape/ellipse2d.rs [INFO] [stderr] * src/col2d/shape/rounded_box2d.rs [INFO] [stderr] * src/col2d/shape/tilemap.rs [INFO] [stderr] * src/col2d/transformation2d/isotropic2d.rs [INFO] [stderr] * src/utils/approx.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/approx.rs:55:6 [INFO] [stderr] | [INFO] [stderr] 55 | ($a:expr_2021, $b:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/approx.rs:55:20 [INFO] [stderr] | [INFO] [stderr] 55 | ($a:expr_2021, $b:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `disable` [INFO] [stderr] --> src/col2d/shape/rounded_box2d.rs:47:7 [INFO] [stderr] | [INFO] [stderr] 47 | #[cfg(disable)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `disable` [INFO] [stderr] --> src/col2d/shape/rounded_box2d.rs:191:7 [INFO] [stderr] | [INFO] [stderr] 191 | #[cfg(disable)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `disable` [INFO] [stderr] --> src/col2d/shape/rounded_box2d.rs:198:7 [INFO] [stderr] | [INFO] [stderr] 198 | #[cfg(disable)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/col2d/shape/ellipse2d.rs:65:28 [INFO] [stderr] | [INFO] [stderr] 65 | fn collides_rel(&self, t: &Point, rel: &impl Transformation2d) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `local` [INFO] [stderr] --> src/col2d/shape/tilemap.rs:72:25 [INFO] [stderr] | [INFO] [stderr] 72 | let (chunk_pos, local) = tile_pos.modular_decompose(CHUNK_SIZE); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_local` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tile` [INFO] [stderr] --> src/col2d/shape/tilemap.rs:204:13 [INFO] [stderr] | [INFO] [stderr] 204 | let tile = self.get_tile(tile_pos); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `up` [INFO] [stderr] --> src/col2d/shape/tilemap.rs:205:13 [INFO] [stderr] | [INFO] [stderr] 205 | let up = self.get_tile(tile_pos + V2i32::Y); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_up` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `serialized` [INFO] [stderr] --> src/col2d/shape/tilemap.rs:214:13 [INFO] [stderr] | [INFO] [stderr] 214 | let serialized = serde_json::to_writer(&mut writer, self)?; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serialized` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `point` [INFO] [stderr] --> src/col2d/transformation2d/isotropic2d.rs:15:21 [INFO] [stderr] | [INFO] [stderr] 15 | fn apply(&self, point: Vec2) -> Vec2 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `point` [INFO] [stderr] --> src/col2d/transformation2d/isotropic2d.rs:19:23 [INFO] [stderr] | [INFO] [stderr] 19 | fn unapply(&self, point: Vec2) -> Vec2 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/col2d/transformation2d/isotropic2d.rs:31:23 [INFO] [stderr] | [INFO] [stderr] 31 | fn compose(&self, other: &Self) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] warning: unexpected `cfg` condition name: `disable` [INFO] [stdout] --> src/col2d/shape/rounded_box2d.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(disable)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Original diagnostics will follow. [INFO] [stdout] warning: unexpected `cfg` condition name: `disable` [INFO] [stdout] --> src/col2d/shape/rounded_box2d.rs:191:7 [INFO] [stdout] | [INFO] [stdout] 191 | #[cfg(disable)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unexpected `cfg` condition name: `disable` [INFO] [stdout] --> src/col2d/shape/rounded_box2d.rs:198:7 [INFO] [stdout] | [INFO] [stdout] 198 | #[cfg(disable)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/approx.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | ($a:expr, $b:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 55 | ($a:expr_2021, $b:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/approx.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | ($a:expr, $b:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 55 | ($a:expr, $b:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/col2d/shape/ellipse2d.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | fn collides_rel(&self, t: &Point, rel: &impl Transformation2d) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local` [INFO] [stdout] --> src/col2d/shape/tilemap.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | let (chunk_pos, local) = tile_pos.modular_decompose(CHUNK_SIZE); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/col2d/shape/tilemap.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let tile = self.get_tile(tile_pos); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `up` [INFO] [stdout] --> src/col2d/shape/tilemap.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let up = self.get_tile(tile_pos + V2i32::Y); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serialized` [INFO] [stdout] --> src/col2d/shape/tilemap.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let serialized = serde_json::to_writer(&mut writer, self)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serialized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/col2d/transformation2d/isotropic2d.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | fn apply(&self, point: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/col2d/transformation2d/isotropic2d.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn unapply(&self, point: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/col2d/transformation2d/isotropic2d.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | fn compose(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `intercept_ray`, `extreme_point_direction`, and `extreme_point_by_composing` are never used [INFO] [stdout] --> src/col2d/shape/ellipse2d.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Ellipse2d { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 23 | /// The intercept of a ray starting at the ellipse's center. [INFO] [stdout] 24 | fn intercept_ray(&self, dir: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn extreme_point_direction(&self, dir: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn extreme_point_by_composing(&self, dir: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `IDENTITY` is never used [INFO] [stdout] --> src/col2d/transformation2d/mod.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 60 | impl Rotor2d { [INFO] [stdout] | ------------ associated constant in this implementation [INFO] [stdout] 61 | const IDENTITY: Self = Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos`, `rot`, and `scale` are never read [INFO] [stdout] --> src/col2d/transformation2d/isotropic2d.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Isotropic2d { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pos: Vec2, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | rot: Rotor2d, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | scale: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/utils/rect2.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn iterate(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/utils/rect2.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn iterate(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 30 | pub fn iterate(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/utils/rect2.rs:34:41 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iterate_north_east(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/utils/rect2.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iterate_north_east(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 34 | pub fn iterate_north_east(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/utils/rect2.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn iterate_south_east(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/utils/rect2.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn iterate_south_east(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 40 | pub fn iterate_south_east(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/utils/rect2.rs:46:41 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn iterate_south_west(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/utils/rect2.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn iterate_south_west(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 46 | pub fn iterate_south_west(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/utils/rect2.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn iterate_north_west(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/utils/rect2.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn iterate_north_west(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 52 | pub fn iterate_north_west(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/basic2d.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/basic3d.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 16.73s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking auburn v0.1.4 (/tmp/fixit) [INFO] [stdout] warning: unexpected `cfg` condition name: `disable` [INFO] [stdout] --> src/col2d/shape/rounded_box2d.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(disable)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `disable` [INFO] [stdout] --> src/col2d/shape/rounded_box2d.rs:191:7 [INFO] [stdout] | [INFO] [stdout] 191 | #[cfg(disable)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `disable` [INFO] [stdout] --> src/col2d/shape/rounded_box2d.rs:198:7 [INFO] [stdout] | [INFO] [stdout] 198 | #[cfg(disable)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `disable` [INFO] [stdout] --> src/col2d/shape/rounded_box2d.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(disable)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `disable` [INFO] [stdout] --> src/col2d/shape/rounded_box2d.rs:191:7 [INFO] [stdout] | [INFO] [stdout] 191 | #[cfg(disable)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `disable` [INFO] [stdout] --> src/col2d/shape/rounded_box2d.rs:198:7 [INFO] [stdout] | [INFO] [stdout] 198 | #[cfg(disable)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/col2d/shape/rounded_box2d.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `approx::assert_relative_eq` [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | use approx::assert_relative_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/col2d/shape/ellipse2d.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | fn collides_rel(&self, t: &Point, rel: &impl Transformation2d) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local` [INFO] [stdout] --> src/col2d/shape/tilemap.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | let (chunk_pos, local) = tile_pos.modular_decompose(CHUNK_SIZE); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/col2d/shape/tilemap.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let tile = self.get_tile(tile_pos); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `up` [INFO] [stdout] --> src/col2d/shape/tilemap.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let up = self.get_tile(tile_pos + V2i32::Y); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serialized` [INFO] [stdout] --> src/col2d/shape/tilemap.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let serialized = serde_json::to_writer(&mut writer, self)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serialized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/col2d/transformation2d/isotropic2d.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | fn apply(&self, point: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/col2d/transformation2d/isotropic2d.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn unapply(&self, point: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/col2d/transformation2d/isotropic2d.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | fn compose(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/utils/rect2.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iterate_boxed(&self, flip_x: bool, flip_y: bool) -> Box> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 60 | / if flip_y { [INFO] [stdout] 61 | | if flip_x { [INFO] [stdout] 62 | | Box::new(self.iterate_south_west()) [INFO] [stdout] 63 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_________^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iterate_boxed(&self, flip_x: bool, flip_y: bool) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y3` [INFO] [stdout] --> src/col2d/shape/box2d.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let y3 = Vec2::new(0.0, -0.5); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/col2d/shape/ellipse2d.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | fn collides_rel(&self, t: &Point, rel: &impl Transformation2d) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `auburn` (lib) due to 2 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `local` [INFO] [stdout] --> src/col2d/shape/tilemap.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | let (chunk_pos, local) = tile_pos.modular_decompose(CHUNK_SIZE); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/col2d/shape/tilemap.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let tile = self.get_tile(tile_pos); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `up` [INFO] [stdout] --> src/col2d/shape/tilemap.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let up = self.get_tile(tile_pos + V2i32::Y); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serialized` [INFO] [stdout] --> src/col2d/shape/tilemap.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let serialized = serde_json::to_writer(&mut writer, self)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serialized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/col2d/transformation2d/isotropic2d.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | fn apply(&self, point: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/col2d/transformation2d/isotropic2d.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn unapply(&self, point: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/col2d/transformation2d/isotropic2d.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | fn compose(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y3` [INFO] [stdout] --> src/col3d/shape/box3d.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | let y3 = Vec3::new(0.0, -0.5, 0.0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_t_inv_t` [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | let t_t_inv_t = t.compose(&t_inv); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_t_inv_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_inv_t` [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let t_inv_t = t_inv.compose(&t); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_inv_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `T3` [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let T3: Isotropic3d = Isotropic3d { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_T3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `T4` [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | let T4: Isotropic3d = Isotropic3d { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_T4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `T4_T3` [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | let T4_T3: Isotropic3d = Isotropic3d { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_T4_T3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `T3_ORIGIN` [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | let T3_ORIGIN: Vec3 = Vec3::new(1.0, 2.0, 3.0); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_T3_ORIGIN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `T4_ORIGIN` [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | let T4_ORIGIN: Vec3 = Vec3::new(4.0, 5.0, 6.0); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_T4_ORIGIN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `T4_T3_ORIGIN` [INFO] [stdout] --> src/col3d/transformation3d/isotropic3d.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | let T4_T3_ORIGIN: Vec3 = Vec3::new(7.0, 11.0, 15.0); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_T4_T3_ORIGIN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/utils/rect2.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iterate_boxed(&self, flip_x: bool, flip_y: bool) -> Box> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 60 | / if flip_y { [INFO] [stdout] 61 | | if flip_x { [INFO] [stdout] 62 | | Box::new(self.iterate_south_west()) [INFO] [stdout] 63 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_________^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iterate_boxed(&self, flip_x: bool, flip_y: bool) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `auburn` (lib test) due to 2 previous errors; 23 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5a4619a2990aa90a7ffaf4b434cafe7b3fb37cb1f5dfccf3cd1dcfe4af89834f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a4619a2990aa90a7ffaf4b434cafe7b3fb37cb1f5dfccf3cd1dcfe4af89834f", kill_on_drop: false }` [INFO] [stdout] 5a4619a2990aa90a7ffaf4b434cafe7b3fb37cb1f5dfccf3cd1dcfe4af89834f