[INFO] fetching crate fips-md 0.3.0... [INFO] checking fips-md-0.3.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate fips-md 0.3.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate fips-md 0.3.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fips-md 0.3.0 [INFO] finished tweaking crates.io crate fips-md 0.3.0 [INFO] tweaked toml for crates.io crate fips-md 0.3.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] [stderr] Adding aligned_box v0.2.1 (available: v0.3.0) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding llvm-sys v140.1.3 (available: v191.0.0) [INFO] [stderr] Adding strum v0.24.1 (available: v0.26.3) [INFO] [stderr] Adding strum_macros v0.24.3 (available: v0.26.4) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3380bb02f451d7e085996ba5779d31b97596d233adaea09d0f4cd85c4248e422 [INFO] running `Command { std: "docker" "start" "-a" "3380bb02f451d7e085996ba5779d31b97596d233adaea09d0f4cd85c4248e422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3380bb02f451d7e085996ba5779d31b97596d233adaea09d0f4cd85c4248e422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3380bb02f451d7e085996ba5779d31b97596d233adaea09d0f4cd85c4248e422", kill_on_drop: false }` [INFO] [stdout] 3380bb02f451d7e085996ba5779d31b97596d233adaea09d0f4cd85c4248e422 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] b1a5594a60117ea9ecd7fd345ff0e45055a8a9a1ccc8273218ea4f8223fd063b [INFO] running `Command { std: "docker" "start" "-a" "b1a5594a60117ea9ecd7fd345ff0e45055a8a9a1ccc8273218ea4f8223fd063b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling peg-runtime v0.8.3 [INFO] [stderr] Compiling peg-macros v0.8.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking peg v0.8.4 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking aligned_box v0.2.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling llvm-sys v140.1.3 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking fips-md v0.3.0 (/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 `fips_md` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/codegen/analysis/symbol.rs [INFO] [stderr] * src/codegen/expression_eval.rs [INFO] [stderr] * src/codegen/functions.rs [INFO] [stderr] * src/codegen/generator.rs [INFO] [stderr] * src/codegen/llhelpers.rs [INFO] [stderr] * src/codegen/neighbors.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/codegen/analysis/symbol.rs:21:6 [INFO] [stderr] | [INFO] [stderr] 21 | ($map:expr_2021, $key:expr_2021, $val:expr_2021, $err: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/codegen/analysis/symbol.rs:21:22 [INFO] [stderr] | [INFO] [stderr] 21 | ($map:expr_2021, $key:expr_2021, $val:expr_2021, $err: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/codegen/analysis/symbol.rs:21:38 [INFO] [stderr] | [INFO] [stderr] 21 | ($map:expr_2021, $key:expr_2021, $val:expr_2021, $err: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/codegen/analysis/symbol.rs:21:54 [INFO] [stderr] | [INFO] [stderr] 21 | ($map:expr_2021, $key:expr_2021, $val:expr_2021, $err: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/codegen/llhelpers.rs:29:6 [INFO] [stderr] | [INFO] [stderr] 29 | ($string: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/codegen/llhelpers.rs:36:6 [INFO] [stderr] | [INFO] [stderr] 36 | ($string: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/codegen/neighbors.rs:49:6 [INFO] [stderr] | [INFO] [stderr] 49 | ($pos:expr_2021, $i: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/codegen/neighbors.rs:49:22 [INFO] [stderr] | [INFO] [stderr] 49 | ($pos:expr_2021, $i: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/codegen/neighbors.rs:56:6 [INFO] [stderr] | [INFO] [stderr] 56 | ($pxyz:expr_2021, $xyz:expr_2021, $bin_size:expr_2021, $cell_topo: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/codegen/neighbors.rs:56:23 [INFO] [stderr] | [INFO] [stderr] 56 | ($pxyz:expr_2021, $xyz:expr_2021, $bin_size:expr_2021, $cell_topo: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/codegen/neighbors.rs:56:39 [INFO] [stderr] | [INFO] [stderr] 56 | ($pxyz:expr_2021, $xyz:expr_2021, $bin_size:expr_2021, $cell_topo: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/codegen/neighbors.rs:56:60 [INFO] [stderr] | [INFO] [stderr] 56 | ($pxyz:expr_2021, $xyz:expr_2021, $bin_size:expr_2021, $cell_topo: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/codegen/neighbors.rs:67:6 [INFO] [stderr] | [INFO] [stderr] 67 | ($cxyz:expr_2021, $subdomain_size: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/codegen/neighbors.rs:67:23 [INFO] [stderr] | [INFO] [stderr] 67 | ($cxyz:expr_2021, $subdomain_size: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/codegen/neighbors.rs:79:6 [INFO] [stderr] | [INFO] [stderr] 79 | ($ixyz:expr_2021, $nx:expr_2021, $ny: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/codegen/neighbors.rs:79:23 [INFO] [stderr] | [INFO] [stderr] 79 | ($ixyz:expr_2021, $nx:expr_2021, $ny: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/codegen/neighbors.rs:79:38 [INFO] [stderr] | [INFO] [stderr] 79 | ($ixyz:expr_2021, $nx:expr_2021, $ny: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/codegen/neighbors.rs:85:6 [INFO] [stderr] | [INFO] [stderr] 85 | ($idx:expr_2021, $nx:expr_2021, $ny: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/codegen/neighbors.rs:85:22 [INFO] [stderr] | [INFO] [stderr] 85 | ($idx:expr_2021, $nx:expr_2021, $ny: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/codegen/neighbors.rs:85:37 [INFO] [stderr] | [INFO] [stderr] 85 | ($idx:expr_2021, $nx:expr_2021, $ny: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/codegen/neighbors.rs:93:6 [INFO] [stderr] | [INFO] [stderr] 93 | ($a:expr_2021, $b: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/codegen/neighbors.rs:93:20 [INFO] [stderr] | [INFO] [stderr] 93 | ($a:expr_2021, $b:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/functions.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | #[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] 93 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[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] 30 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.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] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[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] 48 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | #[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] 56 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[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] 62 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | #[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] 67 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/codegen/neighbors.rs:103:6 [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/runtime/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/analysis/symbol.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | ($map:expr, $key:expr, $val:expr, $err: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] 21 | ($map:expr_2021, $key:expr, $val:expr, $err:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 103 | ($a:expr_2021, $b:expr_2021) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/analysis/symbol.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | ($map:expr, $key:expr, $val:expr, $err:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 21 | ($map:expr, $key:expr_2021, $val:expr, $err:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/analysis/symbol.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | ($map:expr, $key:expr, $val:expr, $err:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 21 | ($map:expr, $key:expr, $val:expr_2021, $err:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/analysis/symbol.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | ($map:expr, $key:expr, $val:expr, $err:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 21 | ($map:expr, $key:expr, $val:expr, $err:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/llhelpers.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | ($string: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] 29 | ($string:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/llhelpers.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | ($string: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] 36 | ($string:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | ($pos:expr, $i: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] 49 | ($pos:expr_2021, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | ($pos:expr, $i: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] 49 | ($pos:expr, $i:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | ($pxyz:expr, $xyz:expr, $bin_size:expr, $cell_topo: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] 56 | ($pxyz:expr_2021, $xyz:expr, $bin_size:expr, $cell_topo:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/codegen/neighbors.rs:103:20 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | ($pxyz:expr, $xyz:expr, $bin_size:expr, $cell_topo: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] 56 | ($pxyz:expr, $xyz:expr_2021, $bin_size:expr, $cell_topo:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | ($pxyz:expr, $xyz:expr, $bin_size:expr, $cell_topo: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] 56 | ($pxyz:expr, $xyz:expr, $bin_size:expr_2021, $cell_topo:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 103 | ($a:expr_2021, $b:expr_2021) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:56:56 [INFO] [stdout] | [INFO] [stdout] 56 | ($pxyz:expr, $xyz:expr, $bin_size:expr, $cell_topo: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] 56 | ($pxyz:expr, $xyz:expr, $bin_size:expr, $cell_topo:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | ($cxyz:expr, $subdomain_size: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] 67 | ($cxyz:expr_2021, $subdomain_size:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | ($cxyz:expr, $subdomain_size: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] 67 | ($cxyz:expr, $subdomain_size:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | ($ixyz:expr, $nx:expr, $ny: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] 79 | ($ixyz:expr_2021, $nx:expr, $ny:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | ($ixyz:expr, $nx:expr, $ny: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] 79 | ($ixyz:expr, $nx:expr_2021, $ny:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | ($ixyz:expr, $nx:expr, $ny: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] 79 | ($ixyz:expr, $nx:expr, $ny:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | ($idx:expr, $nx:expr, $ny: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] 85 | ($idx:expr_2021, $nx:expr, $ny:expr) => { { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | ($idx:expr, $nx:expr, $ny: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] 85 | ($idx:expr, $nx:expr_2021, $ny:expr) => { { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/codegen/neighbors.rs:113:6 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | ($idx:expr, $nx:expr, $ny: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] 85 | ($idx:expr, $nx:expr, $ny:expr_2021) => { { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | ($a:expr, $b:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 93 | ($a:expr_2021, $b:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 113 | ($xyz:expr_2021) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | ($a:expr, $b:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 93 | ($a:expr, $b:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | ($a:expr, $b:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 103 | ($a:expr_2021, $b:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | ($a:expr, $b:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 103 | ($a:expr, $b:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | ($xyz: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] 113 | ($xyz:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | ($a:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 119 | ($a:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:570:35 [INFO] [stdout] | [INFO] [stdout] 570 | ... ($cx2:expr, $cnx: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] 570 | ($cx2:expr_2021, $cnx:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:570:46 [INFO] [stdout] | [INFO] [stdout] 570 | ... ($cx2:expr, $cnx: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] 570 | ($cx2:expr, $cnx:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/functions.rs:5:70 [INFO] [stdout] | [INFO] [stdout] 5 | use llvm_sys::{core::{LLVMAddFunction, LLVMAddGlobal, LLVMArrayType, LLVMBuildCall, LLVMBuildLoad, LLVMBuildStore, LLVMConstNull, LLVMDou... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/codegen/neighbors.rs:119:6 [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/functions.rs:5:85 [INFO] [stdout] | [INFO] [stdout] 5 | use llvm_sys::{core::{LLVMAddFunction, LLVMAddGlobal, LLVMArrayType, LLVMBuildCall, LLVMBuildLoad, LLVMBuildStore, LLVMConstNull, LLVMDou... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/functions.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | LLVMBuildCall(builder, symbol_value.function, parameter_vals.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 119 | ($a:expr_2021) => { [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/functions.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | let call_ret = LLVMBuildCall(builder, symbol_value.function, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/functions.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | LLVMBuildLoad(builder, global_parameter_ptrs.last().unwrap().unwrap(), cstring!(name)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/expression_eval.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | let llval = LLVMBuildLoad(builder, llptr, cstring!(llname)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/expression_eval.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | Ok(LLVMBuildLoad(builder, *llptr, cstring!(format!("{}_{}", namespace, name)))) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/expression_eval.rs:228:43 [INFO] [stdout] | [INFO] [stdout] 228 | let callback_target_ptr = LLVMBuildLoad(builder, callback_target_ptrptr, cstr!("callback_target_ptr")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:499:45 [INFO] [stdout] | [INFO] [stdout] 499 | let loaded_global = LLVMBuildLoad(builder, *llglobal, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:527:45 [INFO] [stdout] | [INFO] [stdout] 527 | let loaded_global = LLVMBuildLoad(builder, *llglobal, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:533:43 [INFO] [stdout] | [INFO] [stdout] 533 | let outer_index = LLVMBuildLoad(builder, outer_index_ptr, cstr!("i")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/codegen/neighbors.rs:570:30 [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:534:47 [INFO] [stdout] | [INFO] [stdout] 534 | let llptr_writeback = LLVMBuildGEP(builder, llptr, [outer_index].as_mut_ptr(), 1, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:538:43 [INFO] [stdout] | [INFO] [stdout] 538 | let llglobalval = LLVMBuildLoad(builder, llptr_writeback, cstring!(format!("global_val_{}", member_name))); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 570 | ... ($cx2:expr_2021, $cnx:expr_2021) => { [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:539:37 [INFO] [stdout] | [INFO] [stdout] 539 | let llacc = LLVMBuildLoad(builder, *lllocal, cstring!(format!("acc_{}", member_name))); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:546:39 [INFO] [stdout] | [INFO] [stdout] 546 | let next_offset = LLVMBuildLoad(builder, next_offset_ptr, cstr!("next_offset")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:551:39 [INFO] [stdout] | [INFO] [stdout] 551 | let outer_index = LLVMBuildLoad(builder, outer_index_ptr, cstr!("i")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:566:45 [INFO] [stdout] | [INFO] [stdout] 566 | let loaded_global = LLVMBuildLoad(builder, llglobal, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:571:37 [INFO] [stdout] | [INFO] [stdout] 571 | let llptr = LLVMBuildGEP(builder, global_ptr, [block_index].as_mut_ptr(), 1, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:572:37 [INFO] [stdout] | [INFO] [stdout] 572 | let llval = LLVMBuildLoad(builder, llptr, cstring!(format!("loaded_{}_{}", infix, member_name))); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:576:45 [INFO] [stdout] | [INFO] [stdout] 576 | ... let llptr = LLVMBuildGEP(builder, llval, [particle_index].as_mut_ptr(), 1, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:577:33 [INFO] [stdout] | [INFO] [stdout] 577 | ... LLVMBuildLoad(builder, llptr, cstring!(format!("really_loaded_{}_{}", infix, member_name))) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/codegen/neighbors.rs:570:46 [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:587:33 [INFO] [stdout] | [INFO] [stdout] 587 | let llptr = LLVMBuildGEP(builder, neighbor_list_index, [outer_index].as_mut_ptr(), 1, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:588:39 [INFO] [stdout] | [INFO] [stdout] 588 | let next_offset = LLVMBuildLoad(builder, llptr, cstr!("next_offset")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 570 | ... ($cx2:expr_2021, $cnx:expr_2021) => { [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:591:42 [INFO] [stdout] | [INFO] [stdout] 591 | let current_offset = LLVMBuildLoad(builder, current_offset_ptr, cstr!("previous_offset")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:597:39 [INFO] [stdout] | [INFO] [stdout] 597 | let inner_index = LLVMBuildLoad(builder, inner_index_ptr, cstr!("n")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:599:33 [INFO] [stdout] | [INFO] [stdout] 599 | let llptr = LLVMBuildGEP(builder, neighbor_list, [inner_index].as_mut_ptr(), 1, cstr!("j_ptr")); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:600:48 [INFO] [stdout] | [INFO] [stdout] 600 | let other_particle_index = LLVMBuildLoad(builder, llptr, cstr!("j")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:609:40 [INFO] [stdout] | [INFO] [stdout] 609 | let own_position = LLVMBuildLoad(builder, *own_members_loaded.get(own_position_name).unwrap(), cstr!("own_position")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:610:42 [INFO] [stdout] | [INFO] [stdout] 610 | ... let other_position = LLVMBuildLoad(builder, *other_members_loaded.get(other_position_name).unwrap(), cstr!("other_position")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:639:44 [INFO] [stdout] | [INFO] [stdout] 639 | let distance_sqr = LLVMBuildLoad(builder, distance_sqr_ptr, cstr!("dist_sqr")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:640:40 [INFO] [stdout] | [INFO] [stdout] 640 | let distance = LLVMBuildCall(builder, sqrt_func, [distance_sqr].as_mut_ptr(), 1, cstr!("dist")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/codegen/functions.rs:5:70 [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:744:46 [INFO] [stdout] | [INFO] [stdout] 744 | ... let accval = LLVMBuildLoad(builder, *lllocal, cstring!(format!("acc_{}", quantity_def.get_name()))); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:758:57 [INFO] [stdout] | [INFO] [stdout] 758 | ... let other_block_index = LLVMBuildLoad(builder, other_block_index_ptr, cstr!("other_block_index")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 5 | use llvm_sys::{core::{LLVMAddFunction, LLVMAddGlobal, LLVMArrayType, LLVMBuildCall, LLVMBuildLoad, LLVMBuildStore, LLVMConstNull, LLVMDou... [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:787:53 [INFO] [stdout] | [INFO] [stdout] 787 | ... let loaded_global = LLVMBuildLoad(builder, *llglobal, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:792:52 [INFO] [stdout] | [INFO] [stdout] 792 | ... let other_offset = LLVMBuildLoad(builder, other_offset_ptr, cstr!("other_offset")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:793:55 [INFO] [stdout] | [INFO] [stdout] 793 | ... let llptr_writeback = LLVMBuildGEP(builder, llptr, [other_offset].as_mut_ptr(), 1, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:796:51 [INFO] [stdout] | [INFO] [stdout] 796 | ... let llglobalacc = LLVMBuildLoad(builder, llptr_writeback, cstring!(format!("global_val_{}", target_name))); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:945:42 [INFO] [stdout] | [INFO] [stdout] 945 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/functions.rs:5:85 [INFO] [stderr] | [INFO] [stderr] 5 | use llvm_sys::{core::{LLVMAddFunction, LLVMAddGlobal, LLVMArrayType, LLVMBuildCall, LLVMBuildLoad, LLVMBuildStore, LLVMConstNull, LLVMDou... [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/functions.rs:86:17 [INFO] [stderr] | [INFO] [stderr] 86 | LLVMBuildCall(builder, symbol_value.function, parameter_vals.as_mut_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/functions.rs:186:24 [INFO] [stderr] | [INFO] [stderr] 186 | let call_ret = LLVMBuildCall(builder, symbol_value.function, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/functions.rs:192:13 [INFO] [stderr] | [INFO] [stderr] 192 | LLVMBuildLoad(builder, global_parameter_ptrs.last().unwrap().unwrap(), cstring!(name)) [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/expression_eval.rs:176:33 [INFO] [stderr] | [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:951:42 [INFO] [stdout] | [INFO] [stdout] 951 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 176 | let llval = LLVMBuildLoad(builder, llptr, cstring!(llname)); [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:961:42 [INFO] [stdout] | [INFO] [stdout] 961 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:968:60 [INFO] [stdout] | [INFO] [stdout] 968 | ... let base_ptr = LLVMBuildLoad(builder, *base_ptr, cstring!(llname)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:970:63 [INFO] [stdout] | [INFO] [stdout] 970 | ... let current_ptr = LLVMBuildGEP(builder, base_ptr, [loop_index].as_mut_ptr(), 1, cstring!(llname)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:973:57 [INFO] [stdout] | [INFO] [stdout] 973 | ... let llval = LLVMBuildLoad(builder, current_ptr, cstring!(llname)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/codegen/expression_eval.rs:196:24 [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:986:42 [INFO] [stdout] | [INFO] [stdout] 986 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 196 | Ok(LLVMBuildLoad(builder, *llptr, cstring!(format!("{}_{}", namespace, name)))) [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/expression_eval.rs:228:43 [INFO] [stderr] | [INFO] [stderr] 228 | let callback_target_ptr = LLVMBuildLoad(builder, callback_target_ptrptr, cstr!("callback_target_ptr")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:499:45 [INFO] [stderr] | [INFO] [stderr] 499 | let loaded_global = LLVMBuildLoad(builder, *llglobal, cstr!("")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:527:45 [INFO] [stderr] | [INFO] [stderr] 527 | let loaded_global = LLVMBuildLoad(builder, *llglobal, cstr!("")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:533:43 [INFO] [stderr] | [INFO] [stderr] 533 | let outer_index = LLVMBuildLoad(builder, outer_index_ptr, cstr!("i")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:534:47 [INFO] [stderr] | [INFO] [stderr] 534 | let llptr_writeback = LLVMBuildGEP(builder, llptr, [outer_index].as_mut_ptr(), 1, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:538:43 [INFO] [stderr] | [INFO] [stderr] 538 | let llglobalval = LLVMBuildLoad(builder, llptr_writeback, cstring!(format!("global_val_{}", member_name))); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:539:37 [INFO] [stderr] | [INFO] [stderr] 539 | let llacc = LLVMBuildLoad(builder, *lllocal, cstring!(format!("acc_{}", member_name))); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:546:39 [INFO] [stderr] | [INFO] [stderr] 546 | let next_offset = LLVMBuildLoad(builder, next_offset_ptr, cstr!("next_offset")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1048:57 [INFO] [stdout] | [INFO] [stdout] 1048 | ... let llval = LLVMBuildLoad(builder, target, cstring!(name)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/codegen/generator.rs:551:39 [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1073:64 [INFO] [stdout] | [INFO] [stdout] 1073 | ... let base_ptr = LLVMBuildLoad(builder, *base_ptr, cstring!(llname)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1075:67 [INFO] [stdout] | [INFO] [stdout] 1075 | ... let current_ptr = LLVMBuildGEP(builder, base_ptr, [loop_index].as_mut_ptr(), 1, cstring!(llname)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 551 | let outer_index = LLVMBuildLoad(builder, outer_index_ptr, cstr!("i")); [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1077:65 [INFO] [stdout] | [INFO] [stdout] 1077 | ... let mut llval = LLVMBuildLoad(builder, local_ptr.unwrap(), cstring!(llname)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1158:25 [INFO] [stdout] | [INFO] [stdout] 1158 | LLVMBuildCall(builder, node_func, std::ptr::null_mut(), 0, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1167:61 [INFO] [stdout] | [INFO] [stdout] 1167 | ... let callback_target_param = LLVMBuildLoad(builder, callback_target_ptrptr, cstr!("tmp")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1168:33 [INFO] [stdout] | [INFO] [stdout] 1168 | ... LLVMBuildCall(builder, call2rust_handler, [callback_target_param, llbarrier_data].as_mut_ptr(), 2, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/codegen/generator.rs:566:45 [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1178:65 [INFO] [stdout] | [INFO] [stdout] 1178 | ... let callback_target_param = LLVMBuildLoad(builder, callback_target_ptrptr, cstr!("tmp")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1181:37 [INFO] [stdout] | [INFO] [stdout] 1181 | ... LLVMBuildCall(builder, interaction_handler, [callback_target_param, llbarrier_data, block_index, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 566 | let loaded_global = LLVMBuildLoad(builder, llglobal, cstr!("")); [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1183:63 [INFO] [stdout] | [INFO] [stdout] 1183 | ... let neighbor_list_index = LLVMBuildLoad(builder, neighbor_list_index_var, cstr!("neighbor_list_index")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1184:57 [INFO] [stdout] | [INFO] [stdout] 1184 | ... let neighbor_list = LLVMBuildLoad(builder, neighbor_list_var, cstr!("neighbor_list")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1185:37 [INFO] [stdout] | [INFO] [stdout] 1185 | ... LLVMBuildCall(builder, interaction_vals.interaction_func, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1188:37 [INFO] [stdout] | [INFO] [stdout] 1188 | ... LLVMBuildCall(builder, interaction_sync_handler, [callback_target_param, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/codegen/generator.rs:571:37 [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1206:41 [INFO] [stdout] | [INFO] [stdout] 1206 | let callback_target_param = LLVMBuildLoad(builder, callback_target_ptrptr, cstr!("tmp")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1207:13 [INFO] [stdout] | [INFO] [stdout] 1207 | LLVMBuildCall(builder, end_of_step_handler, [callback_target_param].as_mut_ptr(), 1, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 571 | let llptr = LLVMBuildGEP(builder, global_ptr, [block_index].as_mut_ptr(), 1, cstr!("")); [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/llhelpers.rs:215:22 [INFO] [stdout] | [INFO] [stdout] 215 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/llhelpers.rs:217:48 [INFO] [stdout] | [INFO] [stdout] 217 | LLVMTypeKind::LLVMPointerTypeKind => { LLVMBuildLoad(builder, end_index, cstr!("end_index")) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/llhelpers.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::functions::::create_symbol_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:19:55 [INFO] [stdout] | [INFO] [stdout] 19 | FunctionIndexEntry::Extern(externfunc) => externfunc.create_symbol_value(function_id, context, module), [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/codegen/functions.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) unsafe fn create_symbol_value(&self, function_id: FunctionID, context: LLVMContextRef, module: LLVMModuleRef) -> Result src/codegen/generator.rs:572:37 [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::functions::::create_symbol_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 20 | FunctionIndexEntry::Builtin(builtin) => builtin.create_symbol_value(function_id, context, module) [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] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::functions::::build_call` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | FunctionIndexEntry::Extern(externfunc) => externfunc.build_call( [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 31 | | context, builder, symbol_value, parameter_vals, self.returns_array()), [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/codegen/functions.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / pub(crate) unsafe fn build_call(&self, context: LLVMContextRef, builder: LLVMBuilderRef, [INFO] [stdout] 27 | | symbol_value: &LLFunctionSymbolValue, parameter_vals: Vec) -> Result [INFO] [stdout] | |________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 572 | let llval = LLVMBuildLoad(builder, llptr, cstring!(format!("loaded_{}_{}", infix, member_name))); [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::functions::::build_call` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:32:53 [INFO] [stdout] | [INFO] [stdout] 32 | FunctionIndexEntry::Builtin(builtin) => builtin.build_call( [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 33 | | context, builder, symbol_value, parameter_vals, self.returns_array()) [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] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMDoubleTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | let double_type = LLVMDoubleTypeInContext(context); [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/codegen/functions.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) unsafe fn create_symbol_value(&self, function_id: FunctionID, context: LLVMContextRef, module: LLVMModuleRef) -> Result src/codegen/functions.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | let int64_type = LLVMInt64TypeInContext(context); [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] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMFunctionType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | let math_double_func_type = LLVMFunctionType(double_type, [double_type].as_mut_ptr(), 1, 0); [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] [stderr] --> src/codegen/generator.rs:576:45 [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMAddFunction` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | function: LLVMAddFunction(module, cstr!("llvm.sqrt.f64"), math_double_func_type), [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] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMAddFunction` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | function: LLVMAddFunction(module, cstr!("llvm.sin.f64"), math_double_func_type), [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] [stderr] 576 | ... let llptr = LLVMBuildGEP(builder, llval, [particle_index].as_mut_ptr(), 1, cstr!("")); [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMAddFunction` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | function: LLVMAddFunction(module, cstr!("llvm.cos.f64"), math_double_func_type), [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] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMFunctionType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | let random_func_type = LLVMFunctionType(double_type, [int64_type].as_mut_ptr(), 1, 0); [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] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMAddFunction` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | function: LLVMAddFunction(module, cstr!("_random_normal"), random_func_type), [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] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildCall` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | / LLVMBuildCall(builder, symbol_value.function, parameter_vals.as_mut_ptr(), [INFO] [stdout] 87 | | parameter_vals.len() as u32, cstring!(name)) [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/codegen/functions.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | / pub(crate) unsafe fn build_call(&self, _: LLVMContextRef, builder: LLVMBuilderRef, [INFO] [stdout] 80 | | symbol_value: &LLFunctionSymbolValue, mut parameter_vals: Vec, [INFO] [stdout] 81 | | _: bool) [INFO] [stdout] 82 | | -> Result { [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/codegen/generator.rs:577:33 [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let callback_target = &mut *(callback_target as usize as *mut CallbackTarget); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/codegen/functions.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub unsafe extern "C" fn _random_normal(callback_target: u64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::llhelpers::get_llvm_type_dims` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 106 | let (base_type, dims) = get_llvm_type_dims(context, typ)?; [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/codegen/functions.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) unsafe fn create_symbol_value(&self, function_id: FunctionID, context: LLVMContextRef, module: LLVMModuleRef) -> Result src/codegen/functions.rs:116:46 [INFO] [stdout] | [INFO] [stdout] 116 | let parameter_type = LLVMArrayType(base_type, dims[0] as u32); [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] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMAddGlobal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:117:52 [INFO] [stdout] | [INFO] [stdout] 117 | let global_parameter_ptr = LLVMAddGlobal(module, [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 118 | | parameter_type, [INFO] [stdout] 119 | | cstring!(name) [INFO] [stdout] 120 | | ); [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] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMSetLinkage` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | LLVMSetLinkage(global_parameter_ptr, llvm_sys::LLVMLinkage::LLVMCommonLinkage); [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] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMSetInitializer` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | LLVMSetInitializer(global_parameter_ptr, LLVMConstNull(parameter_type)); [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] [stderr] --> src/codegen/generator.rs:587:33 [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMConstNull` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:122:66 [INFO] [stdout] | [INFO] [stdout] 122 | LLVMSetInitializer(global_parameter_ptr, LLVMConstNull(parameter_type)); [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] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMPointerType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:124:46 [INFO] [stdout] | [INFO] [stdout] 124 | parameter_types.push(LLVMPointerType(parameter_type, 0)); [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] [stderr] 587 | let llptr = LLVMBuildGEP(builder, neighbor_list_index, [outer_index].as_mut_ptr(), 1, cstr!("")); [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::llhelpers::get_llvm_type_dims` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | let (base_type, dims) = get_llvm_type_dims(context, &self.return_type)?; [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] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMVoidTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | return_type = LLVMVoidTypeInContext(context); [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] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMArrayType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:139:38 [INFO] [stdout] | [INFO] [stdout] 139 | let parameter_type = LLVMArrayType(base_type, dims[0] as u32); [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] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMAddGlobal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:141:44 [INFO] [stdout] | [INFO] [stdout] 141 | let global_parameter_ptr = LLVMAddGlobal(module, [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 142 | | parameter_type, [INFO] [stdout] 143 | | cstring!(name) [INFO] [stdout] 144 | | ); [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] [stderr] --> src/codegen/generator.rs:588:39 [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMSetLinkage` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | LLVMSetLinkage(global_parameter_ptr, llvm_sys::LLVMLinkage::LLVMCommonLinkage); [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] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMSetInitializer` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | LLVMSetInitializer(global_parameter_ptr, LLVMConstNull(parameter_type)); [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] [stderr] 588 | let next_offset = LLVMBuildLoad(builder, llptr, cstr!("next_offset")); [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMConstNull` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:146:58 [INFO] [stdout] | [INFO] [stdout] 146 | LLVMSetInitializer(global_parameter_ptr, LLVMConstNull(parameter_type)); [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] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMPointerType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:148:38 [INFO] [stdout] | [INFO] [stdout] 148 | parameter_types.push(LLVMPointerType(parameter_type, 0)); [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] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMFunctionType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | let func_type = LLVMFunctionType(return_type, [INFO] [stdout] | _________________________^ [INFO] [stdout] 154 | | parameter_types.as_mut_ptr(), parameter_types.len() as u32, 0); [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] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMAddFunction` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | let function = LLVMAddFunction(module, cstring!(self.name.clone()), func_type); [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] [stderr] --> src/codegen/generator.rs:591:42 [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildStore` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | LLVMBuildStore(builder, *parameter_val, *global_parameter_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/codegen/functions.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / pub(crate) unsafe fn build_call(&self, _: LLVMContextRef, builder: LLVMBuilderRef, [INFO] [stdout] 164 | | symbol_value: &LLFunctionSymbolValue, mut parameter_vals: Vec, [INFO] [stdout] 165 | | returns_array: bool) [INFO] [stdout] 166 | | -> Result { [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildCall` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | let call_ret = LLVMBuildCall(builder, symbol_value.function, [INFO] [stdout] | ________________________^ [INFO] [stdout] 187 | | parameter_vals.as_mut_ptr(), parameter_vals.len() as u32, [INFO] [stdout] 188 | | if returns_array {cstr!("")} else { cstring!(name) }); [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] [stderr] 591 | let current_offset = LLVMBuildLoad(builder, current_offset_ptr, cstr!("previous_offset")); [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildLoad` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | LLVMBuildLoad(builder, global_parameter_ptrs.last().unwrap().unwrap(), cstring!(name)) [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] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildAdd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | LLVMBuildAdd(builder, lhs, rhs, cstr!("tmp_add")) [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/codegen/expression_eval.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe fn int_asmd(builder: LLVMBuilderRef, op: parser::BinaryOperator, lhs: LLVMValueRef, rhs: LLVMValueRef) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildSub` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | LLVMBuildSub(builder, lhs, rhs, cstr!("tmp_sub")) [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] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildMul` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | LLVMBuildMul(builder, lhs, rhs, cstr!("tmp_mul")) [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] [stderr] --> src/codegen/generator.rs:597:39 [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildSDiv` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | LLVMBuildSDiv(builder, lhs, rhs, cstr!("tmp_div")) [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] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildFAdd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | LLVMBuildFAdd(builder, lhs, rhs, cstr!("tmp_add")) [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/codegen/expression_eval.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe fn float_asmd(builder: LLVMBuilderRef, op: parser::BinaryOperator, lhs: LLVMValueRef, rhs: LLVMValueRef) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 597 | let inner_index = LLVMBuildLoad(builder, inner_index_ptr, cstr!("n")); [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildFSub` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | LLVMBuildFSub(builder, lhs, rhs, cstr!("tmp_sub")) [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] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildFMul` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | LLVMBuildFMul(builder, lhs, rhs, cstr!("tmp_mul")) [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] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildFDiv` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | LLVMBuildFDiv(builder, lhs, rhs, cstr!("tmp_div")) [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] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | let lhs_type = LLVMTypeOf(lhs); [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/codegen/expression_eval.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe fn vector_asmd(builder: LLVMBuilderRef, op: parser::BinaryOperator, lhs: LLVMValueRef, rhs: LLVMValueRef) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/codegen/generator.rs:599:33 [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let rhs_type = LLVMTypeOf(rhs); [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] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMGetElementType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | let lhs_elem_type = LLVMGetElementType(lhs_type); [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] [stderr] 599 | let llptr = LLVMBuildGEP(builder, neighbor_list, [inner_index].as_mut_ptr(), 1, cstr!("j_ptr")); [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMGetElementType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | let rhs_elem_type = LLVMGetElementType(rhs_type); [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] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | match (LLVMGetTypeKind(lhs_elem_type), LLVMGetTypeKind(rhs_elem_type)) { [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] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 54 | match (LLVMGetTypeKind(lhs_elem_type), LLVMGetTypeKind(rhs_elem_type)) { [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] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::expression_eval::float_asmd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | float_asmd(builder, op, lhs, rhs) [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] [stderr] --> src/codegen/generator.rs:600:48 [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::expression_eval::int_asmd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | int_asmd(builder, op, lhs, rhs) [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] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | let llkind = LLVMGetTypeKind(LLVMTypeOf(llval)); [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/codegen/expression_eval.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) unsafe fn promote_to_vector(context: LLVMContextRef, builder: LLVMBuilderRef, llval: LLVMValueRef, length: u32) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 600 | let other_particle_index = LLVMBuildLoad(builder, llptr, cstr!("j")); [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | let llkind = LLVMGetTypeKind(LLVMTypeOf(llval)); [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] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMGetArrayLength` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(LLVMGetArrayLength(LLVMTypeOf(llval)), length); [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] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(LLVMGetArrayLength(LLVMTypeOf(llval)), length); [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] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | let elem_kind = LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(llval))); [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] [stderr] --> src/codegen/generator.rs:609:40 [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMGetElementType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:79:45 [INFO] [stdout] | [INFO] [stdout] 79 | let elem_kind = LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(llval))); [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] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:79:64 [INFO] [stdout] | [INFO] [stdout] 79 | let elem_kind = LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(llval))); [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] [stderr] 609 | let own_position = LLVMBuildLoad(builder, *own_members_loaded.get(own_position_name).unwrap(), cstr!("own_position")); [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMGetUndef` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | / LLVMGetUndef( [INFO] [stdout] 83 | | LLVMVectorType(LLVMDoubleTypeInContext(context), length) [INFO] [stdout] 84 | | ) [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] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMVectorType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | LLVMVectorType(LLVMDoubleTypeInContext(context), length) [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] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMDoubleTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:83:40 [INFO] [stdout] | [INFO] [stdout] 83 | LLVMVectorType(LLVMDoubleTypeInContext(context), length) [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] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMGetUndef` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | / LLVMGetUndef( [INFO] [stdout] 88 | | LLVMVectorType(LLVMInt64TypeInContext(context), length) [INFO] [stdout] 89 | | ) [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] [stderr] --> src/codegen/generator.rs:610:42 [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMVectorType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | LLVMVectorType(LLVMInt64TypeInContext(context), length) [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] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:88:40 [INFO] [stdout] | [INFO] [stdout] 88 | LLVMVectorType(LLVMInt64TypeInContext(context), length) [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] [stderr] 610 | ... let other_position = LLVMBuildLoad(builder, *other_members_loaded.get(other_position_name).unwrap(), cstr!("other_position")); [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildExtractValue` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | let llelement = LLVMBuildExtractValue(builder, llval, i, cstr!("")); [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] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildInsertElement` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | llvec = LLVMBuildInsertElement(builder, llvec, llelement, [INFO] [stdout] | _________________________^ [INFO] [stdout] 96 | | LLVMConstInt(LLVMInt32TypeInContext(context), i as u64, 0), [INFO] [stdout] 97 | | cstring!("tmp_promoted_vec")); [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] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | LLVMConstInt(LLVMInt32TypeInContext(context), i as u64, 0), [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] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMInt32TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | LLVMConstInt(LLVMInt32TypeInContext(context), i as u64, 0), [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] [stderr] --> src/codegen/generator.rs:639:44 [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMGetUndef` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | / LLVMGetUndef( [INFO] [stdout] 107 | | LLVMVectorType(LLVMDoubleTypeInContext(context), length) [INFO] [stdout] 108 | | ) [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] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMVectorType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | LLVMVectorType(LLVMDoubleTypeInContext(context), length) [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] [stderr] 639 | let distance_sqr = LLVMBuildLoad(builder, distance_sqr_ptr, cstr!("dist_sqr")); [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMDoubleTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | LLVMVectorType(LLVMDoubleTypeInContext(context), length) [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] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMGetUndef` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | / LLVMGetUndef( [INFO] [stdout] 112 | | LLVMVectorType(LLVMInt64TypeInContext(context), length) [INFO] [stdout] 113 | | ) [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] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMVectorType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | LLVMVectorType(LLVMInt64TypeInContext(context), length) [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] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:112:40 [INFO] [stdout] | [INFO] [stdout] 112 | LLVMVectorType(LLVMInt64TypeInContext(context), length) [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] [stderr] --> src/codegen/generator.rs:640:40 [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildInsertElement` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | llvec = LLVMBuildInsertElement(builder, llvec, llval, [INFO] [stdout] | _________________________^ [INFO] [stdout] 120 | | LLVMConstInt(LLVMInt32TypeInContext(context), i as u64, 0), [INFO] [stdout] 121 | | cstring!("tmp_promoted_vec")); [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] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | LLVMConstInt(LLVMInt32TypeInContext(context), i as u64, 0), [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] [stderr] 640 | let distance = LLVMBuildCall(builder, sqrt_func, [distance_sqr].as_mut_ptr(), 1, cstr!("dist")); [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMInt32TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:120:34 [INFO] [stdout] | [INFO] [stdout] 120 | LLVMConstInt(LLVMInt32TypeInContext(context), i as u64, 0), [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] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | let llkind = LLVMGetTypeKind(LLVMTypeOf(llval)); [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/codegen/expression_eval.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) unsafe fn convert_to_scalar_or_array(context: LLVMContextRef, builder: LLVMBuilderRef, llval: LLVMValueRef) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | let llkind = LLVMGetTypeKind(LLVMTypeOf(llval)); [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] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMGetVectorSize` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | let length = LLVMGetVectorSize(LLVMTypeOf(llval)); [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] [stderr] --> src/codegen/generator.rs:744:46 [INFO] [stderr] | [INFO] [stderr] 744 | ... let accval = LLVMBuildLoad(builder, *lllocal, cstring!(format!("acc_{}", quantity_def.get_name()))); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:758:57 [INFO] [stderr] | [INFO] [stderr] 758 | ... let other_block_index = LLVMBuildLoad(builder, other_block_index_ptr, cstr!("other_block_index")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:787:53 [INFO] [stderr] | [INFO] [stderr] 787 | ... let loaded_global = LLVMBuildLoad(builder, *llglobal, cstr!("")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:792:52 [INFO] [stderr] | [INFO] [stderr] 792 | ... let other_offset = LLVMBuildLoad(builder, other_offset_ptr, cstr!("other_offset")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:793:55 [INFO] [stderr] | [INFO] [stderr] 793 | ... let llptr_writeback = LLVMBuildGEP(builder, llptr, [other_offset].as_mut_ptr(), 1, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:796:51 [INFO] [stderr] | [INFO] [stderr] 796 | ... let llglobalacc = LLVMBuildLoad(builder, llptr_writeback, cstring!(format!("global_val_{}", target_name))); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:945:42 [INFO] [stderr] | [INFO] [stderr] 945 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:951:42 [INFO] [stderr] | [INFO] [stderr] 951 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:961:42 [INFO] [stderr] | [INFO] [stderr] 961 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:968:60 [INFO] [stderr] | [INFO] [stderr] 968 | ... let base_ptr = LLVMBuildLoad(builder, *base_ptr, cstring!(llname)); [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | let length = LLVMGetVectorSize(LLVMTypeOf(llval)); [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] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMGetElementType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:139:29 [INFO] [stdout] | [INFO] [stdout] 139 | let elem_type = LLVMGetElementType(LLVMTypeOf(llval)); [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] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:139:48 [INFO] [stdout] | [INFO] [stdout] 139 | let elem_type = LLVMGetElementType(LLVMTypeOf(llval)); [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] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:970:63 [INFO] [stderr] | [INFO] [stderr] 970 | ... let current_ptr = LLVMBuildGEP(builder, base_ptr, [loop_index].as_mut_ptr(), 1, cstring!(llname)); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:973:57 [INFO] [stderr] | [INFO] [stderr] 973 | ... let llval = LLVMBuildLoad(builder, current_ptr, cstring!(llname)); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:986:42 [INFO] [stderr] | [INFO] [stderr] 986 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1048:57 [INFO] [stderr] | [INFO] [stderr] 1048 | ... let llval = LLVMBuildLoad(builder, target, cstring!(name)); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1073:64 [INFO] [stderr] | [INFO] [stderr] 1073 | ... let base_ptr = LLVMBuildLoad(builder, *base_ptr, cstring!(llname)); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1075:67 [INFO] [stderr] | [INFO] [stderr] 1075 | ... let current_ptr = LLVMBuildGEP(builder, base_ptr, [loop_index].as_mut_ptr(), 1, cstring!(llname)); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1077:65 [INFO] [stderr] | [INFO] [stderr] 1077 | ... let mut llval = LLVMBuildLoad(builder, local_ptr.unwrap(), cstring!(llname)); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1158:25 [INFO] [stderr] | [INFO] [stderr] 1158 | LLVMBuildCall(builder, node_func, std::ptr::null_mut(), 0, cstr!("")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1167:61 [INFO] [stderr] | [INFO] [stderr] 1167 | ... let callback_target_param = LLVMBuildLoad(builder, callback_target_ptrptr, cstr!("tmp")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1168:33 [INFO] [stderr] | [INFO] [stderr] 1168 | ... LLVMBuildCall(builder, call2rust_handler, [callback_target_param, llbarrier_data].as_mut_ptr(), 2, cstr!("")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1178:65 [INFO] [stderr] | [INFO] [stderr] 1178 | ... let callback_target_param = LLVMBuildLoad(builder, callback_target_ptrptr, cstr!("tmp")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1181:37 [INFO] [stderr] | [INFO] [stderr] 1181 | ... LLVMBuildCall(builder, interaction_handler, [callback_target_param, llbarrier_data, block_index, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1183:63 [INFO] [stderr] | [INFO] [stderr] 1183 | ... let neighbor_list_index = LLVMBuildLoad(builder, neighbor_list_index_var, cstr!("neighbor_list_index")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1184:57 [INFO] [stderr] | [INFO] [stderr] 1184 | ... let neighbor_list = LLVMBuildLoad(builder, neighbor_list_var, cstr!("neighbor_list")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1185:37 [INFO] [stderr] | [INFO] [stderr] 1185 | ... LLVMBuildCall(builder, interaction_vals.interaction_func, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMGetUndef` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | let mut llarray = LLVMGetUndef(LLVMArrayType(elem_type, length)); [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] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMArrayType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:140:44 [INFO] [stdout] | [INFO] [stdout] 140 | let mut llarray = LLVMGetUndef(LLVMArrayType(elem_type, length)); [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] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1188:37 [INFO] [stderr] | [INFO] [stderr] 1188 | ... LLVMBuildCall(builder, interaction_sync_handler, [callback_target_param, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1206:41 [INFO] [stderr] | [INFO] [stderr] 1206 | let callback_target_param = LLVMBuildLoad(builder, callback_target_ptrptr, cstr!("tmp")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1207:13 [INFO] [stderr] | [INFO] [stderr] 1207 | LLVMBuildCall(builder, end_of_step_handler, [callback_target_param].as_mut_ptr(), 1, cstr!("")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/llhelpers.rs:215:22 [INFO] [stderr] | [INFO] [stderr] 215 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/llhelpers.rs:217:48 [INFO] [stderr] | [INFO] [stderr] 217 | LLVMTypeKind::LLVMPointerTypeKind => { LLVMBuildLoad(builder, end_index, cstr!("end_index")) } [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/llhelpers.rs:225:22 [INFO] [stderr] | [INFO] [stderr] 225 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 28 previous errors; 62 warnings emitted [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[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildExtractElement` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 142 | let llelem = LLVMBuildExtractElement(builder, llval, [INFO] [stdout] | ______________________________^ [INFO] [stdout] 143 | | LLVMConstInt(LLVMInt32TypeInContext(context), i as u64, 0), cstr!("")); [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | LLVMConstInt(LLVMInt32TypeInContext(context), i as u64, 0), cstr!("")); [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 `llvm_sys::core::LLVMInt32TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:143:34 [INFO] [stdout] | [INFO] [stdout] 143 | LLVMConstInt(LLVMInt32TypeInContext(context), i as u64, 0), cstr!("")); [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 `llvm_sys::core::LLVMBuildInsertValue` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | llarray = LLVMBuildInsertValue(builder, llarray, llelem, i, cstr!("tmp_vec2array")) [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 `llvm_sys::core::LLVMBuildLoad` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | let llval = LLVMBuildLoad(builder, llptr, cstring!(llname)); [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/codegen/expression_eval.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | / pub(crate) unsafe fn evaluate_expression(context: LLVMContextRef, builder: LLVMBuilderRef, expr: &parser::Expression, [INFO] [stdout] 153 | | symbol_table: &SymbolTable, [INFO] [stdout] 154 | | namespace_symbols: &HashMap<&String, HashMap>, [INFO] [stdout] 155 | | function_index: &FunctionIndex, [INFO] [stdout] 156 | | callback_target_ptrptr: LLVMValueRef) -> Result [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMDoubleTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:182:39 [INFO] [stdout] | [INFO] [stdout] 182 | ... let typ = LLVMDoubleTypeInContext(context); [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | ... Ok(LLVMConstReal(typ, *val)) [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 `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:186:39 [INFO] [stdout] | [INFO] [stdout] 186 | ... let typ = LLVMInt64TypeInContext(context); [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | ... Ok(LLVMConstInt(typ, *val as u64, 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 `llvm_sys::core::LLVMBuildLoad` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | Ok(LLVMBuildLoad(builder, *llptr, cstring!(format!("{}_{}", namespace, name)))) [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 `codegen::expression_eval::evaluate_expression` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:201:23 [INFO] [stdout] | [INFO] [stdout] 201 | let lhs = evaluate_expression(context, builder, binop.lhs.as_ref(), [INFO] [stdout] | _______________________^ [INFO] [stdout] 202 | | symbol_table, namespace_symbols, function_index, callback_target_ptrptr)?; [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 `codegen::expression_eval::evaluate_expression` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 203 | let rhs = evaluate_expression(context, builder, binop.rhs.as_ref(), [INFO] [stdout] | _______________________^ [INFO] [stdout] 204 | | symbol_table, namespace_symbols, function_index, callback_target_ptrptr)?; [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 `codegen::expression_eval::evaluate_binop` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | evaluate_binop(context, builder, lhs, rhs, binop.op) [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 `codegen::expression_eval::evaluate_expression` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:222:29 [INFO] [stdout] | [INFO] [stdout] 222 | .map(|expr| evaluate_expression(context, builder, expr, [INFO] [stdout] | _____________________________^ [INFO] [stdout] 223 | | symbol_table, namespace_symbols, function_index, callback_target_ptrptr)) [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 `llvm_sys::core::LLVMBuildLoad` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:228:43 [INFO] [stdout] | [INFO] [stdout] 228 | let callback_target_ptr = LLVMBuildLoad(builder, callback_target_ptrptr, cstr!("callback_target_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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::functions::::build_call` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:233:16 [INFO] [stdout] | [INFO] [stdout] 233 | Ok(func.build_call(context, builder, symbol_value, parameter_vals)?) [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 `codegen::expression_eval::evaluate_expression` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:238:29 [INFO] [stdout] | [INFO] [stdout] 238 | let array_val = evaluate_expression(context, builder, [INFO] [stdout] | _____________________________^ [INFO] [stdout] 239 | | &parser::Expression::Atom(parser::Atom::Variable(indexop.array.clone())), [INFO] [stdout] 240 | | symbol_table, namespace_symbols, function_index, callback_target_ptrptr)?; [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 `llvm_sys::core::LLVMBuildExtractValue` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | Ok(LLVMBuildExtractValue(builder, array_val, [INFO] [stdout] | ________________^ [INFO] [stdout] 245 | | index, cstring!(name))) [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 `codegen::expression_eval::evaluate_expression` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:253:37 [INFO] [stdout] | [INFO] [stdout] 253 | .map(|element_expr| evaluate_expression( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 254 | | context, builder, element_expr, symbol_table, namespace_symbols, [INFO] [stdout] 255 | | function_index, callback_target_ptrptr) [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:257:25 [INFO] [stdout] | [INFO] [stdout] 257 | let lltyp = LLVMTypeOf(elements[0]); [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 `llvm_sys::core::LLVMGetUndef` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:258:30 [INFO] [stdout] | [INFO] [stdout] 258 | let mut result = LLVMGetUndef(LLVMArrayType(lltyp, elements.len() as u32)); [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 `llvm_sys::core::LLVMArrayType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:258:43 [INFO] [stdout] | [INFO] [stdout] 258 | let mut result = LLVMGetUndef(LLVMArrayType(lltyp, elements.len() as u32)); [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 `codegen::expression_eval::convert_to_scalar_or_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:260:31 [INFO] [stdout] | [INFO] [stdout] 260 | let element = convert_to_scalar_or_array(context, builder, element); [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 `llvm_sys::core::LLVMBuildInsertValue` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:262:26 [INFO] [stdout] | [INFO] [stdout] 262 | result = LLVMBuildInsertValue(builder, result, element, i as u32, cstring!(name)); [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 270 | let lhs_type = LLVMTypeOf(lhs); [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/codegen/expression_eval.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | pub(crate) unsafe fn evaluate_binop(context: LLVMContextRef, builder: LLVMBuilderRef, lhs: LLVMValueRef, rhs: LLVMValueRef, op: BinaryOperator) -> Result src/codegen/expression_eval.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | let rhs_type = LLVMTypeOf(rhs); [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 `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:272:25 [INFO] [stdout] | [INFO] [stdout] 272 | let lhs_type_kind = LLVMGetTypeKind(lhs_type); [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 `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | let rhs_type_kind = LLVMGetTypeKind(rhs_type); [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 `codegen::expression_eval::float_asmd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | float_asmd(builder, op, lhs, rhs) [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 `codegen::expression_eval::int_asmd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | int_asmd(builder, op, lhs, rhs) [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 `llvm_sys::core::LLVMGetVectorSize` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:286:16 [INFO] [stdout] | [INFO] [stdout] 286 | if LLVMGetVectorSize(lhs_type) != LLVMGetVectorSize(rhs_type) { [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 `llvm_sys::core::LLVMGetVectorSize` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:286:47 [INFO] [stdout] | [INFO] [stdout] 286 | if LLVMGetVectorSize(lhs_type) != LLVMGetVectorSize(rhs_type) { [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 `codegen::expression_eval::vector_asmd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | vector_asmd(builder, op, lhs, rhs) [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 `llvm_sys::core::LLVMGetVectorSize` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:299:21 [INFO] [stdout] | [INFO] [stdout] 299 | LLVMGetVectorSize(lhs_type) [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 `llvm_sys::core::LLVMGetVectorSize` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 305 | LLVMGetVectorSize(rhs_type) [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 `codegen::expression_eval::promote_to_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:310:23 [INFO] [stdout] | [INFO] [stdout] 310 | let lhs = promote_to_vector(context, builder, lhs, vec_length); [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 `codegen::expression_eval::promote_to_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:311:23 [INFO] [stdout] | [INFO] [stdout] 311 | let rhs = promote_to_vector(context, builder, rhs, vec_length); [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 `codegen::expression_eval::vector_asmd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | vector_asmd(builder, op, lhs, rhs) [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 `codegen::expression_eval::promote_to_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:316:23 [INFO] [stdout] | [INFO] [stdout] 316 | let lhs = promote_to_vector(context, builder, lhs, LLVMGetArrayLength(lhs_type)); [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 `llvm_sys::core::LLVMGetArrayLength` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:316:64 [INFO] [stdout] | [INFO] [stdout] 316 | let lhs = promote_to_vector(context, builder, lhs, LLVMGetArrayLength(lhs_type)); [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 `codegen::expression_eval::promote_to_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:317:23 [INFO] [stdout] | [INFO] [stdout] 317 | let rhs = promote_to_vector(context, builder, rhs, LLVMGetArrayLength(rhs_type)); [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 `llvm_sys::core::LLVMGetArrayLength` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:317:64 [INFO] [stdout] | [INFO] [stdout] 317 | let rhs = promote_to_vector(context, builder, rhs, LLVMGetArrayLength(rhs_type)); [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 `codegen::expression_eval::evaluate_binop` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | evaluate_binop(context, builder, lhs, rhs, op)? [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 `codegen::expression_eval::promote_to_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:321:23 [INFO] [stdout] | [INFO] [stdout] 321 | let lhs = promote_to_vector(context, builder, lhs, LLVMGetArrayLength(lhs_type)); [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 `llvm_sys::core::LLVMGetArrayLength` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:321:64 [INFO] [stdout] | [INFO] [stdout] 321 | let lhs = promote_to_vector(context, builder, lhs, LLVMGetArrayLength(lhs_type)); [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 `codegen::expression_eval::evaluate_binop` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | evaluate_binop(context, builder, lhs, rhs, op)? [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 `codegen::expression_eval::promote_to_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:325:23 [INFO] [stdout] | [INFO] [stdout] 325 | let rhs = promote_to_vector(context, builder, rhs, LLVMGetArrayLength(rhs_type)); [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 `llvm_sys::core::LLVMGetArrayLength` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:325:64 [INFO] [stdout] | [INFO] [stdout] 325 | let rhs = promote_to_vector(context, builder, rhs, LLVMGetArrayLength(rhs_type)); [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 `codegen::expression_eval::evaluate_binop` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | evaluate_binop(context, builder, lhs, rhs, op)? [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::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/generator.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | callback_target.as_ref().unwrap().handle_call2rust(barrier); [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/codegen/generator.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub unsafe extern "C" fn _call2rust_handler(callback_target: u64, barrier_data: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/generator.rs:43:48 [INFO] [stdout] | [INFO] [stdout] 43 | let (neighbor_list_index, neighbor_list) = callback_target.as_ref().unwrap().handle_interaction(barrier, block_index); [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/codegen/generator.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / pub unsafe extern "C" fn _interaction_handler(callback_target: u64, barrier_data: u64, [INFO] [stdout] 39 | | block_index: usize, neighbor_list_index_ret: *mut *const usize, neighbor_list_ret: *mut *const usize) [INFO] [stdout] 40 | | -> () { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/generator.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | *neighbor_list_index_ret = neighbor_list_index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/generator.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | *neighbor_list_ret = neighbor_list; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/generator.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | callback_target.as_ref().unwrap().handle_interaction_sync(barrier); [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/codegen/generator.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / pub unsafe extern "C" fn _interaction_sync_handler(callback_target: u64, barrier_data: u64) [INFO] [stdout] 50 | | -> () { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/generator.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | callback_target.as_ref().unwrap().end_of_step(); [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/codegen/generator.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub unsafe extern "C" fn _end_of_step(callback_target: u64) { [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/codegen/llhelpers.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | let message = CStr::from_ptr(LLVMGetErrorMessage(error)).to_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/codegen/llhelpers.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) unsafe fn llvm_errorref_to_result(context: &str, error: LLVMErrorRef) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::error::LLVMGetErrorMessage` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | let message = CStr::from_ptr(LLVMGetErrorMessage(error)).to_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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMDoubleTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | FipsType::Double => (LLVMDoubleTypeInContext(context), vec![]), [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/codegen/llhelpers.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) unsafe fn get_llvm_type_dims(context: LLVMContextRef, typ: &FipsType) -> Result<(LLVMTypeRef, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | FipsType::Int64 => (LLVMInt64TypeInContext(context), vec![]), [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 `codegen::llhelpers::get_llvm_type_dims` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | let (subtype, mut subdims) = get_llvm_type_dims(context, typ)?; [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 `llvm_sys::core::LLVMGetModuleContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | let context = LLVMGetModuleContext(module); [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/codegen/llhelpers.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) unsafe fn create_global_const_double(module: LLVMModuleRef, name: String, value: f64) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMDoubleTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | let typ = LLVMDoubleTypeInContext(context); [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 `llvm_sys::core::LLVMAddGlobal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let llval = LLVMAddGlobal(module, typ, cstring!(name)); [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | let initializer = LLVMConstReal(typ, value); [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 `llvm_sys::core::LLVMSetGlobalConstant` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | LLVMSetGlobalConstant(llval, 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 `llvm_sys::core::LLVMSetInitializer` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | LLVMSetInitializer(llval, initializer); [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 `llvm_sys::core::LLVMGetModuleContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | let context = LLVMGetModuleContext(module); [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/codegen/llhelpers.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) unsafe fn create_global_const_int64(module: LLVMModuleRef, name: String, value: i64) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | let typ = LLVMInt64TypeInContext(context); [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 `llvm_sys::core::LLVMAddGlobal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let llval = LLVMAddGlobal(module, typ, cstring!(name)); [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | let initializer = LLVMConstInt(typ, value as c_ulonglong, 0); // TODO: Sign extend? [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 `llvm_sys::core::LLVMSetGlobalConstant` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | LLVMSetGlobalConstant(llval, 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 `llvm_sys::core::LLVMSetInitializer` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | LLVMSetInitializer(llval, initializer); [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 `codegen::llhelpers::create_global_const_int64` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | FipsValue::Int64(value) => create_global_const_int64(module, name, value), [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/codegen/llhelpers.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | pub(crate) unsafe fn create_global_const(module: LLVMModuleRef, name: String, value: FipsValue) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::llhelpers::create_global_const_double` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | FipsValue::Double(value) => create_global_const_double(module, name, value) [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 `llvm_sys::core::LLVMArrayType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | n => LLVMArrayType(scalar_type, n as c_uint) [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/codegen/llhelpers.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / unsafe fn __create_global_ptr(context: LLVMContextRef, module: LLVMModuleRef, name: String, scalar_type: LLVMTypeRef, [INFO] [stdout] 87 | | ptr: usize, stride: u32) -> LLVMValueRef [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMPointerType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | let typ = LLVMPointerType(element_type, 0); [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 `llvm_sys::core::LLVMAddGlobal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let llval = LLVMAddGlobal(module, typ, cstring!(name)); [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 `llvm_sys::core::LLVMConstIntToPtr` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | let initializer = LLVMConstIntToPtr(LLVMConstInt(LLVMInt64TypeInContext(context), ptr as c_ulonglong, 0), typ); [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | let initializer = LLVMConstIntToPtr(LLVMConstInt(LLVMInt64TypeInContext(context), ptr as c_ulonglong, 0), typ); [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 `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:96:54 [INFO] [stdout] | [INFO] [stdout] 96 | let initializer = LLVMConstIntToPtr(LLVMConstInt(LLVMInt64TypeInContext(context), ptr as c_ulonglong, 0), typ); [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 `llvm_sys::core::LLVMSetGlobalConstant` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | LLVMSetGlobalConstant(llval, 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 `llvm_sys::core::LLVMSetInitializer` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | LLVMSetInitializer(llval, initializer); [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 `llvm_sys::core::LLVMGetModuleContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | let context = LLVMGetModuleContext(module); [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/codegen/llhelpers.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) unsafe fn create_global_ptr(module: LLVMModuleRef, name: String, typ: &FipsType, ptr: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::llhelpers::get_llvm_type_dims` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | let (lltype, dims) = get_llvm_type_dims(context, typ)?; [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 `codegen::llhelpers::__create_global_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | 0 => __create_global_ptr(context, module, name, lltype, ptr, 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 `codegen::llhelpers::__create_global_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | 1 => __create_global_ptr(context, module, name, lltype, ptr, dims[0] as u32), [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 `llvm_sys::core::LLVMGetModuleContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | let context = LLVMGetModuleContext(module); [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/codegen/llhelpers.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) unsafe fn create_local_ptr(module: LLVMModuleRef, builder: LLVMBuilderRef, name: String, typ: &FipsType) -> Result src/codegen/llhelpers.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | let (lltyp, dims) = get_llvm_type_dims(context, typ)?; [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 `llvm_sys::core::LLVMArrayType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | 1 => LLVMArrayType(lltyp, dims[0] as c_uint), [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 `llvm_sys::core::LLVMBuildAlloca` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | Ok(LLVMBuildAlloca(builder, typ, cstring!(name))) [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 `llvm_sys::core::LLVMGetModuleContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:127:27 [INFO] [stdout] | [INFO] [stdout] 127 | let context = LLVMGetModuleContext(module); [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/codegen/llhelpers.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) unsafe fn fips_value_2_llvm(module: LLVMModuleRef, value: &FipsValue) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | let typ = LLVMInt64TypeInContext(context); [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | LLVMConstInt(typ, *value as c_ulonglong, 0) [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 `llvm_sys::core::LLVMGetModuleContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | let context = LLVMGetModuleContext(module); [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 `llvm_sys::core::LLVMDoubleTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | let typ = LLVMDoubleTypeInContext(context); [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | LLVMConstReal(typ, *value) [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 `llvm_sys::core::LLVMArrayType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | n => LLVMArrayType(scalar_type, n as c_uint) [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/codegen/llhelpers.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / unsafe fn __fips_ptr_2_llvm(context: LLVMContextRef, scalar_type: LLVMTypeRef, [INFO] [stdout] 140 | | ptr: usize, stride: u32) -> LLVMValueRef [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMPointerType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | let typ = LLVMPointerType(element_type, 0); [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 `llvm_sys::core::LLVMConstIntToPtr` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | LLVMConstIntToPtr(LLVMConstInt(LLVMInt64TypeInContext(context), ptr as c_ulonglong, 0), typ) [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:148:23 [INFO] [stdout] | [INFO] [stdout] 148 | LLVMConstIntToPtr(LLVMConstInt(LLVMInt64TypeInContext(context), ptr as c_ulonglong, 0), typ) [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 `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:148:36 [INFO] [stdout] | [INFO] [stdout] 148 | LLVMConstIntToPtr(LLVMConstInt(LLVMInt64TypeInContext(context), ptr as c_ulonglong, 0), typ) [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 `llvm_sys::core::LLVMGetModuleContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | let context = LLVMGetModuleContext(module); [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/codegen/llhelpers.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub(crate) unsafe fn fips_ptr_2_llvm(module: LLVMModuleRef, typ: &FipsType, ptr: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::llhelpers::get_llvm_type_dims` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | let (lltype, dims) = get_llvm_type_dims(context, typ)?; [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 `codegen::llhelpers::__fips_ptr_2_llvm` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | 0 => __fips_ptr_2_llvm(context, lltype, ptr, 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 `codegen::llhelpers::__fips_ptr_2_llvm` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | 1 => __fips_ptr_2_llvm(context, lltype, ptr, dims[0] as u32), [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 `codegen::llhelpers::fips_value_2_llvm` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | fips_value_2_llvm(module, value) [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/codegen/llhelpers.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / pub(crate) unsafe fn create_neighbor_member_values<'a>(module: LLVMModuleRef, members: Vec<&'a str>, [INFO] [stdout] 161 | | neighbor_list: &RwLockReadGuard, particle_index: &ParticleIndex, particle_store: &ParticleStore) [INFO] [stdout] 162 | | -> HashMap<&'a str, Vec> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::llhelpers::fips_ptr_2_llvm` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | fips_ptr_2_llvm(module, member_def.get_type(), data_ptr).unwrap() [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | lltyp_check = Some(LLVMTypeOf(*llval)); [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/codegen/llhelpers.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / pub(crate) unsafe fn create_neighbor_member_values<'a>(module: LLVMModuleRef, members: Vec<&'a str>, [INFO] [stdout] 161 | | neighbor_list: &RwLockReadGuard, particle_index: &ParticleIndex, particle_store: &ParticleStore) [INFO] [stdout] 162 | | -> HashMap<&'a str, Vec> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:199:37 [INFO] [stdout] | [INFO] [stdout] 199 | assert_eq!(lltyp_check, LLVMTypeOf(*llval)); [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 `llvm_sys::core::LLVMInsertBasicBlockInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:208:28 [INFO] [stdout] | [INFO] [stdout] 208 | let block_loop_check = LLVMInsertBasicBlockInContext(context, block_after_loop, cstr!("loop_check")); [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/codegen/llhelpers.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | / pub(crate) unsafe fn build_loop(context: LLVMContextRef, builder: LLVMBuilderRef, block_loop_body: LLVMBasicBlockRef, [INFO] [stdout] 206 | | block_after_loop: LLVMBasicBlockRef, loop_index_ptr: LLVMValueRef, end_index: LLVMValueRef) -> LLVMBasicBlockRef { [INFO] [stdout] | |____________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMInsertBasicBlockInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:210:32 [INFO] [stdout] | [INFO] [stdout] 210 | let block_loop_increment = LLVMInsertBasicBlockInContext(context, block_after_loop, cstr!("loop_increment")); [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 `llvm_sys::core::LLVMBuildBr` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | LLVMBuildBr(builder, block_loop_check); [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 `llvm_sys::core::LLVMPositionBuilderAtEnd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | LLVMPositionBuilderAtEnd(builder, block_loop_check); [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 `llvm_sys::core::LLVMBuildLoad` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:215:22 [INFO] [stdout] | [INFO] [stdout] 215 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [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 `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | let end_index = match LLVMGetTypeKind(LLVMTypeOf(end_index)) { [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:216:43 [INFO] [stdout] | [INFO] [stdout] 216 | let end_index = match LLVMGetTypeKind(LLVMTypeOf(end_index)) { [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 `llvm_sys::core::LLVMBuildLoad` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:217:48 [INFO] [stdout] | [INFO] [stdout] 217 | LLVMTypeKind::LLVMPointerTypeKind => { LLVMBuildLoad(builder, end_index, cstr!("end_index")) } [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 `llvm_sys::core::LLVMBuildICmp` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:220:22 [INFO] [stdout] | [INFO] [stdout] 220 | let comparison = LLVMBuildICmp(builder, LLVMIntPredicate::LLVMIntULT, loop_index, end_index, cstr!("loop_check")); [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 `llvm_sys::core::LLVMBuildCondBr` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | LLVMBuildCondBr(builder, comparison, block_loop_body, block_after_loop); [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 `llvm_sys::core::LLVMPositionBuilderAtEnd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | LLVMPositionBuilderAtEnd(builder, block_loop_increment); [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 `llvm_sys::core::LLVMBuildLoad` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let llone = LLVMConstInt(LLVMInt64TypeInContext(context), 1, 0); [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 `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | let llone = LLVMConstInt(LLVMInt64TypeInContext(context), 1, 0); [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 `llvm_sys::core::LLVMBuildAdd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | let incremented_index = LLVMBuildAdd(builder, loop_index, llone, cstr!("incremented_val")); [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 `llvm_sys::core::LLVMBuildStore` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | LLVMBuildStore(builder, incremented_index, loop_index_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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildBr` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | LLVMBuildBr(builder, block_loop_check); [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 `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:235:11 [INFO] [stdout] | [INFO] [stdout] 235 | match LLVMGetTypeKind(LLVMTypeOf(value)) { [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/codegen/llhelpers.rs:234:1 [INFO] [stdout] | [INFO] [stdout] 234 | pub(crate) unsafe fn llmultiply_by_minus_one(context: LLVMContextRef, builder: LLVMBuilderRef, value: LLVMValueRef) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:235:27 [INFO] [stdout] | [INFO] [stdout] 235 | match LLVMGetTypeKind(LLVMTypeOf(value)) { [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 `llvm_sys::core::LLVMGetArrayLength` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:237:26 [INFO] [stdout] | [INFO] [stdout] 237 | let length = LLVMGetArrayLength(LLVMTypeOf(value)); [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:237:45 [INFO] [stdout] | [INFO] [stdout] 237 | let length = LLVMGetArrayLength(LLVMTypeOf(value)); [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 `codegen::llhelpers::llmultiply_by_minus_one` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | llmultiply_by_minus_one(context, builder, promote_to_vector(context, builder, value, length)) [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 `codegen::expression_eval::promote_to_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:238:55 [INFO] [stdout] | [INFO] [stdout] 238 | llmultiply_by_minus_one(context, builder, promote_to_vector(context, builder, value, length)) [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 `codegen::llhelpers::scalar_minus_one` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 241 | let scalar = scalar_minus_one(context, LLVMGetElementType(LLVMTypeOf(value))); [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 `llvm_sys::core::LLVMGetElementType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:241:52 [INFO] [stdout] | [INFO] [stdout] 241 | let scalar = scalar_minus_one(context, LLVMGetElementType(LLVMTypeOf(value))); [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:241:71 [INFO] [stdout] | [INFO] [stdout] 241 | let scalar = scalar_minus_one(context, LLVMGetElementType(LLVMTypeOf(value))); [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 `llvm_sys::core::LLVMGetVectorSize` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:242:26 [INFO] [stdout] | [INFO] [stdout] 242 | let length = LLVMGetVectorSize(LLVMTypeOf(value)); [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:242:44 [INFO] [stdout] | [INFO] [stdout] 242 | let length = LLVMGetVectorSize(LLVMTypeOf(value)); [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 `llvm_sys::core::LLVMConstVector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:243:27 [INFO] [stdout] | [INFO] [stdout] 243 | let llminus = LLVMConstVector(vec![scalar; length as usize].as_mut_ptr(), length); [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 `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:244:19 [INFO] [stdout] | [INFO] [stdout] 244 | match LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(value))) { [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 `llvm_sys::core::LLVMGetElementType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:244:35 [INFO] [stdout] | [INFO] [stdout] 244 | match LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(value))) { [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:244:54 [INFO] [stdout] | [INFO] [stdout] 244 | match LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(value))) { [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 `llvm_sys::core::LLVMBuildFMul` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | LLVMBuildFMul(builder, llminus, value, cstr!("negated")) [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 `llvm_sys::core::LLVMBuildMul` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 249 | LLVMBuildMul(builder, llminus, value, cstr!("negated")) [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 `codegen::llhelpers::scalar_minus_one` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:255:27 [INFO] [stdout] | [INFO] [stdout] 255 | let llminus = scalar_minus_one(context, LLVMTypeOf(value)); [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:255:53 [INFO] [stdout] | [INFO] [stdout] 255 | let llminus = scalar_minus_one(context, LLVMTypeOf(value)); [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 `llvm_sys::core::LLVMBuildFMul` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | LLVMBuildFMul(builder, llminus, value, cstr!("negated")) [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 `codegen::llhelpers::scalar_minus_one` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:259:27 [INFO] [stdout] | [INFO] [stdout] 259 | let llminus = scalar_minus_one(context, LLVMTypeOf(value)); [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:259:53 [INFO] [stdout] | [INFO] [stdout] 259 | let llminus = scalar_minus_one(context, LLVMTypeOf(value)); [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 `llvm_sys::core::LLVMBuildMul` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | LLVMBuildMul(builder, llminus, value, cstr!("negated")) [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 `llvm_sys::core::LLVMDoubleTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:267:23 [INFO] [stdout] | [INFO] [stdout] 267 | let double_type = LLVMDoubleTypeInContext(context); [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/codegen/llhelpers.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | unsafe fn scalar_minus_one(context: LLVMContextRef, typ: LLVMTypeRef) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | let int64_type = LLVMInt64TypeInContext(context); [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 `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:269:11 [INFO] [stdout] | [INFO] [stdout] 269 | match LLVMGetTypeKind(typ) { [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | LLVMConstReal(double_type, -1.0) [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | LLVMConstInt(int64_type, std::mem::transmute(-1i64), 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:274:38 [INFO] [stdout] | [INFO] [stdout] 274 | LLVMConstInt(int64_type, std::mem::transmute(-1i64), 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 `codegen::expression_eval::evaluate_binop` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:284:20 [INFO] [stdout] | [INFO] [stdout] 284 | let dist_vec = evaluate_binop(context, builder, pos_2, pos_1, BinaryOperator::Sub).unwrap(); [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/codegen/llhelpers.rs:280:1 [INFO] [stdout] | [INFO] [stdout] 280 | / pub(crate) unsafe fn calculate_distance_sqr_and_vec(context: LLVMContextRef, builder: LLVMBuilderRef, [INFO] [stdout] 281 | | pos_1: LLVMValueRef, pos_2: LLVMValueRef) [INFO] [stdout] 282 | | -> (LLVMValueRef, LLVMValueRef) { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::expression_eval::evaluate_binop` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:286:24 [INFO] [stdout] | [INFO] [stdout] 286 | let dist_vec_sqr = evaluate_binop(context, builder, dist_vec, dist_vec, BinaryOperator::Mul).unwrap(); [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 `llvm_sys::core::LLVMBuildExtractElement` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:288:20 [INFO] [stdout] | [INFO] [stdout] 288 | let mut dist = LLVMBuildExtractElement(builder, dist_vec_sqr, [INFO] [stdout] | ____________________^ [INFO] [stdout] 289 | | LLVMConstInt(LLVMInt64TypeInContext(context), 0, 0), cstr!("dist_acc")); [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | LLVMConstInt(LLVMInt64TypeInContext(context), 0, 0), cstr!("dist_acc")); [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 `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:289:22 [INFO] [stdout] | [INFO] [stdout] 289 | LLVMConstInt(LLVMInt64TypeInContext(context), 0, 0), cstr!("dist_acc")); [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 `llvm_sys::core::LLVMGetVectorSize` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | for i in 1..LLVMGetVectorSize(LLVMTypeOf(dist_vec_sqr)) { [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:290:35 [INFO] [stdout] | [INFO] [stdout] 290 | for i in 1..LLVMGetVectorSize(LLVMTypeOf(dist_vec_sqr)) { [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 `llvm_sys::core::LLVMBuildFAdd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:291:16 [INFO] [stdout] | [INFO] [stdout] 291 | dist = LLVMBuildFAdd(builder, dist, [INFO] [stdout] | ________________^ [INFO] [stdout] 292 | | LLVMBuildExtractElement(builder, dist_vec_sqr, [INFO] [stdout] 293 | | LLVMConstInt(LLVMInt64TypeInContext(context), i as u64, 0), cstr!("dist_elem")), [INFO] [stdout] 294 | | cstr!("dist_acc") [INFO] [stdout] 295 | | ); [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 `llvm_sys::core::LLVMBuildExtractElement` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | / LLVMBuildExtractElement(builder, dist_vec_sqr, [INFO] [stdout] 293 | | LLVMConstInt(LLVMInt64TypeInContext(context), i as u64, 0), cstr!("dist_elem")), [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | LLVMConstInt(LLVMInt64TypeInContext(context), i as u64, 0), cstr!("dist_elem")), [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 `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:293:30 [INFO] [stdout] | [INFO] [stdout] 293 | LLVMConstInt(LLVMInt64TypeInContext(context), i as u64, 0), cstr!("dist_elem")), [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 `llvm_sys::core::LLVMDoubleTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:303:23 [INFO] [stdout] | [INFO] [stdout] 303 | let double_type = LLVMDoubleTypeInContext(context); [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/codegen/llhelpers.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | / pub(crate) unsafe fn correct_postion_vector(context: LLVMContextRef, builder: LLVMBuilderRef, [INFO] [stdout] 301 | | position: LLVMValueRef, other_position: LLVMValueRef, cutoff_skin: f64, domain: &Domain) [INFO] [stdout] 302 | | -> LLVMValueRef { [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::expression_eval::evaluate_binop` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:313:32 [INFO] [stdout] | [INFO] [stdout] 313 | let raw_dist_vec = evaluate_binop(context, builder, position, other_position, BinaryOperator::Sub).unwrap(); [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 `llvm_sys::core::LLVMBuildFCmp` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:314:24 [INFO] [stdout] | [INFO] [stdout] 314 | let cmp1 = LLVMBuildFCmp(builder, LLVMRealPredicate::LLVMRealOGT, raw_dist_vec, LLVMConstVector([ [INFO] [stdout] | ________________________^ [INFO] [stdout] 315 | | LLVMConstReal(double_type, cutoff_skin), [INFO] [stdout] 316 | | LLVMConstReal(double_type, cutoff_skin), [INFO] [stdout] 317 | | LLVMConstReal(double_type, cutoff_skin), [INFO] [stdout] 318 | | ].as_mut_ptr(), 3), cstr!("cmp_gt")); [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 `llvm_sys::core::LLVMConstVector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:314:93 [INFO] [stdout] | [INFO] [stdout] 314 | let cmp1 = LLVMBuildFCmp(builder, LLVMRealPredicate::LLVMRealOGT, raw_dist_vec, LLVMConstVector([ [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 315 | | LLVMConstReal(double_type, cutoff_skin), [INFO] [stdout] 316 | | LLVMConstReal(double_type, cutoff_skin), [INFO] [stdout] 317 | | LLVMConstReal(double_type, cutoff_skin), [INFO] [stdout] 318 | | ].as_mut_ptr(), 3), cstr!("cmp_gt")); [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:315:17 [INFO] [stdout] | [INFO] [stdout] 315 | LLVMConstReal(double_type, cutoff_skin), [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:316:17 [INFO] [stdout] | [INFO] [stdout] 316 | LLVMConstReal(double_type, cutoff_skin), [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | LLVMConstReal(double_type, cutoff_skin), [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 `llvm_sys::core::LLVMBuildFCmp` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:319:24 [INFO] [stdout] | [INFO] [stdout] 319 | let cmp2 = LLVMBuildFCmp(builder, LLVMRealPredicate::LLVMRealOLT, raw_dist_vec, LLVMConstVector([ [INFO] [stdout] | ________________________^ [INFO] [stdout] 320 | | LLVMConstReal(double_type, -cutoff_skin), [INFO] [stdout] 321 | | LLVMConstReal(double_type, -cutoff_skin), [INFO] [stdout] 322 | | LLVMConstReal(double_type, -cutoff_skin), [INFO] [stdout] 323 | | ].as_mut_ptr(), 3), cstr!("cmp_lt")); [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 `llvm_sys::core::LLVMConstVector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:319:93 [INFO] [stdout] | [INFO] [stdout] 319 | let cmp2 = LLVMBuildFCmp(builder, LLVMRealPredicate::LLVMRealOLT, raw_dist_vec, LLVMConstVector([ [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 320 | | LLVMConstReal(double_type, -cutoff_skin), [INFO] [stdout] 321 | | LLVMConstReal(double_type, -cutoff_skin), [INFO] [stdout] 322 | | LLVMConstReal(double_type, -cutoff_skin), [INFO] [stdout] 323 | | ].as_mut_ptr(), 3), cstr!("cmp_lt")); [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | LLVMConstReal(double_type, -cutoff_skin), [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | LLVMConstReal(double_type, -cutoff_skin), [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | LLVMConstReal(double_type, -cutoff_skin), [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 `llvm_sys::core::LLVMBuildUIToFP` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:333:24 [INFO] [stdout] | [INFO] [stdout] 333 | let cmp1 = LLVMBuildUIToFP(builder, cmp1, LLVMVectorType(double_type, 3), cstr!("cmp_gt_dbl")); [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 `llvm_sys::core::LLVMVectorType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:333:55 [INFO] [stdout] | [INFO] [stdout] 333 | let cmp1 = LLVMBuildUIToFP(builder, cmp1, LLVMVectorType(double_type, 3), cstr!("cmp_gt_dbl")); [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 `llvm_sys::core::LLVMBuildUIToFP` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:334:24 [INFO] [stdout] | [INFO] [stdout] 334 | let cmp2 = LLVMBuildUIToFP(builder, cmp2, LLVMVectorType(double_type, 3), cstr!("")); [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 `llvm_sys::core::LLVMVectorType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:334:55 [INFO] [stdout] | [INFO] [stdout] 334 | let cmp2 = LLVMBuildUIToFP(builder, cmp2, LLVMVectorType(double_type, 3), cstr!("")); [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 `llvm_sys::core::LLVMBuildFMul` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:335:24 [INFO] [stdout] | [INFO] [stdout] 335 | let cmp2 = LLVMBuildFMul(builder, cmp2, LLVMConstVector([ [INFO] [stdout] | ________________________^ [INFO] [stdout] 336 | | LLVMConstReal(double_type, -1.), [INFO] [stdout] 337 | | LLVMConstReal(double_type, -1.), [INFO] [stdout] 338 | | LLVMConstReal(double_type, -1.), [INFO] [stdout] 339 | | ].as_mut_ptr(), 3), cstr!("cmp_lt_dbl")); [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 `llvm_sys::core::LLVMConstVector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:335:53 [INFO] [stdout] | [INFO] [stdout] 335 | let cmp2 = LLVMBuildFMul(builder, cmp2, LLVMConstVector([ [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 336 | | LLVMConstReal(double_type, -1.), [INFO] [stdout] 337 | | LLVMConstReal(double_type, -1.), [INFO] [stdout] 338 | | LLVMConstReal(double_type, -1.), [INFO] [stdout] 339 | | ].as_mut_ptr(), 3), cstr!("cmp_lt_dbl")); [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | LLVMConstReal(double_type, -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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:337:17 [INFO] [stdout] | [INFO] [stdout] 337 | LLVMConstReal(double_type, -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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:338:17 [INFO] [stdout] | [INFO] [stdout] 338 | LLVMConstReal(double_type, -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 `llvm_sys::core::LLVMBuildFAdd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:341:23 [INFO] [stdout] | [INFO] [stdout] 341 | let cmp = LLVMBuildFAdd(builder, cmp1, cmp2, cstr!("cmp")); [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 `llvm_sys::core::LLVMBuildFMul` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:343:28 [INFO] [stdout] | [INFO] [stdout] 343 | let corr_vec = LLVMBuildFMul(builder, cmp, LLVMConstVector([ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 344 | | LLVMConstReal(double_type, x.size()), [INFO] [stdout] 345 | | LLVMConstReal(double_type, y.size()), [INFO] [stdout] 346 | | LLVMConstReal(double_type, z.size()), [INFO] [stdout] 347 | | ].as_mut_ptr(), 3), cstr!("correction_vec")); [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 `llvm_sys::core::LLVMConstVector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:343:56 [INFO] [stdout] | [INFO] [stdout] 343 | let corr_vec = LLVMBuildFMul(builder, cmp, LLVMConstVector([ [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 344 | | LLVMConstReal(double_type, x.size()), [INFO] [stdout] 345 | | LLVMConstReal(double_type, y.size()), [INFO] [stdout] 346 | | LLVMConstReal(double_type, z.size()), [INFO] [stdout] 347 | | ].as_mut_ptr(), 3), cstr!("correction_vec")); [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | LLVMConstReal(double_type, x.size()), [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | LLVMConstReal(double_type, y.size()), [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | LLVMConstReal(double_type, z.size()), [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 `codegen::expression_eval::evaluate_binop` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | evaluate_binop(context, builder, other_position, corr_vec, BinaryOperator::Add).unwrap() [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: fields `start`, `end`, and `step` are never read [INFO] [stdout] --> src/codegen/analysis/simgraph.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct StepRange { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 60 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | step: usize [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StepRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime/index.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | while let Some(particle) = parsed_particles.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/runtime/index.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codegen/analysis/simgraph.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | while let Some((particle_id, timeline)) = unresolved_graph.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/codegen/analysis/simgraph.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 379 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating tests/neighbor_random.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `fips_md` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/codegen/analysis/symbol.rs [INFO] [stderr] * src/codegen/expression_eval.rs [INFO] [stderr] * src/codegen/functions.rs [INFO] [stderr] * src/codegen/generator.rs [INFO] [stderr] * src/codegen/llhelpers.rs [INFO] [stderr] * src/codegen/neighbors.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/codegen/analysis/symbol.rs:21:6 [INFO] [stderr] | [INFO] [stderr] 21 | ($map:expr_2021, $key:expr_2021, $val:expr_2021, $err: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/codegen/analysis/symbol.rs:21:22 [INFO] [stderr] | [INFO] [stderr] 21 | ($map:expr_2021, $key:expr_2021, $val:expr_2021, $err: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/codegen/analysis/symbol.rs:21:38 [INFO] [stderr] | [INFO] [stderr] 21 | ($map:expr_2021, $key:expr_2021, $val:expr_2021, $err: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/codegen/analysis/symbol.rs:21:54 [INFO] [stderr] | [INFO] [stderr] 21 | ($map:expr_2021, $key:expr_2021, $val:expr_2021, $err: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/codegen/llhelpers.rs:29:6 [INFO] [stderr] | [INFO] [stderr] 29 | ($string: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/codegen/llhelpers.rs:36:6 [INFO] [stderr] | [INFO] [stderr] 36 | ($string: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/codegen/neighbors.rs:49:6 [INFO] [stderr] | [INFO] [stderr] 49 | ($pos:expr_2021, $i: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/codegen/neighbors.rs:49:22 [INFO] [stderr] | [INFO] [stderr] 49 | ($pos:expr_2021, $i: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/codegen/neighbors.rs:56:6 [INFO] [stderr] | [INFO] [stderr] 56 | ($pxyz:expr_2021, $xyz:expr_2021, $bin_size:expr_2021, $cell_topo: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/codegen/neighbors.rs:56:23 [INFO] [stderr] | [INFO] [stderr] 56 | ($pxyz:expr_2021, $xyz:expr_2021, $bin_size:expr_2021, $cell_topo: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/codegen/neighbors.rs:56:39 [INFO] [stderr] | [INFO] [stderr] 56 | ($pxyz:expr_2021, $xyz:expr_2021, $bin_size:expr_2021, $cell_topo: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/codegen/neighbors.rs:56:60 [INFO] [stderr] | [INFO] [stderr] 56 | ($pxyz:expr_2021, $xyz:expr_2021, $bin_size:expr_2021, $cell_topo: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/codegen/neighbors.rs:67:6 [INFO] [stderr] | [INFO] [stderr] 67 | ($cxyz:expr_2021, $subdomain_size: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/codegen/neighbors.rs:67:23 [INFO] [stderr] | [INFO] [stderr] 67 | ($cxyz:expr_2021, $subdomain_size: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/codegen/neighbors.rs:79:6 [INFO] [stderr] | [INFO] [stderr] 79 | ($ixyz:expr_2021, $nx:expr_2021, $ny: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/codegen/neighbors.rs:79:23 [INFO] [stderr] | [INFO] [stderr] 79 | ($ixyz:expr_2021, $nx:expr_2021, $ny: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/codegen/neighbors.rs:79:38 [INFO] [stderr] | [INFO] [stderr] 79 | ($ixyz:expr_2021, $nx:expr_2021, $ny: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/codegen/neighbors.rs:85:6 [INFO] [stderr] | [INFO] [stderr] 85 | ($idx:expr_2021, $nx:expr_2021, $ny: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/codegen/neighbors.rs:85:22 [INFO] [stderr] | [INFO] [stderr] 85 | ($idx:expr_2021, $nx:expr_2021, $ny: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/codegen/neighbors.rs:85:37 [INFO] [stderr] | [INFO] [stderr] 85 | ($idx:expr_2021, $nx:expr_2021, $ny: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/codegen/neighbors.rs:93:6 [INFO] [stderr] | [INFO] [stderr] 93 | ($a:expr_2021, $b: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/codegen/neighbors.rs:93:20 [INFO] [stderr] | [INFO] [stderr] 93 | ($a:expr_2021, $b: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/codegen/neighbors.rs:103:6 [INFO] [stderr] | [INFO] [stderr] 103 | ($a:expr_2021, $b: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/codegen/neighbors.rs:103:20 [INFO] [stderr] | [INFO] [stderr] 103 | ($a:expr_2021, $b: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/codegen/neighbors.rs:113:6 [INFO] [stderr] | [INFO] [stderr] 113 | ($xyz: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/codegen/neighbors.rs:119:6 [INFO] [stderr] | [INFO] [stderr] 119 | ($a: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/codegen/neighbors.rs:570:30 [INFO] [stderr] | [INFO] [stderr] 570 | ... ($cx2:expr_2021, $cnx: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/codegen/neighbors.rs:570:46 [INFO] [stderr] | [INFO] [stderr] 570 | ... ($cx2:expr_2021, $cnx: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] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/functions.rs:5:70 [INFO] [stderr] | [INFO] [stderr] 5 | use llvm_sys::{core::{LLVMAddFunction, LLVMAddGlobal, LLVMArrayType, LLVMBuildCall, LLVMBuildLoad, LLVMBuildStore, LLVMConstNull, LLVMDou... [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/functions.rs:5:85 [INFO] [stderr] | [INFO] [stderr] 5 | use llvm_sys::{core::{LLVMAddFunction, LLVMAddGlobal, LLVMArrayType, LLVMBuildCall, LLVMBuildLoad, LLVMBuildStore, LLVMConstNull, LLVMDou... [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/functions.rs:86:17 [INFO] [stderr] | [INFO] [stderr] 86 | LLVMBuildCall(builder, symbol_value.function, parameter_vals.as_mut_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/functions.rs:186:24 [INFO] [stderr] | [INFO] [stderr] 186 | let call_ret = LLVMBuildCall(builder, symbol_value.function, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/functions.rs:192:13 [INFO] [stderr] | [INFO] [stderr] 192 | LLVMBuildLoad(builder, global_parameter_ptrs.last().unwrap().unwrap(), cstring!(name)) [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/expression_eval.rs:176:33 [INFO] [stderr] | [INFO] [stderr] 176 | let llval = LLVMBuildLoad(builder, llptr, cstring!(llname)); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/expression_eval.rs:196:24 [INFO] [stderr] | [INFO] [stderr] 196 | Ok(LLVMBuildLoad(builder, *llptr, cstring!(format!("{}_{}", namespace, name)))) [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/expression_eval.rs:228:43 [INFO] [stderr] | [INFO] [stderr] 228 | let callback_target_ptr = LLVMBuildLoad(builder, callback_target_ptrptr, cstr!("callback_target_ptr")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:499:45 [INFO] [stderr] | [INFO] [stderr] 499 | let loaded_global = LLVMBuildLoad(builder, *llglobal, cstr!("")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:527:45 [INFO] [stderr] | [INFO] [stderr] 527 | let loaded_global = LLVMBuildLoad(builder, *llglobal, cstr!("")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/functions.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | #[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] 93 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[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] 30 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/codegen/generator.rs:533:43 [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.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] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[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] 48 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 533 | let outer_index = LLVMBuildLoad(builder, outer_index_ptr, cstr!("i")); [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | #[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] 56 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[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] 62 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | #[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] 67 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/runtime/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/codegen/generator.rs:534:47 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/analysis/symbol.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | ($map:expr, $key:expr, $val:expr, $err: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] 21 | ($map:expr_2021, $key:expr, $val:expr, $err:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/analysis/symbol.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | ($map:expr, $key:expr, $val:expr, $err:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 21 | ($map:expr, $key:expr_2021, $val:expr, $err:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 534 | let llptr_writeback = LLVMBuildGEP(builder, llptr, [outer_index].as_mut_ptr(), 1, [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/analysis/symbol.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | ($map:expr, $key:expr, $val:expr, $err:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 21 | ($map:expr, $key:expr, $val:expr_2021, $err:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/analysis/symbol.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | ($map:expr, $key:expr, $val:expr, $err:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 21 | ($map:expr, $key:expr, $val:expr, $err:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/llhelpers.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | ($string: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] 29 | ($string:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/llhelpers.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | ($string: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] 36 | ($string:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/codegen/generator.rs:538:43 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | ($pos:expr, $i: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] 49 | ($pos:expr_2021, $i:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | ($pos:expr, $i: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] 49 | ($pos:expr, $i:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 538 | let llglobalval = LLVMBuildLoad(builder, llptr_writeback, cstring!(format!("global_val_{}", member_name))); [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | ($pxyz:expr, $xyz:expr, $bin_size:expr, $cell_topo: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] 56 | ($pxyz:expr_2021, $xyz:expr, $bin_size:expr, $cell_topo:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | ($pxyz:expr, $xyz:expr, $bin_size:expr, $cell_topo: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] 56 | ($pxyz:expr, $xyz:expr_2021, $bin_size:expr, $cell_topo:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | ($pxyz:expr, $xyz:expr, $bin_size:expr, $cell_topo: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] 56 | ($pxyz:expr, $xyz:expr, $bin_size:expr_2021, $cell_topo:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:56:56 [INFO] [stdout] | [INFO] [stdout] 56 | ($pxyz:expr, $xyz:expr, $bin_size:expr, $cell_topo: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] 56 | ($pxyz:expr, $xyz:expr, $bin_size:expr, $cell_topo:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/codegen/generator.rs:539:37 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | ($cxyz:expr, $subdomain_size: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] 67 | ($cxyz:expr_2021, $subdomain_size:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | ($cxyz:expr, $subdomain_size: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] 67 | ($cxyz:expr, $subdomain_size:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 539 | let llacc = LLVMBuildLoad(builder, *lllocal, cstring!(format!("acc_{}", member_name))); [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | ($ixyz:expr, $nx:expr, $ny: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] 79 | ($ixyz:expr_2021, $nx:expr, $ny:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:546:39 [INFO] [stderr] | [INFO] [stderr] 546 | let next_offset = LLVMBuildLoad(builder, next_offset_ptr, cstr!("next_offset")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:551:39 [INFO] [stderr] | [INFO] [stderr] 551 | let outer_index = LLVMBuildLoad(builder, outer_index_ptr, cstr!("i")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:566:45 [INFO] [stderr] | [INFO] [stderr] 566 | let loaded_global = LLVMBuildLoad(builder, llglobal, cstr!("")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:571:37 [INFO] [stderr] | [INFO] [stderr] 571 | let llptr = LLVMBuildGEP(builder, global_ptr, [block_index].as_mut_ptr(), 1, cstr!("")); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:572:37 [INFO] [stderr] | [INFO] [stderr] 572 | let llval = LLVMBuildLoad(builder, llptr, cstring!(format!("loaded_{}_{}", infix, member_name))); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:576:45 [INFO] [stderr] | [INFO] [stderr] 576 | ... let llptr = LLVMBuildGEP(builder, llval, [particle_index].as_mut_ptr(), 1, cstr!("")); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:577:33 [INFO] [stderr] | [INFO] [stderr] 577 | ... LLVMBuildLoad(builder, llptr, cstring!(format!("really_loaded_{}_{}", infix, member_name))) [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:587:33 [INFO] [stderr] | [INFO] [stderr] 587 | let llptr = LLVMBuildGEP(builder, neighbor_list_index, [outer_index].as_mut_ptr(), 1, cstr!("")); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:588:39 [INFO] [stderr] | [INFO] [stderr] 588 | let next_offset = LLVMBuildLoad(builder, llptr, cstr!("next_offset")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:591:42 [INFO] [stderr] | [INFO] [stderr] 591 | let current_offset = LLVMBuildLoad(builder, current_offset_ptr, cstr!("previous_offset")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:597:39 [INFO] [stderr] | [INFO] [stderr] 597 | let inner_index = LLVMBuildLoad(builder, inner_index_ptr, cstr!("n")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:599:33 [INFO] [stderr] | [INFO] [stderr] 599 | let llptr = LLVMBuildGEP(builder, neighbor_list, [inner_index].as_mut_ptr(), 1, cstr!("j_ptr")); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:600:48 [INFO] [stderr] | [INFO] [stderr] 600 | let other_particle_index = LLVMBuildLoad(builder, llptr, cstr!("j")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:609:40 [INFO] [stderr] | [INFO] [stderr] 609 | let own_position = LLVMBuildLoad(builder, *own_members_loaded.get(own_position_name).unwrap(), cstr!("own_position")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:610:42 [INFO] [stderr] | [INFO] [stderr] 610 | ... let other_position = LLVMBuildLoad(builder, *other_members_loaded.get(other_position_name).unwrap(), cstr!("other_position")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:639:44 [INFO] [stderr] | [INFO] [stderr] 639 | let distance_sqr = LLVMBuildLoad(builder, distance_sqr_ptr, cstr!("dist_sqr")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:640:40 [INFO] [stderr] | [INFO] [stderr] 640 | let distance = LLVMBuildCall(builder, sqrt_func, [distance_sqr].as_mut_ptr(), 1, cstr!("dist")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:744:46 [INFO] [stderr] | [INFO] [stderr] 744 | ... let accval = LLVMBuildLoad(builder, *lllocal, cstring!(format!("acc_{}", quantity_def.get_name()))); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:758:57 [INFO] [stderr] | [INFO] [stderr] 758 | ... let other_block_index = LLVMBuildLoad(builder, other_block_index_ptr, cstr!("other_block_index")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:787:53 [INFO] [stderr] | [INFO] [stderr] 787 | ... let loaded_global = LLVMBuildLoad(builder, *llglobal, cstr!("")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:792:52 [INFO] [stderr] | [INFO] [stderr] 792 | ... let other_offset = LLVMBuildLoad(builder, other_offset_ptr, cstr!("other_offset")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:793:55 [INFO] [stderr] | [INFO] [stderr] 793 | ... let llptr_writeback = LLVMBuildGEP(builder, llptr, [other_offset].as_mut_ptr(), 1, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:796:51 [INFO] [stderr] | [INFO] [stderr] 796 | ... let llglobalacc = LLVMBuildLoad(builder, llptr_writeback, cstring!(format!("global_val_{}", target_name))); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:945:42 [INFO] [stderr] | [INFO] [stderr] 945 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:951:42 [INFO] [stderr] | [INFO] [stderr] 951 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:961:42 [INFO] [stderr] | [INFO] [stderr] 961 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:968:60 [INFO] [stderr] | [INFO] [stderr] 968 | ... let base_ptr = LLVMBuildLoad(builder, *base_ptr, cstring!(llname)); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:970:63 [INFO] [stderr] | [INFO] [stderr] 970 | ... let current_ptr = LLVMBuildGEP(builder, base_ptr, [loop_index].as_mut_ptr(), 1, cstring!(llname)); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:973:57 [INFO] [stderr] | [INFO] [stderr] 973 | ... let llval = LLVMBuildLoad(builder, current_ptr, cstring!(llname)); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:986:42 [INFO] [stderr] | [INFO] [stderr] 986 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1048:57 [INFO] [stderr] | [INFO] [stderr] 1048 | ... let llval = LLVMBuildLoad(builder, target, cstring!(name)); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1073:64 [INFO] [stderr] | [INFO] [stderr] 1073 | ... let base_ptr = LLVMBuildLoad(builder, *base_ptr, cstring!(llname)); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1075:67 [INFO] [stderr] | [INFO] [stderr] 1075 | ... let current_ptr = LLVMBuildGEP(builder, base_ptr, [loop_index].as_mut_ptr(), 1, cstring!(llname)); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1077:65 [INFO] [stderr] | [INFO] [stderr] 1077 | ... let mut llval = LLVMBuildLoad(builder, local_ptr.unwrap(), cstring!(llname)); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1158:25 [INFO] [stderr] | [INFO] [stderr] 1158 | LLVMBuildCall(builder, node_func, std::ptr::null_mut(), 0, cstr!("")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1167:61 [INFO] [stderr] | [INFO] [stderr] 1167 | ... let callback_target_param = LLVMBuildLoad(builder, callback_target_ptrptr, cstr!("tmp")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1168:33 [INFO] [stderr] | [INFO] [stderr] 1168 | ... LLVMBuildCall(builder, call2rust_handler, [callback_target_param, llbarrier_data].as_mut_ptr(), 2, cstr!("")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1178:65 [INFO] [stderr] | [INFO] [stderr] 1178 | ... let callback_target_param = LLVMBuildLoad(builder, callback_target_ptrptr, cstr!("tmp")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1181:37 [INFO] [stderr] | [INFO] [stderr] 1181 | ... LLVMBuildCall(builder, interaction_handler, [callback_target_param, llbarrier_data, block_index, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1183:63 [INFO] [stderr] | [INFO] [stderr] 1183 | ... let neighbor_list_index = LLVMBuildLoad(builder, neighbor_list_index_var, cstr!("neighbor_list_index")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1184:57 [INFO] [stderr] | [INFO] [stderr] 1184 | ... let neighbor_list = LLVMBuildLoad(builder, neighbor_list_var, cstr!("neighbor_list")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1185:37 [INFO] [stderr] | [INFO] [stderr] 1185 | ... LLVMBuildCall(builder, interaction_vals.interaction_func, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1188:37 [INFO] [stderr] | [INFO] [stderr] 1188 | ... LLVMBuildCall(builder, interaction_sync_handler, [callback_target_param, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1206:41 [INFO] [stderr] | [INFO] [stderr] 1206 | let callback_target_param = LLVMBuildLoad(builder, callback_target_ptrptr, cstr!("tmp")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/generator.rs:1207:13 [INFO] [stderr] | [INFO] [stderr] 1207 | LLVMBuildCall(builder, end_of_step_handler, [callback_target_param].as_mut_ptr(), 1, cstr!("")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/llhelpers.rs:215:22 [INFO] [stderr] | [INFO] [stderr] 215 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/llhelpers.rs:217:48 [INFO] [stderr] | [INFO] [stderr] 217 | LLVMTypeKind::LLVMPointerTypeKind => { LLVMBuildLoad(builder, end_index, cstr!("end_index")) } [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stderr] --> src/codegen/llhelpers.rs:225:22 [INFO] [stderr] | [INFO] [stderr] 225 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 28 previous errors; 62 warnings emitted [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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | ($ixyz:expr, $nx:expr, $ny: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] 79 | ($ixyz:expr, $nx:expr_2021, $ny:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | ($ixyz:expr, $nx:expr, $ny: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] 79 | ($ixyz:expr, $nx:expr, $ny: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/codegen/neighbors.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | ($idx:expr, $nx:expr, $ny: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] 85 | ($idx:expr_2021, $nx:expr, $ny:expr) => { { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | ($idx:expr, $nx:expr, $ny: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] 85 | ($idx:expr, $nx:expr_2021, $ny:expr) => { { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | ($idx:expr, $nx:expr, $ny: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] 85 | ($idx:expr, $nx:expr, $ny: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/codegen/neighbors.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | ($a:expr, $b:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 93 | ($a:expr_2021, $b:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | ($a:expr, $b:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 93 | ($a:expr, $b:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | ($a:expr, $b:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 103 | ($a:expr_2021, $b:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | ($a:expr, $b:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 103 | ($a:expr, $b:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | ($xyz: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] 113 | ($xyz: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/codegen/neighbors.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | ($a:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 119 | ($a: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/codegen/neighbors.rs:570:35 [INFO] [stdout] | [INFO] [stdout] 570 | ... ($cx2:expr, $cnx: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] 570 | ($cx2:expr_2021, $cnx:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/codegen/neighbors.rs:570:46 [INFO] [stdout] | [INFO] [stdout] 570 | ... ($cx2:expr, $cnx: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] 570 | ($cx2:expr, $cnx:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/functions.rs:5:70 [INFO] [stdout] | [INFO] [stdout] 5 | use llvm_sys::{core::{LLVMAddFunction, LLVMAddGlobal, LLVMArrayType, LLVMBuildCall, LLVMBuildLoad, LLVMBuildStore, LLVMConstNull, LLVMDou... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/functions.rs:5:85 [INFO] [stdout] | [INFO] [stdout] 5 | use llvm_sys::{core::{LLVMAddFunction, LLVMAddGlobal, LLVMArrayType, LLVMBuildCall, LLVMBuildLoad, LLVMBuildStore, LLVMConstNull, LLVMDou... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/functions.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | LLVMBuildCall(builder, symbol_value.function, parameter_vals.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/functions.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | let call_ret = LLVMBuildCall(builder, symbol_value.function, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/functions.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | LLVMBuildLoad(builder, global_parameter_ptrs.last().unwrap().unwrap(), cstring!(name)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/expression_eval.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | let llval = LLVMBuildLoad(builder, llptr, cstring!(llname)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/expression_eval.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | Ok(LLVMBuildLoad(builder, *llptr, cstring!(format!("{}_{}", namespace, name)))) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/expression_eval.rs:228:43 [INFO] [stdout] | [INFO] [stdout] 228 | let callback_target_ptr = LLVMBuildLoad(builder, callback_target_ptrptr, cstr!("callback_target_ptr")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:499:45 [INFO] [stdout] | [INFO] [stdout] 499 | let loaded_global = LLVMBuildLoad(builder, *llglobal, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:527:45 [INFO] [stdout] | [INFO] [stdout] 527 | let loaded_global = LLVMBuildLoad(builder, *llglobal, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:533:43 [INFO] [stdout] | [INFO] [stdout] 533 | let outer_index = LLVMBuildLoad(builder, outer_index_ptr, cstr!("i")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:534:47 [INFO] [stdout] | [INFO] [stdout] 534 | let llptr_writeback = LLVMBuildGEP(builder, llptr, [outer_index].as_mut_ptr(), 1, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:538:43 [INFO] [stdout] | [INFO] [stdout] 538 | let llglobalval = LLVMBuildLoad(builder, llptr_writeback, cstring!(format!("global_val_{}", member_name))); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:539:37 [INFO] [stdout] | [INFO] [stdout] 539 | let llacc = LLVMBuildLoad(builder, *lllocal, cstring!(format!("acc_{}", member_name))); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:546:39 [INFO] [stdout] | [INFO] [stdout] 546 | let next_offset = LLVMBuildLoad(builder, next_offset_ptr, cstr!("next_offset")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:551:39 [INFO] [stdout] | [INFO] [stdout] 551 | let outer_index = LLVMBuildLoad(builder, outer_index_ptr, cstr!("i")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:566:45 [INFO] [stdout] | [INFO] [stdout] 566 | let loaded_global = LLVMBuildLoad(builder, llglobal, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:571:37 [INFO] [stdout] | [INFO] [stdout] 571 | let llptr = LLVMBuildGEP(builder, global_ptr, [block_index].as_mut_ptr(), 1, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:572:37 [INFO] [stdout] | [INFO] [stdout] 572 | let llval = LLVMBuildLoad(builder, llptr, cstring!(format!("loaded_{}_{}", infix, member_name))); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:576:45 [INFO] [stdout] | [INFO] [stdout] 576 | ... let llptr = LLVMBuildGEP(builder, llval, [particle_index].as_mut_ptr(), 1, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:577:33 [INFO] [stdout] | [INFO] [stdout] 577 | ... LLVMBuildLoad(builder, llptr, cstring!(format!("really_loaded_{}_{}", infix, member_name))) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:587:33 [INFO] [stdout] | [INFO] [stdout] 587 | let llptr = LLVMBuildGEP(builder, neighbor_list_index, [outer_index].as_mut_ptr(), 1, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:588:39 [INFO] [stdout] | [INFO] [stdout] 588 | let next_offset = LLVMBuildLoad(builder, llptr, cstr!("next_offset")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:591:42 [INFO] [stdout] | [INFO] [stdout] 591 | let current_offset = LLVMBuildLoad(builder, current_offset_ptr, cstr!("previous_offset")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:597:39 [INFO] [stdout] | [INFO] [stdout] 597 | let inner_index = LLVMBuildLoad(builder, inner_index_ptr, cstr!("n")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:599:33 [INFO] [stdout] | [INFO] [stdout] 599 | let llptr = LLVMBuildGEP(builder, neighbor_list, [inner_index].as_mut_ptr(), 1, cstr!("j_ptr")); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:600:48 [INFO] [stdout] | [INFO] [stdout] 600 | let other_particle_index = LLVMBuildLoad(builder, llptr, cstr!("j")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:609:40 [INFO] [stdout] | [INFO] [stdout] 609 | let own_position = LLVMBuildLoad(builder, *own_members_loaded.get(own_position_name).unwrap(), cstr!("own_position")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:610:42 [INFO] [stdout] | [INFO] [stdout] 610 | ... let other_position = LLVMBuildLoad(builder, *other_members_loaded.get(other_position_name).unwrap(), cstr!("other_position")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:639:44 [INFO] [stdout] | [INFO] [stdout] 639 | let distance_sqr = LLVMBuildLoad(builder, distance_sqr_ptr, cstr!("dist_sqr")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:640:40 [INFO] [stdout] | [INFO] [stdout] 640 | let distance = LLVMBuildCall(builder, sqrt_func, [distance_sqr].as_mut_ptr(), 1, cstr!("dist")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:744:46 [INFO] [stdout] | [INFO] [stdout] 744 | ... let accval = LLVMBuildLoad(builder, *lllocal, cstring!(format!("acc_{}", quantity_def.get_name()))); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:758:57 [INFO] [stdout] | [INFO] [stdout] 758 | ... let other_block_index = LLVMBuildLoad(builder, other_block_index_ptr, cstr!("other_block_index")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:787:53 [INFO] [stdout] | [INFO] [stdout] 787 | ... let loaded_global = LLVMBuildLoad(builder, *llglobal, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:792:52 [INFO] [stdout] | [INFO] [stdout] 792 | ... let other_offset = LLVMBuildLoad(builder, other_offset_ptr, cstr!("other_offset")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:793:55 [INFO] [stdout] | [INFO] [stdout] 793 | ... let llptr_writeback = LLVMBuildGEP(builder, llptr, [other_offset].as_mut_ptr(), 1, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:796:51 [INFO] [stdout] | [INFO] [stdout] 796 | ... let llglobalacc = LLVMBuildLoad(builder, llptr_writeback, cstring!(format!("global_val_{}", target_name))); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:945:42 [INFO] [stdout] | [INFO] [stdout] 945 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:951:42 [INFO] [stdout] | [INFO] [stdout] 951 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:961:42 [INFO] [stdout] | [INFO] [stdout] 961 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:968:60 [INFO] [stdout] | [INFO] [stdout] 968 | ... let base_ptr = LLVMBuildLoad(builder, *base_ptr, cstring!(llname)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:970:63 [INFO] [stdout] | [INFO] [stdout] 970 | ... let current_ptr = LLVMBuildGEP(builder, base_ptr, [loop_index].as_mut_ptr(), 1, cstring!(llname)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:973:57 [INFO] [stdout] | [INFO] [stdout] 973 | ... let llval = LLVMBuildLoad(builder, current_ptr, cstring!(llname)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:986:42 [INFO] [stdout] | [INFO] [stdout] 986 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1048:57 [INFO] [stdout] | [INFO] [stdout] 1048 | ... let llval = LLVMBuildLoad(builder, target, cstring!(name)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1073:64 [INFO] [stdout] | [INFO] [stdout] 1073 | ... let base_ptr = LLVMBuildLoad(builder, *base_ptr, cstring!(llname)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1075:67 [INFO] [stdout] | [INFO] [stdout] 1075 | ... let current_ptr = LLVMBuildGEP(builder, base_ptr, [loop_index].as_mut_ptr(), 1, cstring!(llname)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1077:65 [INFO] [stdout] | [INFO] [stdout] 1077 | ... let mut llval = LLVMBuildLoad(builder, local_ptr.unwrap(), cstring!(llname)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1158:25 [INFO] [stdout] | [INFO] [stdout] 1158 | LLVMBuildCall(builder, node_func, std::ptr::null_mut(), 0, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1167:61 [INFO] [stdout] | [INFO] [stdout] 1167 | ... let callback_target_param = LLVMBuildLoad(builder, callback_target_ptrptr, cstr!("tmp")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1168:33 [INFO] [stdout] | [INFO] [stdout] 1168 | ... LLVMBuildCall(builder, call2rust_handler, [callback_target_param, llbarrier_data].as_mut_ptr(), 2, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1178:65 [INFO] [stdout] | [INFO] [stdout] 1178 | ... let callback_target_param = LLVMBuildLoad(builder, callback_target_ptrptr, cstr!("tmp")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1181:37 [INFO] [stdout] | [INFO] [stdout] 1181 | ... LLVMBuildCall(builder, interaction_handler, [callback_target_param, llbarrier_data, block_index, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1183:63 [INFO] [stdout] | [INFO] [stdout] 1183 | ... let neighbor_list_index = LLVMBuildLoad(builder, neighbor_list_index_var, cstr!("neighbor_list_index")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1184:57 [INFO] [stdout] | [INFO] [stdout] 1184 | ... let neighbor_list = LLVMBuildLoad(builder, neighbor_list_var, cstr!("neighbor_list")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1185:37 [INFO] [stdout] | [INFO] [stdout] 1185 | ... LLVMBuildCall(builder, interaction_vals.interaction_func, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1188:37 [INFO] [stdout] | [INFO] [stdout] 1188 | ... LLVMBuildCall(builder, interaction_sync_handler, [callback_target_param, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1206:41 [INFO] [stdout] | [INFO] [stdout] 1206 | let callback_target_param = LLVMBuildLoad(builder, callback_target_ptrptr, cstr!("tmp")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:1207:13 [INFO] [stdout] | [INFO] [stdout] 1207 | LLVMBuildCall(builder, end_of_step_handler, [callback_target_param].as_mut_ptr(), 1, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/llhelpers.rs:215:22 [INFO] [stdout] | [INFO] [stdout] 215 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/llhelpers.rs:217:48 [INFO] [stdout] | [INFO] [stdout] 217 | LLVMTypeKind::LLVMPointerTypeKind => { LLVMBuildLoad(builder, end_index, cstr!("end_index")) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/llhelpers.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::functions::::create_symbol_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:19:55 [INFO] [stdout] | [INFO] [stdout] 19 | FunctionIndexEntry::Extern(externfunc) => externfunc.create_symbol_value(function_id, context, module), [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/codegen/functions.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) unsafe fn create_symbol_value(&self, function_id: FunctionID, context: LLVMContextRef, module: LLVMModuleRef) -> Result::create_symbol_value` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 20 | FunctionIndexEntry::Builtin(builtin) => builtin.create_symbol_value(function_id, context, module) [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 `codegen::functions::::build_call` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | FunctionIndexEntry::Extern(externfunc) => externfunc.build_call( [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 31 | | context, builder, symbol_value, parameter_vals, self.returns_array()), [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/codegen/functions.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / pub(crate) unsafe fn build_call(&self, context: LLVMContextRef, builder: LLVMBuilderRef, [INFO] [stdout] 27 | | symbol_value: &LLFunctionSymbolValue, parameter_vals: Vec) -> Result [INFO] [stdout] | |________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::functions::::build_call` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:32:53 [INFO] [stdout] | [INFO] [stdout] 32 | FunctionIndexEntry::Builtin(builtin) => builtin.build_call( [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 33 | | context, builder, symbol_value, parameter_vals, self.returns_array()) [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 `llvm_sys::core::LLVMDoubleTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | let double_type = LLVMDoubleTypeInContext(context); [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/codegen/functions.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) unsafe fn create_symbol_value(&self, function_id: FunctionID, context: LLVMContextRef, module: LLVMModuleRef) -> Result src/codegen/functions.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | let int64_type = LLVMInt64TypeInContext(context); [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 `llvm_sys::core::LLVMFunctionType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | let math_double_func_type = LLVMFunctionType(double_type, [double_type].as_mut_ptr(), 1, 0); [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 `llvm_sys::core::LLVMAddFunction` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | function: LLVMAddFunction(module, cstr!("llvm.sqrt.f64"), math_double_func_type), [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 `llvm_sys::core::LLVMAddFunction` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | function: LLVMAddFunction(module, cstr!("llvm.sin.f64"), math_double_func_type), [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 `llvm_sys::core::LLVMAddFunction` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | function: LLVMAddFunction(module, cstr!("llvm.cos.f64"), math_double_func_type), [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 `llvm_sys::core::LLVMFunctionType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | let random_func_type = LLVMFunctionType(double_type, [int64_type].as_mut_ptr(), 1, 0); [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 `llvm_sys::core::LLVMAddFunction` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | function: LLVMAddFunction(module, cstr!("_random_normal"), random_func_type), [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 `llvm_sys::core::LLVMBuildCall` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | / LLVMBuildCall(builder, symbol_value.function, parameter_vals.as_mut_ptr(), [INFO] [stdout] 87 | | parameter_vals.len() as u32, cstring!(name)) [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/codegen/functions.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | / pub(crate) unsafe fn build_call(&self, _: LLVMContextRef, builder: LLVMBuilderRef, [INFO] [stdout] 80 | | symbol_value: &LLFunctionSymbolValue, mut parameter_vals: Vec, [INFO] [stdout] 81 | | _: bool) [INFO] [stdout] 82 | | -> Result { [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let callback_target = &mut *(callback_target as usize as *mut CallbackTarget); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/codegen/functions.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub unsafe extern "C" fn _random_normal(callback_target: u64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::llhelpers::get_llvm_type_dims` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 106 | let (base_type, dims) = get_llvm_type_dims(context, typ)?; [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/codegen/functions.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) unsafe fn create_symbol_value(&self, function_id: FunctionID, context: LLVMContextRef, module: LLVMModuleRef) -> Result src/codegen/functions.rs:116:46 [INFO] [stdout] | [INFO] [stdout] 116 | let parameter_type = LLVMArrayType(base_type, dims[0] as u32); [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 `llvm_sys::core::LLVMAddGlobal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:117:52 [INFO] [stdout] | [INFO] [stdout] 117 | let global_parameter_ptr = LLVMAddGlobal(module, [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 118 | | parameter_type, [INFO] [stdout] 119 | | cstring!(name) [INFO] [stdout] 120 | | ); [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 `llvm_sys::core::LLVMSetLinkage` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | LLVMSetLinkage(global_parameter_ptr, llvm_sys::LLVMLinkage::LLVMCommonLinkage); [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 `llvm_sys::core::LLVMSetInitializer` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | LLVMSetInitializer(global_parameter_ptr, LLVMConstNull(parameter_type)); [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 `llvm_sys::core::LLVMConstNull` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:122:66 [INFO] [stdout] | [INFO] [stdout] 122 | LLVMSetInitializer(global_parameter_ptr, LLVMConstNull(parameter_type)); [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 `llvm_sys::core::LLVMPointerType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:124:46 [INFO] [stdout] | [INFO] [stdout] 124 | parameter_types.push(LLVMPointerType(parameter_type, 0)); [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 `codegen::llhelpers::get_llvm_type_dims` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | let (base_type, dims) = get_llvm_type_dims(context, &self.return_type)?; [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 `llvm_sys::core::LLVMVoidTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | return_type = LLVMVoidTypeInContext(context); [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 `llvm_sys::core::LLVMArrayType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:139:38 [INFO] [stdout] | [INFO] [stdout] 139 | let parameter_type = LLVMArrayType(base_type, dims[0] as u32); [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 `llvm_sys::core::LLVMAddGlobal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:141:44 [INFO] [stdout] | [INFO] [stdout] 141 | let global_parameter_ptr = LLVMAddGlobal(module, [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 142 | | parameter_type, [INFO] [stdout] 143 | | cstring!(name) [INFO] [stdout] 144 | | ); [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 `llvm_sys::core::LLVMSetLinkage` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | LLVMSetLinkage(global_parameter_ptr, llvm_sys::LLVMLinkage::LLVMCommonLinkage); [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 `llvm_sys::core::LLVMSetInitializer` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | LLVMSetInitializer(global_parameter_ptr, LLVMConstNull(parameter_type)); [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 `llvm_sys::core::LLVMConstNull` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:146:58 [INFO] [stdout] | [INFO] [stdout] 146 | LLVMSetInitializer(global_parameter_ptr, LLVMConstNull(parameter_type)); [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 `llvm_sys::core::LLVMPointerType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:148:38 [INFO] [stdout] | [INFO] [stdout] 148 | parameter_types.push(LLVMPointerType(parameter_type, 0)); [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 `llvm_sys::core::LLVMFunctionType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | let func_type = LLVMFunctionType(return_type, [INFO] [stdout] | _________________________^ [INFO] [stdout] 154 | | parameter_types.as_mut_ptr(), parameter_types.len() as u32, 0); [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 `llvm_sys::core::LLVMAddFunction` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | let function = LLVMAddFunction(module, cstring!(self.name.clone()), func_type); [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 `llvm_sys::core::LLVMBuildStore` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | LLVMBuildStore(builder, *parameter_val, *global_parameter_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/codegen/functions.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / pub(crate) unsafe fn build_call(&self, _: LLVMContextRef, builder: LLVMBuilderRef, [INFO] [stdout] 164 | | symbol_value: &LLFunctionSymbolValue, mut parameter_vals: Vec, [INFO] [stdout] 165 | | returns_array: bool) [INFO] [stdout] 166 | | -> Result { [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildCall` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | let call_ret = LLVMBuildCall(builder, symbol_value.function, [INFO] [stdout] | ________________________^ [INFO] [stdout] 187 | | parameter_vals.as_mut_ptr(), parameter_vals.len() as u32, [INFO] [stdout] 188 | | if returns_array {cstr!("")} else { cstring!(name) }); [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 `llvm_sys::core::LLVMBuildLoad` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/functions.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | LLVMBuildLoad(builder, global_parameter_ptrs.last().unwrap().unwrap(), cstring!(name)) [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 `llvm_sys::core::LLVMBuildAdd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | LLVMBuildAdd(builder, lhs, rhs, cstr!("tmp_add")) [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/codegen/expression_eval.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe fn int_asmd(builder: LLVMBuilderRef, op: parser::BinaryOperator, lhs: LLVMValueRef, rhs: LLVMValueRef) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildSub` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | LLVMBuildSub(builder, lhs, rhs, cstr!("tmp_sub")) [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 `llvm_sys::core::LLVMBuildMul` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | LLVMBuildMul(builder, lhs, rhs, cstr!("tmp_mul")) [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 `llvm_sys::core::LLVMBuildSDiv` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | LLVMBuildSDiv(builder, lhs, rhs, cstr!("tmp_div")) [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 `llvm_sys::core::LLVMBuildFAdd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | LLVMBuildFAdd(builder, lhs, rhs, cstr!("tmp_add")) [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/codegen/expression_eval.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe fn float_asmd(builder: LLVMBuilderRef, op: parser::BinaryOperator, lhs: LLVMValueRef, rhs: LLVMValueRef) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildFSub` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | LLVMBuildFSub(builder, lhs, rhs, cstr!("tmp_sub")) [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 `llvm_sys::core::LLVMBuildFMul` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | LLVMBuildFMul(builder, lhs, rhs, cstr!("tmp_mul")) [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 `llvm_sys::core::LLVMBuildFDiv` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | LLVMBuildFDiv(builder, lhs, rhs, cstr!("tmp_div")) [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | let lhs_type = LLVMTypeOf(lhs); [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/codegen/expression_eval.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe fn vector_asmd(builder: LLVMBuilderRef, op: parser::BinaryOperator, lhs: LLVMValueRef, rhs: LLVMValueRef) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let rhs_type = LLVMTypeOf(rhs); [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 `llvm_sys::core::LLVMGetElementType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | let lhs_elem_type = LLVMGetElementType(lhs_type); [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 `llvm_sys::core::LLVMGetElementType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | let rhs_elem_type = LLVMGetElementType(rhs_type); [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 `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | match (LLVMGetTypeKind(lhs_elem_type), LLVMGetTypeKind(rhs_elem_type)) { [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 `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 54 | match (LLVMGetTypeKind(lhs_elem_type), LLVMGetTypeKind(rhs_elem_type)) { [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 `codegen::expression_eval::float_asmd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | float_asmd(builder, op, lhs, rhs) [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 `codegen::expression_eval::int_asmd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | int_asmd(builder, op, lhs, rhs) [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 `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | let llkind = LLVMGetTypeKind(LLVMTypeOf(llval)); [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/codegen/expression_eval.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) unsafe fn promote_to_vector(context: LLVMContextRef, builder: LLVMBuilderRef, llval: LLVMValueRef, length: u32) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | let llkind = LLVMGetTypeKind(LLVMTypeOf(llval)); [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 `llvm_sys::core::LLVMGetArrayLength` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(LLVMGetArrayLength(LLVMTypeOf(llval)), length); [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(LLVMGetArrayLength(LLVMTypeOf(llval)), length); [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 `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | let elem_kind = LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(llval))); [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 `llvm_sys::core::LLVMGetElementType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:79:45 [INFO] [stdout] | [INFO] [stdout] 79 | let elem_kind = LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(llval))); [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:79:64 [INFO] [stdout] | [INFO] [stdout] 79 | let elem_kind = LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(llval))); [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 `llvm_sys::core::LLVMGetUndef` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | / LLVMGetUndef( [INFO] [stdout] 83 | | LLVMVectorType(LLVMDoubleTypeInContext(context), length) [INFO] [stdout] 84 | | ) [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 `llvm_sys::core::LLVMVectorType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | LLVMVectorType(LLVMDoubleTypeInContext(context), length) [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 `llvm_sys::core::LLVMDoubleTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:83:40 [INFO] [stdout] | [INFO] [stdout] 83 | LLVMVectorType(LLVMDoubleTypeInContext(context), length) [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 `llvm_sys::core::LLVMGetUndef` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | / LLVMGetUndef( [INFO] [stdout] 88 | | LLVMVectorType(LLVMInt64TypeInContext(context), length) [INFO] [stdout] 89 | | ) [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 `llvm_sys::core::LLVMVectorType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | LLVMVectorType(LLVMInt64TypeInContext(context), length) [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 `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:88:40 [INFO] [stdout] | [INFO] [stdout] 88 | LLVMVectorType(LLVMInt64TypeInContext(context), length) [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 `llvm_sys::core::LLVMBuildExtractValue` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | let llelement = LLVMBuildExtractValue(builder, llval, i, cstr!("")); [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 `llvm_sys::core::LLVMBuildInsertElement` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | llvec = LLVMBuildInsertElement(builder, llvec, llelement, [INFO] [stdout] | _________________________^ [INFO] [stdout] 96 | | LLVMConstInt(LLVMInt32TypeInContext(context), i as u64, 0), [INFO] [stdout] 97 | | cstring!("tmp_promoted_vec")); [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | LLVMConstInt(LLVMInt32TypeInContext(context), i as u64, 0), [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 `llvm_sys::core::LLVMInt32TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | LLVMConstInt(LLVMInt32TypeInContext(context), i as u64, 0), [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 `llvm_sys::core::LLVMGetUndef` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | / LLVMGetUndef( [INFO] [stdout] 107 | | LLVMVectorType(LLVMDoubleTypeInContext(context), length) [INFO] [stdout] 108 | | ) [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 `llvm_sys::core::LLVMVectorType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | LLVMVectorType(LLVMDoubleTypeInContext(context), length) [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 `llvm_sys::core::LLVMDoubleTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | LLVMVectorType(LLVMDoubleTypeInContext(context), length) [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 `llvm_sys::core::LLVMGetUndef` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | / LLVMGetUndef( [INFO] [stdout] 112 | | LLVMVectorType(LLVMInt64TypeInContext(context), length) [INFO] [stdout] 113 | | ) [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 `llvm_sys::core::LLVMVectorType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | LLVMVectorType(LLVMInt64TypeInContext(context), length) [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 `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:112:40 [INFO] [stdout] | [INFO] [stdout] 112 | LLVMVectorType(LLVMInt64TypeInContext(context), length) [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 `llvm_sys::core::LLVMBuildInsertElement` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | llvec = LLVMBuildInsertElement(builder, llvec, llval, [INFO] [stdout] | _________________________^ [INFO] [stdout] 120 | | LLVMConstInt(LLVMInt32TypeInContext(context), i as u64, 0), [INFO] [stdout] 121 | | cstring!("tmp_promoted_vec")); [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | LLVMConstInt(LLVMInt32TypeInContext(context), i as u64, 0), [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 `llvm_sys::core::LLVMInt32TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:120:34 [INFO] [stdout] | [INFO] [stdout] 120 | LLVMConstInt(LLVMInt32TypeInContext(context), i as u64, 0), [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 `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | let llkind = LLVMGetTypeKind(LLVMTypeOf(llval)); [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/codegen/expression_eval.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) unsafe fn convert_to_scalar_or_array(context: LLVMContextRef, builder: LLVMBuilderRef, llval: LLVMValueRef) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | let llkind = LLVMGetTypeKind(LLVMTypeOf(llval)); [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 `llvm_sys::core::LLVMGetVectorSize` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | let length = LLVMGetVectorSize(LLVMTypeOf(llval)); [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | let length = LLVMGetVectorSize(LLVMTypeOf(llval)); [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 `llvm_sys::core::LLVMGetElementType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:139:29 [INFO] [stdout] | [INFO] [stdout] 139 | let elem_type = LLVMGetElementType(LLVMTypeOf(llval)); [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:139:48 [INFO] [stdout] | [INFO] [stdout] 139 | let elem_type = LLVMGetElementType(LLVMTypeOf(llval)); [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 `llvm_sys::core::LLVMGetUndef` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | let mut llarray = LLVMGetUndef(LLVMArrayType(elem_type, length)); [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 `llvm_sys::core::LLVMArrayType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:140:44 [INFO] [stdout] | [INFO] [stdout] 140 | let mut llarray = LLVMGetUndef(LLVMArrayType(elem_type, length)); [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 `llvm_sys::core::LLVMBuildExtractElement` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 142 | let llelem = LLVMBuildExtractElement(builder, llval, [INFO] [stdout] | ______________________________^ [INFO] [stdout] 143 | | LLVMConstInt(LLVMInt32TypeInContext(context), i as u64, 0), cstr!("")); [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | LLVMConstInt(LLVMInt32TypeInContext(context), i as u64, 0), cstr!("")); [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 `llvm_sys::core::LLVMInt32TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:143:34 [INFO] [stdout] | [INFO] [stdout] 143 | LLVMConstInt(LLVMInt32TypeInContext(context), i as u64, 0), cstr!("")); [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 `llvm_sys::core::LLVMBuildInsertValue` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | llarray = LLVMBuildInsertValue(builder, llarray, llelem, i, cstr!("tmp_vec2array")) [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 `llvm_sys::core::LLVMBuildLoad` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | let llval = LLVMBuildLoad(builder, llptr, cstring!(llname)); [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/codegen/expression_eval.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | / pub(crate) unsafe fn evaluate_expression(context: LLVMContextRef, builder: LLVMBuilderRef, expr: &parser::Expression, [INFO] [stdout] 153 | | symbol_table: &SymbolTable, [INFO] [stdout] 154 | | namespace_symbols: &HashMap<&String, HashMap>, [INFO] [stdout] 155 | | function_index: &FunctionIndex, [INFO] [stdout] 156 | | callback_target_ptrptr: LLVMValueRef) -> Result [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMDoubleTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:182:39 [INFO] [stdout] | [INFO] [stdout] 182 | ... let typ = LLVMDoubleTypeInContext(context); [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | ... Ok(LLVMConstReal(typ, *val)) [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 `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:186:39 [INFO] [stdout] | [INFO] [stdout] 186 | ... let typ = LLVMInt64TypeInContext(context); [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | ... Ok(LLVMConstInt(typ, *val as u64, 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 `llvm_sys::core::LLVMBuildLoad` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | Ok(LLVMBuildLoad(builder, *llptr, cstring!(format!("{}_{}", namespace, name)))) [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 `codegen::expression_eval::evaluate_expression` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:201:23 [INFO] [stdout] | [INFO] [stdout] 201 | let lhs = evaluate_expression(context, builder, binop.lhs.as_ref(), [INFO] [stdout] | _______________________^ [INFO] [stdout] 202 | | symbol_table, namespace_symbols, function_index, callback_target_ptrptr)?; [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 `codegen::expression_eval::evaluate_expression` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 203 | let rhs = evaluate_expression(context, builder, binop.rhs.as_ref(), [INFO] [stdout] | _______________________^ [INFO] [stdout] 204 | | symbol_table, namespace_symbols, function_index, callback_target_ptrptr)?; [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 `codegen::expression_eval::evaluate_binop` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | evaluate_binop(context, builder, lhs, rhs, binop.op) [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 `codegen::expression_eval::evaluate_expression` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:222:29 [INFO] [stdout] | [INFO] [stdout] 222 | .map(|expr| evaluate_expression(context, builder, expr, [INFO] [stdout] | _____________________________^ [INFO] [stdout] 223 | | symbol_table, namespace_symbols, function_index, callback_target_ptrptr)) [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 `llvm_sys::core::LLVMBuildLoad` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:228:43 [INFO] [stdout] | [INFO] [stdout] 228 | let callback_target_ptr = LLVMBuildLoad(builder, callback_target_ptrptr, cstr!("callback_target_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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::functions::::build_call` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:233:16 [INFO] [stdout] | [INFO] [stdout] 233 | Ok(func.build_call(context, builder, symbol_value, parameter_vals)?) [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 `codegen::expression_eval::evaluate_expression` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:238:29 [INFO] [stdout] | [INFO] [stdout] 238 | let array_val = evaluate_expression(context, builder, [INFO] [stdout] | _____________________________^ [INFO] [stdout] 239 | | &parser::Expression::Atom(parser::Atom::Variable(indexop.array.clone())), [INFO] [stdout] 240 | | symbol_table, namespace_symbols, function_index, callback_target_ptrptr)?; [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 `llvm_sys::core::LLVMBuildExtractValue` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | Ok(LLVMBuildExtractValue(builder, array_val, [INFO] [stdout] | ________________^ [INFO] [stdout] 245 | | index, cstring!(name))) [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 `codegen::expression_eval::evaluate_expression` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:253:37 [INFO] [stdout] | [INFO] [stdout] 253 | .map(|element_expr| evaluate_expression( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 254 | | context, builder, element_expr, symbol_table, namespace_symbols, [INFO] [stdout] 255 | | function_index, callback_target_ptrptr) [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:257:25 [INFO] [stdout] | [INFO] [stdout] 257 | let lltyp = LLVMTypeOf(elements[0]); [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 `llvm_sys::core::LLVMGetUndef` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:258:30 [INFO] [stdout] | [INFO] [stdout] 258 | let mut result = LLVMGetUndef(LLVMArrayType(lltyp, elements.len() as u32)); [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 `llvm_sys::core::LLVMArrayType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:258:43 [INFO] [stdout] | [INFO] [stdout] 258 | let mut result = LLVMGetUndef(LLVMArrayType(lltyp, elements.len() as u32)); [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 `codegen::expression_eval::convert_to_scalar_or_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:260:31 [INFO] [stdout] | [INFO] [stdout] 260 | let element = convert_to_scalar_or_array(context, builder, element); [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 `llvm_sys::core::LLVMBuildInsertValue` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:262:26 [INFO] [stdout] | [INFO] [stdout] 262 | result = LLVMBuildInsertValue(builder, result, element, i as u32, cstring!(name)); [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 270 | let lhs_type = LLVMTypeOf(lhs); [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/codegen/expression_eval.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | pub(crate) unsafe fn evaluate_binop(context: LLVMContextRef, builder: LLVMBuilderRef, lhs: LLVMValueRef, rhs: LLVMValueRef, op: BinaryOperator) -> Result src/codegen/expression_eval.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | let rhs_type = LLVMTypeOf(rhs); [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 `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:272:25 [INFO] [stdout] | [INFO] [stdout] 272 | let lhs_type_kind = LLVMGetTypeKind(lhs_type); [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 `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | let rhs_type_kind = LLVMGetTypeKind(rhs_type); [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 `codegen::expression_eval::float_asmd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | float_asmd(builder, op, lhs, rhs) [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 `codegen::expression_eval::int_asmd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | int_asmd(builder, op, lhs, rhs) [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 `llvm_sys::core::LLVMGetVectorSize` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:286:16 [INFO] [stdout] | [INFO] [stdout] 286 | if LLVMGetVectorSize(lhs_type) != LLVMGetVectorSize(rhs_type) { [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 `llvm_sys::core::LLVMGetVectorSize` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:286:47 [INFO] [stdout] | [INFO] [stdout] 286 | if LLVMGetVectorSize(lhs_type) != LLVMGetVectorSize(rhs_type) { [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 `codegen::expression_eval::vector_asmd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | vector_asmd(builder, op, lhs, rhs) [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 `llvm_sys::core::LLVMGetVectorSize` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:299:21 [INFO] [stdout] | [INFO] [stdout] 299 | LLVMGetVectorSize(lhs_type) [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 `llvm_sys::core::LLVMGetVectorSize` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 305 | LLVMGetVectorSize(rhs_type) [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 `codegen::expression_eval::promote_to_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:310:23 [INFO] [stdout] | [INFO] [stdout] 310 | let lhs = promote_to_vector(context, builder, lhs, vec_length); [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 `codegen::expression_eval::promote_to_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:311:23 [INFO] [stdout] | [INFO] [stdout] 311 | let rhs = promote_to_vector(context, builder, rhs, vec_length); [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 `codegen::expression_eval::vector_asmd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | vector_asmd(builder, op, lhs, rhs) [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 `codegen::expression_eval::promote_to_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:316:23 [INFO] [stdout] | [INFO] [stdout] 316 | let lhs = promote_to_vector(context, builder, lhs, LLVMGetArrayLength(lhs_type)); [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 `llvm_sys::core::LLVMGetArrayLength` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:316:64 [INFO] [stdout] | [INFO] [stdout] 316 | let lhs = promote_to_vector(context, builder, lhs, LLVMGetArrayLength(lhs_type)); [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 `codegen::expression_eval::promote_to_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:317:23 [INFO] [stdout] | [INFO] [stdout] 317 | let rhs = promote_to_vector(context, builder, rhs, LLVMGetArrayLength(rhs_type)); [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 `llvm_sys::core::LLVMGetArrayLength` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:317:64 [INFO] [stdout] | [INFO] [stdout] 317 | let rhs = promote_to_vector(context, builder, rhs, LLVMGetArrayLength(rhs_type)); [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 `codegen::expression_eval::evaluate_binop` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | evaluate_binop(context, builder, lhs, rhs, op)? [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 `codegen::expression_eval::promote_to_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:321:23 [INFO] [stdout] | [INFO] [stdout] 321 | let lhs = promote_to_vector(context, builder, lhs, LLVMGetArrayLength(lhs_type)); [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 `llvm_sys::core::LLVMGetArrayLength` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:321:64 [INFO] [stdout] | [INFO] [stdout] 321 | let lhs = promote_to_vector(context, builder, lhs, LLVMGetArrayLength(lhs_type)); [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 `codegen::expression_eval::evaluate_binop` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | evaluate_binop(context, builder, lhs, rhs, op)? [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 `codegen::expression_eval::promote_to_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:325:23 [INFO] [stdout] | [INFO] [stdout] 325 | let rhs = promote_to_vector(context, builder, rhs, LLVMGetArrayLength(rhs_type)); [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 `llvm_sys::core::LLVMGetArrayLength` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:325:64 [INFO] [stdout] | [INFO] [stdout] 325 | let rhs = promote_to_vector(context, builder, rhs, LLVMGetArrayLength(rhs_type)); [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 `codegen::expression_eval::evaluate_binop` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/expression_eval.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | evaluate_binop(context, builder, lhs, rhs, op)? [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::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/generator.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | callback_target.as_ref().unwrap().handle_call2rust(barrier); [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/codegen/generator.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub unsafe extern "C" fn _call2rust_handler(callback_target: u64, barrier_data: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/generator.rs:43:48 [INFO] [stdout] | [INFO] [stdout] 43 | let (neighbor_list_index, neighbor_list) = callback_target.as_ref().unwrap().handle_interaction(barrier, block_index); [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/codegen/generator.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / pub unsafe extern "C" fn _interaction_handler(callback_target: u64, barrier_data: u64, [INFO] [stdout] 39 | | block_index: usize, neighbor_list_index_ret: *mut *const usize, neighbor_list_ret: *mut *const usize) [INFO] [stdout] 40 | | -> () { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/generator.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | *neighbor_list_index_ret = neighbor_list_index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/generator.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | *neighbor_list_ret = neighbor_list; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/generator.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | callback_target.as_ref().unwrap().handle_interaction_sync(barrier); [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/codegen/generator.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / pub unsafe extern "C" fn _interaction_sync_handler(callback_target: u64, barrier_data: u64) [INFO] [stdout] 50 | | -> () { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/generator.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | callback_target.as_ref().unwrap().end_of_step(); [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/codegen/generator.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub unsafe extern "C" fn _end_of_step(callback_target: u64) { [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/codegen/llhelpers.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | let message = CStr::from_ptr(LLVMGetErrorMessage(error)).to_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/codegen/llhelpers.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) unsafe fn llvm_errorref_to_result(context: &str, error: LLVMErrorRef) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::error::LLVMGetErrorMessage` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | let message = CStr::from_ptr(LLVMGetErrorMessage(error)).to_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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMDoubleTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | FipsType::Double => (LLVMDoubleTypeInContext(context), vec![]), [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/codegen/llhelpers.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) unsafe fn get_llvm_type_dims(context: LLVMContextRef, typ: &FipsType) -> Result<(LLVMTypeRef, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | FipsType::Int64 => (LLVMInt64TypeInContext(context), vec![]), [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 `codegen::llhelpers::get_llvm_type_dims` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | let (subtype, mut subdims) = get_llvm_type_dims(context, typ)?; [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 `llvm_sys::core::LLVMGetModuleContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | let context = LLVMGetModuleContext(module); [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/codegen/llhelpers.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) unsafe fn create_global_const_double(module: LLVMModuleRef, name: String, value: f64) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMDoubleTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | let typ = LLVMDoubleTypeInContext(context); [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 `llvm_sys::core::LLVMAddGlobal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let llval = LLVMAddGlobal(module, typ, cstring!(name)); [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | let initializer = LLVMConstReal(typ, value); [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 `llvm_sys::core::LLVMSetGlobalConstant` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | LLVMSetGlobalConstant(llval, 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 `llvm_sys::core::LLVMSetInitializer` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | LLVMSetInitializer(llval, initializer); [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 `llvm_sys::core::LLVMGetModuleContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | let context = LLVMGetModuleContext(module); [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/codegen/llhelpers.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) unsafe fn create_global_const_int64(module: LLVMModuleRef, name: String, value: i64) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | let typ = LLVMInt64TypeInContext(context); [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 `llvm_sys::core::LLVMAddGlobal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let llval = LLVMAddGlobal(module, typ, cstring!(name)); [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | let initializer = LLVMConstInt(typ, value as c_ulonglong, 0); // TODO: Sign extend? [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 `llvm_sys::core::LLVMSetGlobalConstant` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | LLVMSetGlobalConstant(llval, 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 `llvm_sys::core::LLVMSetInitializer` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | LLVMSetInitializer(llval, initializer); [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 `codegen::llhelpers::create_global_const_int64` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | FipsValue::Int64(value) => create_global_const_int64(module, name, value), [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/codegen/llhelpers.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | pub(crate) unsafe fn create_global_const(module: LLVMModuleRef, name: String, value: FipsValue) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::llhelpers::create_global_const_double` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | FipsValue::Double(value) => create_global_const_double(module, name, value) [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 `llvm_sys::core::LLVMArrayType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | n => LLVMArrayType(scalar_type, n as c_uint) [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/codegen/llhelpers.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / unsafe fn __create_global_ptr(context: LLVMContextRef, module: LLVMModuleRef, name: String, scalar_type: LLVMTypeRef, [INFO] [stdout] 87 | | ptr: usize, stride: u32) -> LLVMValueRef [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMPointerType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | let typ = LLVMPointerType(element_type, 0); [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 `llvm_sys::core::LLVMAddGlobal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let llval = LLVMAddGlobal(module, typ, cstring!(name)); [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 `llvm_sys::core::LLVMConstIntToPtr` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | let initializer = LLVMConstIntToPtr(LLVMConstInt(LLVMInt64TypeInContext(context), ptr as c_ulonglong, 0), typ); [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | let initializer = LLVMConstIntToPtr(LLVMConstInt(LLVMInt64TypeInContext(context), ptr as c_ulonglong, 0), typ); [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 `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:96:54 [INFO] [stdout] | [INFO] [stdout] 96 | let initializer = LLVMConstIntToPtr(LLVMConstInt(LLVMInt64TypeInContext(context), ptr as c_ulonglong, 0), typ); [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 `llvm_sys::core::LLVMSetGlobalConstant` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | LLVMSetGlobalConstant(llval, 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 `llvm_sys::core::LLVMSetInitializer` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | LLVMSetInitializer(llval, initializer); [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 `llvm_sys::core::LLVMGetModuleContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | let context = LLVMGetModuleContext(module); [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/codegen/llhelpers.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) unsafe fn create_global_ptr(module: LLVMModuleRef, name: String, typ: &FipsType, ptr: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::llhelpers::get_llvm_type_dims` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | let (lltype, dims) = get_llvm_type_dims(context, typ)?; [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 `codegen::llhelpers::__create_global_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | 0 => __create_global_ptr(context, module, name, lltype, ptr, 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 `codegen::llhelpers::__create_global_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | 1 => __create_global_ptr(context, module, name, lltype, ptr, dims[0] as u32), [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 `llvm_sys::core::LLVMGetModuleContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | let context = LLVMGetModuleContext(module); [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/codegen/llhelpers.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) unsafe fn create_local_ptr(module: LLVMModuleRef, builder: LLVMBuilderRef, name: String, typ: &FipsType) -> Result src/codegen/llhelpers.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | let (lltyp, dims) = get_llvm_type_dims(context, typ)?; [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 `llvm_sys::core::LLVMArrayType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | 1 => LLVMArrayType(lltyp, dims[0] as c_uint), [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 `llvm_sys::core::LLVMBuildAlloca` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | Ok(LLVMBuildAlloca(builder, typ, cstring!(name))) [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 `llvm_sys::core::LLVMGetModuleContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:127:27 [INFO] [stdout] | [INFO] [stdout] 127 | let context = LLVMGetModuleContext(module); [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/codegen/llhelpers.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) unsafe fn fips_value_2_llvm(module: LLVMModuleRef, value: &FipsValue) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | let typ = LLVMInt64TypeInContext(context); [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | LLVMConstInt(typ, *value as c_ulonglong, 0) [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 `llvm_sys::core::LLVMGetModuleContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | let context = LLVMGetModuleContext(module); [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 `llvm_sys::core::LLVMDoubleTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | let typ = LLVMDoubleTypeInContext(context); [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | LLVMConstReal(typ, *value) [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 `llvm_sys::core::LLVMArrayType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | n => LLVMArrayType(scalar_type, n as c_uint) [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/codegen/llhelpers.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / unsafe fn __fips_ptr_2_llvm(context: LLVMContextRef, scalar_type: LLVMTypeRef, [INFO] [stdout] 140 | | ptr: usize, stride: u32) -> LLVMValueRef [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMPointerType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | let typ = LLVMPointerType(element_type, 0); [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 `llvm_sys::core::LLVMConstIntToPtr` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | LLVMConstIntToPtr(LLVMConstInt(LLVMInt64TypeInContext(context), ptr as c_ulonglong, 0), typ) [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:148:23 [INFO] [stdout] | [INFO] [stdout] 148 | LLVMConstIntToPtr(LLVMConstInt(LLVMInt64TypeInContext(context), ptr as c_ulonglong, 0), typ) [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 `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:148:36 [INFO] [stdout] | [INFO] [stdout] 148 | LLVMConstIntToPtr(LLVMConstInt(LLVMInt64TypeInContext(context), ptr as c_ulonglong, 0), typ) [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 `llvm_sys::core::LLVMGetModuleContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | let context = LLVMGetModuleContext(module); [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/codegen/llhelpers.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub(crate) unsafe fn fips_ptr_2_llvm(module: LLVMModuleRef, typ: &FipsType, ptr: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::llhelpers::get_llvm_type_dims` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | let (lltype, dims) = get_llvm_type_dims(context, typ)?; [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 `codegen::llhelpers::__fips_ptr_2_llvm` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | 0 => __fips_ptr_2_llvm(context, lltype, ptr, 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 `codegen::llhelpers::__fips_ptr_2_llvm` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | 1 => __fips_ptr_2_llvm(context, lltype, ptr, dims[0] as u32), [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 `codegen::llhelpers::fips_value_2_llvm` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | fips_value_2_llvm(module, value) [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/codegen/llhelpers.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / pub(crate) unsafe fn create_neighbor_member_values<'a>(module: LLVMModuleRef, members: Vec<&'a str>, [INFO] [stdout] 161 | | neighbor_list: &RwLockReadGuard, particle_index: &ParticleIndex, particle_store: &ParticleStore) [INFO] [stdout] 162 | | -> HashMap<&'a str, Vec> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::llhelpers::fips_ptr_2_llvm` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | fips_ptr_2_llvm(module, member_def.get_type(), data_ptr).unwrap() [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | lltyp_check = Some(LLVMTypeOf(*llval)); [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/codegen/llhelpers.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / pub(crate) unsafe fn create_neighbor_member_values<'a>(module: LLVMModuleRef, members: Vec<&'a str>, [INFO] [stdout] 161 | | neighbor_list: &RwLockReadGuard, particle_index: &ParticleIndex, particle_store: &ParticleStore) [INFO] [stdout] 162 | | -> HashMap<&'a str, Vec> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:199:37 [INFO] [stdout] | [INFO] [stdout] 199 | assert_eq!(lltyp_check, LLVMTypeOf(*llval)); [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 `llvm_sys::core::LLVMInsertBasicBlockInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:208:28 [INFO] [stdout] | [INFO] [stdout] 208 | let block_loop_check = LLVMInsertBasicBlockInContext(context, block_after_loop, cstr!("loop_check")); [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/codegen/llhelpers.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | / pub(crate) unsafe fn build_loop(context: LLVMContextRef, builder: LLVMBuilderRef, block_loop_body: LLVMBasicBlockRef, [INFO] [stdout] 206 | | block_after_loop: LLVMBasicBlockRef, loop_index_ptr: LLVMValueRef, end_index: LLVMValueRef) -> LLVMBasicBlockRef { [INFO] [stdout] | |____________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMInsertBasicBlockInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:210:32 [INFO] [stdout] | [INFO] [stdout] 210 | let block_loop_increment = LLVMInsertBasicBlockInContext(context, block_after_loop, cstr!("loop_increment")); [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 `llvm_sys::core::LLVMBuildBr` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | LLVMBuildBr(builder, block_loop_check); [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 `llvm_sys::core::LLVMPositionBuilderAtEnd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | LLVMPositionBuilderAtEnd(builder, block_loop_check); [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 `llvm_sys::core::LLVMBuildLoad` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:215:22 [INFO] [stdout] | [INFO] [stdout] 215 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [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 `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | let end_index = match LLVMGetTypeKind(LLVMTypeOf(end_index)) { [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:216:43 [INFO] [stdout] | [INFO] [stdout] 216 | let end_index = match LLVMGetTypeKind(LLVMTypeOf(end_index)) { [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 `llvm_sys::core::LLVMBuildLoad` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:217:48 [INFO] [stdout] | [INFO] [stdout] 217 | LLVMTypeKind::LLVMPointerTypeKind => { LLVMBuildLoad(builder, end_index, cstr!("end_index")) } [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 `llvm_sys::core::LLVMBuildICmp` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:220:22 [INFO] [stdout] | [INFO] [stdout] 220 | let comparison = LLVMBuildICmp(builder, LLVMIntPredicate::LLVMIntULT, loop_index, end_index, cstr!("loop_check")); [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 `llvm_sys::core::LLVMBuildCondBr` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | LLVMBuildCondBr(builder, comparison, block_loop_body, block_after_loop); [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 `llvm_sys::core::LLVMPositionBuilderAtEnd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | LLVMPositionBuilderAtEnd(builder, block_loop_increment); [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 `llvm_sys::core::LLVMBuildLoad` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | let loop_index = LLVMBuildLoad(builder, loop_index_ptr, cstr!("loop_var_val")); [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let llone = LLVMConstInt(LLVMInt64TypeInContext(context), 1, 0); [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 `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | let llone = LLVMConstInt(LLVMInt64TypeInContext(context), 1, 0); [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 `llvm_sys::core::LLVMBuildAdd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | let incremented_index = LLVMBuildAdd(builder, loop_index, llone, cstr!("incremented_val")); [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 `llvm_sys::core::LLVMBuildStore` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | LLVMBuildStore(builder, incremented_index, loop_index_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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMBuildBr` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | LLVMBuildBr(builder, block_loop_check); [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 `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:235:11 [INFO] [stdout] | [INFO] [stdout] 235 | match LLVMGetTypeKind(LLVMTypeOf(value)) { [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/codegen/llhelpers.rs:234:1 [INFO] [stdout] | [INFO] [stdout] 234 | pub(crate) unsafe fn llmultiply_by_minus_one(context: LLVMContextRef, builder: LLVMBuilderRef, value: LLVMValueRef) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:235:27 [INFO] [stdout] | [INFO] [stdout] 235 | match LLVMGetTypeKind(LLVMTypeOf(value)) { [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 `llvm_sys::core::LLVMGetArrayLength` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:237:26 [INFO] [stdout] | [INFO] [stdout] 237 | let length = LLVMGetArrayLength(LLVMTypeOf(value)); [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:237:45 [INFO] [stdout] | [INFO] [stdout] 237 | let length = LLVMGetArrayLength(LLVMTypeOf(value)); [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 `codegen::llhelpers::llmultiply_by_minus_one` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | llmultiply_by_minus_one(context, builder, promote_to_vector(context, builder, value, length)) [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 `codegen::expression_eval::promote_to_vector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:238:55 [INFO] [stdout] | [INFO] [stdout] 238 | llmultiply_by_minus_one(context, builder, promote_to_vector(context, builder, value, length)) [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 `codegen::llhelpers::scalar_minus_one` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 241 | let scalar = scalar_minus_one(context, LLVMGetElementType(LLVMTypeOf(value))); [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 `llvm_sys::core::LLVMGetElementType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:241:52 [INFO] [stdout] | [INFO] [stdout] 241 | let scalar = scalar_minus_one(context, LLVMGetElementType(LLVMTypeOf(value))); [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:241:71 [INFO] [stdout] | [INFO] [stdout] 241 | let scalar = scalar_minus_one(context, LLVMGetElementType(LLVMTypeOf(value))); [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 `llvm_sys::core::LLVMGetVectorSize` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:242:26 [INFO] [stdout] | [INFO] [stdout] 242 | let length = LLVMGetVectorSize(LLVMTypeOf(value)); [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:242:44 [INFO] [stdout] | [INFO] [stdout] 242 | let length = LLVMGetVectorSize(LLVMTypeOf(value)); [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 `llvm_sys::core::LLVMConstVector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:243:27 [INFO] [stdout] | [INFO] [stdout] 243 | let llminus = LLVMConstVector(vec![scalar; length as usize].as_mut_ptr(), length); [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 `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:244:19 [INFO] [stdout] | [INFO] [stdout] 244 | match LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(value))) { [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 `llvm_sys::core::LLVMGetElementType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:244:35 [INFO] [stdout] | [INFO] [stdout] 244 | match LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(value))) { [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:244:54 [INFO] [stdout] | [INFO] [stdout] 244 | match LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(value))) { [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 `llvm_sys::core::LLVMBuildFMul` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | LLVMBuildFMul(builder, llminus, value, cstr!("negated")) [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 `llvm_sys::core::LLVMBuildMul` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 249 | LLVMBuildMul(builder, llminus, value, cstr!("negated")) [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 `codegen::llhelpers::scalar_minus_one` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:255:27 [INFO] [stdout] | [INFO] [stdout] 255 | let llminus = scalar_minus_one(context, LLVMTypeOf(value)); [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:255:53 [INFO] [stdout] | [INFO] [stdout] 255 | let llminus = scalar_minus_one(context, LLVMTypeOf(value)); [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 `llvm_sys::core::LLVMBuildFMul` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | LLVMBuildFMul(builder, llminus, value, cstr!("negated")) [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 `codegen::llhelpers::scalar_minus_one` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:259:27 [INFO] [stdout] | [INFO] [stdout] 259 | let llminus = scalar_minus_one(context, LLVMTypeOf(value)); [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:259:53 [INFO] [stdout] | [INFO] [stdout] 259 | let llminus = scalar_minus_one(context, LLVMTypeOf(value)); [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 `llvm_sys::core::LLVMBuildMul` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | LLVMBuildMul(builder, llminus, value, cstr!("negated")) [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 `llvm_sys::core::LLVMDoubleTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:267:23 [INFO] [stdout] | [INFO] [stdout] 267 | let double_type = LLVMDoubleTypeInContext(context); [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/codegen/llhelpers.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | unsafe fn scalar_minus_one(context: LLVMContextRef, typ: LLVMTypeRef) -> LLVMValueRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | let int64_type = LLVMInt64TypeInContext(context); [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 `llvm_sys::core::LLVMGetTypeKind` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:269:11 [INFO] [stdout] | [INFO] [stdout] 269 | match LLVMGetTypeKind(typ) { [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | LLVMConstReal(double_type, -1.0) [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | LLVMConstInt(int64_type, std::mem::transmute(-1i64), 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::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:274:38 [INFO] [stdout] | [INFO] [stdout] 274 | LLVMConstInt(int64_type, std::mem::transmute(-1i64), 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 `codegen::expression_eval::evaluate_binop` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:284:20 [INFO] [stdout] | [INFO] [stdout] 284 | let dist_vec = evaluate_binop(context, builder, pos_2, pos_1, BinaryOperator::Sub).unwrap(); [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/codegen/llhelpers.rs:280:1 [INFO] [stdout] | [INFO] [stdout] 280 | / pub(crate) unsafe fn calculate_distance_sqr_and_vec(context: LLVMContextRef, builder: LLVMBuilderRef, [INFO] [stdout] 281 | | pos_1: LLVMValueRef, pos_2: LLVMValueRef) [INFO] [stdout] 282 | | -> (LLVMValueRef, LLVMValueRef) { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::expression_eval::evaluate_binop` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:286:24 [INFO] [stdout] | [INFO] [stdout] 286 | let dist_vec_sqr = evaluate_binop(context, builder, dist_vec, dist_vec, BinaryOperator::Mul).unwrap(); [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 `llvm_sys::core::LLVMBuildExtractElement` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:288:20 [INFO] [stdout] | [INFO] [stdout] 288 | let mut dist = LLVMBuildExtractElement(builder, dist_vec_sqr, [INFO] [stdout] | ____________________^ [INFO] [stdout] 289 | | LLVMConstInt(LLVMInt64TypeInContext(context), 0, 0), cstr!("dist_acc")); [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | LLVMConstInt(LLVMInt64TypeInContext(context), 0, 0), cstr!("dist_acc")); [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 `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:289:22 [INFO] [stdout] | [INFO] [stdout] 289 | LLVMConstInt(LLVMInt64TypeInContext(context), 0, 0), cstr!("dist_acc")); [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 `llvm_sys::core::LLVMGetVectorSize` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | for i in 1..LLVMGetVectorSize(LLVMTypeOf(dist_vec_sqr)) { [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 `llvm_sys::core::LLVMTypeOf` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:290:35 [INFO] [stdout] | [INFO] [stdout] 290 | for i in 1..LLVMGetVectorSize(LLVMTypeOf(dist_vec_sqr)) { [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 `llvm_sys::core::LLVMBuildFAdd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:291:16 [INFO] [stdout] | [INFO] [stdout] 291 | dist = LLVMBuildFAdd(builder, dist, [INFO] [stdout] | ________________^ [INFO] [stdout] 292 | | LLVMBuildExtractElement(builder, dist_vec_sqr, [INFO] [stdout] 293 | | LLVMConstInt(LLVMInt64TypeInContext(context), i as u64, 0), cstr!("dist_elem")), [INFO] [stdout] 294 | | cstr!("dist_acc") [INFO] [stdout] 295 | | ); [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 `llvm_sys::core::LLVMBuildExtractElement` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | / LLVMBuildExtractElement(builder, dist_vec_sqr, [INFO] [stdout] 293 | | LLVMConstInt(LLVMInt64TypeInContext(context), i as u64, 0), cstr!("dist_elem")), [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 `llvm_sys::core::LLVMConstInt` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | LLVMConstInt(LLVMInt64TypeInContext(context), i as u64, 0), cstr!("dist_elem")), [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 `llvm_sys::core::LLVMInt64TypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:293:30 [INFO] [stdout] | [INFO] [stdout] 293 | LLVMConstInt(LLVMInt64TypeInContext(context), i as u64, 0), cstr!("dist_elem")), [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 `llvm_sys::core::LLVMDoubleTypeInContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:303:23 [INFO] [stdout] | [INFO] [stdout] 303 | let double_type = LLVMDoubleTypeInContext(context); [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/codegen/llhelpers.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | / pub(crate) unsafe fn correct_postion_vector(context: LLVMContextRef, builder: LLVMBuilderRef, [INFO] [stdout] 301 | | position: LLVMValueRef, other_position: LLVMValueRef, cutoff_skin: f64, domain: &Domain) [INFO] [stdout] 302 | | -> LLVMValueRef { [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `codegen::expression_eval::evaluate_binop` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:313:32 [INFO] [stdout] | [INFO] [stdout] 313 | let raw_dist_vec = evaluate_binop(context, builder, position, other_position, BinaryOperator::Sub).unwrap(); [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 `llvm_sys::core::LLVMBuildFCmp` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:314:24 [INFO] [stdout] | [INFO] [stdout] 314 | let cmp1 = LLVMBuildFCmp(builder, LLVMRealPredicate::LLVMRealOGT, raw_dist_vec, LLVMConstVector([ [INFO] [stdout] | ________________________^ [INFO] [stdout] 315 | | LLVMConstReal(double_type, cutoff_skin), [INFO] [stdout] 316 | | LLVMConstReal(double_type, cutoff_skin), [INFO] [stdout] 317 | | LLVMConstReal(double_type, cutoff_skin), [INFO] [stdout] 318 | | ].as_mut_ptr(), 3), cstr!("cmp_gt")); [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 `llvm_sys::core::LLVMConstVector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:314:93 [INFO] [stdout] | [INFO] [stdout] 314 | let cmp1 = LLVMBuildFCmp(builder, LLVMRealPredicate::LLVMRealOGT, raw_dist_vec, LLVMConstVector([ [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 315 | | LLVMConstReal(double_type, cutoff_skin), [INFO] [stdout] 316 | | LLVMConstReal(double_type, cutoff_skin), [INFO] [stdout] 317 | | LLVMConstReal(double_type, cutoff_skin), [INFO] [stdout] 318 | | ].as_mut_ptr(), 3), cstr!("cmp_gt")); [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:315:17 [INFO] [stdout] | [INFO] [stdout] 315 | LLVMConstReal(double_type, cutoff_skin), [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:316:17 [INFO] [stdout] | [INFO] [stdout] 316 | LLVMConstReal(double_type, cutoff_skin), [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | LLVMConstReal(double_type, cutoff_skin), [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 `llvm_sys::core::LLVMBuildFCmp` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:319:24 [INFO] [stdout] | [INFO] [stdout] 319 | let cmp2 = LLVMBuildFCmp(builder, LLVMRealPredicate::LLVMRealOLT, raw_dist_vec, LLVMConstVector([ [INFO] [stdout] | ________________________^ [INFO] [stdout] 320 | | LLVMConstReal(double_type, -cutoff_skin), [INFO] [stdout] 321 | | LLVMConstReal(double_type, -cutoff_skin), [INFO] [stdout] 322 | | LLVMConstReal(double_type, -cutoff_skin), [INFO] [stdout] 323 | | ].as_mut_ptr(), 3), cstr!("cmp_lt")); [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 `llvm_sys::core::LLVMConstVector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:319:93 [INFO] [stdout] | [INFO] [stdout] 319 | let cmp2 = LLVMBuildFCmp(builder, LLVMRealPredicate::LLVMRealOLT, raw_dist_vec, LLVMConstVector([ [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 320 | | LLVMConstReal(double_type, -cutoff_skin), [INFO] [stdout] 321 | | LLVMConstReal(double_type, -cutoff_skin), [INFO] [stdout] 322 | | LLVMConstReal(double_type, -cutoff_skin), [INFO] [stdout] 323 | | ].as_mut_ptr(), 3), cstr!("cmp_lt")); [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | LLVMConstReal(double_type, -cutoff_skin), [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | LLVMConstReal(double_type, -cutoff_skin), [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | LLVMConstReal(double_type, -cutoff_skin), [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 `llvm_sys::core::LLVMBuildUIToFP` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:333:24 [INFO] [stdout] | [INFO] [stdout] 333 | let cmp1 = LLVMBuildUIToFP(builder, cmp1, LLVMVectorType(double_type, 3), cstr!("cmp_gt_dbl")); [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 `llvm_sys::core::LLVMVectorType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:333:55 [INFO] [stdout] | [INFO] [stdout] 333 | let cmp1 = LLVMBuildUIToFP(builder, cmp1, LLVMVectorType(double_type, 3), cstr!("cmp_gt_dbl")); [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 `llvm_sys::core::LLVMBuildUIToFP` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:334:24 [INFO] [stdout] | [INFO] [stdout] 334 | let cmp2 = LLVMBuildUIToFP(builder, cmp2, LLVMVectorType(double_type, 3), cstr!("")); [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 `llvm_sys::core::LLVMVectorType` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:334:55 [INFO] [stdout] | [INFO] [stdout] 334 | let cmp2 = LLVMBuildUIToFP(builder, cmp2, LLVMVectorType(double_type, 3), cstr!("")); [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 `llvm_sys::core::LLVMBuildFMul` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:335:24 [INFO] [stdout] | [INFO] [stdout] 335 | let cmp2 = LLVMBuildFMul(builder, cmp2, LLVMConstVector([ [INFO] [stdout] | ________________________^ [INFO] [stdout] 336 | | LLVMConstReal(double_type, -1.), [INFO] [stdout] 337 | | LLVMConstReal(double_type, -1.), [INFO] [stdout] 338 | | LLVMConstReal(double_type, -1.), [INFO] [stdout] 339 | | ].as_mut_ptr(), 3), cstr!("cmp_lt_dbl")); [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 `llvm_sys::core::LLVMConstVector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:335:53 [INFO] [stdout] | [INFO] [stdout] 335 | let cmp2 = LLVMBuildFMul(builder, cmp2, LLVMConstVector([ [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 336 | | LLVMConstReal(double_type, -1.), [INFO] [stdout] 337 | | LLVMConstReal(double_type, -1.), [INFO] [stdout] 338 | | LLVMConstReal(double_type, -1.), [INFO] [stdout] 339 | | ].as_mut_ptr(), 3), cstr!("cmp_lt_dbl")); [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | LLVMConstReal(double_type, -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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:337:17 [INFO] [stdout] | [INFO] [stdout] 337 | LLVMConstReal(double_type, -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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:338:17 [INFO] [stdout] | [INFO] [stdout] 338 | LLVMConstReal(double_type, -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 `llvm_sys::core::LLVMBuildFAdd` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:341:23 [INFO] [stdout] | [INFO] [stdout] 341 | let cmp = LLVMBuildFAdd(builder, cmp1, cmp2, cstr!("cmp")); [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 `llvm_sys::core::LLVMBuildFMul` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:343:28 [INFO] [stdout] | [INFO] [stdout] 343 | let corr_vec = LLVMBuildFMul(builder, cmp, LLVMConstVector([ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 344 | | LLVMConstReal(double_type, x.size()), [INFO] [stdout] 345 | | LLVMConstReal(double_type, y.size()), [INFO] [stdout] 346 | | LLVMConstReal(double_type, z.size()), [INFO] [stdout] 347 | | ].as_mut_ptr(), 3), cstr!("correction_vec")); [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 `llvm_sys::core::LLVMConstVector` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:343:56 [INFO] [stdout] | [INFO] [stdout] 343 | let corr_vec = LLVMBuildFMul(builder, cmp, LLVMConstVector([ [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 344 | | LLVMConstReal(double_type, x.size()), [INFO] [stdout] 345 | | LLVMConstReal(double_type, y.size()), [INFO] [stdout] 346 | | LLVMConstReal(double_type, z.size()), [INFO] [stdout] 347 | | ].as_mut_ptr(), 3), cstr!("correction_vec")); [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | LLVMConstReal(double_type, x.size()), [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | LLVMConstReal(double_type, y.size()), [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 `llvm_sys::core::LLVMConstReal` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | LLVMConstReal(double_type, z.size()), [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 `codegen::expression_eval::evaluate_binop` is unsafe and requires unsafe block [INFO] [stdout] --> src/codegen/llhelpers.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | evaluate_binop(context, builder, other_position, corr_vec, BinaryOperator::Add).unwrap() [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: fields `start`, `end`, and `step` are never read [INFO] [stdout] --> src/codegen/analysis/simgraph.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct StepRange { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 60 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | step: usize [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StepRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runtime/index.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | while let Some(particle) = parsed_particles.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/runtime/index.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codegen/analysis/simgraph.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | while let Some((particle_id, timeline)) = unresolved_graph.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/codegen/analysis/simgraph.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 379 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.24s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking fips-md v0.3.0 (/tmp/fixit) [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/functions.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 93 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 30 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.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/codegen/generator.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 48 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 56 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 62 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 67 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/functions.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 93 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 30 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.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/codegen/generator.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 48 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 56 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 62 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/codegen/generator.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 67 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/runtime/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/runtime/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/functions.rs:5:70 [INFO] [stdout] | [INFO] [stdout] 5 | use llvm_sys::{core::{LLVMAddFunction, LLVMAddGlobal, LLVMArrayType, LLVMBuildCall, LLVMBuildLoad, LLVMBuildStore, LLVMConstNull, LLVMDou... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/functions.rs:5:85 [INFO] [stdout] | [INFO] [stdout] 5 | use llvm_sys::{core::{LLVMAddFunction, LLVMAddGlobal, LLVMArrayType, LLVMBuildCall, LLVMBuildLoad, LLVMBuildStore, LLVMConstNull, LLVMDou... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/functions.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | LLVMBuildCall(builder, symbol_value.function, parameter_vals.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/functions.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | let call_ret = LLVMBuildCall(builder, symbol_value.function, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/functions.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | LLVMBuildLoad(builder, global_parameter_ptrs.last().unwrap().unwrap(), cstring!(name)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/expression_eval.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | let llval = LLVMBuildLoad(builder, llptr, cstring!(llname)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/expression_eval.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | Ok(LLVMBuildLoad(builder, *llptr, cstring!(format!("{}_{}", namespace, name)))) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/expression_eval.rs:228:43 [INFO] [stdout] | [INFO] [stdout] 228 | let callback_target_ptr = LLVMBuildLoad(builder, callback_target_ptrptr, cstr!("callback_target_ptr")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:499:45 [INFO] [stdout] | [INFO] [stdout] 499 | let loaded_global = LLVMBuildLoad(builder, *llglobal, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:527:45 [INFO] [stdout] | [INFO] [stdout] 527 | let loaded_global = LLVMBuildLoad(builder, *llglobal, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:533:43 [INFO] [stdout] | [INFO] [stdout] 533 | let outer_index = LLVMBuildLoad(builder, outer_index_ptr, cstr!("i")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:534:47 [INFO] [stdout] | [INFO] [stdout] 534 | let llptr_writeback = LLVMBuildGEP(builder, llptr, [outer_index].as_mut_ptr(), 1, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:538:43 [INFO] [stdout] | [INFO] [stdout] 538 | let llglobalval = LLVMBuildLoad(builder, llptr_writeback, cstring!(format!("global_val_{}", member_name))); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:539:37 [INFO] [stdout] | [INFO] [stdout] 539 | let llacc = LLVMBuildLoad(builder, *lllocal, cstring!(format!("acc_{}", member_name))); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:546:39 [INFO] [stdout] | [INFO] [stdout] 546 | let next_offset = LLVMBuildLoad(builder, next_offset_ptr, cstr!("next_offset")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:551:39 [INFO] [stdout] | [INFO] [stdout] 551 | let outer_index = LLVMBuildLoad(builder, outer_index_ptr, cstr!("i")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:566:45 [INFO] [stdout] | [INFO] [stdout] 566 | let loaded_global = LLVMBuildLoad(builder, llglobal, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:571:37 [INFO] [stdout] | [INFO] [stdout] 571 | let llptr = LLVMBuildGEP(builder, global_ptr, [block_index].as_mut_ptr(), 1, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:572:37 [INFO] [stdout] | [INFO] [stdout] 572 | let llval = LLVMBuildLoad(builder, llptr, cstring!(format!("loaded_{}_{}", infix, member_name))); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:576:45 [INFO] [stdout] | [INFO] [stdout] 576 | ... let llptr = LLVMBuildGEP(builder, llval, [particle_index].as_mut_ptr(), 1, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:577:33 [INFO] [stdout] | [INFO] [stdout] 577 | ... LLVMBuildLoad(builder, llptr, cstring!(format!("really_loaded_{}_{}", infix, member_name))) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:587:33 [INFO] [stdout] | [INFO] [stdout] 587 | let llptr = LLVMBuildGEP(builder, neighbor_list_index, [outer_index].as_mut_ptr(), 1, cstr!("")); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:588:39 [INFO] [stdout] | [INFO] [stdout] 588 | let next_offset = LLVMBuildLoad(builder, llptr, cstr!("next_offset")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:591:42 [INFO] [stdout] | [INFO] [stdout] 591 | let current_offset = LLVMBuildLoad(builder, current_offset_ptr, cstr!("previous_offset")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:597:39 [INFO] [stdout] | [INFO] [stdout] 597 | let inner_index = LLVMBuildLoad(builder, inner_index_ptr, cstr!("n")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildGEP`: Use LLVMBuildGEP2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:599:33 [INFO] [stdout] | [INFO] [stdout] 599 | let llptr = LLVMBuildGEP(builder, neighbor_list, [inner_index].as_mut_ptr(), 1, cstr!("j_ptr")); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:600:48 [INFO] [stdout] | [INFO] [stdout] 600 | let other_particle_index = LLVMBuildLoad(builder, llptr, cstr!("j")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:609:40 [INFO] [stdout] | [INFO] [stdout] 609 | let own_position = LLVMBuildLoad(builder, *own_members_loaded.get(own_position_name).unwrap(), cstr!("own_position")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:610:42 [INFO] [stdout] | [INFO] [stdout] 610 | ... let other_position = LLVMBuildLoad(builder, *other_members_loaded.get(other_position_name).unwrap(), cstr!("other_position")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildLoad`: Use LLVMBuildLoad2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:639:44 [INFO] [stdout] | [INFO] [stdout] 639 | let distance_sqr = LLVMBuildLoad(builder, distance_sqr_ptr, cstr!("dist_sqr")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `llvm_sys::core::LLVMBuildCall`: Use LLVMBuildCall2 instead to support opaque pointers. [INFO] [stdout] --> src/codegen/generator.rs:640:40 [INFO] [stdout] | [INFO] [stdout] 640 | let distance = LLVMBuildCall(builder, sqrt_func, [distance_sqr].as_mut_ptr(), 1, cstr!("dist")); [INFO] [stdout] | ^^^^^^^^^^^^^ [WARN] too many lines in the log, truncating it