[INFO] fetching crate pen-ffi 0.10.23... [INFO] checking pen-ffi-0.10.23 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate pen-ffi 0.10.23 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate pen-ffi 0.10.23 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pen-ffi 0.10.23 [INFO] finished tweaking crates.io crate pen-ffi 0.10.23 [INFO] tweaked toml for crates.io crate pen-ffi 0.10.23 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 60 packages to latest compatible versions [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bce2616615fd6610bd9e4cd3de444371b4d9dd27371ce82947482af29049b04 [INFO] running `Command { std: "docker" "start" "-a" "1bce2616615fd6610bd9e4cd3de444371b4d9dd27371ce82947482af29049b04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bce2616615fd6610bd9e4cd3de444371b4d9dd27371ce82947482af29049b04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bce2616615fd6610bd9e4cd3de444371b4d9dd27371ce82947482af29049b04", kill_on_drop: false }` [INFO] [stdout] 1bce2616615fd6610bd9e4cd3de444371b4d9dd27371ce82947482af29049b04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96640befdcbb40af8d1e2d8d51449d7dd2fec0315ac880b83cf51869ea6625ae [INFO] running `Command { std: "docker" "start" "-a" "96640befdcbb40af8d1e2d8d51449d7dd2fec0315ac880b83cf51869ea6625ae", 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 (4 fixes) [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling pen-ffi-macro v0.5.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking pen-ffi v0.10.23 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `pen_ffi` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/future/call.rs [INFO] [stderr] * src/future/call_function.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/future/call.rs:4:59 [INFO] [stderr] | [INFO] [stderr] 4 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $closure:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/future/call.rs:7:59 [INFO] [stderr] | [INFO] [stderr] 7 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $closure:expr_2021, $($argument:expr_2021),* $(,)?) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/future/call.rs:7:81 [INFO] [stderr] | [INFO] [stderr] 7 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $closure:expr_2021, $($argument:expr_2021),* $(,)?) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/future/call_function.rs:3:59 [INFO] [stderr] | [INFO] [stderr] 3 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $function:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/future/call_function.rs:6:59 [INFO] [stderr] | [INFO] [stderr] 6 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $function:expr_2021, $($argument:expr_2021),* $(,)?) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/future/call_function.rs:6:82 [INFO] [stderr] | [INFO] [stderr] 6 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $function:expr_2021, $($argument:expr_2021),* $(,)?) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | import!(pen_ffi_any_is_boolean, fn(any: Any) -> Boolean); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_any_is_error, fn(any: Any) -> Boolean); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | import!(pen_ffi_any_is_none, fn(any: Any) -> Boolean); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | import!(pen_ffi_any_is_list, fn(any: Any) -> Boolean); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | import!(pen_ffi_any_is_number, fn(any: Any) -> Boolean); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | import!(pen_ffi_any_is_string, fn(any: Any) -> Boolean); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | import!(pen_ffi_any_to_boolean, fn(any: Any) -> Boolean); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | import!(pen_ffi_any_to_error, fn(any: Any) -> Error); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | import!(pen_ffi_any_to_list, fn(any: Any) -> List); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | import!(pen_ffi_any_to_number, fn(any: Any) -> Number); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | import!(pen_ffi_any_to_string, fn(any: Any) -> ByteString); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/boolean.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_boolean_to_any")] [INFO] [stdout] | ------------------------------------------------------------------------------- in this procedural macro expansion [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: this warning originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_error_to_any")] [INFO] [stdout] | ----------------------------------------------------------------------------- in this procedural macro expansion [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: this warning originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/future/call.rs:4:68 [INFO] [stdout] | [INFO] [stdout] 4 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $closure: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] 4 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $closure: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/future/call.rs:7:68 [INFO] [stdout] | [INFO] [stdout] 7 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $closure:expr, $($argument: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] 7 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $closure:expr_2021, $($argument: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/future/call.rs:7:86 [INFO] [stdout] | [INFO] [stdout] 7 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $closure:expr, $($argument: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] 7 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $closure:expr, $($argument: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/future/call_function.rs:3:69 [INFO] [stdout] | [INFO] [stdout] 3 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $function: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] 3 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $function: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/future/call_function.rs:6:69 [INFO] [stdout] | [INFO] [stdout] 6 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $function:expr, $($argument: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] 6 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $function:expr_2021, $($argument: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/future/call_function.rs:6:87 [INFO] [stdout] | [INFO] [stdout] 6 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $function:expr, $($argument: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] 6 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $function:expr, $($argument:expr_2021),* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 11 | | // It is fine for AsyncStack to be FFI-unsafe because the compiler touches only its Stack part. [INFO] [stdout] 12 | | #[allow(improper_ctypes)] [INFO] [stdout] 13 | | fn $name( [INFO] [stdout] ... | [INFO] [stdout] 17 | | ); [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/future/stream.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_list_first_rest, async fn(list: List) -> Arc); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/list.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | import!(pen_ffi_list_create, fn() -> List); [INFO] [stdout] | ------------------------------------------ in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/list.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_list_lazy, fn(xs: Closure) -> List); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/list.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | import!(pen_ffi_list_prepend, fn(x: Any, xs: List) -> List); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/list.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_list_to_any")] [INFO] [stdout] | ---------------------------------------------------------------------------- in this procedural macro expansion [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: this warning originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/none.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_none_to_any")] [INFO] [stdout] | ---------------------------------------------------------------------------- in this procedural macro expansion [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: this warning originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/number.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_number_to_any")] [INFO] [stdout] | ------------------------------------------------------------------------------ in this procedural macro expansion [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: this warning originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/string.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_string_to_any")] [INFO] [stdout] | ------------------------------------------------------------------------------ in this procedural macro expansion [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: this warning originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/from_closure.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(value) = stack.resolved_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/from_closure.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 33 ~ match stack.resolved_value() { Some(value) => { [INFO] [stdout] 34 | value.into() [INFO] [stdout] 35 ~ } _ => { [INFO] [stdout] 36 | trampoline = Some(stack.resume().unwrap()); [INFO] [stdout] 37 | Poll::Pending [INFO] [stdout] 38 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/from_function.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | if let Some(value) = stack.resolved_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/from_function.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 22 ~ match stack.resolved_value() { Some(value) => { [INFO] [stdout] 23 | value.into() [INFO] [stdout] 24 ~ } _ => { [INFO] [stdout] 25 | trampoline = Some(stack.resume().unwrap()); [INFO] [stdout] 26 | Poll::Pending [INFO] [stdout] 27 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | if let Some(initialize) = initialize.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/future/stream.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_list_first_rest, async fn(list: List) -> Arc); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | } else if let Some((step, continue_)) = trampoline.take() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/future/stream.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_list_first_rest, async fn(list: List) -> Arc); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `$crate::call_function` which comes from the expansion of the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(value) = stack.resolved_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/future/stream.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_list_first_rest, async fn(list: List) -> Arc); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/future/stream.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_list_first_rest, async fn(list: List) -> Arc); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `$crate::call_function` which comes from the expansion of the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `pen_ffi` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/future/call.rs [INFO] [stderr] * src/future/call_function.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/future/call.rs:4:59 [INFO] [stderr] | [INFO] [stderr] 4 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $closure:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/future/call.rs:7:59 [INFO] [stderr] | [INFO] [stderr] 7 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $closure:expr_2021, $($argument:expr_2021),* $(,)?) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/future/call.rs:7:81 [INFO] [stderr] | [INFO] [stderr] 7 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $closure:expr_2021, $($argument:expr_2021),* $(,)?) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/future/call_function.rs:3:59 [INFO] [stderr] | [INFO] [stderr] 3 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $function:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/future/call_function.rs:6:59 [INFO] [stderr] | [INFO] [stderr] 6 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $function:expr_2021, $($argument:expr_2021),* $(,)?) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/future/call_function.rs:6:82 [INFO] [stderr] | [INFO] [stderr] 6 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $function:expr_2021, $($argument:expr_2021),* $(,)?) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | import!(pen_ffi_any_is_boolean, fn(any: Any) -> Boolean); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_any_is_error, fn(any: Any) -> Boolean); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | import!(pen_ffi_any_is_none, fn(any: Any) -> Boolean); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | import!(pen_ffi_any_is_list, fn(any: Any) -> Boolean); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | import!(pen_ffi_any_is_number, fn(any: Any) -> Boolean); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | import!(pen_ffi_any_is_string, fn(any: Any) -> Boolean); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | import!(pen_ffi_any_to_boolean, fn(any: Any) -> Boolean); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | import!(pen_ffi_any_to_error, fn(any: Any) -> Error); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | import!(pen_ffi_any_to_list, fn(any: Any) -> List); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | import!(pen_ffi_any_to_number, fn(any: Any) -> Number); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | import!(pen_ffi_any_to_string, fn(any: Any) -> ByteString); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/boolean.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_boolean_to_any")] [INFO] [stdout] | ------------------------------------------------------------------------------- in this procedural macro expansion [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: this warning originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/async_stack.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 208 | | fn _test_async_stack_ffi_safety(_: &mut Stack); [INFO] [stdout] 209 | | } [INFO] [stdout] | |_____^ [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/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_error_to_any")] [INFO] [stdout] | ----------------------------------------------------------------------------- in this procedural macro expansion [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: this warning originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/future/call.rs:4:68 [INFO] [stdout] | [INFO] [stdout] 4 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $closure: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] 4 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $closure: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/future/call.rs:7:68 [INFO] [stdout] | [INFO] [stdout] 7 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $closure:expr, $($argument: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] 7 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $closure:expr_2021, $($argument: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/future/call.rs:7:86 [INFO] [stdout] | [INFO] [stdout] 7 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $closure:expr, $($argument: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] 7 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $closure:expr, $($argument: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/future/call_function.rs:3:69 [INFO] [stdout] | [INFO] [stdout] 3 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $function: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] 3 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $function: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/future/call_function.rs:6:69 [INFO] [stdout] | [INFO] [stdout] 6 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $function:expr, $($argument: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] 6 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $function:expr_2021, $($argument: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/future/call_function.rs:6:87 [INFO] [stdout] | [INFO] [stdout] 6 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $function:expr, $($argument: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] 6 | (fn($($argument_type:ty),* $(,)?) -> $result_type:ty, $function:expr, $($argument:expr_2021),* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 11 | | // It is fine for AsyncStack to be FFI-unsafe because the compiler touches only its Stack part. [INFO] [stdout] 12 | | #[allow(improper_ctypes)] [INFO] [stdout] 13 | | fn $name( [INFO] [stdout] ... | [INFO] [stdout] 17 | | ); [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/future/stream.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_list_first_rest, async fn(list: List) -> Arc); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/list.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | import!(pen_ffi_list_create, fn() -> List); [INFO] [stdout] | ------------------------------------------ in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/list.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_list_lazy, fn(xs: Closure) -> List); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/list.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | import!(pen_ffi_list_prepend, fn(x: Any, xs: List) -> List); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/list.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_list_to_any")] [INFO] [stdout] | ---------------------------------------------------------------------------- in this procedural macro expansion [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: this warning originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/none.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_none_to_any")] [INFO] [stdout] | ---------------------------------------------------------------------------- in this procedural macro expansion [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: this warning originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/number.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_number_to_any")] [INFO] [stdout] | ------------------------------------------------------------------------------ in this procedural macro expansion [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: this warning originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/string.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_string_to_any")] [INFO] [stdout] | ------------------------------------------------------------------------------ in this procedural macro expansion [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: this warning originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/call.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(value) = stack.resolved_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 83 | / call!( [INFO] [stdout] 84 | | fn() -> Number, [INFO] [stdout] 85 | | Closure::new(thunk_entry_function as *const u8, value), [INFO] [stdout] 86 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/call.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 83 | / call!( [INFO] [stdout] 84 | | fn() -> Number, [INFO] [stdout] 85 | | Closure::new(thunk_entry_function as *const u8, value), [INFO] [stdout] 86 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/call.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(value) = stack.resolved_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 106 | / call!( [INFO] [stdout] 107 | | fn(Number) -> Number, [INFO] [stdout] 108 | | Closure::new(closure_entry_function as *const u8, ()), [INFO] [stdout] 109 | | value.into(), [INFO] [stdout] 110 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/call.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 106 | / call!( [INFO] [stdout] 107 | | fn(Number) -> Number, [INFO] [stdout] 108 | | Closure::new(closure_entry_function as *const u8, ()), [INFO] [stdout] 109 | | value.into(), [INFO] [stdout] 110 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/call.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(value) = stack.resolved_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 129 | / call!( [INFO] [stdout] 130 | | fn(Number, Number) -> Number, [INFO] [stdout] 131 | | Closure::new(closure_2_arity_entry_function as *const u8, ()), [INFO] [stdout] 132 | | 40.0.into(), [INFO] [stdout] 133 | | 2.0.into(), [INFO] [stdout] 134 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/call.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 129 | / call!( [INFO] [stdout] 130 | | fn(Number, Number) -> Number, [INFO] [stdout] 131 | | Closure::new(closure_2_arity_entry_function as *const u8, ()), [INFO] [stdout] 132 | | 40.0.into(), [INFO] [stdout] 133 | | 2.0.into(), [INFO] [stdout] 134 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/call.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(value) = stack.resolved_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 163 | / call!( [INFO] [stdout] 164 | | fn() -> Number, [INFO] [stdout] 165 | | Closure::new(closure_entry_function_with_suspension as *const u8, ()), [INFO] [stdout] 166 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/call.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 163 | / call!( [INFO] [stdout] 164 | | fn() -> Number, [INFO] [stdout] 165 | | Closure::new(closure_entry_function_with_suspension as *const u8, ()), [INFO] [stdout] 166 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/call.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(value) = stack.resolved_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 186 | / call!( [INFO] [stdout] 187 | | fn(ByteString) -> ByteString, [INFO] [stdout] 188 | | Closure::new(closure_entry_function_with_string as *const u8, ()), [INFO] [stdout] 189 | | value.into(), [INFO] [stdout] 190 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/call.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 186 | / call!( [INFO] [stdout] 187 | | fn(ByteString) -> ByteString, [INFO] [stdout] 188 | | Closure::new(closure_entry_function_with_string as *const u8, ()), [INFO] [stdout] 189 | | value.into(), [INFO] [stdout] 190 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/call.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(value) = stack.resolved_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 201 | / call!( [INFO] [stdout] 202 | | fn(ByteString) -> ByteString, [INFO] [stdout] 203 | | Closure::new(closure_entry_function_with_string as *const u8, ()), [INFO] [stdout] 204 | | value.clone(), [INFO] [stdout] 205 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/call.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 201 | / call!( [INFO] [stdout] 202 | | fn(ByteString) -> ByteString, [INFO] [stdout] 203 | | Closure::new(closure_entry_function_with_string as *const u8, ()), [INFO] [stdout] 204 | | value.clone(), [INFO] [stdout] 205 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(value) = stack.resolved_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 68 | call_function!(fn() -> Number, get_number,).await, [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 68 | call_function!(fn() -> Number, get_number,).await, [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `call_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(value) = stack.resolved_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 86 | call_function!(fn(Number) -> Number, pass_through_number, value.into()).await, [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 86 | call_function!(fn(Number) -> Number, pass_through_number, value.into()).await, [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `call_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(value) = stack.resolved_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 103 | / call_function!( [INFO] [stdout] 104 | | fn(Number, Number) -> Number, [INFO] [stdout] 105 | | add_numbers, [INFO] [stdout] 106 | | 40.0.into(), [INFO] [stdout] 107 | | 2.0.into(), [INFO] [stdout] 108 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 103 | / call_function!( [INFO] [stdout] 104 | | fn(Number, Number) -> Number, [INFO] [stdout] 105 | | add_numbers, [INFO] [stdout] 106 | | 40.0.into(), [INFO] [stdout] 107 | | 2.0.into(), [INFO] [stdout] 108 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `call_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(value) = stack.resolved_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 131 | call_function!(fn() -> Number, get_number_with_suspension,).await, [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 131 | call_function!(fn() -> Number, get_number_with_suspension,).await, [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `call_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(value) = stack.resolved_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 149 | / call_function!( [INFO] [stdout] 150 | | fn(ByteString) -> ByteString, [INFO] [stdout] 151 | | closure_entry_function_with_string, [INFO] [stdout] 152 | | value.into(), [INFO] [stdout] 153 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 149 | / call_function!( [INFO] [stdout] 150 | | fn(ByteString) -> ByteString, [INFO] [stdout] 151 | | closure_entry_function_with_string, [INFO] [stdout] 152 | | value.into(), [INFO] [stdout] 153 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `call_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(value) = stack.resolved_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 164 | / call_function!( [INFO] [stdout] 165 | | fn(ByteString) -> ByteString, [INFO] [stdout] 166 | | closure_entry_function_with_string, [INFO] [stdout] 167 | | value.clone(), [INFO] [stdout] 168 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 164 | / call_function!( [INFO] [stdout] 165 | | fn(ByteString) -> ByteString, [INFO] [stdout] 166 | | closure_entry_function_with_string, [INFO] [stdout] 167 | | value.clone(), [INFO] [stdout] 168 | | ) [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `call_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/from_closure.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(value) = stack.resolved_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/from_closure.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 33 ~ match stack.resolved_value() { Some(value) => { [INFO] [stdout] 34 | value.into() [INFO] [stdout] 35 ~ } _ => { [INFO] [stdout] 36 | trampoline = Some(stack.resume().unwrap()); [INFO] [stdout] 37 | Poll::Pending [INFO] [stdout] 38 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/from_function.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | if let Some(value) = stack.resolved_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/from_function.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 22 ~ match stack.resolved_value() { Some(value) => { [INFO] [stdout] 23 | value.into() [INFO] [stdout] 24 ~ } _ => { [INFO] [stdout] 25 | trampoline = Some(stack.resume().unwrap()); [INFO] [stdout] 26 | Poll::Pending [INFO] [stdout] 27 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | if let Some(initialize) = initialize.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/future/stream.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_list_first_rest, async fn(list: List) -> Arc); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | } else if let Some((step, continue_)) = trampoline.take() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/future/stream.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_list_first_rest, async fn(list: List) -> Arc); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `$crate::call_function` which comes from the expansion of the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(value) = stack.resolved_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/future/stream.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_list_first_rest, async fn(list: List) -> Arc); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/future/call_function.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/future/stream.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_list_first_rest, async fn(list: List) -> Arc); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `$crate::call_function` which comes from the expansion of the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.98s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking pen-ffi v0.10.23 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | import!(pen_ffi_any_is_boolean, fn(any: Any) -> Boolean); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_any_is_error, fn(any: Any) -> Boolean); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | import!(pen_ffi_any_is_none, fn(any: Any) -> Boolean); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | import!(pen_ffi_any_is_list, fn(any: Any) -> Boolean); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | import!(pen_ffi_any_is_number, fn(any: Any) -> Boolean); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | import!(pen_ffi_any_is_string, fn(any: Any) -> Boolean); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | import!(pen_ffi_any_to_boolean, fn(any: Any) -> Boolean); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | import!(pen_ffi_any_to_error, fn(any: Any) -> Error); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | import!(pen_ffi_any_to_list, fn(any: Any) -> List); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | import!(pen_ffi_any_to_number, fn(any: Any) -> Number); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | import!(pen_ffi_any_to_string, fn(any: Any) -> ByteString); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/boolean.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_boolean_to_any")] [INFO] [stdout] | ------------------------------------------------------------------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_error_to_any")] [INFO] [stdout] | ----------------------------------------------------------------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | / extern "C" { [INFO] [stdout] 11 | | // It is fine for AsyncStack to be FFI-unsafe because the compiler touches only its Stack part. [INFO] [stdout] 12 | | #[allow(improper_ctypes)] [INFO] [stdout] 13 | | fn $name( [INFO] [stdout] ... | [INFO] [stdout] 17 | | ); [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/future/stream.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_list_first_rest, async fn(list: List) -> Arc); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/list.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | import!(pen_ffi_list_create, fn() -> List); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/list.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_list_lazy, fn(xs: Closure) -> List); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/list.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | import!(pen_ffi_list_prepend, fn(x: Any, xs: List) -> List); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/list.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_list_to_any")] [INFO] [stdout] | ---------------------------------------------------------------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/none.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_none_to_any")] [INFO] [stdout] | ---------------------------------------------------------------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/number.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_number_to_any")] [INFO] [stdout] | ------------------------------------------------------------------------------ in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/string.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_string_to_any")] [INFO] [stdout] | ------------------------------------------------------------------------------ in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | import!(pen_ffi_any_is_boolean, fn(any: Any) -> Boolean); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_any_is_error, fn(any: Any) -> Boolean); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | import!(pen_ffi_any_is_none, fn(any: Any) -> Boolean); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | import!(pen_ffi_any_is_list, fn(any: Any) -> Boolean); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | import!(pen_ffi_any_is_number, fn(any: Any) -> Boolean); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | import!(pen_ffi_any_is_string, fn(any: Any) -> Boolean); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | import!(pen_ffi_any_to_boolean, fn(any: Any) -> Boolean); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | import!(pen_ffi_any_to_error, fn(any: Any) -> Error); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | import!(pen_ffi_any_to_list, fn(any: Any) -> List); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | import!(pen_ffi_any_to_number, fn(any: Any) -> Number); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/any.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | import!(pen_ffi_any_to_string, fn(any: Any) -> ByteString); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/boolean.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_boolean_to_any")] [INFO] [stdout] | ------------------------------------------------------------------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/async_stack.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | / extern "C" { [INFO] [stdout] 208 | | fn _test_async_stack_ffi_safety(_: &mut Stack); [INFO] [stdout] 209 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_error_to_any")] [INFO] [stdout] | ----------------------------------------------------------------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | / extern "C" { [INFO] [stdout] 11 | | // It is fine for AsyncStack to be FFI-unsafe because the compiler touches only its Stack part. [INFO] [stdout] 12 | | #[allow(improper_ctypes)] [INFO] [stdout] 13 | | fn $name( [INFO] [stdout] ... | [INFO] [stdout] 17 | | ); [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/future/stream.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_list_first_rest, async fn(list: List) -> Arc); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/list.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | import!(pen_ffi_list_create, fn() -> List); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/list.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | import!(pen_ffi_list_lazy, fn(xs: Closure) -> List); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/list.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | import!(pen_ffi_list_prepend, fn(x: Any, xs: List) -> List); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/list.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_list_to_any")] [INFO] [stdout] | ---------------------------------------------------------------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/none.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_none_to_any")] [INFO] [stdout] | ---------------------------------------------------------------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/number.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_number_to_any")] [INFO] [stdout] | ------------------------------------------------------------------------------ in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/cps/import.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | fn $name($($argument_name: $argument_type),*) -> $result_type; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/string.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[pen_ffi_macro::into_any(crate = "crate", into_fn = "pen_ffi_string_to_any")] [INFO] [stdout] | ------------------------------------------------------------------------------ in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::import` which comes from the expansion of the attribute macro `pen_ffi_macro::into_any` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pen-ffi` (lib) due to 22 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pen-ffi` (lib test) due to 23 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" "96640befdcbb40af8d1e2d8d51449d7dd2fec0315ac880b83cf51869ea6625ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96640befdcbb40af8d1e2d8d51449d7dd2fec0315ac880b83cf51869ea6625ae", kill_on_drop: false }` [INFO] [stdout] 96640befdcbb40af8d1e2d8d51449d7dd2fec0315ac880b83cf51869ea6625ae