[INFO] fetching crate si-img 0.4.0... [INFO] checking si-img-0.4.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate si-img 0.4.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate si-img 0.4.0 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 si-img 0.4.0 [INFO] finished tweaking crates.io crate si-img 0.4.0 [INFO] tweaked toml for crates.io crate si-img 0.4.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate si-img 0.4.0 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] 030e10473294ff58877feba43ac1ffeaf212981802e00cf8a18e9eb11140632b [INFO] running `Command { std: "docker" "start" "-a" "030e10473294ff58877feba43ac1ffeaf212981802e00cf8a18e9eb11140632b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "030e10473294ff58877feba43ac1ffeaf212981802e00cf8a18e9eb11140632b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "030e10473294ff58877feba43ac1ffeaf212981802e00cf8a18e9eb11140632b", kill_on_drop: false }` [INFO] [stdout] 030e10473294ff58877feba43ac1ffeaf212981802e00cf8a18e9eb11140632b [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] 611287c3e7c21e163a5b968e5a0e3a00356319e0a1228974f50b258a340d6df1 [INFO] running `Command { std: "docker" "start" "-a" "611287c3e7c21e163a5b968e5a0e3a00356319e0a1228974f50b258a340d6df1", 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] Fixed Cargo.toml (1 fix) [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.89 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.89 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking fdeflate v0.3.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.89 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.89 [INFO] [stderr] Checking js-sys v0.3.66 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.39 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking si-img v0.4.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] error: expected item, found `{` [INFO] [stdout] --> src/image.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | { unsafe #[wasm_bindgen]} [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] --> src/macros.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | {$($key:ident : $val:expr_2021),*} => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #123742 for more information [INFO] [stdout] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::TextOptions` [INFO] [stdout] --> src/font.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::TextOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `TextOptions` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SiImage` in this scope [INFO] [stdout] --> src/preset.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | dyn Fn(&mut SiImage, std::collections::HashMap>) -> SiImage, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SiPreset { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SiImage` in this scope [INFO] [stdout] --> src/preset.rs:6:92 [INFO] [stdout] | [INFO] [stdout] 6 | dyn Fn(&mut SiImage, std::collections::HashMap>) -> SiImage, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SiPreset { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SiImage` in this scope [INFO] [stdout] --> src/preset.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | &mut SiImage, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 10 | impl SiPreset { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SiImage` in this scope [INFO] [stdout] --> src/preset.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | ) -> SiImage, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 10 | impl SiPreset { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::image::*` [INFO] [stdout] --> src/preset.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::image::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::image::*` [INFO] [stdout] --> src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::image::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::macros::*` [INFO] [stdout] --> src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `si-img` (lib test) due to 8 previous errors; 3 warnings emitted [INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `si_img` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/font.rs [INFO] [stderr] * src/image.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/macros.rs [INFO] [stderr] * src/preset.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: expected item, found `{` [INFO] [stderr] --> src/image.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | { unsafe #[wasm_bindgen]} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:28:21 [INFO] [stderr] | [INFO] [stderr] 28 | {$($key:ident : $val: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[E0432]: unresolved import `crate::TextOptions` [INFO] [stderr] --> src/font.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::TextOptions; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ no `TextOptions` in the root [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SiImage` in this scope [INFO] [stderr] --> src/preset.rs:6:21 [INFO] [stderr] | [INFO] [stderr] 6 | dyn Fn(&mut SiImage, std::collections::HashMap>) -> SiImage, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 4 | pub struct SiPreset { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SiImage` in this scope [INFO] [stderr] --> src/preset.rs:6:92 [INFO] [stderr] | [INFO] [stderr] 6 | dyn Fn(&mut SiImage, std::collections::HashMap>) -> SiImage, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 4 | pub struct SiPreset { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SiImage` in this scope [INFO] [stderr] --> src/preset.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | &mut SiImage, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 10 | impl SiPreset { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SiImage` in this scope [INFO] [stderr] --> src/preset.rs:16:18 [INFO] [stderr] | [INFO] [stderr] 16 | ) -> SiImage, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 10 | impl SiPreset { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::image::*` [INFO] [stderr] --> src/preset.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::image::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::image::*` [INFO] [stderr] --> src/lib.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub use crate::image::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | {$($key:ident : $val: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] 28 | {$($key:ident : $val:expr_2021),*} => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Original diagnostics will follow. [INFO] [stdout] warning: unused import: `crate::macros::*` [INFO] [stdout] --> src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/image.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub letter_spacing: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/image.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/image.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub space_width: f32, [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/image.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/font.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | if let Some(glyph) = self.font.outline_glyph( [INFO] [stdout] | ^ --------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | ________________| [INFO] [stdout] | | [INFO] [stdout] 89 | | self.font [INFO] [stdout] 90 | | .glyph_id(char) [INFO] [stdout] 91 | | .with_scale_and_position(scale, ab_glyph::point(tmp_x, position.1)), [INFO] [stdout] 92 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/font.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 88 ~ match self.font.outline_glyph( [INFO] [stdout] 89 | self.font [INFO] [stdout] 90 | .glyph_id(char) [INFO] [stdout] 91 | .with_scale_and_position(scale, ab_glyph::point(tmp_x, position.1)), [INFO] [stdout] 92 ~ ) { Some(glyph) => { [INFO] [stdout] 93 | let bb = glyph.px_bounds(); [INFO] [stdout] ... [INFO] [stdout] 96 | // tmp_y += bb.height(); [INFO] [stdout] 97 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [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" "611287c3e7c21e163a5b968e5a0e3a00356319e0a1228974f50b258a340d6df1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "611287c3e7c21e163a5b968e5a0e3a00356319e0a1228974f50b258a340d6df1", kill_on_drop: false }` [INFO] [stdout] 611287c3e7c21e163a5b968e5a0e3a00356319e0a1228974f50b258a340d6df1