[INFO] fetching crate si-img 0.4.0... [INFO] checking si-img-0.4.0 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate si-img 0.4.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate si-img 0.4.0 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-3-tc1/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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fdeflate v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c375abcf66a97e6f01957d838478a617f629a23e712e0145edaacaa8dd182bcf [INFO] running `Command { std: "docker" "start" "-a" "c375abcf66a97e6f01957d838478a617f629a23e712e0145edaacaa8dd182bcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c375abcf66a97e6f01957d838478a617f629a23e712e0145edaacaa8dd182bcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c375abcf66a97e6f01957d838478a617f629a23e712e0145edaacaa8dd182bcf", kill_on_drop: false }` [INFO] [stdout] c375abcf66a97e6f01957d838478a617f629a23e712e0145edaacaa8dd182bcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b192574161529973eb3977887d0b7d3139f2bf903fb96e8f128622f9f561e1a [INFO] running `Command { std: "docker" "start" "-a" "7b192574161529973eb3977887d0b7d3139f2bf903fb96e8f128622f9f561e1a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.89 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling cc v1.0.83 [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 num-traits v0.2.17 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling wasm-bindgen v0.2.89 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking fdeflate v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.89 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.89 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking js-sys v0.3.66 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.39 [INFO] [stderr] Checking si-img v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.84s [INFO] running `Command { std: "docker" "inspect" "7b192574161529973eb3977887d0b7d3139f2bf903fb96e8f128622f9f561e1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b192574161529973eb3977887d0b7d3139f2bf903fb96e8f128622f9f561e1a", kill_on_drop: false }` [INFO] [stdout] 7b192574161529973eb3977887d0b7d3139f2bf903fb96e8f128622f9f561e1a [INFO] checking si-img-0.4.0 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate si-img 0.4.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate si-img 0.4.0 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-3-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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df7db0f1877fd21a69ce2440ea9ca0a48779ad4454956bea6284d0c931d7cedb [INFO] running `Command { std: "docker" "start" "-a" "df7db0f1877fd21a69ce2440ea9ca0a48779ad4454956bea6284d0c931d7cedb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df7db0f1877fd21a69ce2440ea9ca0a48779ad4454956bea6284d0c931d7cedb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df7db0f1877fd21a69ce2440ea9ca0a48779ad4454956bea6284d0c931d7cedb", kill_on_drop: false }` [INFO] [stdout] df7db0f1877fd21a69ce2440ea9ca0a48779ad4454956bea6284d0c931d7cedb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9320f7fc8e9f3c1ea4277f33fbff47c023a677c1162c1ac80e2a92defa6d1cc5 [INFO] running `Command { std: "docker" "start" "-a" "9320f7fc8e9f3c1ea4277f33fbff47c023a677c1162c1ac80e2a92defa6d1cc5", 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 proc-macro2 v1.0.71 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.89 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling wasm-bindgen v0.2.89 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking fdeflate v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.89 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.89 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking js-sys v0.3.66 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.39 [INFO] [stderr] Checking si-img v0.4.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: dereference of raw pointer is unsafe and requires unsafe block (error E0133) [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] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(unsafe_op_in_unsafe_fn)]` [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] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `si_img` [INFO] [stdout] warning: dereference of raw pointer is unsafe and requires unsafe block (error E0133) [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] [stderr] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [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/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[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] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [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/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[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] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: dereference of raw pointer is unsafe and requires unsafe block (error E0133) [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] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(unsafe_op_in_unsafe_fn)]` [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: dereference of raw pointer is unsafe and requires unsafe block (error E0133) [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/preset.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/macros.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/font.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/image.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.26s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] error: failed to parse manifest at `/tmp/fixit/Cargo.toml` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] feature `async` includes `wasm-bindgen-futures` which is neither a dependency nor another feature [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" "9320f7fc8e9f3c1ea4277f33fbff47c023a677c1162c1ac80e2a92defa6d1cc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9320f7fc8e9f3c1ea4277f33fbff47c023a677c1162c1ac80e2a92defa6d1cc5", kill_on_drop: false }` [INFO] [stdout] 9320f7fc8e9f3c1ea4277f33fbff47c023a677c1162c1ac80e2a92defa6d1cc5