[INFO] fetching crate po6 0.1.7... [INFO] checking po6-0.1.7 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate po6 0.1.7 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate po6 0.1.7 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 po6 0.1.7 [INFO] finished tweaking crates.io crate po6 0.1.7 [INFO] tweaked toml for crates.io crate po6 0.1.7 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] 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] a17e97e77f676e4f17ea4b481533d20d9bd8a90cb8ad9c1a8aa9144979caf452 [INFO] running `Command { std: "docker" "start" "-a" "a17e97e77f676e4f17ea4b481533d20d9bd8a90cb8ad9c1a8aa9144979caf452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a17e97e77f676e4f17ea4b481533d20d9bd8a90cb8ad9c1a8aa9144979caf452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a17e97e77f676e4f17ea4b481533d20d9bd8a90cb8ad9c1a8aa9144979caf452", kill_on_drop: false }` [INFO] [stdout] a17e97e77f676e4f17ea4b481533d20d9bd8a90cb8ad9c1a8aa9144979caf452 [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] f979e769c7f07f77cdf5e60c5f9acacfb23c4e445e601cdafacc15ce68e751e6 [INFO] running `Command { std: "docker" "start" "-a" "f979e769c7f07f77cdf5e60c5f9acacfb23c4e445e601cdafacc15ce68e751e6", 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] Checking po6 v0.1.7 (/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 `po6` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/build.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/build.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | $root: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/build.rs:13:17 [INFO] [stderr] | [INFO] [stderr] 13 | $name: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 2 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: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/assert.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 3 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/errno.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 3 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 6 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 11 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 27 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 37 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 47 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 7 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 11 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 16 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 21 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 26 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 31 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 35 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 39 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 43 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 6 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 13 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 20 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 34 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 43 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 54 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 64 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/build.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | $root: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] 11 | $root: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/build.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | $name:expr $(,)? [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 13 | $name:expr_2021 $(,)? [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/assert.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | let expr = CStr::from_ptr(expr).to_str().unwrap_or(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/assert.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub unsafe extern "C" fn po6_rt_assert_fail(expr: *const c_char, file: *const c_char, line: c_int) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/assert.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | let file = CStr::from_ptr(file).to_str().unwrap_or(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::malloc::PointerStorage::take` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | let ptr = PointerStorage::take(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/malloc.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe extern "C" fn po6_rt_free(ptr: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | dealloc(ptr.cast(), ptr.read().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | dealloc(ptr.cast(), ptr.read().into()); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::malloc::PointerStorage::take` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | let ptr = PointerStorage::take(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/malloc.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub unsafe extern "C" fn po6_rt_realloc(ptr: *mut c_void, size: usize) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let align = ptr.read().align; [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::realloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | realloc(ptr.cast(), ptr.read().into(), PointerStorage::size(size)).cast::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | realloc(ptr.cast(), ptr.read().into(), PointerStorage::size(size)).cast::(); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | ptr.write(PointerStorage { size, align }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | ptr.add(1).cast() [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | ptr.cast::().offset(-1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/malloc.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn take(ptr: *mut c_void) -> *mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::stdlib::parse_str` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | parse_str(str) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub unsafe extern "C" fn po6_rt_atof(str: *const c_char) -> c_double { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::stdlib::parse_str` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | parse_str(str) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe extern "C" fn po6_rt_atoi(str: *const c_char) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::stdlib::parse_str` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | parse_str(str) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub unsafe extern "C" fn po6_rt_atol(str: *const c_char) -> c_long { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::stdlib::parse_str` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | parse_str(str) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub unsafe extern "C" fn po6_rt_atoll(str: *const c_char) -> c_longlong { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | CStr::from_ptr(str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe fn parse_str(str: *const c_char) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | let [s1, s2] = [s1, s2].map(|ptr| std::slice::from_raw_parts(ptr as *const u8, n)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub unsafe extern "C" fn po6_rt_memcmp(s1: *const c_void, s2: *const c_void, n: usize) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | let [s1, s2] = [s1, s2].map(|str| CStr::from_ptr(str).to_str().unwrap_or_default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe extern "C" fn po6_rt_strcmp(s1: *const c_char, s2: *const c_char) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let dst_slice = std::slice::from_raw_parts_mut(dst as *mut u8, n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / pub unsafe extern "C" fn po6_rt_memcpy( [INFO] [stdout] 22 | | dst: *mut c_void, [INFO] [stdout] 23 | | src: *const c_void, [INFO] [stdout] 24 | | n: usize, [INFO] [stdout] 25 | | ) -> *mut c_void { [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | let src_slice = std::slice::from_raw_parts(src as *const u8, n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | let src = std::slice::from_raw_parts_mut(str as *mut u8, n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub unsafe extern "C" fn po6_rt_memset(str: *mut c_void, c: c_int, n: usize) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let dst_str = CStr::from_ptr(dst).to_str().unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub unsafe extern "C" fn po6_rt_strcat(dst: *mut c_char, src: *const c_char) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::string::str_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let src_bytes = str_bytes(src); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | let dst_bytes = std::slice::from_raw_parts_mut(dst as *mut u8, dst_str.len() + src_bytes.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::string::str_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let src_bytes = str_bytes(src); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub unsafe extern "C" fn po6_rt_strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | let dst_bytes = std::slice::from_raw_parts_mut(dst as *mut u8, src_bytes.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | CStr::from_ptr(str).to_str().unwrap_or_default().len() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe extern "C" fn po6_rt_strlen(str: *const c_char) -> c_ulong { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | let str = CStr::from_ptr(ptr).to_str().unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn str_bytes<'a>(ptr: *const c_char) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | std::slice::from_raw_parts(ptr as *const u8, 1.max(str.len() + 1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 90 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `po6` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/build.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/build.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | $root: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/build.rs:13:17 [INFO] [stderr] | [INFO] [stderr] 13 | $name: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 2 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: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/assert.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 3 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/errno.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 3 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 6 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 11 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 27 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 37 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 47 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 7 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 11 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 16 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 21 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 26 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 31 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 35 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 39 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 43 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 6 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 13 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 20 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 34 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 43 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 54 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 64 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/build.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | $root: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] 11 | $root: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/build.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | $name:expr $(,)? [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 13 | $name:expr_2021 $(,)? [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/assert.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | let expr = CStr::from_ptr(expr).to_str().unwrap_or(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/assert.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub unsafe extern "C" fn po6_rt_assert_fail(expr: *const c_char, file: *const c_char, line: c_int) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/assert.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | let file = CStr::from_ptr(file).to_str().unwrap_or(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::malloc::PointerStorage::take` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | let ptr = PointerStorage::take(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/malloc.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe extern "C" fn po6_rt_free(ptr: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | dealloc(ptr.cast(), ptr.read().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | dealloc(ptr.cast(), ptr.read().into()); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::malloc::PointerStorage::take` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | let ptr = PointerStorage::take(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/malloc.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub unsafe extern "C" fn po6_rt_realloc(ptr: *mut c_void, size: usize) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let align = ptr.read().align; [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::realloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | realloc(ptr.cast(), ptr.read().into(), PointerStorage::size(size)).cast::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | realloc(ptr.cast(), ptr.read().into(), PointerStorage::size(size)).cast::(); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | ptr.write(PointerStorage { size, align }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | ptr.add(1).cast() [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | ptr.cast::().offset(-1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/malloc.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn take(ptr: *mut c_void) -> *mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::stdlib::parse_str` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | parse_str(str) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub unsafe extern "C" fn po6_rt_atof(str: *const c_char) -> c_double { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::stdlib::parse_str` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | parse_str(str) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe extern "C" fn po6_rt_atoi(str: *const c_char) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::stdlib::parse_str` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | parse_str(str) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub unsafe extern "C" fn po6_rt_atol(str: *const c_char) -> c_long { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::stdlib::parse_str` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | parse_str(str) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub unsafe extern "C" fn po6_rt_atoll(str: *const c_char) -> c_longlong { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | CStr::from_ptr(str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe fn parse_str(str: *const c_char) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | let [s1, s2] = [s1, s2].map(|ptr| std::slice::from_raw_parts(ptr as *const u8, n)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub unsafe extern "C" fn po6_rt_memcmp(s1: *const c_void, s2: *const c_void, n: usize) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | let [s1, s2] = [s1, s2].map(|str| CStr::from_ptr(str).to_str().unwrap_or_default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe extern "C" fn po6_rt_strcmp(s1: *const c_char, s2: *const c_char) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let dst_slice = std::slice::from_raw_parts_mut(dst as *mut u8, n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / pub unsafe extern "C" fn po6_rt_memcpy( [INFO] [stdout] 22 | | dst: *mut c_void, [INFO] [stdout] 23 | | src: *const c_void, [INFO] [stdout] 24 | | n: usize, [INFO] [stdout] 25 | | ) -> *mut c_void { [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | let src_slice = std::slice::from_raw_parts(src as *const u8, n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | let src = std::slice::from_raw_parts_mut(str as *mut u8, n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub unsafe extern "C" fn po6_rt_memset(str: *mut c_void, c: c_int, n: usize) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let dst_str = CStr::from_ptr(dst).to_str().unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub unsafe extern "C" fn po6_rt_strcat(dst: *mut c_char, src: *const c_char) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] [stdout] warning[E0133]: call to unsafe function `shim::string::str_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let src_bytes = str_bytes(src); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | let dst_bytes = std::slice::from_raw_parts_mut(dst as *mut u8, dst_str.len() + src_bytes.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::string::str_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let src_bytes = str_bytes(src); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub unsafe extern "C" fn po6_rt_strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | let dst_bytes = std::slice::from_raw_parts_mut(dst as *mut u8, src_bytes.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | CStr::from_ptr(str).to_str().unwrap_or_default().len() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe extern "C" fn po6_rt_strlen(str: *const c_char) -> c_ulong { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | let str = CStr::from_ptr(ptr).to_str().unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn str_bytes<'a>(ptr: *const c_char) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | std::slice::from_raw_parts(ptr as *const u8, 1.max(str.len() + 1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 90 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking po6 v0.1.7 (/tmp/fixit) [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/assert.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 3 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/errno.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 3 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/assert.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 3 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/errno.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 3 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 6 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 6 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 11 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 27 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 11 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 27 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 37 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 37 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 47 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/malloc.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 47 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 7 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 11 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 16 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 21 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 26 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 31 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 35 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 39 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 43 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 6 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 13 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 20 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 34 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 43 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 54 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 64 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/math.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[export_name = concat!("po6_rt_", stringify!($c_name))] [INFO] [stdout] | ^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 81 | / make_fn!( [INFO] [stdout] 82 | | c_double => { [INFO] [stdout] 83 | | // Trigonometric functions [INFO] [stdout] 84 | | fn cos(x) [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 51 | #[unsafe(export_name = concat!("po6_rt_", stringify!($c_name)))] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 7 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 11 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 16 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 21 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 26 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 31 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 35 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 39 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/stdlib.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 43 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 6 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 13 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 20 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 34 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 43 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 54 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/shim/string.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 64 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/assert.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | let expr = CStr::from_ptr(expr).to_str().unwrap_or(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/assert.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub unsafe extern "C" fn po6_rt_assert_fail(expr: *const c_char, file: *const c_char, line: c_int) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/assert.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | let file = CStr::from_ptr(file).to_str().unwrap_or(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::malloc::PointerStorage::take` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | let ptr = PointerStorage::take(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/malloc.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe extern "C" fn po6_rt_free(ptr: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | dealloc(ptr.cast(), ptr.read().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | dealloc(ptr.cast(), ptr.read().into()); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::malloc::PointerStorage::take` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | let ptr = PointerStorage::take(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/malloc.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub unsafe extern "C" fn po6_rt_realloc(ptr: *mut c_void, size: usize) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let align = ptr.read().align; [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::realloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | realloc(ptr.cast(), ptr.read().into(), PointerStorage::size(size)).cast::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | realloc(ptr.cast(), ptr.read().into(), PointerStorage::size(size)).cast::(); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | ptr.write(PointerStorage { size, align }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | ptr.add(1).cast() [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | ptr.cast::().offset(-1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/malloc.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn take(ptr: *mut c_void) -> *mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::stdlib::parse_str` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | parse_str(str) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub unsafe extern "C" fn po6_rt_atof(str: *const c_char) -> c_double { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::stdlib::parse_str` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | parse_str(str) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe extern "C" fn po6_rt_atoi(str: *const c_char) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::stdlib::parse_str` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | parse_str(str) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub unsafe extern "C" fn po6_rt_atol(str: *const c_char) -> c_long { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::stdlib::parse_str` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | parse_str(str) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub unsafe extern "C" fn po6_rt_atoll(str: *const c_char) -> c_longlong { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | CStr::from_ptr(str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe fn parse_str(str: *const c_char) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | let [s1, s2] = [s1, s2].map(|ptr| std::slice::from_raw_parts(ptr as *const u8, n)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub unsafe extern "C" fn po6_rt_memcmp(s1: *const c_void, s2: *const c_void, n: usize) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | let [s1, s2] = [s1, s2].map(|str| CStr::from_ptr(str).to_str().unwrap_or_default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe extern "C" fn po6_rt_strcmp(s1: *const c_char, s2: *const c_char) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let dst_slice = std::slice::from_raw_parts_mut(dst as *mut u8, n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / pub unsafe extern "C" fn po6_rt_memcpy( [INFO] [stdout] 22 | | dst: *mut c_void, [INFO] [stdout] 23 | | src: *const c_void, [INFO] [stdout] 24 | | n: usize, [INFO] [stdout] 25 | | ) -> *mut c_void { [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | let src_slice = std::slice::from_raw_parts(src as *const u8, n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | let src = std::slice::from_raw_parts_mut(str as *mut u8, n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub unsafe extern "C" fn po6_rt_memset(str: *mut c_void, c: c_int, n: usize) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let dst_str = CStr::from_ptr(dst).to_str().unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub unsafe extern "C" fn po6_rt_strcat(dst: *mut c_char, src: *const c_char) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::string::str_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let src_bytes = str_bytes(src); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | let dst_bytes = std::slice::from_raw_parts_mut(dst as *mut u8, dst_str.len() + src_bytes.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::string::str_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let src_bytes = str_bytes(src); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub unsafe extern "C" fn po6_rt_strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | let dst_bytes = std::slice::from_raw_parts_mut(dst as *mut u8, src_bytes.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | CStr::from_ptr(str).to_str().unwrap_or_default().len() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe extern "C" fn po6_rt_strlen(str: *const c_char) -> c_ulong { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | let str = CStr::from_ptr(ptr).to_str().unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn str_bytes<'a>(ptr: *const c_char) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | std::slice::from_raw_parts(ptr as *const u8, 1.max(str.len() + 1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/assert.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | let expr = CStr::from_ptr(expr).to_str().unwrap_or(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/assert.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub unsafe extern "C" fn po6_rt_assert_fail(expr: *const c_char, file: *const c_char, line: c_int) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/assert.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | let file = CStr::from_ptr(file).to_str().unwrap_or(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::malloc::PointerStorage::take` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | let ptr = PointerStorage::take(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/malloc.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe extern "C" fn po6_rt_free(ptr: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | dealloc(ptr.cast(), ptr.read().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | dealloc(ptr.cast(), ptr.read().into()); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::malloc::PointerStorage::take` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | let ptr = PointerStorage::take(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/malloc.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub unsafe extern "C" fn po6_rt_realloc(ptr: *mut c_void, size: usize) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let align = ptr.read().align; [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::realloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | realloc(ptr.cast(), ptr.read().into(), PointerStorage::size(size)).cast::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | realloc(ptr.cast(), ptr.read().into(), PointerStorage::size(size)).cast::(); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | ptr.write(PointerStorage { size, align }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | ptr.add(1).cast() [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/malloc.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | ptr.cast::().offset(-1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/malloc.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn take(ptr: *mut c_void) -> *mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::stdlib::parse_str` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | parse_str(str) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub unsafe extern "C" fn po6_rt_atof(str: *const c_char) -> c_double { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::stdlib::parse_str` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | parse_str(str) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe extern "C" fn po6_rt_atoi(str: *const c_char) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::stdlib::parse_str` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | parse_str(str) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub unsafe extern "C" fn po6_rt_atol(str: *const c_char) -> c_long { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::stdlib::parse_str` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | parse_str(str) [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub unsafe extern "C" fn po6_rt_atoll(str: *const c_char) -> c_longlong { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/stdlib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | CStr::from_ptr(str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/stdlib.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe fn parse_str(str: *const c_char) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | let [s1, s2] = [s1, s2].map(|ptr| std::slice::from_raw_parts(ptr as *const u8, n)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub unsafe extern "C" fn po6_rt_memcmp(s1: *const c_void, s2: *const c_void, n: usize) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | let [s1, s2] = [s1, s2].map(|str| CStr::from_ptr(str).to_str().unwrap_or_default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe extern "C" fn po6_rt_strcmp(s1: *const c_char, s2: *const c_char) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 58 previous errors; 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let dst_slice = std::slice::from_raw_parts_mut(dst as *mut u8, n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / pub unsafe extern "C" fn po6_rt_memcpy( [INFO] [stdout] 22 | | dst: *mut c_void, [INFO] [stdout] 23 | | src: *const c_void, [INFO] [stdout] 24 | | n: usize, [INFO] [stdout] 25 | | ) -> *mut c_void { [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | let src_slice = std::slice::from_raw_parts(src as *const u8, n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | let src = std::slice::from_raw_parts_mut(str as *mut u8, n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub unsafe extern "C" fn po6_rt_memset(str: *mut c_void, c: c_int, n: usize) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let dst_str = CStr::from_ptr(dst).to_str().unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub unsafe extern "C" fn po6_rt_strcat(dst: *mut c_char, src: *const c_char) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::string::str_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let src_bytes = str_bytes(src); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | let dst_bytes = std::slice::from_raw_parts_mut(dst as *mut u8, dst_str.len() + src_bytes.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `shim::string::str_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let src_bytes = str_bytes(src); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub unsafe extern "C" fn po6_rt_strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | let dst_bytes = std::slice::from_raw_parts_mut(dst as *mut u8, src_bytes.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | CStr::from_ptr(str).to_str().unwrap_or_default().len() as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe extern "C" fn po6_rt_strlen(str: *const c_char) -> c_ulong { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | let str = CStr::from_ptr(ptr).to_str().unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/shim/string.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn str_bytes<'a>(ptr: *const c_char) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/shim/string.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | std::slice::from_raw_parts(ptr as *const u8, 1.max(str.len() + 1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 58 previous errors; 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `po6` (lib test) due to 59 previous errors; 30 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `po6` (lib) due to 59 previous errors; 30 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f979e769c7f07f77cdf5e60c5f9acacfb23c4e445e601cdafacc15ce68e751e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f979e769c7f07f77cdf5e60c5f9acacfb23c4e445e601cdafacc15ce68e751e6", kill_on_drop: false }` [INFO] [stdout] f979e769c7f07f77cdf5e60c5f9acacfb23c4e445e601cdafacc15ce68e751e6