[INFO] fetching crate taitank-safe 0.0.6... [INFO] checking taitank-safe-0.0.6 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate taitank-safe 0.0.6 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate taitank-safe 0.0.6 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate taitank-safe 0.0.6 [INFO] finished tweaking crates.io crate taitank-safe 0.0.6 [INFO] tweaked toml for crates.io crate taitank-safe 0.0.6 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate taitank-safe 0.0.6 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77a6fd8e1c8cef40da90ed95431f352b2225a247cec62476642b5c18d592aee9 [INFO] running `Command { std: "docker" "start" "-a" "77a6fd8e1c8cef40da90ed95431f352b2225a247cec62476642b5c18d592aee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77a6fd8e1c8cef40da90ed95431f352b2225a247cec62476642b5c18d592aee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77a6fd8e1c8cef40da90ed95431f352b2225a247cec62476642b5c18d592aee9", kill_on_drop: false }` [INFO] [stdout] 77a6fd8e1c8cef40da90ed95431f352b2225a247cec62476642b5c18d592aee9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef7219a0518e75d12be060299fcdfe331ff23c81714822a7df5c3233435a68e2 [INFO] running `Command { std: "docker" "start" "-a" "ef7219a0518e75d12be060299fcdfe331ff23c81714822a7df5c3233435a68e2", 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 cc v1.1.34 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling scratch v1.0.7 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling cxxbridge-flags v1.0.129 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling link-cplusplus v1.0.9 [INFO] [stderr] Compiling cxx v1.0.129 [INFO] [stderr] Compiling cxx-build v1.0.129 [INFO] [stderr] Compiling cxxbridge-macro v1.0.129 [INFO] [stderr] Compiling taitank-safe v0.0.6 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc: In member function 'std::string taitank::TaitankStyle::toString()': [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:287:37: warning: '; ' directive output may be truncated writing 2 bytes into a region of size between 0 and 39 [-Wformat-truncation=] [INFO] [stderr] warning: taitank-safe@0.0.6: 287 | snprintf(str, 50, "align-self:%s; ", kFlexAlignString[align_self_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ^~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:287:13: note: 'snprintf' output between 14 and 53 bytes into a destination of size 50 [INFO] [stderr] warning: taitank-safe@0.0.6: 287 | snprintf(str, 50, "align-self:%s; ", kFlexAlignString[align_self_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:293:36: warning: '%s' directive output may be truncated writing up to 39 bytes into a region of size 38 [-Wformat-truncation=] [INFO] [stderr] warning: taitank-safe@0.0.6: 293 | snprintf(str, 50, "align-items:%s; ", kFlexAlignString[align_items_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ^~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:293:13: note: 'snprintf' output between 15 and 54 bytes into a destination of size 50 [INFO] [stderr] warning: taitank-safe@0.0.6: 293 | snprintf(str, 50, "align-items:%s; ", kFlexAlignString[align_items_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:299:38: warning: '%s' directive output may be truncated writing up to 39 bytes into a region of size 36 [-Wformat-truncation=] [INFO] [stderr] warning: taitank-safe@0.0.6: 299 | snprintf(str, 50, "align-content:%s; ", kFlexAlignString[align_content_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ^~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:299:13: note: 'snprintf' output between 17 and 56 bytes into a destination of size 50 [INFO] [stderr] warning: taitank-safe@0.0.6: 299 | snprintf(str, 50, "align-content:%s; ", kFlexAlignString[align_content_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:305:40: warning: '%s' directive output may be truncated writing up to 39 bytes into a region of size 34 [-Wformat-truncation=] [INFO] [stderr] warning: taitank-safe@0.0.6: 305 | snprintf(str, 50, "justify-content:%s; ", kFlexAlignString[justify_content_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ^~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:305:13: note: 'snprintf' output between 19 and 58 bytes into a destination of size 50 [INFO] [stderr] warning: taitank-safe@0.0.6: 305 | snprintf(str, 50, "justify-content:%s; ", kFlexAlignString[justify_content_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_node.cc: In member function 'void taitank::TaitankNode::LayoutFixedItems(taitank::TaitankSizeMode, void*)': [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_node.cc:1398:52: warning: unused parameter 'measure_mode' [-Wunused-parameter] [INFO] [stderr] warning: taitank-safe@0.0.6: 1398 | void TaitankNode::LayoutFixedItems(TaitankSizeMode measure_mode, void* layout_context) { [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `taitank_safe` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/safe.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 one of `!`, `+`, `::`, `;`, `where`, or `{`, found keyword `unsafe` [INFO] [stderr] --> src/safe.rs:8:62 [INFO] [stderr] | [INFO] [stderr] 4 | unsafe extern "C++" { [INFO] [stderr] | - while parsing this item list starting here [INFO] [stderr] ... [INFO] [stderr] 8 | fn node_create() -> UniquePtrunsafe ; [INFO] [stderr] | ^^^^^^ expected one of `!`, `+`, `::`, `;`, `where`, or `{` [INFO] [stderr] ... [INFO] [stderr] 40 | } [INFO] [stderr] | - the item list ends here [INFO] [stderr] [INFO] [stderr] error: expected `;` [INFO] [stderr] --> src/safe.rs:8:62 [INFO] [stderr] | [INFO] [stderr] 8 | fn node_create() -> UniquePtrunsafe ; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `safe::ffi` [INFO] [stderr] --> src/lib.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use safe::ffi; [INFO] [stderr] | ^^^^^^^^^ no `ffi` in `safe` [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these modules instead [INFO] [stderr] | [INFO] [stderr] 5 | use std::ffi; [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] 5 | use std::os::unix::ffi; [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~ [INFO] [stderr] 5 | use core::ffi; [INFO] [stderr] | ~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | ($a:expr, $b:expr, $c:expr, $d: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] 13 | ($a:expr_2021, $b:expr, $c:expr, $d: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/macros.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | ($a:expr, $b:expr, $c:expr, $d: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] 13 | ($a:expr, $b:expr_2021, $c:expr, $d: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/macros.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | ($a:expr, $b:expr, $c:expr, $d: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] 13 | ($a:expr, $b:expr, $c:expr_2021, $d: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/macros.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | ($a:expr, $b:expr, $c:expr, $d: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] 13 | ($a:expr, $b:expr, $c:expr, $d:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | ($a:expr, $b:expr, $c: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] 17 | ($a:expr_2021, $b:expr, $c: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/macros.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | ($a:expr, $b:expr, $c: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] 17 | ($a:expr, $b:expr_2021, $c: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/macros.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | ($a:expr, $b:expr, $c: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] 17 | ($a:expr, $b:expr, $c:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | ($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] 21 | ($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/macros.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | ($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] 21 | ($a:expr, $b:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | ($a: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] 25 | ($a:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:8:55 [INFO] [stdout] | [INFO] [stdout] 8 | fn node_create() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:9:72 [INFO] [stdout] | [INFO] [stdout] 9 | fn set_width(node: &mut UniquePtr, width: f64); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:10:74 [INFO] [stdout] | [INFO] [stdout] 10 | fn set_height(node: &mut UniquePtr, height: f64); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:11:80 [INFO] [stdout] | [INFO] [stdout] 11 | fn set_direction(node: &mut UniquePtr, direction: i32); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:12:70 [INFO] [stdout] | [INFO] [stdout] 12 | fn set_flex(node: &mut UniquePtr, flex: f64); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:13:80 [INFO] [stdout] | [INFO] [stdout] 13 | fn set_flex_grow(node: &mut UniquePtr, flex_grow: f64); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:14:84 [INFO] [stdout] | [INFO] [stdout] 14 | fn set_flex_shrink(node: &mut UniquePtr, flex_shrink: f64); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:15:82 [INFO] [stdout] | [INFO] [stdout] 15 | fn set_flex_basis(node: &mut UniquePtr, flex_basis: f64); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:16:90 [INFO] [stdout] | [INFO] [stdout] 16 | fn set_flex_direction(node: &mut UniquePtr, flex_direction: i32); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:17:85 [INFO] [stdout] | [INFO] [stdout] 17 | fn set_flex_wrap(node: &mut UniquePtr, flex_wrap_node: i32); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:18:83 [INFO] [stdout] | [INFO] [stdout] 18 | fn set_align_items(node: &mut UniquePtr, flex_align: i32); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:19:80 [INFO] [stdout] | [INFO] [stdout] 19 | fn set_min_width(node: &mut UniquePtr, min_width: f64); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:20:82 [INFO] [stdout] | [INFO] [stdout] 20 | fn set_max_height(node: &mut UniquePtr, max_height: f64); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:21:93 [INFO] [stdout] | [INFO] [stdout] 21 | fn set_margin(node: &mut UniquePtr, css_direction: i32, value: f64); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:22:85 [INFO] [stdout] | [INFO] [stdout] 22 | fn set_align_content(node: &mut UniquePtr, flex_align: i32); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:23:87 [INFO] [stdout] | [INFO] [stdout] 23 | fn set_justify_content(node: &mut UniquePtr, flex_align: i32); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | ); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | ); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:35:63 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_width(node: &UniquePtr) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:36:64 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_height(node: &UniquePtr) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:37:62 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_left(node: &UniquePtr) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:38:61 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_top(node: &UniquePtr) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:39:52 [INFO] [stdout] | [INFO] [stdout] 39 | fn print(node: &UniquePtr); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | fn node_create() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `taitank_safe` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/safe.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 one of `!`, `+`, `::`, `;`, `where`, or `{`, found keyword `unsafe` [INFO] [stderr] --> src/safe.rs:8:62 [INFO] [stderr] | [INFO] [stderr] 4 | unsafe extern "C++" { [INFO] [stderr] | - while parsing this item list starting here [INFO] [stderr] ... [INFO] [stderr] 8 | fn node_create() -> UniquePtrunsafe ; [INFO] [stderr] | ^^^^^^ expected one of `!`, `+`, `::`, `;`, `where`, or `{` [INFO] [stderr] ... [INFO] [stderr] 40 | } [INFO] [stderr] | - the item list ends here [INFO] [stderr] [INFO] [stderr] error: expected `;` [INFO] [stderr] --> src/safe.rs:8:62 [INFO] [stderr] | [INFO] [stderr] 8 | fn node_create() -> UniquePtrunsafe ; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `safe::ffi` [INFO] [stderr] --> src/lib.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use safe::ffi; [INFO] [stderr] | ^^^^^^^^^ no `ffi` in `safe` [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these modules instead [INFO] [stderr] | [INFO] [stderr] 5 | use std::ffi; [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] 5 | use std::os::unix::ffi; [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~ [INFO] [stderr] 5 | use core::ffi; [INFO] [stderr] | ~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | ($a:expr, $b:expr, $c:expr, $d: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] 13 | ($a:expr_2021, $b:expr, $c:expr, $d: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/macros.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | ($a:expr, $b:expr, $c:expr, $d: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] 13 | ($a:expr, $b:expr_2021, $c:expr, $d: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/macros.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | ($a:expr, $b:expr, $c:expr, $d: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] 13 | ($a:expr, $b:expr, $c:expr_2021, $d: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/macros.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | ($a:expr, $b:expr, $c:expr, $d: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] 13 | ($a:expr, $b:expr, $c:expr, $d:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | ($a:expr, $b:expr, $c: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] 17 | ($a:expr_2021, $b:expr, $c: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/macros.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | ($a:expr, $b:expr, $c: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] 17 | ($a:expr, $b:expr_2021, $c: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/macros.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | ($a:expr, $b:expr, $c: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] 17 | ($a:expr, $b:expr, $c:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | ($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] 21 | ($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/macros.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | ($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] 21 | ($a:expr, $b:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | ($a: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] 25 | ($a:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:8:55 [INFO] [stdout] | [INFO] [stdout] 8 | fn node_create() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:9:72 [INFO] [stdout] | [INFO] [stdout] 9 | fn set_width(node: &mut UniquePtr, width: f64); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:10:74 [INFO] [stdout] | [INFO] [stdout] 10 | fn set_height(node: &mut UniquePtr, height: f64); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:11:80 [INFO] [stdout] | [INFO] [stdout] 11 | fn set_direction(node: &mut UniquePtr, direction: i32); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:12:70 [INFO] [stdout] | [INFO] [stdout] 12 | fn set_flex(node: &mut UniquePtr, flex: f64); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:13:80 [INFO] [stdout] | [INFO] [stdout] 13 | fn set_flex_grow(node: &mut UniquePtr, flex_grow: f64); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:14:84 [INFO] [stdout] | [INFO] [stdout] 14 | fn set_flex_shrink(node: &mut UniquePtr, flex_shrink: f64); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:15:82 [INFO] [stdout] | [INFO] [stdout] 15 | fn set_flex_basis(node: &mut UniquePtr, flex_basis: f64); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:16:90 [INFO] [stdout] | [INFO] [stdout] 16 | fn set_flex_direction(node: &mut UniquePtr, flex_direction: i32); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:17:85 [INFO] [stdout] | [INFO] [stdout] 17 | fn set_flex_wrap(node: &mut UniquePtr, flex_wrap_node: i32); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:18:83 [INFO] [stdout] | [INFO] [stdout] 18 | fn set_align_items(node: &mut UniquePtr, flex_align: i32); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:19:80 [INFO] [stdout] | [INFO] [stdout] 19 | fn set_min_width(node: &mut UniquePtr, min_width: f64); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:20:82 [INFO] [stdout] | [INFO] [stdout] 20 | fn set_max_height(node: &mut UniquePtr, max_height: f64); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:21:93 [INFO] [stdout] | [INFO] [stdout] 21 | fn set_margin(node: &mut UniquePtr, css_direction: i32, value: f64); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:22:85 [INFO] [stdout] | [INFO] [stdout] 22 | fn set_align_content(node: &mut UniquePtr, flex_align: i32); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:23:87 [INFO] [stdout] | [INFO] [stdout] 23 | fn set_justify_content(node: &mut UniquePtr, flex_align: i32); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | ); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | ); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:35:63 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_width(node: &UniquePtr) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:36:64 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_height(node: &UniquePtr) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:37:62 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_left(node: &UniquePtr) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:38:61 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_top(node: &UniquePtr) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:39:52 [INFO] [stdout] | [INFO] [stdout] 39 | fn print(node: &UniquePtr); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/safe.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | fn node_create() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.92s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling taitank-safe v0.0.6 (/tmp/fixit) [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc: In member function 'std::string taitank::TaitankStyle::toString()': [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:287:37: warning: '; ' directive output may be truncated writing 2 bytes into a region of size between 0 and 39 [-Wformat-truncation=] [INFO] [stderr] warning: taitank-safe@0.0.6: 287 | snprintf(str, 50, "align-self:%s; ", kFlexAlignString[align_self_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ^~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:287:13: note: 'snprintf' output between 14 and 53 bytes into a destination of size 50 [INFO] [stderr] warning: taitank-safe@0.0.6: 287 | snprintf(str, 50, "align-self:%s; ", kFlexAlignString[align_self_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:293:36: warning: '%s' directive output may be truncated writing up to 39 bytes into a region of size 38 [-Wformat-truncation=] [INFO] [stderr] warning: taitank-safe@0.0.6: 293 | snprintf(str, 50, "align-items:%s; ", kFlexAlignString[align_items_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ^~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:293:13: note: 'snprintf' output between 15 and 54 bytes into a destination of size 50 [INFO] [stderr] warning: taitank-safe@0.0.6: 293 | snprintf(str, 50, "align-items:%s; ", kFlexAlignString[align_items_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:299:38: warning: '%s' directive output may be truncated writing up to 39 bytes into a region of size 36 [-Wformat-truncation=] [INFO] [stderr] warning: taitank-safe@0.0.6: 299 | snprintf(str, 50, "align-content:%s; ", kFlexAlignString[align_content_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ^~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:299:13: note: 'snprintf' output between 17 and 56 bytes into a destination of size 50 [INFO] [stderr] warning: taitank-safe@0.0.6: 299 | snprintf(str, 50, "align-content:%s; ", kFlexAlignString[align_content_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:305:40: warning: '%s' directive output may be truncated writing up to 39 bytes into a region of size 34 [-Wformat-truncation=] [INFO] [stderr] warning: taitank-safe@0.0.6: 305 | snprintf(str, 50, "justify-content:%s; ", kFlexAlignString[justify_content_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ^~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:305:13: note: 'snprintf' output between 19 and 58 bytes into a destination of size 50 [INFO] [stderr] warning: taitank-safe@0.0.6: 305 | snprintf(str, 50, "justify-content:%s; ", kFlexAlignString[justify_content_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_node.cc: In member function 'void taitank::TaitankNode::LayoutFixedItems(taitank::TaitankSizeMode, void*)': [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_node.cc:1398:52: warning: unused parameter 'measure_mode' [-Wunused-parameter] [INFO] [stderr] warning: taitank-safe@0.0.6: 1398 | void TaitankNode::LayoutFixedItems(TaitankSizeMode measure_mode, void* layout_context) { [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:8:55 [INFO] [stdout] | [INFO] [stdout] 8 | fn node_create() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:9:72 [INFO] [stdout] | [INFO] [stdout] 9 | fn set_width(node: &mut UniquePtr, width: f64); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:10:74 [INFO] [stdout] | [INFO] [stdout] 10 | fn set_height(node: &mut UniquePtr, height: f64); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:11:80 [INFO] [stdout] | [INFO] [stdout] 11 | fn set_direction(node: &mut UniquePtr, direction: i32); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:12:70 [INFO] [stdout] | [INFO] [stdout] 12 | fn set_flex(node: &mut UniquePtr, flex: f64); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:13:80 [INFO] [stdout] | [INFO] [stdout] 13 | fn set_flex_grow(node: &mut UniquePtr, flex_grow: f64); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:14:84 [INFO] [stdout] | [INFO] [stdout] 14 | fn set_flex_shrink(node: &mut UniquePtr, flex_shrink: f64); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:15:82 [INFO] [stdout] | [INFO] [stdout] 15 | fn set_flex_basis(node: &mut UniquePtr, flex_basis: f64); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:16:90 [INFO] [stdout] | [INFO] [stdout] 16 | fn set_flex_direction(node: &mut UniquePtr, flex_direction: i32); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:17:85 [INFO] [stdout] | [INFO] [stdout] 17 | fn set_flex_wrap(node: &mut UniquePtr, flex_wrap_node: i32); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:18:83 [INFO] [stdout] | [INFO] [stdout] 18 | fn set_align_items(node: &mut UniquePtr, flex_align: i32); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:19:80 [INFO] [stdout] | [INFO] [stdout] 19 | fn set_min_width(node: &mut UniquePtr, min_width: f64); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:20:82 [INFO] [stdout] | [INFO] [stdout] 20 | fn set_max_height(node: &mut UniquePtr, max_height: f64); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:21:93 [INFO] [stdout] | [INFO] [stdout] 21 | fn set_margin(node: &mut UniquePtr, css_direction: i32, value: f64); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:22:85 [INFO] [stdout] | [INFO] [stdout] 22 | fn set_align_content(node: &mut UniquePtr, flex_align: i32); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:23:87 [INFO] [stdout] | [INFO] [stdout] 23 | fn set_justify_content(node: &mut UniquePtr, flex_align: i32); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:35:63 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_width(node: &UniquePtr) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:36:64 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_height(node: &UniquePtr) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:37:62 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_left(node: &UniquePtr) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:38:61 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_top(node: &UniquePtr) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:39:52 [INFO] [stdout] | [INFO] [stdout] 39 | fn print(node: &UniquePtr); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | fn node_create() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:8:55 [INFO] [stdout] | [INFO] [stdout] 8 | fn node_create() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:9:72 [INFO] [stdout] | [INFO] [stdout] 9 | fn set_width(node: &mut UniquePtr, width: f64); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:10:74 [INFO] [stdout] | [INFO] [stdout] 10 | fn set_height(node: &mut UniquePtr, height: f64); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:11:80 [INFO] [stdout] | [INFO] [stdout] 11 | fn set_direction(node: &mut UniquePtr, direction: i32); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:12:70 [INFO] [stdout] | [INFO] [stdout] 12 | fn set_flex(node: &mut UniquePtr, flex: f64); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:13:80 [INFO] [stdout] | [INFO] [stdout] 13 | fn set_flex_grow(node: &mut UniquePtr, flex_grow: f64); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:14:84 [INFO] [stdout] | [INFO] [stdout] 14 | fn set_flex_shrink(node: &mut UniquePtr, flex_shrink: f64); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:15:82 [INFO] [stdout] | [INFO] [stdout] 15 | fn set_flex_basis(node: &mut UniquePtr, flex_basis: f64); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:16:90 [INFO] [stdout] | [INFO] [stdout] 16 | fn set_flex_direction(node: &mut UniquePtr, flex_direction: i32); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:17:85 [INFO] [stdout] | [INFO] [stdout] 17 | fn set_flex_wrap(node: &mut UniquePtr, flex_wrap_node: i32); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:18:83 [INFO] [stdout] | [INFO] [stdout] 18 | fn set_align_items(node: &mut UniquePtr, flex_align: i32); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:19:80 [INFO] [stdout] | [INFO] [stdout] 19 | fn set_min_width(node: &mut UniquePtr, min_width: f64); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:20:82 [INFO] [stdout] | [INFO] [stdout] 20 | fn set_max_height(node: &mut UniquePtr, max_height: f64); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:21:93 [INFO] [stdout] | [INFO] [stdout] 21 | fn set_margin(node: &mut UniquePtr, css_direction: i32, value: f64); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:22:85 [INFO] [stdout] | [INFO] [stdout] 22 | fn set_align_content(node: &mut UniquePtr, flex_align: i32); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:23:87 [INFO] [stdout] | [INFO] [stdout] 23 | fn set_justify_content(node: &mut UniquePtr, flex_align: i32); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:35:63 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_width(node: &UniquePtr) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:36:64 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_height(node: &UniquePtr) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:37:62 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_left(node: &UniquePtr) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:38:61 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_top(node: &UniquePtr) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:39:52 [INFO] [stdout] | [INFO] [stdout] 39 | fn print(node: &UniquePtr); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/safe.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | fn node_create() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc: In member function 'std::string taitank::TaitankStyle::toString()': [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:287:37: warning: '; ' directive output may be truncated writing 2 bytes into a region of size between 0 and 39 [-Wformat-truncation=] [INFO] [stderr] warning: taitank-safe@0.0.6: 287 | snprintf(str, 50, "align-self:%s; ", kFlexAlignString[align_self_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ^~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:287:13: note: 'snprintf' output between 14 and 53 bytes into a destination of size 50 [INFO] [stderr] warning: taitank-safe@0.0.6: 287 | snprintf(str, 50, "align-self:%s; ", kFlexAlignString[align_self_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:293:36: warning: '%s' directive output may be truncated writing up to 39 bytes into a region of size 38 [-Wformat-truncation=] [INFO] [stderr] warning: taitank-safe@0.0.6: 293 | snprintf(str, 50, "align-items:%s; ", kFlexAlignString[align_items_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ^~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:293:13: note: 'snprintf' output between 15 and 54 bytes into a destination of size 50 [INFO] [stderr] warning: taitank-safe@0.0.6: 293 | snprintf(str, 50, "align-items:%s; ", kFlexAlignString[align_items_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:299:38: warning: '%s' directive output may be truncated writing up to 39 bytes into a region of size 36 [-Wformat-truncation=] [INFO] [stderr] warning: taitank-safe@0.0.6: 299 | snprintf(str, 50, "align-content:%s; ", kFlexAlignString[align_content_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ^~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:299:13: note: 'snprintf' output between 17 and 56 bytes into a destination of size 50 [INFO] [stderr] warning: taitank-safe@0.0.6: 299 | snprintf(str, 50, "align-content:%s; ", kFlexAlignString[align_content_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:305:40: warning: '%s' directive output may be truncated writing up to 39 bytes into a region of size 34 [-Wformat-truncation=] [INFO] [stderr] warning: taitank-safe@0.0.6: 305 | snprintf(str, 50, "justify-content:%s; ", kFlexAlignString[justify_content_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ^~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:305:13: note: 'snprintf' output between 19 and 58 bytes into a destination of size 50 [INFO] [stderr] warning: taitank-safe@0.0.6: 305 | snprintf(str, 50, "justify-content:%s; ", kFlexAlignString[justify_content_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_node.cc: In member function 'void taitank::TaitankNode::LayoutFixedItems(taitank::TaitankSizeMode, void*)': [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_node.cc:1398:52: warning: unused parameter 'measure_mode' [-Wunused-parameter] [INFO] [stderr] warning: taitank-safe@0.0.6: 1398 | void TaitankNode::LayoutFixedItems(TaitankSizeMode measure_mode, void* layout_context) { [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [INFO] [stderr] error: could not compile `taitank-safe` (lib) due to 24 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc: In member function 'std::string taitank::TaitankStyle::toString()': [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:287:37: warning: '; ' directive output may be truncated writing 2 bytes into a region of size between 0 and 39 [-Wformat-truncation=] [INFO] [stderr] warning: taitank-safe@0.0.6: 287 | snprintf(str, 50, "align-self:%s; ", kFlexAlignString[align_self_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ^~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:287:13: note: 'snprintf' output between 14 and 53 bytes into a destination of size 50 [INFO] [stderr] warning: taitank-safe@0.0.6: 287 | snprintf(str, 50, "align-self:%s; ", kFlexAlignString[align_self_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:293:36: warning: '%s' directive output may be truncated writing up to 39 bytes into a region of size 38 [-Wformat-truncation=] [INFO] [stderr] warning: taitank-safe@0.0.6: 293 | snprintf(str, 50, "align-items:%s; ", kFlexAlignString[align_items_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ^~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:293:13: note: 'snprintf' output between 15 and 54 bytes into a destination of size 50 [INFO] [stderr] warning: taitank-safe@0.0.6: 293 | snprintf(str, 50, "align-items:%s; ", kFlexAlignString[align_items_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:299:38: warning: '%s' directive output may be truncated writing up to 39 bytes into a region of size 36 [-Wformat-truncation=] [INFO] [stderr] warning: taitank-safe@0.0.6: 299 | snprintf(str, 50, "align-content:%s; ", kFlexAlignString[align_content_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ^~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:299:13: note: 'snprintf' output between 17 and 56 bytes into a destination of size 50 [INFO] [stderr] warning: taitank-safe@0.0.6: 299 | snprintf(str, 50, "align-content:%s; ", kFlexAlignString[align_content_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:305:40: warning: '%s' directive output may be truncated writing up to 39 bytes into a region of size 34 [-Wformat-truncation=] [INFO] [stderr] warning: taitank-safe@0.0.6: 305 | snprintf(str, 50, "justify-content:%s; ", kFlexAlignString[justify_content_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ^~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_style.cc:305:13: note: 'snprintf' output between 19 and 58 bytes into a destination of size 50 [INFO] [stderr] warning: taitank-safe@0.0.6: 305 | snprintf(str, 50, "justify-content:%s; ", kFlexAlignString[justify_content_]); [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_node.cc: In member function 'void taitank::TaitankNode::LayoutFixedItems(taitank::TaitankSizeMode, void*)': [INFO] [stderr] warning: taitank-safe@0.0.6: include/taitank/src/taitank_node.cc:1398:52: warning: unused parameter 'measure_mode' [-Wunused-parameter] [INFO] [stderr] warning: taitank-safe@0.0.6: 1398 | void TaitankNode::LayoutFixedItems(TaitankSizeMode measure_mode, void* layout_context) { [INFO] [stderr] warning: taitank-safe@0.0.6: | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [INFO] [stderr] error: could not compile `taitank-safe` (lib test) due to 24 previous errors [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" "ef7219a0518e75d12be060299fcdfe331ff23c81714822a7df5c3233435a68e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef7219a0518e75d12be060299fcdfe331ff23c81714822a7df5c3233435a68e2", kill_on_drop: false }` [INFO] [stdout] ef7219a0518e75d12be060299fcdfe331ff23c81714822a7df5c3233435a68e2