[INFO] fetching crate ndelement 0.1.1... [INFO] checking ndelement-0.1.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate ndelement 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate ndelement 0.1.1 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 ndelement 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ndelement 0.1.1 [INFO] tweaked toml for crates.io crate ndelement 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate ndelement 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 7456261691dabb2fb6a42a5ace7133598e6432e14a48b77d162b7184216793b6 [INFO] running `Command { std: "docker" "start" "-a" "7456261691dabb2fb6a42a5ace7133598e6432e14a48b77d162b7184216793b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7456261691dabb2fb6a42a5ace7133598e6432e14a48b77d162b7184216793b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7456261691dabb2fb6a42a5ace7133598e6432e14a48b77d162b7184216793b6", kill_on_drop: false }` [INFO] [stdout] 7456261691dabb2fb6a42a5ace7133598e6432e14a48b77d162b7184216793b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5ce175b93200322db8a86cdb4bbc2be47f43965ff643bb652902f2536a6f645e [INFO] running `Command { std: "docker" "start" "-a" "5ce175b93200322db8a86cdb4bbc2be47f43965ff643bb652902f2536a6f645e", 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 libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clap_builder v4.5.17 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling cbindgen v0.27.0 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking lapack-sys v0.14.0 [INFO] [stderr] Checking blas-sys v0.7.1 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Checking reborrow v0.5.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking coe-rs v0.1.2 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.11.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling libz-sys v1.1.18 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling clap v4.5.17 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking blas v0.22.0 [INFO] [stderr] Checking lapack v0.19.0 [INFO] [stderr] Checking pulp v0.18.21 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling hexf v0.2.1 [INFO] [stderr] Compiling rlst-proc-macro v0.2.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling git2 v0.19.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling rlst v0.2.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling ndelement v0.1.1 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ndelement` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/ciarlet.rs [INFO] [stderr] * src/polynomials.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/ciarlet.rs:963:23 [INFO] [stderr] | [INFO] [stderr] 963 | ($cell:ident, $degree: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/polynomials.rs:46:23 [INFO] [stderr] | [INFO] [stderr] 46 | ($cell:ident, $degree: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/polynomials.rs:188:23 [INFO] [stderr] | [INFO] [stderr] 188 | ($cell:ident, $degree:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[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] 10 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[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] 14 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[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] 29 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[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] 33 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[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] 46 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | #[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] 50 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 54 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 64 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[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] 74 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | #[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] 85 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | #[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] 97 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | #[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] 107 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | #[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] 118 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:145:7 [INFO] [stdout] | [INFO] [stdout] 145 | #[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] 145 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:169:7 [INFO] [stdout] | [INFO] [stdout] 169 | #[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] 169 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:178:7 [INFO] [stdout] | [INFO] [stdout] 178 | #[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] 178 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:195:7 [INFO] [stdout] | [INFO] [stdout] 195 | #[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] 195 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:233:7 [INFO] [stdout] | [INFO] [stdout] 233 | #[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] 233 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:244:7 [INFO] [stdout] | [INFO] [stdout] 244 | #[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] 244 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:320:7 [INFO] [stdout] | [INFO] [stdout] 320 | #[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] 320 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:366:7 [INFO] [stdout] | [INFO] [stdout] 366 | #[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] 366 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:378:7 [INFO] [stdout] | [INFO] [stdout] 378 | #[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] 378 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:388:7 [INFO] [stdout] | [INFO] [stdout] 388 | #[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] 388 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:398:7 [INFO] [stdout] | [INFO] [stdout] 398 | #[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] 398 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:410:7 [INFO] [stdout] | [INFO] [stdout] 410 | #[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] 410 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:420:7 [INFO] [stdout] | [INFO] [stdout] 420 | #[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] 420 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:430:7 [INFO] [stdout] | [INFO] [stdout] 430 | #[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] 430 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:440:7 [INFO] [stdout] | [INFO] [stdout] 440 | #[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] 440 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:450:7 [INFO] [stdout] | [INFO] [stdout] 450 | #[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] 450 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:468:7 [INFO] [stdout] | [INFO] [stdout] 468 | #[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] 468 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:479:7 [INFO] [stdout] | [INFO] [stdout] 479 | #[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] 479 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:495:7 [INFO] [stdout] | [INFO] [stdout] 495 | #[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] 495 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:516:7 [INFO] [stdout] | [INFO] [stdout] 516 | #[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] 516 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:540:7 [INFO] [stdout] | [INFO] [stdout] 540 | #[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] 540 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:566:7 [INFO] [stdout] | [INFO] [stdout] 566 | #[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] 566 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:588:7 [INFO] [stdout] | [INFO] [stdout] 588 | #[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] 588 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:626:7 [INFO] [stdout] | [INFO] [stdout] 626 | #[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] 626 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:677:7 [INFO] [stdout] | [INFO] [stdout] 677 | #[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] 677 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:712:7 [INFO] [stdout] | [INFO] [stdout] 712 | #[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] 712 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:717:7 [INFO] [stdout] | [INFO] [stdout] 717 | #[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] 717 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:755:7 [INFO] [stdout] | [INFO] [stdout] 755 | #[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] 755 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:813:7 [INFO] [stdout] | [INFO] [stdout] 813 | #[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] 813 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:858:7 [INFO] [stdout] | [INFO] [stdout] 858 | #[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] 858 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:875:7 [INFO] [stdout] | [INFO] [stdout] 875 | #[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] 875 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:892:7 [INFO] [stdout] | [INFO] [stdout] 892 | #[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] 892 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/bindings.rs:909:7 [INFO] [stdout] | [INFO] [stdout] 909 | #[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] 909 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ciarlet.rs:963:31 [INFO] [stdout] | [INFO] [stdout] 963 | ($cell:ident, $degree: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] 963 | ($cell:ident, $degree: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/polynomials.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | ($cell:ident, $degree: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] 46 | ($cell:ident, $degree: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/polynomials.rs:188:31 [INFO] [stdout] | [INFO] [stdout] 188 | ($cell:ident, $degree: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] 188 | ($cell:ident, $degree:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | *vs.add(i) = c; [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/bindings.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | unsafe fn vertices>(cell: u8, vs: *mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | *vs.add(i) = c; [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::reference_cell::vertices` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | vertices(cell, vs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/bindings.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub unsafe extern "C" fn vertices_f32(cell: u8, vs: *mut f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::reference_cell::vertices` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | vertices(cell, vs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/bindings.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub unsafe extern "C" fn vertices_f64(cell: u8, vs: *mut f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | *pt.add(i) = *c; [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/bindings.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe fn midpoint>(cell: u8, pt: *mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | *pt.add(i) = *c; [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::reference_cell::midpoint` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | midpoint(cell, pt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/bindings.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe extern "C" fn midpoint_f32(cell: u8, pt: *mut f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::reference_cell::midpoint` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | midpoint(cell, pt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/bindings.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe extern "C" fn midpoint_f64(cell: u8, pt: *mut f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | *es.add(i) = v; [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/bindings.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub unsafe extern "C" fn edges(cell: u8, es: *mut usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | *es.add(i) = v; [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | *es.add(i) = v; [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/bindings.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe extern "C" fn faces(cell: u8, es: *mut usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | *es.add(i) = v; [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | *es.add(i) = v; [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/bindings.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe extern "C" fn volumes(cell: u8, es: *mut usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | *es.add(i) = v; [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | *et.add(i) = e as u8; [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/bindings.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub unsafe extern "C" fn entity_types(cell: u8, et: *mut u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | *et.add(i) = e as u8; [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | *ec.add(i) = *e; [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/bindings.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub unsafe extern "C" fn entity_counts(cell: u8, ec: *mut usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | *ec.add(i) = *e; [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | *c.add(i) = *j; [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/bindings.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / pub unsafe extern "C" fn connectivity( [INFO] [stdout] 120 | | cell: u8, [INFO] [stdout] 121 | | dim0: usize, [INFO] [stdout] 122 | | index0: usize, [INFO] [stdout] 123 | | dim1: usize, [INFO] [stdout] 124 | | c: *mut usize, [INFO] [stdout] 125 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | *c.add(i) = *j; [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | *pts.add(i) = *p; [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/bindings.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | / unsafe fn make_gauss_jacobi_quadrature + FloatConst + PartialOrd>( [INFO] [stdout] 153 | | cell: u8, [INFO] [stdout] 154 | | m: usize, [INFO] [stdout] 155 | | pts: *mut T, [INFO] [stdout] 156 | | wts: *mut T, [INFO] [stdout] 157 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | *pts.add(i) = *p; [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | *wts.add(i) = *w; [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::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | *wts.add(i) = *w; [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::quadrature::make_gauss_jacobi_quadrature` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | make_gauss_jacobi_quadrature(cell, m, pts, wts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/bindings.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | / pub unsafe extern "C" fn make_gauss_jacobi_quadrature_f32( [INFO] [stdout] 171 | | cell: u8, [INFO] [stdout] 172 | | m: usize, [INFO] [stdout] 173 | | pts: *mut f32, [INFO] [stdout] 174 | | wts: *mut f32, [INFO] [stdout] 175 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::quadrature::make_gauss_jacobi_quadrature` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | make_gauss_jacobi_quadrature(cell, m, pts, wts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/bindings.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | / pub unsafe extern "C" fn make_gauss_jacobi_quadrature_f64( [INFO] [stdout] 180 | | cell: u8, [INFO] [stdout] 181 | | m: usize, [INFO] [stdout] 182 | | pts: *mut f64, [INFO] [stdout] 183 | | wts: *mut f64, [INFO] [stdout] 184 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | *shape.add(0) = polynomials::derivative_count(cell_type, derivatives); [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/bindings.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | / pub unsafe extern "C" fn legendre_polynomials_shape( [INFO] [stdout] 197 | | cell: u8, [INFO] [stdout] 198 | | npts: usize, [INFO] [stdout] 199 | | degree: usize, [INFO] [stdout] 200 | | derivatives: usize, [INFO] [stdout] 201 | | shape: *mut usize, [INFO] [stdout] 202 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | *shape.add(0) = polynomials::derivative_count(cell_type, derivatives); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | *shape.add(1) = polynomials::polynomial_count(cell_type, degree); [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::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | *shape.add(1) = polynomials::polynomial_count(cell_type, degree); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | *shape.add(2) = npts; [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::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 206 | *shape.add(2) = npts; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:218:46 [INFO] [stdout] | [INFO] [stdout] 218 | let points = rlst_array_from_slice2!(from_raw_parts(points, npts * tdim), [tdim, npts]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/bindings.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | / unsafe fn tabulate_legendre_polynomials( [INFO] [stdout] 209 | | cell: u8, [INFO] [stdout] 210 | | points: *const T::Real, [INFO] [stdout] 211 | | npts: usize, [INFO] [stdout] ... | [INFO] [stdout] 214 | | data: *mut T, [INFO] [stdout] 215 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | from_raw_parts_mut(data, npts * npoly * nderiv), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::polynomials::tabulate_legendre_polynomials` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | tabulate_legendre_polynomials(cell, points, npts, degree, derivatives, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/bindings.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | / pub unsafe extern "C" fn tabulate_legendre_polynomials_f32( [INFO] [stdout] 235 | | cell: u8, [INFO] [stdout] 236 | | points: *const f32, [INFO] [stdout] 237 | | npts: usize, [INFO] [stdout] ... | [INFO] [stdout] 240 | | data: *mut f32, [INFO] [stdout] 241 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::polynomials::tabulate_legendre_polynomials` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | tabulate_legendre_polynomials(cell, points, npts, degree, derivatives, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/bindings.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | / pub unsafe extern "C" fn tabulate_legendre_polynomials_f64( [INFO] [stdout] 246 | | cell: u8, [INFO] [stdout] 247 | | points: *const f64, [INFO] [stdout] 248 | | npts: usize, [INFO] [stdout] ... | [INFO] [stdout] 251 | | data: *mut f64, [INFO] [stdout] 252 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 375 | (*element).element as *const CiarletElement [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/bindings.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 372 | / unsafe fn extract_element( [INFO] [stdout] 373 | | element: *const CiarletElementWrapper, [INFO] [stdout] 374 | | ) -> *const CiarletElement { [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:380:15 [INFO] [stdout] | [INFO] [stdout] 380 | match (*element).dtype { [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/bindings.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 379 | pub unsafe extern "C" fn ciarlet_value_size(element: *const CiarletElementWrapper) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:381:27 [INFO] [stdout] | [INFO] [stdout] 381 | DType::F32 => (*extract_element::(element)).value_size(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:381:29 [INFO] [stdout] | [INFO] [stdout] 381 | DType::F32 => (*extract_element::(element)).value_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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:382:27 [INFO] [stdout] | [INFO] [stdout] 382 | DType::F64 => (*extract_element::(element)).value_size(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:382:29 [INFO] [stdout] | [INFO] [stdout] 382 | DType::F64 => (*extract_element::(element)).value_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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:383:27 [INFO] [stdout] | [INFO] [stdout] 383 | DType::C32 => (*extract_element::(element)).value_size(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:383:29 [INFO] [stdout] | [INFO] [stdout] 383 | DType::C32 => (*extract_element::(element)).value_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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:384:27 [INFO] [stdout] | [INFO] [stdout] 384 | DType::C64 => (*extract_element::(element)).value_size(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:384:29 [INFO] [stdout] | [INFO] [stdout] 384 | DType::C64 => (*extract_element::(element)).value_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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:390:15 [INFO] [stdout] | [INFO] [stdout] 390 | match (*element).dtype { [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/bindings.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | pub unsafe extern "C" fn ciarlet_degree(element: *const CiarletElementWrapper) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:391:27 [INFO] [stdout] | [INFO] [stdout] 391 | DType::F32 => (*extract_element::(element)).degree(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:391:29 [INFO] [stdout] | [INFO] [stdout] 391 | DType::F32 => (*extract_element::(element)).degree(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:392:27 [INFO] [stdout] | [INFO] [stdout] 392 | DType::F64 => (*extract_element::(element)).degree(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:392:29 [INFO] [stdout] | [INFO] [stdout] 392 | DType::F64 => (*extract_element::(element)).degree(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:393:27 [INFO] [stdout] | [INFO] [stdout] 393 | DType::C32 => (*extract_element::(element)).degree(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:393:29 [INFO] [stdout] | [INFO] [stdout] 393 | DType::C32 => (*extract_element::(element)).degree(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:394:27 [INFO] [stdout] | [INFO] [stdout] 394 | DType::C64 => (*extract_element::(element)).degree(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:394:29 [INFO] [stdout] | [INFO] [stdout] 394 | DType::C64 => (*extract_element::(element)).degree(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:402:15 [INFO] [stdout] | [INFO] [stdout] 402 | match (*element).dtype { [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/bindings.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | / pub unsafe extern "C" fn ciarlet_embedded_superdegree( [INFO] [stdout] 400 | | element: *const CiarletElementWrapper, [INFO] [stdout] 401 | | ) -> usize { [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:403:27 [INFO] [stdout] | [INFO] [stdout] 403 | DType::F32 => (*extract_element::(element)).embedded_superdegree(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:403:29 [INFO] [stdout] | [INFO] [stdout] 403 | DType::F32 => (*extract_element::(element)).embedded_superdegree(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:404:27 [INFO] [stdout] | [INFO] [stdout] 404 | DType::F64 => (*extract_element::(element)).embedded_superdegree(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:404:29 [INFO] [stdout] | [INFO] [stdout] 404 | DType::F64 => (*extract_element::(element)).embedded_superdegree(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:405:27 [INFO] [stdout] | [INFO] [stdout] 405 | DType::C32 => (*extract_element::(element)).embedded_superdegree(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:405:29 [INFO] [stdout] | [INFO] [stdout] 405 | DType::C32 => (*extract_element::(element)).embedded_superdegree(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:406:27 [INFO] [stdout] | [INFO] [stdout] 406 | DType::C64 => (*extract_element::(element)).embedded_superdegree(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:406:29 [INFO] [stdout] | [INFO] [stdout] 406 | DType::C64 => (*extract_element::(element)).embedded_superdegree(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:412:15 [INFO] [stdout] | [INFO] [stdout] 412 | match (*element).dtype { [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/bindings.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 411 | pub unsafe extern "C" fn ciarlet_dim(element: *const CiarletElementWrapper) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:413:27 [INFO] [stdout] | [INFO] [stdout] 413 | DType::F32 => (*extract_element::(element)).dim(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:413:29 [INFO] [stdout] | [INFO] [stdout] 413 | DType::F32 => (*extract_element::(element)).dim(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:414:27 [INFO] [stdout] | [INFO] [stdout] 414 | DType::F64 => (*extract_element::(element)).dim(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:414:29 [INFO] [stdout] | [INFO] [stdout] 414 | DType::F64 => (*extract_element::(element)).dim(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:415:27 [INFO] [stdout] | [INFO] [stdout] 415 | DType::C32 => (*extract_element::(element)).dim(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:415:29 [INFO] [stdout] | [INFO] [stdout] 415 | DType::C32 => (*extract_element::(element)).dim(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:416:27 [INFO] [stdout] | [INFO] [stdout] 416 | DType::C64 => (*extract_element::(element)).dim(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:416:29 [INFO] [stdout] | [INFO] [stdout] 416 | DType::C64 => (*extract_element::(element)).dim(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:422:15 [INFO] [stdout] | [INFO] [stdout] 422 | match (*element).dtype { [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/bindings.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | pub unsafe extern "C" fn ciarlet_continuity(element: *const CiarletElementWrapper) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:423:27 [INFO] [stdout] | [INFO] [stdout] 423 | DType::F32 => (*extract_element::(element)).continuity() as u8, [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:423:29 [INFO] [stdout] | [INFO] [stdout] 423 | DType::F32 => (*extract_element::(element)).continuity() as u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | DType::F64 => (*extract_element::(element)).continuity() as u8, [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:424:29 [INFO] [stdout] | [INFO] [stdout] 424 | DType::F64 => (*extract_element::(element)).continuity() as u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:425:27 [INFO] [stdout] | [INFO] [stdout] 425 | DType::C32 => (*extract_element::(element)).continuity() as u8, [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:425:29 [INFO] [stdout] | [INFO] [stdout] 425 | DType::C32 => (*extract_element::(element)).continuity() as u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:426:27 [INFO] [stdout] | [INFO] [stdout] 426 | DType::C64 => (*extract_element::(element)).continuity() as u8, [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:426:29 [INFO] [stdout] | [INFO] [stdout] 426 | DType::C64 => (*extract_element::(element)).continuity() as u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:432:15 [INFO] [stdout] | [INFO] [stdout] 432 | match (*element).dtype { [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/bindings.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 431 | pub unsafe extern "C" fn ciarlet_map_type(element: *const CiarletElementWrapper) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:433:27 [INFO] [stdout] | [INFO] [stdout] 433 | DType::F32 => (*extract_element::(element)).map_type() as u8, [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:433:29 [INFO] [stdout] | [INFO] [stdout] 433 | DType::F32 => (*extract_element::(element)).map_type() as u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:434:27 [INFO] [stdout] | [INFO] [stdout] 434 | DType::F64 => (*extract_element::(element)).map_type() as u8, [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:434:29 [INFO] [stdout] | [INFO] [stdout] 434 | DType::F64 => (*extract_element::(element)).map_type() as u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | DType::C32 => (*extract_element::(element)).map_type() as u8, [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:435:29 [INFO] [stdout] | [INFO] [stdout] 435 | DType::C32 => (*extract_element::(element)).map_type() as u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:436:27 [INFO] [stdout] | [INFO] [stdout] 436 | DType::C64 => (*extract_element::(element)).map_type() as u8, [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:436:29 [INFO] [stdout] | [INFO] [stdout] 436 | DType::C64 => (*extract_element::(element)).map_type() as u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:442:15 [INFO] [stdout] | [INFO] [stdout] 442 | match (*element).dtype { [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/bindings.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | pub unsafe extern "C" fn ciarlet_cell_type(element: *const CiarletElementWrapper) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:443:27 [INFO] [stdout] | [INFO] [stdout] 443 | DType::F32 => (*extract_element::(element)).cell_type() as u8, [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:443:29 [INFO] [stdout] | [INFO] [stdout] 443 | DType::F32 => (*extract_element::(element)).cell_type() as u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:444:27 [INFO] [stdout] | [INFO] [stdout] 444 | DType::F64 => (*extract_element::(element)).cell_type() as u8, [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:444:29 [INFO] [stdout] | [INFO] [stdout] 444 | DType::F64 => (*extract_element::(element)).cell_type() as u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:445:27 [INFO] [stdout] | [INFO] [stdout] 445 | DType::C32 => (*extract_element::(element)).cell_type() as u8, [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:445:29 [INFO] [stdout] | [INFO] [stdout] 445 | DType::C32 => (*extract_element::(element)).cell_type() as u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:446:27 [INFO] [stdout] | [INFO] [stdout] 446 | DType::C64 => (*extract_element::(element)).cell_type() as u8, [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:446:29 [INFO] [stdout] | [INFO] [stdout] 446 | DType::C64 => (*extract_element::(element)).cell_type() as u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:455:29 [INFO] [stdout] | [INFO] [stdout] 455 | for (i, j) in match (*element).dtype { [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/bindings.rs:451:5 [INFO] [stdout] | [INFO] [stdout] 451 | / pub unsafe extern "C" fn ciarlet_value_shape( [INFO] [stdout] 452 | | element: *const CiarletElementWrapper, [INFO] [stdout] 453 | | shape: *mut usize, [INFO] [stdout] 454 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:456:27 [INFO] [stdout] | [INFO] [stdout] 456 | DType::F32 => (*extract_element::(element)).value_shape(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:456:29 [INFO] [stdout] | [INFO] [stdout] 456 | DType::F32 => (*extract_element::(element)).value_shape(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:457:27 [INFO] [stdout] | [INFO] [stdout] 457 | DType::F64 => (*extract_element::(element)).value_shape(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:457:29 [INFO] [stdout] | [INFO] [stdout] 457 | DType::F64 => (*extract_element::(element)).value_shape(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:458:27 [INFO] [stdout] | [INFO] [stdout] 458 | DType::C32 => (*extract_element::(element)).value_shape(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:458:29 [INFO] [stdout] | [INFO] [stdout] 458 | DType::C32 => (*extract_element::(element)).value_shape(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:459:27 [INFO] [stdout] | [INFO] [stdout] 459 | DType::C64 => (*extract_element::(element)).value_shape(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:459:29 [INFO] [stdout] | [INFO] [stdout] 459 | DType::C64 => (*extract_element::(element)).value_shape(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | *shape.add(i) = *j; [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::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:464:14 [INFO] [stdout] | [INFO] [stdout] 464 | *shape.add(i) = *j; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:470:15 [INFO] [stdout] | [INFO] [stdout] 470 | match (*element).dtype { [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/bindings.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub unsafe extern "C" fn ciarlet_value_rank(element: *const CiarletElementWrapper) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:471:27 [INFO] [stdout] | [INFO] [stdout] 471 | DType::F32 => (*extract_element::(element)).value_shape(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:471:29 [INFO] [stdout] | [INFO] [stdout] 471 | DType::F32 => (*extract_element::(element)).value_shape(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:472:27 [INFO] [stdout] | [INFO] [stdout] 472 | DType::F64 => (*extract_element::(element)).value_shape(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:472:29 [INFO] [stdout] | [INFO] [stdout] 472 | DType::F64 => (*extract_element::(element)).value_shape(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:473:27 [INFO] [stdout] | [INFO] [stdout] 473 | DType::C32 => (*extract_element::(element)).value_shape(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:473:29 [INFO] [stdout] | [INFO] [stdout] 473 | DType::C32 => (*extract_element::(element)).value_shape(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:474:27 [INFO] [stdout] | [INFO] [stdout] 474 | DType::C64 => (*extract_element::(element)).value_shape(), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:474:29 [INFO] [stdout] | [INFO] [stdout] 474 | DType::C64 => (*extract_element::(element)).value_shape(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:485:15 [INFO] [stdout] | [INFO] [stdout] 485 | match (*element).dtype { [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/bindings.rs:480:5 [INFO] [stdout] | [INFO] [stdout] 480 | / pub unsafe extern "C" fn ciarlet_entity_dofs_size( [INFO] [stdout] 481 | | element: *const CiarletElementWrapper, [INFO] [stdout] 482 | | entity_dim: usize, [INFO] [stdout] 483 | | entity_number: usize, [INFO] [stdout] 484 | | ) -> usize { [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:486:27 [INFO] [stdout] | [INFO] [stdout] 486 | DType::F32 => (*extract_element::(element)).entity_dofs(entity_dim, entity_number), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:486:29 [INFO] [stdout] | [INFO] [stdout] 486 | DType::F32 => (*extract_element::(element)).entity_dofs(entity_dim, entity_number), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:487:27 [INFO] [stdout] | [INFO] [stdout] 487 | DType::F64 => (*extract_element::(element)).entity_dofs(entity_dim, entity_number), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:487:29 [INFO] [stdout] | [INFO] [stdout] 487 | DType::F64 => (*extract_element::(element)).entity_dofs(entity_dim, entity_number), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:488:27 [INFO] [stdout] | [INFO] [stdout] 488 | DType::C32 => (*extract_element::(element)).entity_dofs(entity_dim, entity_number), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:488:29 [INFO] [stdout] | [INFO] [stdout] 488 | DType::C32 => (*extract_element::(element)).entity_dofs(entity_dim, entity_number), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:489:27 [INFO] [stdout] | [INFO] [stdout] 489 | DType::C64 => (*extract_element::(element)).entity_dofs(entity_dim, entity_number), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:489:29 [INFO] [stdout] | [INFO] [stdout] 489 | DType::C64 => (*extract_element::(element)).entity_dofs(entity_dim, entity_number), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:502:31 [INFO] [stdout] | [INFO] [stdout] 502 | for (i, dof) in match (*element).dtype { [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/bindings.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | / pub unsafe extern "C" fn ciarlet_entity_dofs( [INFO] [stdout] 497 | | element: *const CiarletElementWrapper, [INFO] [stdout] 498 | | entity_dim: usize, [INFO] [stdout] 499 | | entity_number: usize, [INFO] [stdout] 500 | | entity_dofs: *mut usize, [INFO] [stdout] 501 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:503:27 [INFO] [stdout] | [INFO] [stdout] 503 | DType::F32 => (*extract_element::(element)).entity_dofs(entity_dim, entity_number), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:503:29 [INFO] [stdout] | [INFO] [stdout] 503 | DType::F32 => (*extract_element::(element)).entity_dofs(entity_dim, entity_number), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:504:27 [INFO] [stdout] | [INFO] [stdout] 504 | DType::F64 => (*extract_element::(element)).entity_dofs(entity_dim, entity_number), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:504:29 [INFO] [stdout] | [INFO] [stdout] 504 | DType::F64 => (*extract_element::(element)).entity_dofs(entity_dim, entity_number), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:505:27 [INFO] [stdout] | [INFO] [stdout] 505 | DType::C32 => (*extract_element::(element)).entity_dofs(entity_dim, entity_number), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:505:29 [INFO] [stdout] | [INFO] [stdout] 505 | DType::C32 => (*extract_element::(element)).entity_dofs(entity_dim, entity_number), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:506:27 [INFO] [stdout] | [INFO] [stdout] 506 | DType::C64 => (*extract_element::(element)).entity_dofs(entity_dim, entity_number), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:506:29 [INFO] [stdout] | [INFO] [stdout] 506 | DType::C64 => (*extract_element::(element)).entity_dofs(entity_dim, entity_number), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | *entity_dofs.add(i) = *dof; [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::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:512:14 [INFO] [stdout] | [INFO] [stdout] 512 | *entity_dofs.add(i) = *dof; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:522:15 [INFO] [stdout] | [INFO] [stdout] 522 | match (*element).dtype { [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/bindings.rs:517:5 [INFO] [stdout] | [INFO] [stdout] 517 | / pub unsafe extern "C" fn ciarlet_entity_closure_dofs_size( [INFO] [stdout] 518 | | element: *const CiarletElementWrapper, [INFO] [stdout] 519 | | entity_dim: usize, [INFO] [stdout] 520 | | entity_number: usize, [INFO] [stdout] 521 | | ) -> usize { [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:524:17 [INFO] [stdout] | [INFO] [stdout] 524 | (*extract_element::(element)).entity_closure_dofs(entity_dim, entity_number) [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:524:19 [INFO] [stdout] | [INFO] [stdout] 524 | (*extract_element::(element)).entity_closure_dofs(entity_dim, entity_number) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:527:17 [INFO] [stdout] | [INFO] [stdout] 527 | (*extract_element::(element)).entity_closure_dofs(entity_dim, entity_number) [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:527:19 [INFO] [stdout] | [INFO] [stdout] 527 | (*extract_element::(element)).entity_closure_dofs(entity_dim, entity_number) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:530:17 [INFO] [stdout] | [INFO] [stdout] 530 | (*extract_element::(element)).entity_closure_dofs(entity_dim, entity_number) [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:530:19 [INFO] [stdout] | [INFO] [stdout] 530 | (*extract_element::(element)).entity_closure_dofs(entity_dim, entity_number) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:533:17 [INFO] [stdout] | [INFO] [stdout] 533 | (*extract_element::(element)).entity_closure_dofs(entity_dim, entity_number) [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:533:19 [INFO] [stdout] | [INFO] [stdout] 533 | (*extract_element::(element)).entity_closure_dofs(entity_dim, entity_number) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:548:19 [INFO] [stdout] | [INFO] [stdout] 548 | match (*element).dtype { [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/bindings.rs:541:5 [INFO] [stdout] | [INFO] [stdout] 541 | / pub unsafe extern "C" fn ciarlet_entity_closure_dofs( [INFO] [stdout] 542 | | element: *const CiarletElementWrapper, [INFO] [stdout] 543 | | entity_dim: usize, [INFO] [stdout] 544 | | entity_number: usize, [INFO] [stdout] 545 | | entity_dofs: *mut usize, [INFO] [stdout] 546 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:549:31 [INFO] [stdout] | [INFO] [stdout] 549 | DType::F32 => (*extract_element::(element)) [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:549:33 [INFO] [stdout] | [INFO] [stdout] 549 | DType::F32 => (*extract_element::(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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:551:31 [INFO] [stdout] | [INFO] [stdout] 551 | DType::F64 => (*extract_element::(element)) [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:551:33 [INFO] [stdout] | [INFO] [stdout] 551 | DType::F64 => (*extract_element::(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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:553:31 [INFO] [stdout] | [INFO] [stdout] 553 | DType::C32 => (*extract_element::(element)) [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:553:33 [INFO] [stdout] | [INFO] [stdout] 553 | DType::C32 => (*extract_element::(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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:555:31 [INFO] [stdout] | [INFO] [stdout] 555 | DType::C64 => (*extract_element::(element)) [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:555:33 [INFO] [stdout] | [INFO] [stdout] 555 | DType::C64 => (*extract_element::(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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:562:13 [INFO] [stdout] | [INFO] [stdout] 562 | *entity_dofs.add(i) = *dof; [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::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:562:14 [INFO] [stdout] | [INFO] [stdout] 562 | *entity_dofs.add(i) = *dof; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:572:15 [INFO] [stdout] | [INFO] [stdout] 572 | match (*element).dtype { [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/bindings.rs:567:5 [INFO] [stdout] | [INFO] [stdout] 567 | / pub unsafe extern "C" fn ciarlet_interpolation_npoints( [INFO] [stdout] 568 | | element: *const CiarletElementWrapper, [INFO] [stdout] 569 | | entity_dim: usize, [INFO] [stdout] 570 | | entity_index: usize, [INFO] [stdout] 571 | | ) -> usize { [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:573:27 [INFO] [stdout] | [INFO] [stdout] 573 | DType::F32 => (*extract_element::(element)).interpolation_points()[entity_dim] [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:573:29 [INFO] [stdout] | [INFO] [stdout] 573 | DType::F32 => (*extract_element::(element)).interpolation_points()[entity_dim] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:576:27 [INFO] [stdout] | [INFO] [stdout] 576 | DType::F64 => (*extract_element::(element)).interpolation_points()[entity_dim] [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:576:29 [INFO] [stdout] | [INFO] [stdout] 576 | DType::F64 => (*extract_element::(element)).interpolation_points()[entity_dim] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:579:27 [INFO] [stdout] | [INFO] [stdout] 579 | DType::C32 => (*extract_element::(element)).interpolation_points()[entity_dim] [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:579:29 [INFO] [stdout] | [INFO] [stdout] 579 | DType::C32 => (*extract_element::(element)).interpolation_points()[entity_dim] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:582:27 [INFO] [stdout] | [INFO] [stdout] 582 | DType::C64 => (*extract_element::(element)).interpolation_points()[entity_dim] [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:582:29 [INFO] [stdout] | [INFO] [stdout] 582 | DType::C64 => (*extract_element::(element)).interpolation_points()[entity_dim] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:594:15 [INFO] [stdout] | [INFO] [stdout] 594 | match (*element).dtype { [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/bindings.rs:589:5 [INFO] [stdout] | [INFO] [stdout] 589 | / pub unsafe extern "C" fn ciarlet_interpolation_ndofs( [INFO] [stdout] 590 | | element: *const CiarletElementWrapper, [INFO] [stdout] 591 | | entity_dim: usize, [INFO] [stdout] 592 | | entity_index: usize, [INFO] [stdout] 593 | | ) -> usize { [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:595:27 [INFO] [stdout] | [INFO] [stdout] 595 | DType::F32 => (*extract_element::(element)).interpolation_weights()[entity_dim] [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:595:29 [INFO] [stdout] | [INFO] [stdout] 595 | DType::F32 => (*extract_element::(element)).interpolation_weights()[entity_dim] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:598:27 [INFO] [stdout] | [INFO] [stdout] 598 | DType::F64 => (*extract_element::(element)).interpolation_weights()[entity_dim] [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:598:29 [INFO] [stdout] | [INFO] [stdout] 598 | DType::F64 => (*extract_element::(element)).interpolation_weights()[entity_dim] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:601:27 [INFO] [stdout] | [INFO] [stdout] 601 | DType::C32 => (*extract_element::(element)).interpolation_weights()[entity_dim] [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:601:29 [INFO] [stdout] | [INFO] [stdout] 601 | DType::C32 => (*extract_element::(element)).interpolation_weights()[entity_dim] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:604:27 [INFO] [stdout] | [INFO] [stdout] 604 | DType::C64 => (*extract_element::(element)).interpolation_weights()[entity_dim] [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:604:29 [INFO] [stdout] | [INFO] [stdout] 604 | DType::C64 => (*extract_element::(element)).interpolation_weights()[entity_dim] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:616:23 [INFO] [stdout] | [INFO] [stdout] 616 | for (i, j) in (*extract_element::(element)).interpolation_points()[entity_dim] [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/bindings.rs:610:5 [INFO] [stdout] | [INFO] [stdout] 610 | / unsafe fn ciarlet_interpolation_points_internal( [INFO] [stdout] 611 | | element: *const CiarletElementWrapper, [INFO] [stdout] 612 | | entity_dim: usize, [INFO] [stdout] 613 | | entity_index: usize, [INFO] [stdout] 614 | | points: *mut T::Real, [INFO] [stdout] 615 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:616:25 [INFO] [stdout] | [INFO] [stdout] 616 | for (i, j) in (*extract_element::(element)).interpolation_points()[entity_dim] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:622:13 [INFO] [stdout] | [INFO] [stdout] 622 | *points.add(i) = *j; [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::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:622:14 [INFO] [stdout] | [INFO] [stdout] 622 | *points.add(i) = *j; [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:633:15 [INFO] [stdout] | [INFO] [stdout] 633 | match (*element).dtype { [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/bindings.rs:627:5 [INFO] [stdout] | [INFO] [stdout] 627 | / pub unsafe extern "C" fn ciarlet_interpolation_points( [INFO] [stdout] 628 | | element: *const CiarletElementWrapper, [INFO] [stdout] 629 | | entity_dim: usize, [INFO] [stdout] 630 | | entity_index: usize, [INFO] [stdout] 631 | | points: *mut c_void, [INFO] [stdout] 632 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::ciarlet_interpolation_points_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:634:27 [INFO] [stdout] | [INFO] [stdout] 634 | DType::F32 => ciarlet_interpolation_points_internal::( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 635 | | element, [INFO] [stdout] 636 | | entity_dim, [INFO] [stdout] 637 | | entity_index, [INFO] [stdout] 638 | | points as *mut f32, [INFO] [stdout] 639 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::ciarlet_interpolation_points_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:640:27 [INFO] [stdout] | [INFO] [stdout] 640 | DType::F64 => ciarlet_interpolation_points_internal::( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 641 | | element, [INFO] [stdout] 642 | | entity_dim, [INFO] [stdout] 643 | | entity_index, [INFO] [stdout] 644 | | points as *mut f64, [INFO] [stdout] 645 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::ciarlet_interpolation_points_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:646:27 [INFO] [stdout] | [INFO] [stdout] 646 | DType::C32 => ciarlet_interpolation_points_internal::( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 647 | | element, [INFO] [stdout] 648 | | entity_dim, [INFO] [stdout] 649 | | entity_index, [INFO] [stdout] 650 | | points as *mut f32, [INFO] [stdout] 651 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::ciarlet_interpolation_points_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:652:27 [INFO] [stdout] | [INFO] [stdout] 652 | DType::C64 => ciarlet_interpolation_points_internal::( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 653 | | element, [INFO] [stdout] 654 | | entity_dim, [INFO] [stdout] 655 | | entity_index, [INFO] [stdout] 656 | | points as *mut f64, [INFO] [stdout] 657 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:667:23 [INFO] [stdout] | [INFO] [stdout] 667 | for (i, j) in (*extract_element::(element)).interpolation_weights()[entity_dim] [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/bindings.rs:661:5 [INFO] [stdout] | [INFO] [stdout] 661 | / unsafe fn ciarlet_interpolation_weights_internal( [INFO] [stdout] 662 | | element: *const CiarletElementWrapper, [INFO] [stdout] 663 | | entity_dim: usize, [INFO] [stdout] 664 | | entity_index: usize, [INFO] [stdout] 665 | | weights: *mut T, [INFO] [stdout] 666 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:667:25 [INFO] [stdout] | [INFO] [stdout] 667 | for (i, j) in (*extract_element::(element)).interpolation_weights()[entity_dim] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:673:13 [INFO] [stdout] | [INFO] [stdout] 673 | *weights.add(i) = *j; [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::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:673:14 [INFO] [stdout] | [INFO] [stdout] 673 | *weights.add(i) = *j; [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:684:15 [INFO] [stdout] | [INFO] [stdout] 684 | match (*element).dtype { [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/bindings.rs:678:5 [INFO] [stdout] | [INFO] [stdout] 678 | / pub unsafe extern "C" fn ciarlet_interpolation_weights( [INFO] [stdout] 679 | | element: *const CiarletElementWrapper, [INFO] [stdout] 680 | | entity_dim: usize, [INFO] [stdout] 681 | | entity_index: usize, [INFO] [stdout] 682 | | weights: *mut c_void, [INFO] [stdout] 683 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::ciarlet_interpolation_weights_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:685:27 [INFO] [stdout] | [INFO] [stdout] 685 | DType::F32 => ciarlet_interpolation_weights_internal::( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 686 | | element, [INFO] [stdout] 687 | | entity_dim, [INFO] [stdout] 688 | | entity_index, [INFO] [stdout] 689 | | weights as *mut f32, [INFO] [stdout] 690 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::ciarlet_interpolation_weights_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:691:27 [INFO] [stdout] | [INFO] [stdout] 691 | DType::F64 => ciarlet_interpolation_weights_internal::( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 692 | | element, [INFO] [stdout] 693 | | entity_dim, [INFO] [stdout] 694 | | entity_index, [INFO] [stdout] 695 | | weights as *mut f64, [INFO] [stdout] 696 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::ciarlet_interpolation_weights_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:697:27 [INFO] [stdout] | [INFO] [stdout] 697 | DType::C32 => ciarlet_interpolation_weights_internal::( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 698 | | element, [INFO] [stdout] 699 | | entity_dim, [INFO] [stdout] 700 | | entity_index, [INFO] [stdout] 701 | | weights as *mut c32, [INFO] [stdout] 702 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::ciarlet_interpolation_weights_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:703:27 [INFO] [stdout] | [INFO] [stdout] 703 | DType::C64 => ciarlet_interpolation_weights_internal::( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 704 | | element, [INFO] [stdout] 705 | | entity_dim, [INFO] [stdout] 706 | | entity_index, [INFO] [stdout] 707 | | weights as *mut c64, [INFO] [stdout] 708 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:714:9 [INFO] [stdout] | [INFO] [stdout] 714 | (*element).dtype as u8 [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/bindings.rs:713:5 [INFO] [stdout] | [INFO] [stdout] 713 | pub unsafe extern "C" fn ciarlet_element_dtype(element: *const CiarletElementWrapper) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:724:29 [INFO] [stdout] | [INFO] [stdout] 724 | for (i, j) in match (*element).dtype { [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/bindings.rs:718:5 [INFO] [stdout] | [INFO] [stdout] 718 | / pub unsafe extern "C" fn ciarlet_tabulate_array_shape( [INFO] [stdout] 719 | | element: *const CiarletElementWrapper, [INFO] [stdout] 720 | | nderivs: usize, [INFO] [stdout] 721 | | npoints: usize, [INFO] [stdout] 722 | | shape: *mut usize, [INFO] [stdout] 723 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:725:27 [INFO] [stdout] | [INFO] [stdout] 725 | DType::F32 => (*extract_element::(element)).tabulate_array_shape(nderivs, npoints), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:725:29 [INFO] [stdout] | [INFO] [stdout] 725 | DType::F32 => (*extract_element::(element)).tabulate_array_shape(nderivs, npoints), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:726:27 [INFO] [stdout] | [INFO] [stdout] 726 | DType::F64 => (*extract_element::(element)).tabulate_array_shape(nderivs, npoints), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:726:29 [INFO] [stdout] | [INFO] [stdout] 726 | DType::F64 => (*extract_element::(element)).tabulate_array_shape(nderivs, npoints), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:727:27 [INFO] [stdout] | [INFO] [stdout] 727 | DType::C32 => (*extract_element::(element)).tabulate_array_shape(nderivs, npoints), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:727:29 [INFO] [stdout] | [INFO] [stdout] 727 | DType::C32 => (*extract_element::(element)).tabulate_array_shape(nderivs, npoints), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:728:27 [INFO] [stdout] | [INFO] [stdout] 728 | DType::C64 => (*extract_element::(element)).tabulate_array_shape(nderivs, npoints), [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 `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:728:29 [INFO] [stdout] | [INFO] [stdout] 728 | DType::C64 => (*extract_element::(element)).tabulate_array_shape(nderivs, npoints), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:733:13 [INFO] [stdout] | [INFO] [stdout] 733 | *shape.add(i) = *j; [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::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:733:14 [INFO] [stdout] | [INFO] [stdout] 733 | *shape.add(i) = *j; [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::extract_element` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:744:23 [INFO] [stdout] | [INFO] [stdout] 744 | let element = extract_element::(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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings.rs:737:5 [INFO] [stdout] | [INFO] [stdout] 737 | / unsafe fn ciarlet_tabulate_internal( [INFO] [stdout] 738 | | element: *const CiarletElementWrapper, [INFO] [stdout] 739 | | points: *const T::Real, [INFO] [stdout] 740 | | npoints: usize, [INFO] [stdout] 741 | | nderivs: usize, [INFO] [stdout] 742 | | data: *mut T, [INFO] [stdout] 743 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:745:40 [INFO] [stdout] | [INFO] [stdout] 745 | let tdim = reference_cell::dim((*element).cell_type()); [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::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:747:37 [INFO] [stdout] | [INFO] [stdout] 747 | rlst_array_from_slice2!(from_raw_parts(points, npoints * tdim), [tdim, npoints]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:748:21 [INFO] [stdout] | [INFO] [stdout] 748 | let shape = (*element).tabulate_array_shape(nderivs, npoints); [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::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:750:13 [INFO] [stdout] | [INFO] [stdout] 750 | from_raw_parts_mut(data, shape[0] * shape[1] * shape[2] * shape[3]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:753:9 [INFO] [stdout] | [INFO] [stdout] 753 | (*element).tabulate(&points, nderivs, &mut data); [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/bindings.rs:763:15 [INFO] [stdout] | [INFO] [stdout] 763 | match (*element).dtype { [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/bindings.rs:756:5 [INFO] [stdout] | [INFO] [stdout] 756 | / pub unsafe extern "C" fn ciarlet_tabulate( [INFO] [stdout] 757 | | element: *const CiarletElementWrapper, [INFO] [stdout] 758 | | points: *const c_void, [INFO] [stdout] 759 | | npoints: usize, [INFO] [stdout] 760 | | nderivs: usize, [INFO] [stdout] 761 | | data: *mut c_void, [INFO] [stdout] 762 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::ciarlet_tabulate_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:764:27 [INFO] [stdout] | [INFO] [stdout] 764 | DType::F32 => ciarlet_tabulate_internal::( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 765 | | element, [INFO] [stdout] 766 | | points as *const f32, [INFO] [stdout] 767 | | npoints, [INFO] [stdout] 768 | | nderivs, [INFO] [stdout] 769 | | data as *mut f32, [INFO] [stdout] 770 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::ciarlet_tabulate_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:771:27 [INFO] [stdout] | [INFO] [stdout] 771 | DType::F64 => ciarlet_tabulate_internal::( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 772 | | element, [INFO] [stdout] 773 | | points as *const f64, [INFO] [stdout] 774 | | npoints, [INFO] [stdout] 775 | | nderivs, [INFO] [stdout] 776 | | data as *mut f64, [INFO] [stdout] 777 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::ciarlet_tabulate_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:778:27 [INFO] [stdout] | [INFO] [stdout] 778 | DType::C32 => ciarlet_tabulate_internal::( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 779 | | element, [INFO] [stdout] 780 | | points as *const f32, [INFO] [stdout] 781 | | npoints, [INFO] [stdout] 782 | | nderivs, [INFO] [stdout] 783 | | data as *mut c32, [INFO] [stdout] 784 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::ciarlet_tabulate_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:785:27 [INFO] [stdout] | [INFO] [stdout] 785 | DType::C64 => ciarlet_tabulate_internal::( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 786 | | element, [INFO] [stdout] 787 | | points as *const f64, [INFO] [stdout] 788 | | npoints, [INFO] [stdout] 789 | | nderivs, [INFO] [stdout] 790 | | data as *mut c64, [INFO] [stdout] 791 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:803:13 [INFO] [stdout] | [INFO] [stdout] 803 | (*((*family).family as *const F)) [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/bindings.rs:795:5 [INFO] [stdout] | [INFO] [stdout] 795 | / unsafe fn element_family_element_internal< [INFO] [stdout] 796 | | T: RlstScalar + MatrixInverse, [INFO] [stdout] 797 | | F: ElementFamily, [INFO] [stdout] 798 | | >( [INFO] [stdout] 799 | | family: *const ElementFamilyWrapper, [INFO] [stdout] 800 | | cell: u8, [INFO] [stdout] 801 | | ) -> *const CiarletElementWrapper { [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:803:16 [INFO] [stdout] | [INFO] [stdout] 803 | (*((*family).family as *const F)) [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/bindings.rs:809:20 [INFO] [stdout] | [INFO] [stdout] 809 | dtype: (*family).dtype, [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/bindings.rs:818:15 [INFO] [stdout] | [INFO] [stdout] 818 | match (*family).etype { [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/bindings.rs:814:5 [INFO] [stdout] | [INFO] [stdout] 814 | / pub unsafe extern "C" fn element_family_element( [INFO] [stdout] 815 | | family: *const ElementFamilyWrapper, [INFO] [stdout] 816 | | cell: u8, [INFO] [stdout] 817 | | ) -> *const CiarletElementWrapper { [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:819:44 [INFO] [stdout] | [INFO] [stdout] 819 | ElementType::Lagrange => match (*family).dtype { [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 `bindings::ciarlet::element_family_element_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:820:31 [INFO] [stdout] | [INFO] [stdout] 820 | DType::F32 => element_family_element_internal::< [INFO] [stdout] | _______________________________^ [INFO] [stdout] 821 | | f32, [INFO] [stdout] 822 | | ciarlet::LagrangeElementFamily, [INFO] [stdout] 823 | | >(family, cell), [INFO] [stdout] | |_______________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::element_family_element_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:824:31 [INFO] [stdout] | [INFO] [stdout] 824 | DType::F64 => element_family_element_internal::< [INFO] [stdout] | _______________________________^ [INFO] [stdout] 825 | | f64, [INFO] [stdout] 826 | | ciarlet::LagrangeElementFamily, [INFO] [stdout] 827 | | >(family, cell), [INFO] [stdout] | |_______________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::element_family_element_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:828:31 [INFO] [stdout] | [INFO] [stdout] 828 | DType::C32 => element_family_element_internal::< [INFO] [stdout] | _______________________________^ [INFO] [stdout] 829 | | c32, [INFO] [stdout] 830 | | ciarlet::LagrangeElementFamily, [INFO] [stdout] 831 | | >(family, cell), [INFO] [stdout] | |_______________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::element_family_element_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:832:31 [INFO] [stdout] | [INFO] [stdout] 832 | DType::C64 => element_family_element_internal::< [INFO] [stdout] | _______________________________^ [INFO] [stdout] 833 | | c64, [INFO] [stdout] 834 | | ciarlet::LagrangeElementFamily, [INFO] [stdout] 835 | | >(family, cell), [INFO] [stdout] | |_______________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:837:49 [INFO] [stdout] | [INFO] [stdout] 837 | ElementType::RaviartThomas => match (*family).dtype { [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 `bindings::ciarlet::element_family_element_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:838:31 [INFO] [stdout] | [INFO] [stdout] 838 | DType::F32 => element_family_element_internal::< [INFO] [stdout] | _______________________________^ [INFO] [stdout] 839 | | f32, [INFO] [stdout] 840 | | ciarlet::RaviartThomasElementFamily, [INFO] [stdout] 841 | | >(family, cell), [INFO] [stdout] | |_______________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::element_family_element_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:842:31 [INFO] [stdout] | [INFO] [stdout] 842 | DType::F64 => element_family_element_internal::< [INFO] [stdout] | _______________________________^ [INFO] [stdout] 843 | | f64, [INFO] [stdout] 844 | | ciarlet::RaviartThomasElementFamily, [INFO] [stdout] 845 | | >(family, cell), [INFO] [stdout] | |_______________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::element_family_element_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:846:31 [INFO] [stdout] | [INFO] [stdout] 846 | DType::C32 => element_family_element_internal::< [INFO] [stdout] | _______________________________^ [INFO] [stdout] 847 | | c32, [INFO] [stdout] 848 | | ciarlet::RaviartThomasElementFamily, [INFO] [stdout] 849 | | >(family, cell), [INFO] [stdout] | |_______________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::ciarlet::element_family_element_internal` is unsafe and requires unsafe block [INFO] [stdout] --> src/bindings.rs:850:31 [INFO] [stdout] | [INFO] [stdout] 850 | DType::C64 => element_family_element_internal::< [INFO] [stdout] | _______________________________^ [INFO] [stdout] 851 | | c64, [INFO] [stdout] 852 | | ciarlet::RaviartThomasElementFamily, [INFO] [stdout] 853 | | >(family, cell), [INFO] [stdout] | |_______________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 282 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Fixed src/bindings.rs (91 fixes) [INFO] [stderr] Migrating examples/lagrange_element.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/element_family.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.00s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling ndelement v0.1.1 (/tmp/fixit) [INFO] [stderr] error: failed to run custom build command for `ndelement v0.1.1 (/tmp/fixit)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/ndelement-dd649891874f958b/build-script-build` (exit status: 101) [INFO] [stderr] --- stderr [INFO] [stderr] thread 'main' panicked at build.rs:29:10: [INFO] [stderr] Unable to generate bindings: ParseSyntaxError { crate_name: "ndelement", src_path: "/tmp/fixit/src/bindings.rs", error: Error("expected identifier, found keyword `unsafe`") } [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x6294204a208a - std::backtrace_rs::backtrace::libunwind::trace::h783ebedc0104095b [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stderr] 1: 0x6294204a208a - std::backtrace_rs::backtrace::trace_unsynchronized::h34818374fc0b6b78 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x6294204a208a - std::sys::backtrace::_print_fmt::hd5981cd97d9117ef [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x6294204a208a - ::fmt::hcbd4016134536e7b [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x6294204ca69b - core::fmt::rt::Argument::fmt::h78f7d1c688b9afe5 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/fmt/rt.rs:177:76 [INFO] [stderr] 5: 0x6294204ca69b - core::fmt::write::hbd4b08e4de8d6f86 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/fmt/mod.rs:1186:21 [INFO] [stderr] 6: 0x62942049ed83 - std::io::Write::write_fmt::h4c2d609b5a0eccd1 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/io/mod.rs:1823:15 [INFO] [stderr] 7: 0x6294204a1ed2 - std::sys::backtrace::BacktraceLock::print::h665a1f85637eba6c [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x6294204a33b7 - std::panicking::default_hook::{{closure}}::h9accc11d42952801 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:268:22 [INFO] [stderr] 9: 0x6294204a31e6 - std::panicking::default_hook::h69a4769a07d287e2 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:295:9 [INFO] [stderr] 10: 0x6294204a39f7 - std::panicking::rust_panic_with_hook::h74592f259a49b2d6 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:801:13 [INFO] [stderr] 11: 0x6294204a3897 - std::panicking::begin_panic_handler::{{closure}}::hc0a56168fb0a06ce [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:674:13 [INFO] [stderr] 12: 0x6294204a2569 - std::sys::backtrace::__rust_end_short_backtrace::h6739919067f5762e [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/sys/backtrace.rs:170:18 [INFO] [stderr] 13: 0x6294204a3524 - rust_begin_unwind [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:665:5 [INFO] [stderr] 14: 0x6294204c8df3 - core::panicking::panic_fmt::h1308fb333da65a11 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/panicking.rs:74:14 [INFO] [stderr] 15: 0x6294204c9236 - core::result::unwrap_failed::h91567f187ce6fe65 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/result.rs:1689:5 [INFO] [stderr] 16: 0x629420084c1c - core::result::Result::expect::hf1f58715b0ea52e3 [INFO] [stderr] 17: 0x6294200a116d - build_script_build::main::h683214aba2a58eee [INFO] [stderr] 18: 0x6294200b04c3 - core::ops::function::FnOnce::call_once::ha1e3efb04ec012a7 [INFO] [stderr] 19: 0x6294200c3686 - std::sys::backtrace::__rust_begin_short_backtrace::hae2b6869c2601373 [INFO] [stderr] 20: 0x6294200976f9 - std::rt::lang_start::{{closure}}::h2de52be5c9caf94b [INFO] [stderr] 21: 0x62942049b9a0 - core::ops::function::impls:: for &F>::call_once::he8ef3f06ab422d00 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 22: 0x62942049b9a0 - std::panicking::try::do_call::h098c245e0dfa6103 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:557:40 [INFO] [stderr] 23: 0x62942049b9a0 - std::panicking::try::hd059086dad131f0b [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:520:19 [INFO] [stderr] 24: 0x62942049b9a0 - std::panic::catch_unwind::hd036f0b7d6a4c7e1 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panic.rs:348:14 [INFO] [stderr] 25: 0x62942049b9a0 - std::rt::lang_start_internal::{{closure}}::h8beaecdd4df7cb9f [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/rt.rs:143:48 [INFO] [stderr] 26: 0x62942049b9a0 - std::panicking::try::do_call::hf5501abf8d50286a [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:557:40 [INFO] [stderr] 27: 0x62942049b9a0 - std::panicking::try::hc4096a14bc6803ea [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:520:19 [INFO] [stderr] 28: 0x62942049b9a0 - std::panic::catch_unwind::h6739a5ceee88f204 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panic.rs:348:14 [INFO] [stderr] 29: 0x62942049b9a0 - std::rt::lang_start_internal::h618fdb8d0eec4811 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/rt.rs:143:20 [INFO] [stderr] 30: 0x6294200976d7 - std::rt::lang_start::h37e4d38e708bb2b2 [INFO] [stderr] 31: 0x6294200a1335 - main [INFO] [stderr] 32: 0x79a468045d90 - [INFO] [stderr] 33: 0x79a468045e40 - __libc_start_main [INFO] [stderr] 34: 0x62941ffd6d35 - _start [INFO] [stderr] 35: 0x0 - [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5ce175b93200322db8a86cdb4bbc2be47f43965ff643bb652902f2536a6f645e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ce175b93200322db8a86cdb4bbc2be47f43965ff643bb652902f2536a6f645e", kill_on_drop: false }` [INFO] [stdout] 5ce175b93200322db8a86cdb4bbc2be47f43965ff643bb652902f2536a6f645e