[INFO] fetching crate gmp-mpfr-sys 1.6.4... [INFO] checking gmp-mpfr-sys-1.6.4 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate gmp-mpfr-sys 1.6.4 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate gmp-mpfr-sys 1.6.4 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 gmp-mpfr-sys 1.6.4 [INFO] finished tweaking crates.io crate gmp-mpfr-sys 1.6.4 [INFO] tweaked toml for crates.io crate gmp-mpfr-sys 1.6.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8dcabadf3833e3413c9f72c951be89ad7731783570993696f0703b67b2ccdaab [INFO] running `Command { std: "docker" "start" "-a" "8dcabadf3833e3413c9f72c951be89ad7731783570993696f0703b67b2ccdaab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dcabadf3833e3413c9f72c951be89ad7731783570993696f0703b67b2ccdaab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dcabadf3833e3413c9f72c951be89ad7731783570993696f0703b67b2ccdaab", kill_on_drop: false }` [INFO] [stdout] 8dcabadf3833e3413c9f72c951be89ad7731783570993696f0703b67b2ccdaab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 0736ec2b6d8ca4ad8d12c208603037a0591a9f235e11b4607e5804c19f5efdda [INFO] running `Command { std: "docker" "start" "-a" "0736ec2b6d8ca4ad8d12c208603037a0591a9f235e11b4607e5804c19f5efdda", 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 gmp-mpfr-sys v1.6.4 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Fixed build.rs (2 fixes) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `gmp_mpfr_sys` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/gmp.rs [INFO] [stderr] * src/mpfr.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/gmp.rs:811:40 [INFO] [stderr] | [INFO] [stderr] 811 | { $(#[$attr:meta])* fn $name:ident($max: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/mpfr.rs:280:19 [INFO] [stderr] | [INFO] [stderr] 280 | ($name:ident, $prec: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/mpfr.rs:1253:6 [INFO] [stderr] | [INFO] [stderr] 1253 | ($foo:expr_2021, $rop:expr_2021 $(, $op: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/mpfr.rs:1253:22 [INFO] [stderr] | [INFO] [stderr] 1253 | ($foo:expr_2021, $rop:expr_2021 $(, $op: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/mpfr.rs:1253:41 [INFO] [stderr] | [INFO] [stderr] 1253 | ($foo:expr_2021, $rop:expr_2021 $(, $op: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 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 54 | | /// See: [`mp_bits_per_limb`](../C/GMP/constant.GMP_Basics.html#index-mp_005fbits_005fper_005flimb) [INFO] [stdout] 55 | | #[link_name = "__gmp_bits_per_limb"] [INFO] [stdout] 56 | | pub static bits_per_limb: c_int; [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 65 | | /// See: [`gmp_version`](../C/GMP/constant.GMP_Basics.html#index-gmp_005fversion) [INFO] [stdout] 66 | | #[link_name = "__gmp_version"] [INFO] [stdout] 67 | | pub static version: *const c_char; [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 237 | | /// See: [`mpz_init`](../C/GMP/constant.Integer_Functions.html#index-mpz_005finit) [INFO] [stdout] 238 | | #[link_name = "__gmpz_init"] [INFO] [stdout] 239 | | pub fn mpz_init(x: mpz_ptr); [INFO] [stdout] ... | [INFO] [stdout] 269 | | pub fn mpz_set_d(rop: mpz_ptr, op: f64); [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 276 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 277 | | /// See: [`mpz_set_f`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fset_005ff) [INFO] [stdout] 278 | | #[link_name = "__gmpz_set_f"] [INFO] [stdout] 279 | | pub fn mpz_set_f(rop: mpz_ptr, op: mpf_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 303 | | pub fn mpz_init_set_str(rop: mpz_ptr, str: *const c_char, base: c_int) -> c_int; [INFO] [stdout] 304 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 336 | | /// See: [`mpz_get_si`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fget_005fsi) [INFO] [stdout] 337 | | #[link_name = "__gmpz_get_si"] [INFO] [stdout] 338 | | pub fn mpz_get_si(op: mpz_srcptr) -> c_long; [INFO] [stdout] ... | [INFO] [stdout] 389 | | pub fn mpz_mul_2exp(rop: mpz_ptr, op1: mpz_srcptr, op2: bitcnt_t); [INFO] [stdout] 390 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:416:1 [INFO] [stdout] | [INFO] [stdout] 416 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 417 | | /// See: [`mpz_cdiv_q`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fcdiv_005fq) [INFO] [stdout] 418 | | #[link_name = "__gmpz_cdiv_q"] [INFO] [stdout] 419 | | pub fn mpz_cdiv_q(q: mpz_ptr, n: mpz_srcptr, d: mpz_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 500 | | pub fn mpz_mod(r: mpz_ptr, n: mpz_srcptr, d: mpz_srcptr); [INFO] [stdout] 501 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:507:1 [INFO] [stdout] | [INFO] [stdout] 507 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 508 | | /// See: [`mpz_divexact`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fdivexact) [INFO] [stdout] 509 | | #[link_name = "__gmpz_divexact"] [INFO] [stdout] 510 | | pub fn mpz_divexact(q: mpz_ptr, n: mpz_srcptr, d: mpz_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 567 | | pub fn mpz_perfect_power_p(op: mpz_srcptr) -> c_int; [INFO] [stdout] 568 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:582:1 [INFO] [stdout] | [INFO] [stdout] 582 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 583 | | /// See: [`mpz_probab_prime_p`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fprobab_005fprime_005fp) [INFO] [stdout] 584 | | #[link_name = "__gmpz_probab_prime_p"] [INFO] [stdout] 585 | | pub fn mpz_probab_prime_p(n: mpz_srcptr, reps: c_int) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 612 | | pub fn mpz_jacobi(a: mpz_srcptr, b: mpz_srcptr) -> c_int; [INFO] [stdout] 613 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:624:1 [INFO] [stdout] | [INFO] [stdout] 624 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 625 | | /// See: [`mpz_kronecker_si`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fkronecker_005fsi) [INFO] [stdout] 626 | | #[link_name = "__gmpz_kronecker_si"] [INFO] [stdout] 627 | | pub fn mpz_kronecker_si(a: mpz_srcptr, b: c_long) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 693 | | pub fn mpz_cmpabs_ui(op1: mpz_srcptr, op2: c_ulong) -> c_int; [INFO] [stdout] 694 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:705:1 [INFO] [stdout] | [INFO] [stdout] 705 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 706 | | /// See: [`mpz_and`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fand) [INFO] [stdout] 707 | | #[link_name = "__gmpz_and"] [INFO] [stdout] 708 | | pub fn mpz_and(rop: mpz_ptr, op1: mpz_srcptr, op2: mpz_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 717 | | pub fn mpz_com(rop: mpz_ptr, op: mpz_srcptr); [INFO] [stdout] 718 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:729:1 [INFO] [stdout] | [INFO] [stdout] 729 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 730 | | /// See: [`mpz_hamdist`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fhamdist) [INFO] [stdout] 731 | | #[link_name = "__gmpz_hamdist"] [INFO] [stdout] 732 | | pub fn mpz_hamdist(op1: mpz_srcptr, op2: mpz_srcptr) -> bitcnt_t; [INFO] [stdout] ... | [INFO] [stdout] 805 | | ) -> *mut c_void; [INFO] [stdout] 806 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/gmp.rs:811:45 [INFO] [stdout] | [INFO] [stdout] 811 | { $(#[$attr:meta])* fn $name:ident($max: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] 811 | { $(#[$attr:meta])* fn $name:ident($max:expr_2021); } => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:838:1 [INFO] [stdout] | [INFO] [stdout] 838 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 839 | | /// See: [`mpz_fits_slong_p`](../C/GMP/constant.Integer_Functions.html#index-mpz_005ffits_005fslong_005fp) [INFO] [stdout] 840 | | #[link_name = "__gmpz_fits_slong_p"] [INFO] [stdout] 841 | | pub fn mpz_fits_slong_p(op: mpz_srcptr) -> c_int; [INFO] [stdout] 842 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:847:1 [INFO] [stdout] | [INFO] [stdout] 847 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 848 | | /// See: [`mpz_fits_sint_p`](../C/GMP/constant.Integer_Functions.html#index-mpz_005ffits_005fsint_005fp) [INFO] [stdout] 849 | | #[link_name = "__gmpz_fits_sint_p"] [INFO] [stdout] 850 | | pub fn mpz_fits_sint_p(op: mpz_srcptr) -> c_int; [INFO] [stdout] 851 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:856:1 [INFO] [stdout] | [INFO] [stdout] 856 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 857 | | /// See: [`mpz_fits_sshort_p`](../C/GMP/constant.Integer_Functions.html#index-mpz_005ffits_005fsshort_005fp) [INFO] [stdout] 858 | | #[link_name = "__gmpz_fits_sshort_p"] [INFO] [stdout] 859 | | pub fn mpz_fits_sshort_p(op: mpz_srcptr) -> c_int; [INFO] [stdout] 860 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:875:1 [INFO] [stdout] | [INFO] [stdout] 875 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 876 | | /// See: [`mpz_sizeinbase`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fsizeinbase) [INFO] [stdout] 877 | | #[link_name = "__gmpz_sizeinbase"] [INFO] [stdout] 878 | | pub fn mpz_sizeinbase(arg1: mpz_srcptr, arg2: c_int) -> usize; [INFO] [stdout] ... | [INFO] [stdout] 884 | | pub fn _mpz_realloc(integer: mpz_ptr, new_alloc: size_t) -> *mut c_void; [INFO] [stdout] 885 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:900:1 [INFO] [stdout] | [INFO] [stdout] 900 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 901 | | /// See: [`mpz_limbs_read`](../C/GMP/constant.Integer_Functions.html#index-mpz_005flimbs_005fread) [INFO] [stdout] 902 | | #[link_name = "__gmpz_limbs_read"] [INFO] [stdout] 903 | | pub fn mpz_limbs_read(x: mpz_srcptr) -> mp_srcptr; [INFO] [stdout] ... | [INFO] [stdout] 915 | | pub fn mpz_roinit_n(x: mpz_ptr, xp: mp_srcptr, xs: size_t) -> mpz_srcptr; [INFO] [stdout] 916 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:929:1 [INFO] [stdout] | [INFO] [stdout] 929 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 930 | | /// See: [`mpq_canonicalize`](../C/GMP/constant.Rational_Number_Functions.html#index-mpq_005fcanonicalize) [INFO] [stdout] 931 | | #[link_name = "__gmpq_canonicalize"] [INFO] [stdout] 932 | | pub fn mpq_canonicalize(op: mpq_ptr); [INFO] [stdout] ... | [INFO] [stdout] 1001 | | pub fn mpq_div_2exp(rop: mpq_ptr, op1: mpq_srcptr, op2: bitcnt_t); [INFO] [stdout] 1002 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1025:1 [INFO] [stdout] | [INFO] [stdout] 1025 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1026 | | /// See: [`mpq_inv`](../C/GMP/constant.Rational_Number_Functions.html#index-mpq_005finv) [INFO] [stdout] 1027 | | #[link_name = "__gmpq_inv"] [INFO] [stdout] 1028 | | pub fn mpq_inv(inverted_number: mpq_ptr, number: mpq_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 1043 | | pub fn mpq_cmp_si(op1: mpq_srcptr, num2: c_long, den2: c_ulong) -> c_int; [INFO] [stdout] 1044 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1055:1 [INFO] [stdout] | [INFO] [stdout] 1055 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1056 | | /// See: [`mpq_equal`](../C/GMP/constant.Rational_Number_Functions.html#index-mpq_005fequal) [INFO] [stdout] 1057 | | #[link_name = "__gmpq_equal"] [INFO] [stdout] 1058 | | pub fn mpq_equal(op1: mpq_srcptr, op2: mpq_srcptr) -> c_int; [INFO] [stdout] 1059 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1083:1 [INFO] [stdout] | [INFO] [stdout] 1083 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1084 | | /// See: [`mpq_get_num`](../C/GMP/constant.Rational_Number_Functions.html#index-mpq_005fget_005fnum) [INFO] [stdout] 1085 | | #[link_name = "__gmpq_get_num"] [INFO] [stdout] 1086 | | pub fn mpq_get_num(numerator: mpz_ptr, rational: mpq_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 1104 | | pub fn mpq_inp_str(rop: mpq_ptr, stream: *mut FILE, base: c_int) -> usize; [INFO] [stdout] 1105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1111:1 [INFO] [stdout] | [INFO] [stdout] 1111 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1112 | | /// See: [`mpf_set_default_prec`](../C/GMP/constant.Floating_point_Functions.html#index-mpf_005fset_005fdefault_005fprec) [INFO] [stdout] 1113 | | #[link_name = "__gmpf_set_default_prec"] [INFO] [stdout] 1114 | | pub fn mpf_set_default_prec(prec: bitcnt_t); [INFO] [stdout] ... | [INFO] [stdout] 1288 | | pub fn mpf_reldiff(rop: mpf_ptr, op1: mpf_srcptr, op2: mpf_srcptr); [INFO] [stdout] 1289 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1303:1 [INFO] [stdout] | [INFO] [stdout] 1303 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1304 | | /// See: [`mpf_out_str`](../C/GMP/constant.Floating_point_Functions.html#index-mpf_005fout_005fstr) [INFO] [stdout] 1305 | | #[link_name = "__gmpf_out_str"] [INFO] [stdout] 1306 | | pub fn mpf_out_str(stream: *mut FILE, base: c_int, n_digits: usize, op: mpf_srcptr) -> usize; [INFO] [stdout] ... | [INFO] [stdout] 1348 | | pub fn mpf_random2(rop: mpf_ptr, max_size: size_t, exp: exp_t); [INFO] [stdout] 1349 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1353:1 [INFO] [stdout] | [INFO] [stdout] 1353 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1354 | | /// See: [`mpn_add_n`](../C/GMP/constant.Low_level_Functions.html#index-mpn_005fadd_005fn) [INFO] [stdout] 1355 | | #[link_name = "__gmpn_add_n"] [INFO] [stdout] 1356 | | pub fn mpn_add_n(rp: mp_ptr, s1p: mp_srcptr, s2p: mp_srcptr, n: size_t) -> limb_t; [INFO] [stdout] ... | [INFO] [stdout] 1412 | | ) -> limb_t; [INFO] [stdout] 1413 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1424:1 [INFO] [stdout] | [INFO] [stdout] 1424 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1425 | | /// See: [`mpn_divexact_1`](../C/GMP/constant.Low_level_Functions.html#index-mpn_005fdivexact_005f1) [INFO] [stdout] 1426 | | #[link_name = "__gmpn_divexact_1"] [INFO] [stdout] 1427 | | pub fn mpn_divexact_1(rp: mp_ptr, sp: mp_srcptr, n: size_t, d: limb_t); [INFO] [stdout] 1428 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1434:1 [INFO] [stdout] | [INFO] [stdout] 1434 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1435 | | /// See: [`mpn_divexact_by3c`](../C/GMP/constant.Low_level_Functions.html#index-mpn_005fdivexact_005fby3c) [INFO] [stdout] 1436 | | #[link_name = "__gmpn_divexact_by3c"] [INFO] [stdout] 1437 | | pub fn mpn_divexact_by3c(rp: mp_ptr, sp: mp_srcptr, n: size_t, carry: limb_t) -> limb_t; [INFO] [stdout] ... | [INFO] [stdout] 1649 | | pub fn mpn_sec_invert_itch(n: size_t) -> size_t; [INFO] [stdout] 1650 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1656:1 [INFO] [stdout] | [INFO] [stdout] 1656 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1657 | | /// See: [`gmp_randinit_default`](../C/GMP/constant.Random_Number_Functions.html#index-gmp_005frandinit_005fdefault) [INFO] [stdout] 1658 | | #[link_name = "__gmp_randinit_default"] [INFO] [stdout] 1659 | | pub fn randinit_default(state: randstate_ptr); [INFO] [stdout] ... | [INFO] [stdout] 1692 | | pub fn urandomm_ui(state: randstate_ptr, n: c_ulong) -> c_ulong; [INFO] [stdout] 1693 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1697:1 [INFO] [stdout] | [INFO] [stdout] 1697 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1698 | | /// See: [`gmp_printf`](../C/GMP/constant.Formatted_Output.html#index-gmp_005fprintf) [INFO] [stdout] 1699 | | #[link_name = "__gmp_printf"] [INFO] [stdout] 1700 | | pub fn printf(fmt: *const c_char, ...) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 1712 | | pub fn asprintf(pp: *mut *mut c_char, fmt: *const c_char, ...) -> c_int; [INFO] [stdout] 1713 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1717:1 [INFO] [stdout] | [INFO] [stdout] 1717 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1718 | | /// See: [`gmp_scanf`](../C/GMP/constant.Formatted_Input.html#index-gmp_005fscanf) [INFO] [stdout] 1719 | | #[link_name = "__gmp_scanf"] [INFO] [stdout] 1720 | | pub fn scanf(fmt: *const c_char, ...) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 1726 | | pub fn sscanf(s: *const c_char, fmt: *const c_char, ...) -> c_int; [INFO] [stdout] 1727 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1759:1 [INFO] [stdout] | [INFO] [stdout] 1759 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1760 | | /// See: [`mp_set_memory_functions`](../C/GMP/constant.Custom_Allocation.html#index-mp_005fset_005fmemory_005ffunctions) [INFO] [stdout] 1761 | | /// [INFO] [stdout] 1762 | | /// # Planned change [INFO] [stdout] ... | [INFO] [stdout] 1782 | | ); [INFO] [stdout] 1783 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpc.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 199 | | // Initialization Functions [INFO] [stdout] 200 | | [INFO] [stdout] 201 | | /// See: [`mpc_init2`](../C/MPC/constant.Complex_Functions.html#index-mpc_005finit2) [INFO] [stdout] ... | [INFO] [stdout] 332 | | pub fn cmp_si_si(op1: mpc_srcptr, op2r: c_long, op2i: c_long) -> c_int; [INFO] [stdout] 333 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpc.rs:339:1 [INFO] [stdout] | [INFO] [stdout] 339 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 340 | | /// See: [`mpc_cmp_abs`](../C/MPC/constant.Complex_Functions.html#index-mpc_005fcmp_005fabs) [INFO] [stdout] 341 | | #[link_name = "mpc_cmp_abs"] [INFO] [stdout] 342 | | pub fn cmp_abs(op1: mpc_srcptr, op2: mpc_srcptr) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 350 | | pub fn imag(rop: mpfr_ptr, arg2: mpc_srcptr, rnd: mpfr_rnd_t) -> c_int; [INFO] [stdout] 351 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpc.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 373 | | /// See: [`mpc_arg`](../C/MPC/constant.Complex_Functions.html#index-mpc_005farg) [INFO] [stdout] 374 | | #[link_name = "mpc_arg"] [INFO] [stdout] 375 | | pub fn arg(rop: mpfr_ptr, op: mpc_srcptr, rnd: mpfr_rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 402 | | pub fn sub_ui(rop: mpc_ptr, op1: mpc_srcptr, op2: c_ulong, rnd: rnd_t) -> c_int; [INFO] [stdout] 403 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpc.rs:409:1 [INFO] [stdout] | [INFO] [stdout] 409 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 410 | | /// See: [`mpc_ui_ui_sub`](../C/MPC/constant.Complex_Functions.html#index-mpc_005fui_005fui_005fsub) [INFO] [stdout] 411 | | #[link_name = "mpc_ui_ui_sub"] [INFO] [stdout] 412 | | pub fn ui_ui_sub( [INFO] [stdout] ... | [INFO] [stdout] 599 | | pub fn get_version() -> *const c_char; [INFO] [stdout] 600 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpc.rs:617:1 [INFO] [stdout] | [INFO] [stdout] 617 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 618 | | // Ball Arithmetic [INFO] [stdout] 619 | | [INFO] [stdout] 620 | | // Radius functions [INFO] [stdout] ... | [INFO] [stdout] 784 | | pub fn mpcb_round(c: mpc_ptr, z: mpcb_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] 785 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 257 | | /// See: [`mpfr_init2`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005finit2) [INFO] [stdout] 258 | | #[link_name = "mpfr_init2"] [INFO] [stdout] 259 | | pub fn init2(x: mpfr_ptr, prec: prec_t); [INFO] [stdout] ... | [INFO] [stdout] 274 | | pub fn inits(x: mpfr_ptr, ...); [INFO] [stdout] 275 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mpfr.rs:280:25 [INFO] [stdout] | [INFO] [stdout] 280 | ($name:ident, $prec: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] 280 | ($name:ident, $prec:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 294 | | /// See: [`mpfr_set_default_prec`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fset_005fdefault_005fprec) [INFO] [stdout] 295 | | #[link_name = "mpfr_set_default_prec"] [INFO] [stdout] 296 | | pub fn set_default_prec(prec: prec_t); [INFO] [stdout] ... | [INFO] [stdout] 302 | | pub fn set_prec(x: mpfr_ptr, prec: prec_t); [INFO] [stdout] 303 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:312:1 [INFO] [stdout] | [INFO] [stdout] 312 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 313 | | #[link_name = "mpfr_set4"] [INFO] [stdout] 314 | | fn set4(rop: mpfr_ptr, op: mpfr_srcptr, rnd: rnd_t, i: c_int) -> c_int; [INFO] [stdout] 315 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:321:1 [INFO] [stdout] | [INFO] [stdout] 321 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 322 | | /// See: [`mpfr_set_ui`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fset_005fui) [INFO] [stdout] 323 | | #[link_name = "mpfr_set_ui"] [INFO] [stdout] 324 | | pub fn set_ui(rop: mpfr_ptr, op: c_ulong, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 387 | | pub fn swap(x: mpfr_ptr, y: mpfr_ptr); [INFO] [stdout] 388 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:448:1 [INFO] [stdout] | [INFO] [stdout] 448 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 449 | | /// See: [`mpfr_init_set_str`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005finit_005fset_005fstr) [INFO] [stdout] 450 | | #[link_name = "mpfr_init_set_str"] [INFO] [stdout] 451 | | pub fn init_set_str(x: mpfr_ptr, s: *const c_char, base: c_int, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 657 | | pub fn neg(rop: mpfr_ptr, op: mpfr_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] 658 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:664:1 [INFO] [stdout] | [INFO] [stdout] 664 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 665 | | /// See: [`mpfr_dim`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fdim) [INFO] [stdout] 666 | | #[link_name = "mpfr_dim"] [INFO] [stdout] 667 | | pub fn dim(rop: mpfr_ptr, op1: mpfr_srcptr, op2: mpfr_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 735 | | ) -> c_int; [INFO] [stdout] 736 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:740:1 [INFO] [stdout] | [INFO] [stdout] 740 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 741 | | #[link_name = "mpfr_cmp3"] [INFO] [stdout] 742 | | fn cmp3(op1: mpfr_srcptr, op2: mpfr_srcptr, i: c_int) -> c_int; [INFO] [stdout] 743 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:759:1 [INFO] [stdout] | [INFO] [stdout] 759 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 760 | | /// See: [`mpfr_cmp_d`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fcmp_005fd) [INFO] [stdout] 761 | | #[link_name = "mpfr_cmp_d"] [INFO] [stdout] 762 | | pub fn cmp_d(op1: mpfr_srcptr, op2: f64) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 783 | | pub fn cmpabs_ui(op1: mpfr_srcptr, op2: c_ulong) -> c_int; [INFO] [stdout] 784 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:827:1 [INFO] [stdout] | [INFO] [stdout] 827 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 828 | | /// See: [`mpfr_greater_p`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fgreater_005fp) [INFO] [stdout] 829 | | #[link_name = "mpfr_greater_p"] [INFO] [stdout] 830 | | pub fn greater_p(op1: mpfr_srcptr, op2: mpfr_srcptr) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 911 | | pub fn pow_sj(rop: mpfr_ptr, op1: mpfr_srcptr, op2: intmax_t, rnd: rnd_t) -> c_int; [INFO] [stdout] 912 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:918:1 [INFO] [stdout] | [INFO] [stdout] 918 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 919 | | /// See: [`mpfr_pow_z`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fpow_005fz) [INFO] [stdout] 920 | | #[link_name = "mpfr_pow_z"] [INFO] [stdout] 921 | | pub fn pow_z(rop: mpfr_ptr, op1: mpfr_srcptr, op2: mpz_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 1150 | | pub fn rint(rop: mpfr_ptr, op: mpfr_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] 1151 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:1170:1 [INFO] [stdout] | [INFO] [stdout] 1170 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1171 | | /// See: [`mpfr_roundeven`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005froundeven) [INFO] [stdout] 1172 | | #[link_name = "mpfr_roundeven"] [INFO] [stdout] 1173 | | pub fn roundeven(rop: mpfr_ptr, op: mpfr_srcptr) -> c_int; [INFO] [stdout] 1174 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:1180:1 [INFO] [stdout] | [INFO] [stdout] 1180 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1181 | | /// See: [`mpfr_rint_ceil`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005frint_005fceil) [INFO] [stdout] 1182 | | #[link_name = "mpfr_rint_ceil"] [INFO] [stdout] 1183 | | pub fn rint_ceil(rop: mpfr_ptr, op: mpfr_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 1247 | | pub fn print_rnd_mode(rnd: rnd_t) -> *const c_char; [INFO] [stdout] 1248 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mpfr.rs:1253:11 [INFO] [stdout] | [INFO] [stdout] 1253 | ($foo:expr, $rop:expr $(, $op: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] 1253 | ($foo:expr_2021, $rop:expr $(, $op:expr)*) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mpfr.rs:1253:22 [INFO] [stdout] | [INFO] [stdout] 1253 | ($foo:expr, $rop:expr $(, $op: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] 1253 | ($foo:expr, $rop:expr_2021 $(, $op:expr)*) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mpfr.rs:1253:35 [INFO] [stdout] | [INFO] [stdout] 1253 | ($foo:expr, $rop:expr $(, $op: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] 1253 | ($foo:expr, $rop:expr $(, $op:expr_2021)*) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:1269:1 [INFO] [stdout] | [INFO] [stdout] 1269 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1270 | | // Miscellaneous Functions [INFO] [stdout] 1271 | | [INFO] [stdout] 1272 | | /// See: [`mpfr_nexttoward`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fnexttoward) [INFO] [stdout] ... | [INFO] [stdout] 1302 | | pub fn erandom(rop1: mpfr_ptr, state: randstate_ptr, rnd: rnd_t) -> c_int; [INFO] [stdout] 1303 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:1309:1 [INFO] [stdout] | [INFO] [stdout] 1309 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1310 | | /// See: [`mpfr_set_exp`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fset_005fexp) [INFO] [stdout] 1311 | | #[link_name = "mpfr_set_exp"] [INFO] [stdout] 1312 | | pub fn set_exp(x: mpfr_ptr, e: exp_t) -> c_int; [INFO] [stdout] 1313 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:1334:1 [INFO] [stdout] | [INFO] [stdout] 1334 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1335 | | /// See: [`mpfr_get_version`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fget_005fversion) [INFO] [stdout] 1336 | | #[link_name = "mpfr_get_version"] [INFO] [stdout] 1337 | | pub fn get_version() -> *const c_char; [INFO] [stdout] 1338 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:1354:1 [INFO] [stdout] | [INFO] [stdout] 1354 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1355 | | /// See: [`mpfr_get_patches`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fget_005fpatches) [INFO] [stdout] 1356 | | #[link_name = "mpfr_get_patches"] [INFO] [stdout] 1357 | | pub fn get_patches() -> *const c_char; [INFO] [stdout] ... | [INFO] [stdout] 1507 | | pub fn reldiff(rop: mpfr_ptr, op1: mpfr_srcptr, op2: mpfr_srcptr, rnd: rnd_t); [INFO] [stdout] 1508 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:1257:9 [INFO] [stdout] | [INFO] [stdout] 1257 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1258 | | fn mpfr_round_nearest_away_begin(rop: mpfr_ptr); [INFO] [stdout] 1259 | | fn mpfr_round_nearest_away_end(rop: mpfr_ptr, inex: c_int) -> c_int; [INFO] [stdout] 1260 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 1657 | let dir_tie_away = mpfr_round_nearest_away!(mpfr::set_ui, &mut f, 21); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `mpfr_round_nearest_away` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:1257:9 [INFO] [stdout] | [INFO] [stdout] 1257 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _________help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1258 | | fn mpfr_round_nearest_away_begin(rop: mpfr_ptr); [INFO] [stdout] 1259 | | fn mpfr_round_nearest_away_end(rop: mpfr_ptr, inex: c_int) -> c_int; [INFO] [stdout] 1260 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 1663 | let dir_tie_away2 = mpfr_round_nearest_away!(mpfr::set_ui, &mut f, 41); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: this warning originates in the macro `mpfr_round_nearest_away` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `gmp_mpfr_sys` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/gmp.rs [INFO] [stderr] * src/mpfr.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/gmp.rs:811:40 [INFO] [stderr] | [INFO] [stderr] 811 | { $(#[$attr:meta])* fn $name:ident($max: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/mpfr.rs:280:19 [INFO] [stderr] | [INFO] [stderr] 280 | ($name:ident, $prec: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/mpfr.rs:1253:6 [INFO] [stderr] | [INFO] [stderr] 1253 | ($foo:expr_2021, $rop:expr_2021 $(, $op: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/mpfr.rs:1253:22 [INFO] [stderr] | [INFO] [stderr] 1253 | ($foo:expr_2021, $rop:expr_2021 $(, $op: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/mpfr.rs:1253:41 [INFO] [stderr] | [INFO] [stderr] 1253 | ($foo:expr_2021, $rop:expr_2021 $(, $op: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 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 54 | | /// See: [`mp_bits_per_limb`](../C/GMP/constant.GMP_Basics.html#index-mp_005fbits_005fper_005flimb) [INFO] [stdout] 55 | | #[link_name = "__gmp_bits_per_limb"] [INFO] [stdout] 56 | | pub static bits_per_limb: c_int; [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 65 | | /// See: [`gmp_version`](../C/GMP/constant.GMP_Basics.html#index-gmp_005fversion) [INFO] [stdout] 66 | | #[link_name = "__gmp_version"] [INFO] [stdout] 67 | | pub static version: *const c_char; [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 237 | | /// See: [`mpz_init`](../C/GMP/constant.Integer_Functions.html#index-mpz_005finit) [INFO] [stdout] 238 | | #[link_name = "__gmpz_init"] [INFO] [stdout] 239 | | pub fn mpz_init(x: mpz_ptr); [INFO] [stdout] ... | [INFO] [stdout] 269 | | pub fn mpz_set_d(rop: mpz_ptr, op: f64); [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 276 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 277 | | /// See: [`mpz_set_f`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fset_005ff) [INFO] [stdout] 278 | | #[link_name = "__gmpz_set_f"] [INFO] [stdout] 279 | | pub fn mpz_set_f(rop: mpz_ptr, op: mpf_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 303 | | pub fn mpz_init_set_str(rop: mpz_ptr, str: *const c_char, base: c_int) -> c_int; [INFO] [stdout] 304 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 336 | | /// See: [`mpz_get_si`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fget_005fsi) [INFO] [stdout] 337 | | #[link_name = "__gmpz_get_si"] [INFO] [stdout] 338 | | pub fn mpz_get_si(op: mpz_srcptr) -> c_long; [INFO] [stdout] ... | [INFO] [stdout] 389 | | pub fn mpz_mul_2exp(rop: mpz_ptr, op1: mpz_srcptr, op2: bitcnt_t); [INFO] [stdout] 390 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:416:1 [INFO] [stdout] | [INFO] [stdout] 416 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 417 | | /// See: [`mpz_cdiv_q`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fcdiv_005fq) [INFO] [stdout] 418 | | #[link_name = "__gmpz_cdiv_q"] [INFO] [stdout] 419 | | pub fn mpz_cdiv_q(q: mpz_ptr, n: mpz_srcptr, d: mpz_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 500 | | pub fn mpz_mod(r: mpz_ptr, n: mpz_srcptr, d: mpz_srcptr); [INFO] [stdout] 501 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:507:1 [INFO] [stdout] | [INFO] [stdout] 507 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 508 | | /// See: [`mpz_divexact`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fdivexact) [INFO] [stdout] 509 | | #[link_name = "__gmpz_divexact"] [INFO] [stdout] 510 | | pub fn mpz_divexact(q: mpz_ptr, n: mpz_srcptr, d: mpz_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 567 | | pub fn mpz_perfect_power_p(op: mpz_srcptr) -> c_int; [INFO] [stdout] 568 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:582:1 [INFO] [stdout] | [INFO] [stdout] 582 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 583 | | /// See: [`mpz_probab_prime_p`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fprobab_005fprime_005fp) [INFO] [stdout] 584 | | #[link_name = "__gmpz_probab_prime_p"] [INFO] [stdout] 585 | | pub fn mpz_probab_prime_p(n: mpz_srcptr, reps: c_int) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 612 | | pub fn mpz_jacobi(a: mpz_srcptr, b: mpz_srcptr) -> c_int; [INFO] [stdout] 613 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:624:1 [INFO] [stdout] | [INFO] [stdout] 624 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 625 | | /// See: [`mpz_kronecker_si`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fkronecker_005fsi) [INFO] [stdout] 626 | | #[link_name = "__gmpz_kronecker_si"] [INFO] [stdout] 627 | | pub fn mpz_kronecker_si(a: mpz_srcptr, b: c_long) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 693 | | pub fn mpz_cmpabs_ui(op1: mpz_srcptr, op2: c_ulong) -> c_int; [INFO] [stdout] 694 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:705:1 [INFO] [stdout] | [INFO] [stdout] 705 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 706 | | /// See: [`mpz_and`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fand) [INFO] [stdout] 707 | | #[link_name = "__gmpz_and"] [INFO] [stdout] 708 | | pub fn mpz_and(rop: mpz_ptr, op1: mpz_srcptr, op2: mpz_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 717 | | pub fn mpz_com(rop: mpz_ptr, op: mpz_srcptr); [INFO] [stdout] 718 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:729:1 [INFO] [stdout] | [INFO] [stdout] 729 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 730 | | /// See: [`mpz_hamdist`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fhamdist) [INFO] [stdout] 731 | | #[link_name = "__gmpz_hamdist"] [INFO] [stdout] 732 | | pub fn mpz_hamdist(op1: mpz_srcptr, op2: mpz_srcptr) -> bitcnt_t; [INFO] [stdout] ... | [INFO] [stdout] 805 | | ) -> *mut c_void; [INFO] [stdout] 806 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/gmp.rs:811:45 [INFO] [stdout] | [INFO] [stdout] 811 | { $(#[$attr:meta])* fn $name:ident($max: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] 811 | { $(#[$attr:meta])* fn $name:ident($max:expr_2021); } => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:838:1 [INFO] [stdout] | [INFO] [stdout] 838 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 839 | | /// See: [`mpz_fits_slong_p`](../C/GMP/constant.Integer_Functions.html#index-mpz_005ffits_005fslong_005fp) [INFO] [stdout] 840 | | #[link_name = "__gmpz_fits_slong_p"] [INFO] [stdout] 841 | | pub fn mpz_fits_slong_p(op: mpz_srcptr) -> c_int; [INFO] [stdout] 842 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:847:1 [INFO] [stdout] | [INFO] [stdout] 847 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 848 | | /// See: [`mpz_fits_sint_p`](../C/GMP/constant.Integer_Functions.html#index-mpz_005ffits_005fsint_005fp) [INFO] [stdout] 849 | | #[link_name = "__gmpz_fits_sint_p"] [INFO] [stdout] 850 | | pub fn mpz_fits_sint_p(op: mpz_srcptr) -> c_int; [INFO] [stdout] 851 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:856:1 [INFO] [stdout] | [INFO] [stdout] 856 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 857 | | /// See: [`mpz_fits_sshort_p`](../C/GMP/constant.Integer_Functions.html#index-mpz_005ffits_005fsshort_005fp) [INFO] [stdout] 858 | | #[link_name = "__gmpz_fits_sshort_p"] [INFO] [stdout] 859 | | pub fn mpz_fits_sshort_p(op: mpz_srcptr) -> c_int; [INFO] [stdout] 860 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:875:1 [INFO] [stdout] | [INFO] [stdout] 875 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 876 | | /// See: [`mpz_sizeinbase`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fsizeinbase) [INFO] [stdout] 877 | | #[link_name = "__gmpz_sizeinbase"] [INFO] [stdout] 878 | | pub fn mpz_sizeinbase(arg1: mpz_srcptr, arg2: c_int) -> usize; [INFO] [stdout] ... | [INFO] [stdout] 884 | | pub fn _mpz_realloc(integer: mpz_ptr, new_alloc: size_t) -> *mut c_void; [INFO] [stdout] 885 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:900:1 [INFO] [stdout] | [INFO] [stdout] 900 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 901 | | /// See: [`mpz_limbs_read`](../C/GMP/constant.Integer_Functions.html#index-mpz_005flimbs_005fread) [INFO] [stdout] 902 | | #[link_name = "__gmpz_limbs_read"] [INFO] [stdout] 903 | | pub fn mpz_limbs_read(x: mpz_srcptr) -> mp_srcptr; [INFO] [stdout] ... | [INFO] [stdout] 915 | | pub fn mpz_roinit_n(x: mpz_ptr, xp: mp_srcptr, xs: size_t) -> mpz_srcptr; [INFO] [stdout] 916 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:929:1 [INFO] [stdout] | [INFO] [stdout] 929 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 930 | | /// See: [`mpq_canonicalize`](../C/GMP/constant.Rational_Number_Functions.html#index-mpq_005fcanonicalize) [INFO] [stdout] 931 | | #[link_name = "__gmpq_canonicalize"] [INFO] [stdout] 932 | | pub fn mpq_canonicalize(op: mpq_ptr); [INFO] [stdout] ... | [INFO] [stdout] 1001 | | pub fn mpq_div_2exp(rop: mpq_ptr, op1: mpq_srcptr, op2: bitcnt_t); [INFO] [stdout] 1002 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1025:1 [INFO] [stdout] | [INFO] [stdout] 1025 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1026 | | /// See: [`mpq_inv`](../C/GMP/constant.Rational_Number_Functions.html#index-mpq_005finv) [INFO] [stdout] 1027 | | #[link_name = "__gmpq_inv"] [INFO] [stdout] 1028 | | pub fn mpq_inv(inverted_number: mpq_ptr, number: mpq_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 1043 | | pub fn mpq_cmp_si(op1: mpq_srcptr, num2: c_long, den2: c_ulong) -> c_int; [INFO] [stdout] 1044 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1055:1 [INFO] [stdout] | [INFO] [stdout] 1055 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1056 | | /// See: [`mpq_equal`](../C/GMP/constant.Rational_Number_Functions.html#index-mpq_005fequal) [INFO] [stdout] 1057 | | #[link_name = "__gmpq_equal"] [INFO] [stdout] 1058 | | pub fn mpq_equal(op1: mpq_srcptr, op2: mpq_srcptr) -> c_int; [INFO] [stdout] 1059 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1083:1 [INFO] [stdout] | [INFO] [stdout] 1083 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1084 | | /// See: [`mpq_get_num`](../C/GMP/constant.Rational_Number_Functions.html#index-mpq_005fget_005fnum) [INFO] [stdout] 1085 | | #[link_name = "__gmpq_get_num"] [INFO] [stdout] 1086 | | pub fn mpq_get_num(numerator: mpz_ptr, rational: mpq_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 1104 | | pub fn mpq_inp_str(rop: mpq_ptr, stream: *mut FILE, base: c_int) -> usize; [INFO] [stdout] 1105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1111:1 [INFO] [stdout] | [INFO] [stdout] 1111 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1112 | | /// See: [`mpf_set_default_prec`](../C/GMP/constant.Floating_point_Functions.html#index-mpf_005fset_005fdefault_005fprec) [INFO] [stdout] 1113 | | #[link_name = "__gmpf_set_default_prec"] [INFO] [stdout] 1114 | | pub fn mpf_set_default_prec(prec: bitcnt_t); [INFO] [stdout] ... | [INFO] [stdout] 1288 | | pub fn mpf_reldiff(rop: mpf_ptr, op1: mpf_srcptr, op2: mpf_srcptr); [INFO] [stdout] 1289 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1303:1 [INFO] [stdout] | [INFO] [stdout] 1303 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1304 | | /// See: [`mpf_out_str`](../C/GMP/constant.Floating_point_Functions.html#index-mpf_005fout_005fstr) [INFO] [stdout] 1305 | | #[link_name = "__gmpf_out_str"] [INFO] [stdout] 1306 | | pub fn mpf_out_str(stream: *mut FILE, base: c_int, n_digits: usize, op: mpf_srcptr) -> usize; [INFO] [stdout] ... | [INFO] [stdout] 1348 | | pub fn mpf_random2(rop: mpf_ptr, max_size: size_t, exp: exp_t); [INFO] [stdout] 1349 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1353:1 [INFO] [stdout] | [INFO] [stdout] 1353 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1354 | | /// See: [`mpn_add_n`](../C/GMP/constant.Low_level_Functions.html#index-mpn_005fadd_005fn) [INFO] [stdout] 1355 | | #[link_name = "__gmpn_add_n"] [INFO] [stdout] 1356 | | pub fn mpn_add_n(rp: mp_ptr, s1p: mp_srcptr, s2p: mp_srcptr, n: size_t) -> limb_t; [INFO] [stdout] ... | [INFO] [stdout] 1412 | | ) -> limb_t; [INFO] [stdout] 1413 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1424:1 [INFO] [stdout] | [INFO] [stdout] 1424 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1425 | | /// See: [`mpn_divexact_1`](../C/GMP/constant.Low_level_Functions.html#index-mpn_005fdivexact_005f1) [INFO] [stdout] 1426 | | #[link_name = "__gmpn_divexact_1"] [INFO] [stdout] 1427 | | pub fn mpn_divexact_1(rp: mp_ptr, sp: mp_srcptr, n: size_t, d: limb_t); [INFO] [stdout] 1428 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1434:1 [INFO] [stdout] | [INFO] [stdout] 1434 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1435 | | /// See: [`mpn_divexact_by3c`](../C/GMP/constant.Low_level_Functions.html#index-mpn_005fdivexact_005fby3c) [INFO] [stdout] 1436 | | #[link_name = "__gmpn_divexact_by3c"] [INFO] [stdout] 1437 | | pub fn mpn_divexact_by3c(rp: mp_ptr, sp: mp_srcptr, n: size_t, carry: limb_t) -> limb_t; [INFO] [stdout] ... | [INFO] [stdout] 1649 | | pub fn mpn_sec_invert_itch(n: size_t) -> size_t; [INFO] [stdout] 1650 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1656:1 [INFO] [stdout] | [INFO] [stdout] 1656 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1657 | | /// See: [`gmp_randinit_default`](../C/GMP/constant.Random_Number_Functions.html#index-gmp_005frandinit_005fdefault) [INFO] [stdout] 1658 | | #[link_name = "__gmp_randinit_default"] [INFO] [stdout] 1659 | | pub fn randinit_default(state: randstate_ptr); [INFO] [stdout] ... | [INFO] [stdout] 1692 | | pub fn urandomm_ui(state: randstate_ptr, n: c_ulong) -> c_ulong; [INFO] [stdout] 1693 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1697:1 [INFO] [stdout] | [INFO] [stdout] 1697 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1698 | | /// See: [`gmp_printf`](../C/GMP/constant.Formatted_Output.html#index-gmp_005fprintf) [INFO] [stdout] 1699 | | #[link_name = "__gmp_printf"] [INFO] [stdout] 1700 | | pub fn printf(fmt: *const c_char, ...) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 1712 | | pub fn asprintf(pp: *mut *mut c_char, fmt: *const c_char, ...) -> c_int; [INFO] [stdout] 1713 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1717:1 [INFO] [stdout] | [INFO] [stdout] 1717 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1718 | | /// See: [`gmp_scanf`](../C/GMP/constant.Formatted_Input.html#index-gmp_005fscanf) [INFO] [stdout] 1719 | | #[link_name = "__gmp_scanf"] [INFO] [stdout] 1720 | | pub fn scanf(fmt: *const c_char, ...) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 1726 | | pub fn sscanf(s: *const c_char, fmt: *const c_char, ...) -> c_int; [INFO] [stdout] 1727 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/gmp.rs:1759:1 [INFO] [stdout] | [INFO] [stdout] 1759 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1760 | | /// See: [`mp_set_memory_functions`](../C/GMP/constant.Custom_Allocation.html#index-mp_005fset_005fmemory_005ffunctions) [INFO] [stdout] 1761 | | /// [INFO] [stdout] 1762 | | /// # Planned change [INFO] [stdout] ... | [INFO] [stdout] 1782 | | ); [INFO] [stdout] 1783 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpc.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 199 | | // Initialization Functions [INFO] [stdout] 200 | | [INFO] [stdout] 201 | | /// See: [`mpc_init2`](../C/MPC/constant.Complex_Functions.html#index-mpc_005finit2) [INFO] [stdout] ... | [INFO] [stdout] 332 | | pub fn cmp_si_si(op1: mpc_srcptr, op2r: c_long, op2i: c_long) -> c_int; [INFO] [stdout] 333 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpc.rs:339:1 [INFO] [stdout] | [INFO] [stdout] 339 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 340 | | /// See: [`mpc_cmp_abs`](../C/MPC/constant.Complex_Functions.html#index-mpc_005fcmp_005fabs) [INFO] [stdout] 341 | | #[link_name = "mpc_cmp_abs"] [INFO] [stdout] 342 | | pub fn cmp_abs(op1: mpc_srcptr, op2: mpc_srcptr) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 350 | | pub fn imag(rop: mpfr_ptr, arg2: mpc_srcptr, rnd: mpfr_rnd_t) -> c_int; [INFO] [stdout] 351 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpc.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 373 | | /// See: [`mpc_arg`](../C/MPC/constant.Complex_Functions.html#index-mpc_005farg) [INFO] [stdout] 374 | | #[link_name = "mpc_arg"] [INFO] [stdout] 375 | | pub fn arg(rop: mpfr_ptr, op: mpc_srcptr, rnd: mpfr_rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 402 | | pub fn sub_ui(rop: mpc_ptr, op1: mpc_srcptr, op2: c_ulong, rnd: rnd_t) -> c_int; [INFO] [stdout] 403 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpc.rs:409:1 [INFO] [stdout] | [INFO] [stdout] 409 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 410 | | /// See: [`mpc_ui_ui_sub`](../C/MPC/constant.Complex_Functions.html#index-mpc_005fui_005fui_005fsub) [INFO] [stdout] 411 | | #[link_name = "mpc_ui_ui_sub"] [INFO] [stdout] 412 | | pub fn ui_ui_sub( [INFO] [stdout] ... | [INFO] [stdout] 599 | | pub fn get_version() -> *const c_char; [INFO] [stdout] 600 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpc.rs:617:1 [INFO] [stdout] | [INFO] [stdout] 617 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 618 | | // Ball Arithmetic [INFO] [stdout] 619 | | [INFO] [stdout] 620 | | // Radius functions [INFO] [stdout] ... | [INFO] [stdout] 784 | | pub fn mpcb_round(c: mpc_ptr, z: mpcb_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] 785 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 257 | | /// See: [`mpfr_init2`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005finit2) [INFO] [stdout] 258 | | #[link_name = "mpfr_init2"] [INFO] [stdout] 259 | | pub fn init2(x: mpfr_ptr, prec: prec_t); [INFO] [stdout] ... | [INFO] [stdout] 274 | | pub fn inits(x: mpfr_ptr, ...); [INFO] [stdout] 275 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mpfr.rs:280:25 [INFO] [stdout] | [INFO] [stdout] 280 | ($name:ident, $prec: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] 280 | ($name:ident, $prec:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 294 | | /// See: [`mpfr_set_default_prec`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fset_005fdefault_005fprec) [INFO] [stdout] 295 | | #[link_name = "mpfr_set_default_prec"] [INFO] [stdout] 296 | | pub fn set_default_prec(prec: prec_t); [INFO] [stdout] ... | [INFO] [stdout] 302 | | pub fn set_prec(x: mpfr_ptr, prec: prec_t); [INFO] [stdout] 303 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:312:1 [INFO] [stdout] | [INFO] [stdout] 312 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 313 | | #[link_name = "mpfr_set4"] [INFO] [stdout] 314 | | fn set4(rop: mpfr_ptr, op: mpfr_srcptr, rnd: rnd_t, i: c_int) -> c_int; [INFO] [stdout] 315 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:321:1 [INFO] [stdout] | [INFO] [stdout] 321 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 322 | | /// See: [`mpfr_set_ui`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fset_005fui) [INFO] [stdout] 323 | | #[link_name = "mpfr_set_ui"] [INFO] [stdout] 324 | | pub fn set_ui(rop: mpfr_ptr, op: c_ulong, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 387 | | pub fn swap(x: mpfr_ptr, y: mpfr_ptr); [INFO] [stdout] 388 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:448:1 [INFO] [stdout] | [INFO] [stdout] 448 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 449 | | /// See: [`mpfr_init_set_str`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005finit_005fset_005fstr) [INFO] [stdout] 450 | | #[link_name = "mpfr_init_set_str"] [INFO] [stdout] 451 | | pub fn init_set_str(x: mpfr_ptr, s: *const c_char, base: c_int, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 657 | | pub fn neg(rop: mpfr_ptr, op: mpfr_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] 658 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:664:1 [INFO] [stdout] | [INFO] [stdout] 664 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 665 | | /// See: [`mpfr_dim`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fdim) [INFO] [stdout] 666 | | #[link_name = "mpfr_dim"] [INFO] [stdout] 667 | | pub fn dim(rop: mpfr_ptr, op1: mpfr_srcptr, op2: mpfr_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 735 | | ) -> c_int; [INFO] [stdout] 736 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:740:1 [INFO] [stdout] | [INFO] [stdout] 740 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 741 | | #[link_name = "mpfr_cmp3"] [INFO] [stdout] 742 | | fn cmp3(op1: mpfr_srcptr, op2: mpfr_srcptr, i: c_int) -> c_int; [INFO] [stdout] 743 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:759:1 [INFO] [stdout] | [INFO] [stdout] 759 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 760 | | /// See: [`mpfr_cmp_d`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fcmp_005fd) [INFO] [stdout] 761 | | #[link_name = "mpfr_cmp_d"] [INFO] [stdout] 762 | | pub fn cmp_d(op1: mpfr_srcptr, op2: f64) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 783 | | pub fn cmpabs_ui(op1: mpfr_srcptr, op2: c_ulong) -> c_int; [INFO] [stdout] 784 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:827:1 [INFO] [stdout] | [INFO] [stdout] 827 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 828 | | /// See: [`mpfr_greater_p`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fgreater_005fp) [INFO] [stdout] 829 | | #[link_name = "mpfr_greater_p"] [INFO] [stdout] 830 | | pub fn greater_p(op1: mpfr_srcptr, op2: mpfr_srcptr) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 911 | | pub fn pow_sj(rop: mpfr_ptr, op1: mpfr_srcptr, op2: intmax_t, rnd: rnd_t) -> c_int; [INFO] [stdout] 912 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:918:1 [INFO] [stdout] | [INFO] [stdout] 918 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 919 | | /// See: [`mpfr_pow_z`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fpow_005fz) [INFO] [stdout] 920 | | #[link_name = "mpfr_pow_z"] [INFO] [stdout] 921 | | pub fn pow_z(rop: mpfr_ptr, op1: mpfr_srcptr, op2: mpz_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 1150 | | pub fn rint(rop: mpfr_ptr, op: mpfr_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] 1151 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:1170:1 [INFO] [stdout] | [INFO] [stdout] 1170 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1171 | | /// See: [`mpfr_roundeven`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005froundeven) [INFO] [stdout] 1172 | | #[link_name = "mpfr_roundeven"] [INFO] [stdout] 1173 | | pub fn roundeven(rop: mpfr_ptr, op: mpfr_srcptr) -> c_int; [INFO] [stdout] 1174 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:1180:1 [INFO] [stdout] | [INFO] [stdout] 1180 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1181 | | /// See: [`mpfr_rint_ceil`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005frint_005fceil) [INFO] [stdout] 1182 | | #[link_name = "mpfr_rint_ceil"] [INFO] [stdout] 1183 | | pub fn rint_ceil(rop: mpfr_ptr, op: mpfr_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 1247 | | pub fn print_rnd_mode(rnd: rnd_t) -> *const c_char; [INFO] [stdout] 1248 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mpfr.rs:1253:11 [INFO] [stdout] | [INFO] [stdout] 1253 | ($foo:expr, $rop:expr $(, $op: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] 1253 | ($foo:expr_2021, $rop:expr $(, $op:expr)*) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mpfr.rs:1253:22 [INFO] [stdout] | [INFO] [stdout] 1253 | ($foo:expr, $rop:expr $(, $op: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] 1253 | ($foo:expr, $rop:expr_2021 $(, $op:expr)*) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mpfr.rs:1253:35 [INFO] [stdout] | [INFO] [stdout] 1253 | ($foo:expr, $rop:expr $(, $op: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] 1253 | ($foo:expr, $rop:expr $(, $op:expr_2021)*) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:1269:1 [INFO] [stdout] | [INFO] [stdout] 1269 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1270 | | // Miscellaneous Functions [INFO] [stdout] 1271 | | [INFO] [stdout] 1272 | | /// See: [`mpfr_nexttoward`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fnexttoward) [INFO] [stdout] ... | [INFO] [stdout] 1302 | | pub fn erandom(rop1: mpfr_ptr, state: randstate_ptr, rnd: rnd_t) -> c_int; [INFO] [stdout] 1303 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:1309:1 [INFO] [stdout] | [INFO] [stdout] 1309 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1310 | | /// See: [`mpfr_set_exp`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fset_005fexp) [INFO] [stdout] 1311 | | #[link_name = "mpfr_set_exp"] [INFO] [stdout] 1312 | | pub fn set_exp(x: mpfr_ptr, e: exp_t) -> c_int; [INFO] [stdout] 1313 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:1334:1 [INFO] [stdout] | [INFO] [stdout] 1334 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1335 | | /// See: [`mpfr_get_version`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fget_005fversion) [INFO] [stdout] 1336 | | #[link_name = "mpfr_get_version"] [INFO] [stdout] 1337 | | pub fn get_version() -> *const c_char; [INFO] [stdout] 1338 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/mpfr.rs:1354:1 [INFO] [stdout] | [INFO] [stdout] 1354 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1355 | | /// See: [`mpfr_get_patches`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fget_005fpatches) [INFO] [stdout] 1356 | | #[link_name = "mpfr_get_patches"] [INFO] [stdout] 1357 | | pub fn get_patches() -> *const c_char; [INFO] [stdout] ... | [INFO] [stdout] 1507 | | pub fn reldiff(rop: mpfr_ptr, op1: mpfr_srcptr, op2: mpfr_srcptr, rnd: rnd_t); [INFO] [stdout] 1508 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling gmp-mpfr-sys v1.6.4 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / extern "C" { [INFO] [stdout] 54 | | /// See: [`mp_bits_per_limb`](../C/GMP/constant.GMP_Basics.html#index-mp_005fbits_005fper_005flimb) [INFO] [stdout] 55 | | #[link_name = "__gmp_bits_per_limb"] [INFO] [stdout] 56 | | pub static bits_per_limb: c_int; [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / extern "C" { [INFO] [stdout] 65 | | /// See: [`gmp_version`](../C/GMP/constant.GMP_Basics.html#index-gmp_005fversion) [INFO] [stdout] 66 | | #[link_name = "__gmp_version"] [INFO] [stdout] 67 | | pub static version: *const c_char; [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | / extern "C" { [INFO] [stdout] 237 | | /// See: [`mpz_init`](../C/GMP/constant.Integer_Functions.html#index-mpz_005finit) [INFO] [stdout] 238 | | #[link_name = "__gmpz_init"] [INFO] [stdout] 239 | | pub fn mpz_init(x: mpz_ptr); [INFO] [stdout] ... | [INFO] [stdout] 269 | | pub fn mpz_set_d(rop: mpz_ptr, op: f64); [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 276 | / extern "C" { [INFO] [stdout] 277 | | /// See: [`mpz_set_f`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fset_005ff) [INFO] [stdout] 278 | | #[link_name = "__gmpz_set_f"] [INFO] [stdout] 279 | | pub fn mpz_set_f(rop: mpz_ptr, op: mpf_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 303 | | pub fn mpz_init_set_str(rop: mpz_ptr, str: *const c_char, base: c_int) -> c_int; [INFO] [stdout] 304 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | / extern "C" { [INFO] [stdout] 336 | | /// See: [`mpz_get_si`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fget_005fsi) [INFO] [stdout] 337 | | #[link_name = "__gmpz_get_si"] [INFO] [stdout] 338 | | pub fn mpz_get_si(op: mpz_srcptr) -> c_long; [INFO] [stdout] ... | [INFO] [stdout] 389 | | pub fn mpz_mul_2exp(rop: mpz_ptr, op1: mpz_srcptr, op2: bitcnt_t); [INFO] [stdout] 390 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:416:1 [INFO] [stdout] | [INFO] [stdout] 416 | / extern "C" { [INFO] [stdout] 417 | | /// See: [`mpz_cdiv_q`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fcdiv_005fq) [INFO] [stdout] 418 | | #[link_name = "__gmpz_cdiv_q"] [INFO] [stdout] 419 | | pub fn mpz_cdiv_q(q: mpz_ptr, n: mpz_srcptr, d: mpz_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 500 | | pub fn mpz_mod(r: mpz_ptr, n: mpz_srcptr, d: mpz_srcptr); [INFO] [stdout] 501 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:507:1 [INFO] [stdout] | [INFO] [stdout] 507 | / extern "C" { [INFO] [stdout] 508 | | /// See: [`mpz_divexact`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fdivexact) [INFO] [stdout] 509 | | #[link_name = "__gmpz_divexact"] [INFO] [stdout] 510 | | pub fn mpz_divexact(q: mpz_ptr, n: mpz_srcptr, d: mpz_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 567 | | pub fn mpz_perfect_power_p(op: mpz_srcptr) -> c_int; [INFO] [stdout] 568 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:582:1 [INFO] [stdout] | [INFO] [stdout] 582 | / extern "C" { [INFO] [stdout] 583 | | /// See: [`mpz_probab_prime_p`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fprobab_005fprime_005fp) [INFO] [stdout] 584 | | #[link_name = "__gmpz_probab_prime_p"] [INFO] [stdout] 585 | | pub fn mpz_probab_prime_p(n: mpz_srcptr, reps: c_int) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 612 | | pub fn mpz_jacobi(a: mpz_srcptr, b: mpz_srcptr) -> c_int; [INFO] [stdout] 613 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:624:1 [INFO] [stdout] | [INFO] [stdout] 624 | / extern "C" { [INFO] [stdout] 625 | | /// See: [`mpz_kronecker_si`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fkronecker_005fsi) [INFO] [stdout] 626 | | #[link_name = "__gmpz_kronecker_si"] [INFO] [stdout] 627 | | pub fn mpz_kronecker_si(a: mpz_srcptr, b: c_long) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 693 | | pub fn mpz_cmpabs_ui(op1: mpz_srcptr, op2: c_ulong) -> c_int; [INFO] [stdout] 694 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:705:1 [INFO] [stdout] | [INFO] [stdout] 705 | / extern "C" { [INFO] [stdout] 706 | | /// See: [`mpz_and`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fand) [INFO] [stdout] 707 | | #[link_name = "__gmpz_and"] [INFO] [stdout] 708 | | pub fn mpz_and(rop: mpz_ptr, op1: mpz_srcptr, op2: mpz_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 717 | | pub fn mpz_com(rop: mpz_ptr, op: mpz_srcptr); [INFO] [stdout] 718 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:729:1 [INFO] [stdout] | [INFO] [stdout] 729 | / extern "C" { [INFO] [stdout] 730 | | /// See: [`mpz_hamdist`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fhamdist) [INFO] [stdout] 731 | | #[link_name = "__gmpz_hamdist"] [INFO] [stdout] 732 | | pub fn mpz_hamdist(op1: mpz_srcptr, op2: mpz_srcptr) -> bitcnt_t; [INFO] [stdout] ... | [INFO] [stdout] 805 | | ) -> *mut c_void; [INFO] [stdout] 806 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:838:1 [INFO] [stdout] | [INFO] [stdout] 838 | / extern "C" { [INFO] [stdout] 839 | | /// See: [`mpz_fits_slong_p`](../C/GMP/constant.Integer_Functions.html#index-mpz_005ffits_005fslong_005fp) [INFO] [stdout] 840 | | #[link_name = "__gmpz_fits_slong_p"] [INFO] [stdout] 841 | | pub fn mpz_fits_slong_p(op: mpz_srcptr) -> c_int; [INFO] [stdout] 842 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:847:1 [INFO] [stdout] | [INFO] [stdout] 847 | / extern "C" { [INFO] [stdout] 848 | | /// See: [`mpz_fits_sint_p`](../C/GMP/constant.Integer_Functions.html#index-mpz_005ffits_005fsint_005fp) [INFO] [stdout] 849 | | #[link_name = "__gmpz_fits_sint_p"] [INFO] [stdout] 850 | | pub fn mpz_fits_sint_p(op: mpz_srcptr) -> c_int; [INFO] [stdout] 851 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:856:1 [INFO] [stdout] | [INFO] [stdout] 856 | / extern "C" { [INFO] [stdout] 857 | | /// See: [`mpz_fits_sshort_p`](../C/GMP/constant.Integer_Functions.html#index-mpz_005ffits_005fsshort_005fp) [INFO] [stdout] 858 | | #[link_name = "__gmpz_fits_sshort_p"] [INFO] [stdout] 859 | | pub fn mpz_fits_sshort_p(op: mpz_srcptr) -> c_int; [INFO] [stdout] 860 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:875:1 [INFO] [stdout] | [INFO] [stdout] 875 | / extern "C" { [INFO] [stdout] 876 | | /// See: [`mpz_sizeinbase`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fsizeinbase) [INFO] [stdout] 877 | | #[link_name = "__gmpz_sizeinbase"] [INFO] [stdout] 878 | | pub fn mpz_sizeinbase(arg1: mpz_srcptr, arg2: c_int) -> usize; [INFO] [stdout] ... | [INFO] [stdout] 884 | | pub fn _mpz_realloc(integer: mpz_ptr, new_alloc: size_t) -> *mut c_void; [INFO] [stdout] 885 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:900:1 [INFO] [stdout] | [INFO] [stdout] 900 | / extern "C" { [INFO] [stdout] 901 | | /// See: [`mpz_limbs_read`](../C/GMP/constant.Integer_Functions.html#index-mpz_005flimbs_005fread) [INFO] [stdout] 902 | | #[link_name = "__gmpz_limbs_read"] [INFO] [stdout] 903 | | pub fn mpz_limbs_read(x: mpz_srcptr) -> mp_srcptr; [INFO] [stdout] ... | [INFO] [stdout] 915 | | pub fn mpz_roinit_n(x: mpz_ptr, xp: mp_srcptr, xs: size_t) -> mpz_srcptr; [INFO] [stdout] 916 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:929:1 [INFO] [stdout] | [INFO] [stdout] 929 | / extern "C" { [INFO] [stdout] 930 | | /// See: [`mpq_canonicalize`](../C/GMP/constant.Rational_Number_Functions.html#index-mpq_005fcanonicalize) [INFO] [stdout] 931 | | #[link_name = "__gmpq_canonicalize"] [INFO] [stdout] 932 | | pub fn mpq_canonicalize(op: mpq_ptr); [INFO] [stdout] ... | [INFO] [stdout] 1001 | | pub fn mpq_div_2exp(rop: mpq_ptr, op1: mpq_srcptr, op2: bitcnt_t); [INFO] [stdout] 1002 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1025:1 [INFO] [stdout] | [INFO] [stdout] 1025 | / extern "C" { [INFO] [stdout] 1026 | | /// See: [`mpq_inv`](../C/GMP/constant.Rational_Number_Functions.html#index-mpq_005finv) [INFO] [stdout] 1027 | | #[link_name = "__gmpq_inv"] [INFO] [stdout] 1028 | | pub fn mpq_inv(inverted_number: mpq_ptr, number: mpq_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 1043 | | pub fn mpq_cmp_si(op1: mpq_srcptr, num2: c_long, den2: c_ulong) -> c_int; [INFO] [stdout] 1044 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1055:1 [INFO] [stdout] | [INFO] [stdout] 1055 | / extern "C" { [INFO] [stdout] 1056 | | /// See: [`mpq_equal`](../C/GMP/constant.Rational_Number_Functions.html#index-mpq_005fequal) [INFO] [stdout] 1057 | | #[link_name = "__gmpq_equal"] [INFO] [stdout] 1058 | | pub fn mpq_equal(op1: mpq_srcptr, op2: mpq_srcptr) -> c_int; [INFO] [stdout] 1059 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1083:1 [INFO] [stdout] | [INFO] [stdout] 1083 | / extern "C" { [INFO] [stdout] 1084 | | /// See: [`mpq_get_num`](../C/GMP/constant.Rational_Number_Functions.html#index-mpq_005fget_005fnum) [INFO] [stdout] 1085 | | #[link_name = "__gmpq_get_num"] [INFO] [stdout] 1086 | | pub fn mpq_get_num(numerator: mpz_ptr, rational: mpq_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 1104 | | pub fn mpq_inp_str(rop: mpq_ptr, stream: *mut FILE, base: c_int) -> usize; [INFO] [stdout] 1105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1111:1 [INFO] [stdout] | [INFO] [stdout] 1111 | / extern "C" { [INFO] [stdout] 1112 | | /// See: [`mpf_set_default_prec`](../C/GMP/constant.Floating_point_Functions.html#index-mpf_005fset_005fdefault_005fprec) [INFO] [stdout] 1113 | | #[link_name = "__gmpf_set_default_prec"] [INFO] [stdout] 1114 | | pub fn mpf_set_default_prec(prec: bitcnt_t); [INFO] [stdout] ... | [INFO] [stdout] 1288 | | pub fn mpf_reldiff(rop: mpf_ptr, op1: mpf_srcptr, op2: mpf_srcptr); [INFO] [stdout] 1289 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1303:1 [INFO] [stdout] | [INFO] [stdout] 1303 | / extern "C" { [INFO] [stdout] 1304 | | /// See: [`mpf_out_str`](../C/GMP/constant.Floating_point_Functions.html#index-mpf_005fout_005fstr) [INFO] [stdout] 1305 | | #[link_name = "__gmpf_out_str"] [INFO] [stdout] 1306 | | pub fn mpf_out_str(stream: *mut FILE, base: c_int, n_digits: usize, op: mpf_srcptr) -> usize; [INFO] [stdout] ... | [INFO] [stdout] 1348 | | pub fn mpf_random2(rop: mpf_ptr, max_size: size_t, exp: exp_t); [INFO] [stdout] 1349 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1353:1 [INFO] [stdout] | [INFO] [stdout] 1353 | / extern "C" { [INFO] [stdout] 1354 | | /// See: [`mpn_add_n`](../C/GMP/constant.Low_level_Functions.html#index-mpn_005fadd_005fn) [INFO] [stdout] 1355 | | #[link_name = "__gmpn_add_n"] [INFO] [stdout] 1356 | | pub fn mpn_add_n(rp: mp_ptr, s1p: mp_srcptr, s2p: mp_srcptr, n: size_t) -> limb_t; [INFO] [stdout] ... | [INFO] [stdout] 1412 | | ) -> limb_t; [INFO] [stdout] 1413 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1424:1 [INFO] [stdout] | [INFO] [stdout] 1424 | / extern "C" { [INFO] [stdout] 1425 | | /// See: [`mpn_divexact_1`](../C/GMP/constant.Low_level_Functions.html#index-mpn_005fdivexact_005f1) [INFO] [stdout] 1426 | | #[link_name = "__gmpn_divexact_1"] [INFO] [stdout] 1427 | | pub fn mpn_divexact_1(rp: mp_ptr, sp: mp_srcptr, n: size_t, d: limb_t); [INFO] [stdout] 1428 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / extern "C" { [INFO] [stdout] 54 | | /// See: [`mp_bits_per_limb`](../C/GMP/constant.GMP_Basics.html#index-mp_005fbits_005fper_005flimb) [INFO] [stdout] 55 | | #[link_name = "__gmp_bits_per_limb"] [INFO] [stdout] 56 | | pub static bits_per_limb: c_int; [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / extern "C" { [INFO] [stdout] 65 | | /// See: [`gmp_version`](../C/GMP/constant.GMP_Basics.html#index-gmp_005fversion) [INFO] [stdout] 66 | | #[link_name = "__gmp_version"] [INFO] [stdout] 67 | | pub static version: *const c_char; [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | / extern "C" { [INFO] [stdout] 237 | | /// See: [`mpz_init`](../C/GMP/constant.Integer_Functions.html#index-mpz_005finit) [INFO] [stdout] 238 | | #[link_name = "__gmpz_init"] [INFO] [stdout] 239 | | pub fn mpz_init(x: mpz_ptr); [INFO] [stdout] ... | [INFO] [stdout] 269 | | pub fn mpz_set_d(rop: mpz_ptr, op: f64); [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1434:1 [INFO] [stdout] | [INFO] [stdout] 1434 | / extern "C" { [INFO] [stdout] 1435 | | /// See: [`mpn_divexact_by3c`](../C/GMP/constant.Low_level_Functions.html#index-mpn_005fdivexact_005fby3c) [INFO] [stdout] 1436 | | #[link_name = "__gmpn_divexact_by3c"] [INFO] [stdout] 1437 | | pub fn mpn_divexact_by3c(rp: mp_ptr, sp: mp_srcptr, n: size_t, carry: limb_t) -> limb_t; [INFO] [stdout] ... | [INFO] [stdout] 1649 | | pub fn mpn_sec_invert_itch(n: size_t) -> size_t; [INFO] [stdout] 1650 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 276 | / extern "C" { [INFO] [stdout] 277 | | /// See: [`mpz_set_f`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fset_005ff) [INFO] [stdout] 278 | | #[link_name = "__gmpz_set_f"] [INFO] [stdout] 279 | | pub fn mpz_set_f(rop: mpz_ptr, op: mpf_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 303 | | pub fn mpz_init_set_str(rop: mpz_ptr, str: *const c_char, base: c_int) -> c_int; [INFO] [stdout] 304 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1656:1 [INFO] [stdout] | [INFO] [stdout] 1656 | / extern "C" { [INFO] [stdout] 1657 | | /// See: [`gmp_randinit_default`](../C/GMP/constant.Random_Number_Functions.html#index-gmp_005frandinit_005fdefault) [INFO] [stdout] 1658 | | #[link_name = "__gmp_randinit_default"] [INFO] [stdout] 1659 | | pub fn randinit_default(state: randstate_ptr); [INFO] [stdout] ... | [INFO] [stdout] 1692 | | pub fn urandomm_ui(state: randstate_ptr, n: c_ulong) -> c_ulong; [INFO] [stdout] 1693 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | / extern "C" { [INFO] [stdout] 336 | | /// See: [`mpz_get_si`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fget_005fsi) [INFO] [stdout] 337 | | #[link_name = "__gmpz_get_si"] [INFO] [stdout] 338 | | pub fn mpz_get_si(op: mpz_srcptr) -> c_long; [INFO] [stdout] ... | [INFO] [stdout] 389 | | pub fn mpz_mul_2exp(rop: mpz_ptr, op1: mpz_srcptr, op2: bitcnt_t); [INFO] [stdout] 390 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1697:1 [INFO] [stdout] | [INFO] [stdout] 1697 | / extern "C" { [INFO] [stdout] 1698 | | /// See: [`gmp_printf`](../C/GMP/constant.Formatted_Output.html#index-gmp_005fprintf) [INFO] [stdout] 1699 | | #[link_name = "__gmp_printf"] [INFO] [stdout] 1700 | | pub fn printf(fmt: *const c_char, ...) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 1712 | | pub fn asprintf(pp: *mut *mut c_char, fmt: *const c_char, ...) -> c_int; [INFO] [stdout] 1713 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1717:1 [INFO] [stdout] | [INFO] [stdout] 1717 | / extern "C" { [INFO] [stdout] 1718 | | /// See: [`gmp_scanf`](../C/GMP/constant.Formatted_Input.html#index-gmp_005fscanf) [INFO] [stdout] 1719 | | #[link_name = "__gmp_scanf"] [INFO] [stdout] 1720 | | pub fn scanf(fmt: *const c_char, ...) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 1726 | | pub fn sscanf(s: *const c_char, fmt: *const c_char, ...) -> c_int; [INFO] [stdout] 1727 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1759:1 [INFO] [stdout] | [INFO] [stdout] 1759 | / extern "C" { [INFO] [stdout] 1760 | | /// See: [`mp_set_memory_functions`](../C/GMP/constant.Custom_Allocation.html#index-mp_005fset_005fmemory_005ffunctions) [INFO] [stdout] 1761 | | /// [INFO] [stdout] 1762 | | /// # Planned change [INFO] [stdout] ... | [INFO] [stdout] 1782 | | ); [INFO] [stdout] 1783 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:416:1 [INFO] [stdout] | [INFO] [stdout] 416 | / extern "C" { [INFO] [stdout] 417 | | /// See: [`mpz_cdiv_q`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fcdiv_005fq) [INFO] [stdout] 418 | | #[link_name = "__gmpz_cdiv_q"] [INFO] [stdout] 419 | | pub fn mpz_cdiv_q(q: mpz_ptr, n: mpz_srcptr, d: mpz_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 500 | | pub fn mpz_mod(r: mpz_ptr, n: mpz_srcptr, d: mpz_srcptr); [INFO] [stdout] 501 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpc.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | / extern "C" { [INFO] [stdout] 199 | | // Initialization Functions [INFO] [stdout] 200 | | [INFO] [stdout] 201 | | /// See: [`mpc_init2`](../C/MPC/constant.Complex_Functions.html#index-mpc_005finit2) [INFO] [stdout] ... | [INFO] [stdout] 332 | | pub fn cmp_si_si(op1: mpc_srcptr, op2r: c_long, op2i: c_long) -> c_int; [INFO] [stdout] 333 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpc.rs:339:1 [INFO] [stdout] | [INFO] [stdout] 339 | / extern "C" { [INFO] [stdout] 340 | | /// See: [`mpc_cmp_abs`](../C/MPC/constant.Complex_Functions.html#index-mpc_005fcmp_005fabs) [INFO] [stdout] 341 | | #[link_name = "mpc_cmp_abs"] [INFO] [stdout] 342 | | pub fn cmp_abs(op1: mpc_srcptr, op2: mpc_srcptr) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 350 | | pub fn imag(rop: mpfr_ptr, arg2: mpc_srcptr, rnd: mpfr_rnd_t) -> c_int; [INFO] [stdout] 351 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:507:1 [INFO] [stdout] | [INFO] [stdout] 507 | / extern "C" { [INFO] [stdout] 508 | | /// See: [`mpz_divexact`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fdivexact) [INFO] [stdout] 509 | | #[link_name = "__gmpz_divexact"] [INFO] [stdout] 510 | | pub fn mpz_divexact(q: mpz_ptr, n: mpz_srcptr, d: mpz_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 567 | | pub fn mpz_perfect_power_p(op: mpz_srcptr) -> c_int; [INFO] [stdout] 568 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpc.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | / extern "C" { [INFO] [stdout] 373 | | /// See: [`mpc_arg`](../C/MPC/constant.Complex_Functions.html#index-mpc_005farg) [INFO] [stdout] 374 | | #[link_name = "mpc_arg"] [INFO] [stdout] 375 | | pub fn arg(rop: mpfr_ptr, op: mpc_srcptr, rnd: mpfr_rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 402 | | pub fn sub_ui(rop: mpc_ptr, op1: mpc_srcptr, op2: c_ulong, rnd: rnd_t) -> c_int; [INFO] [stdout] 403 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:582:1 [INFO] [stdout] | [INFO] [stdout] 582 | / extern "C" { [INFO] [stdout] 583 | | /// See: [`mpz_probab_prime_p`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fprobab_005fprime_005fp) [INFO] [stdout] 584 | | #[link_name = "__gmpz_probab_prime_p"] [INFO] [stdout] 585 | | pub fn mpz_probab_prime_p(n: mpz_srcptr, reps: c_int) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 612 | | pub fn mpz_jacobi(a: mpz_srcptr, b: mpz_srcptr) -> c_int; [INFO] [stdout] 613 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:624:1 [INFO] [stdout] | [INFO] [stdout] 624 | / extern "C" { [INFO] [stdout] 625 | | /// See: [`mpz_kronecker_si`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fkronecker_005fsi) [INFO] [stdout] 626 | | #[link_name = "__gmpz_kronecker_si"] [INFO] [stdout] 627 | | pub fn mpz_kronecker_si(a: mpz_srcptr, b: c_long) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 693 | | pub fn mpz_cmpabs_ui(op1: mpz_srcptr, op2: c_ulong) -> c_int; [INFO] [stdout] 694 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:705:1 [INFO] [stdout] | [INFO] [stdout] 705 | / extern "C" { [INFO] [stdout] 706 | | /// See: [`mpz_and`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fand) [INFO] [stdout] 707 | | #[link_name = "__gmpz_and"] [INFO] [stdout] 708 | | pub fn mpz_and(rop: mpz_ptr, op1: mpz_srcptr, op2: mpz_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 717 | | pub fn mpz_com(rop: mpz_ptr, op: mpz_srcptr); [INFO] [stdout] 718 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpc.rs:409:1 [INFO] [stdout] | [INFO] [stdout] 409 | / extern "C" { [INFO] [stdout] 410 | | /// See: [`mpc_ui_ui_sub`](../C/MPC/constant.Complex_Functions.html#index-mpc_005fui_005fui_005fsub) [INFO] [stdout] 411 | | #[link_name = "mpc_ui_ui_sub"] [INFO] [stdout] 412 | | pub fn ui_ui_sub( [INFO] [stdout] ... | [INFO] [stdout] 599 | | pub fn get_version() -> *const c_char; [INFO] [stdout] 600 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:729:1 [INFO] [stdout] | [INFO] [stdout] 729 | / extern "C" { [INFO] [stdout] 730 | | /// See: [`mpz_hamdist`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fhamdist) [INFO] [stdout] 731 | | #[link_name = "__gmpz_hamdist"] [INFO] [stdout] 732 | | pub fn mpz_hamdist(op1: mpz_srcptr, op2: mpz_srcptr) -> bitcnt_t; [INFO] [stdout] ... | [INFO] [stdout] 805 | | ) -> *mut c_void; [INFO] [stdout] 806 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:838:1 [INFO] [stdout] | [INFO] [stdout] 838 | / extern "C" { [INFO] [stdout] 839 | | /// See: [`mpz_fits_slong_p`](../C/GMP/constant.Integer_Functions.html#index-mpz_005ffits_005fslong_005fp) [INFO] [stdout] 840 | | #[link_name = "__gmpz_fits_slong_p"] [INFO] [stdout] 841 | | pub fn mpz_fits_slong_p(op: mpz_srcptr) -> c_int; [INFO] [stdout] 842 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:847:1 [INFO] [stdout] | [INFO] [stdout] 847 | / extern "C" { [INFO] [stdout] 848 | | /// See: [`mpz_fits_sint_p`](../C/GMP/constant.Integer_Functions.html#index-mpz_005ffits_005fsint_005fp) [INFO] [stdout] 849 | | #[link_name = "__gmpz_fits_sint_p"] [INFO] [stdout] 850 | | pub fn mpz_fits_sint_p(op: mpz_srcptr) -> c_int; [INFO] [stdout] 851 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:856:1 [INFO] [stdout] | [INFO] [stdout] 856 | / extern "C" { [INFO] [stdout] 857 | | /// See: [`mpz_fits_sshort_p`](../C/GMP/constant.Integer_Functions.html#index-mpz_005ffits_005fsshort_005fp) [INFO] [stdout] 858 | | #[link_name = "__gmpz_fits_sshort_p"] [INFO] [stdout] 859 | | pub fn mpz_fits_sshort_p(op: mpz_srcptr) -> c_int; [INFO] [stdout] 860 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpc.rs:617:1 [INFO] [stdout] | [INFO] [stdout] 617 | / extern "C" { [INFO] [stdout] 618 | | // Ball Arithmetic [INFO] [stdout] 619 | | [INFO] [stdout] 620 | | // Radius functions [INFO] [stdout] ... | [INFO] [stdout] 784 | | pub fn mpcb_round(c: mpc_ptr, z: mpcb_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] 785 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:875:1 [INFO] [stdout] | [INFO] [stdout] 875 | / extern "C" { [INFO] [stdout] 876 | | /// See: [`mpz_sizeinbase`](../C/GMP/constant.Integer_Functions.html#index-mpz_005fsizeinbase) [INFO] [stdout] 877 | | #[link_name = "__gmpz_sizeinbase"] [INFO] [stdout] 878 | | pub fn mpz_sizeinbase(arg1: mpz_srcptr, arg2: c_int) -> usize; [INFO] [stdout] ... | [INFO] [stdout] 884 | | pub fn _mpz_realloc(integer: mpz_ptr, new_alloc: size_t) -> *mut c_void; [INFO] [stdout] 885 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:900:1 [INFO] [stdout] | [INFO] [stdout] 900 | / extern "C" { [INFO] [stdout] 901 | | /// See: [`mpz_limbs_read`](../C/GMP/constant.Integer_Functions.html#index-mpz_005flimbs_005fread) [INFO] [stdout] 902 | | #[link_name = "__gmpz_limbs_read"] [INFO] [stdout] 903 | | pub fn mpz_limbs_read(x: mpz_srcptr) -> mp_srcptr; [INFO] [stdout] ... | [INFO] [stdout] 915 | | pub fn mpz_roinit_n(x: mpz_ptr, xp: mp_srcptr, xs: size_t) -> mpz_srcptr; [INFO] [stdout] 916 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | / extern "C" { [INFO] [stdout] 257 | | /// See: [`mpfr_init2`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005finit2) [INFO] [stdout] 258 | | #[link_name = "mpfr_init2"] [INFO] [stdout] 259 | | pub fn init2(x: mpfr_ptr, prec: prec_t); [INFO] [stdout] ... | [INFO] [stdout] 274 | | pub fn inits(x: mpfr_ptr, ...); [INFO] [stdout] 275 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | / extern "C" { [INFO] [stdout] 294 | | /// See: [`mpfr_set_default_prec`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fset_005fdefault_005fprec) [INFO] [stdout] 295 | | #[link_name = "mpfr_set_default_prec"] [INFO] [stdout] 296 | | pub fn set_default_prec(prec: prec_t); [INFO] [stdout] ... | [INFO] [stdout] 302 | | pub fn set_prec(x: mpfr_ptr, prec: prec_t); [INFO] [stdout] 303 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:312:1 [INFO] [stdout] | [INFO] [stdout] 312 | / extern "C" { [INFO] [stdout] 313 | | #[link_name = "mpfr_set4"] [INFO] [stdout] 314 | | fn set4(rop: mpfr_ptr, op: mpfr_srcptr, rnd: rnd_t, i: c_int) -> c_int; [INFO] [stdout] 315 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:929:1 [INFO] [stdout] | [INFO] [stdout] 929 | / extern "C" { [INFO] [stdout] 930 | | /// See: [`mpq_canonicalize`](../C/GMP/constant.Rational_Number_Functions.html#index-mpq_005fcanonicalize) [INFO] [stdout] 931 | | #[link_name = "__gmpq_canonicalize"] [INFO] [stdout] 932 | | pub fn mpq_canonicalize(op: mpq_ptr); [INFO] [stdout] ... | [INFO] [stdout] 1001 | | pub fn mpq_div_2exp(rop: mpq_ptr, op1: mpq_srcptr, op2: bitcnt_t); [INFO] [stdout] 1002 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1025:1 [INFO] [stdout] | [INFO] [stdout] 1025 | / extern "C" { [INFO] [stdout] 1026 | | /// See: [`mpq_inv`](../C/GMP/constant.Rational_Number_Functions.html#index-mpq_005finv) [INFO] [stdout] 1027 | | #[link_name = "__gmpq_inv"] [INFO] [stdout] 1028 | | pub fn mpq_inv(inverted_number: mpq_ptr, number: mpq_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 1043 | | pub fn mpq_cmp_si(op1: mpq_srcptr, num2: c_long, den2: c_ulong) -> c_int; [INFO] [stdout] 1044 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1055:1 [INFO] [stdout] | [INFO] [stdout] 1055 | / extern "C" { [INFO] [stdout] 1056 | | /// See: [`mpq_equal`](../C/GMP/constant.Rational_Number_Functions.html#index-mpq_005fequal) [INFO] [stdout] 1057 | | #[link_name = "__gmpq_equal"] [INFO] [stdout] 1058 | | pub fn mpq_equal(op1: mpq_srcptr, op2: mpq_srcptr) -> c_int; [INFO] [stdout] 1059 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:321:1 [INFO] [stdout] | [INFO] [stdout] 321 | / extern "C" { [INFO] [stdout] 322 | | /// See: [`mpfr_set_ui`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fset_005fui) [INFO] [stdout] 323 | | #[link_name = "mpfr_set_ui"] [INFO] [stdout] 324 | | pub fn set_ui(rop: mpfr_ptr, op: c_ulong, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 387 | | pub fn swap(x: mpfr_ptr, y: mpfr_ptr); [INFO] [stdout] 388 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1083:1 [INFO] [stdout] | [INFO] [stdout] 1083 | / extern "C" { [INFO] [stdout] 1084 | | /// See: [`mpq_get_num`](../C/GMP/constant.Rational_Number_Functions.html#index-mpq_005fget_005fnum) [INFO] [stdout] 1085 | | #[link_name = "__gmpq_get_num"] [INFO] [stdout] 1086 | | pub fn mpq_get_num(numerator: mpz_ptr, rational: mpq_srcptr); [INFO] [stdout] ... | [INFO] [stdout] 1104 | | pub fn mpq_inp_str(rop: mpq_ptr, stream: *mut FILE, base: c_int) -> usize; [INFO] [stdout] 1105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1111:1 [INFO] [stdout] | [INFO] [stdout] 1111 | / extern "C" { [INFO] [stdout] 1112 | | /// See: [`mpf_set_default_prec`](../C/GMP/constant.Floating_point_Functions.html#index-mpf_005fset_005fdefault_005fprec) [INFO] [stdout] 1113 | | #[link_name = "__gmpf_set_default_prec"] [INFO] [stdout] 1114 | | pub fn mpf_set_default_prec(prec: bitcnt_t); [INFO] [stdout] ... | [INFO] [stdout] 1288 | | pub fn mpf_reldiff(rop: mpf_ptr, op1: mpf_srcptr, op2: mpf_srcptr); [INFO] [stdout] 1289 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:448:1 [INFO] [stdout] | [INFO] [stdout] 448 | / extern "C" { [INFO] [stdout] 449 | | /// See: [`mpfr_init_set_str`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005finit_005fset_005fstr) [INFO] [stdout] 450 | | #[link_name = "mpfr_init_set_str"] [INFO] [stdout] 451 | | pub fn init_set_str(x: mpfr_ptr, s: *const c_char, base: c_int, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 657 | | pub fn neg(rop: mpfr_ptr, op: mpfr_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] 658 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:664:1 [INFO] [stdout] | [INFO] [stdout] 664 | / extern "C" { [INFO] [stdout] 665 | | /// See: [`mpfr_dim`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fdim) [INFO] [stdout] 666 | | #[link_name = "mpfr_dim"] [INFO] [stdout] 667 | | pub fn dim(rop: mpfr_ptr, op1: mpfr_srcptr, op2: mpfr_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 735 | | ) -> c_int; [INFO] [stdout] 736 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1303:1 [INFO] [stdout] | [INFO] [stdout] 1303 | / extern "C" { [INFO] [stdout] 1304 | | /// See: [`mpf_out_str`](../C/GMP/constant.Floating_point_Functions.html#index-mpf_005fout_005fstr) [INFO] [stdout] 1305 | | #[link_name = "__gmpf_out_str"] [INFO] [stdout] 1306 | | pub fn mpf_out_str(stream: *mut FILE, base: c_int, n_digits: usize, op: mpf_srcptr) -> usize; [INFO] [stdout] ... | [INFO] [stdout] 1348 | | pub fn mpf_random2(rop: mpf_ptr, max_size: size_t, exp: exp_t); [INFO] [stdout] 1349 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:740:1 [INFO] [stdout] | [INFO] [stdout] 740 | / extern "C" { [INFO] [stdout] 741 | | #[link_name = "mpfr_cmp3"] [INFO] [stdout] 742 | | fn cmp3(op1: mpfr_srcptr, op2: mpfr_srcptr, i: c_int) -> c_int; [INFO] [stdout] 743 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:759:1 [INFO] [stdout] | [INFO] [stdout] 759 | / extern "C" { [INFO] [stdout] 760 | | /// See: [`mpfr_cmp_d`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fcmp_005fd) [INFO] [stdout] 761 | | #[link_name = "mpfr_cmp_d"] [INFO] [stdout] 762 | | pub fn cmp_d(op1: mpfr_srcptr, op2: f64) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 783 | | pub fn cmpabs_ui(op1: mpfr_srcptr, op2: c_ulong) -> c_int; [INFO] [stdout] 784 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1353:1 [INFO] [stdout] | [INFO] [stdout] 1353 | / extern "C" { [INFO] [stdout] 1354 | | /// See: [`mpn_add_n`](../C/GMP/constant.Low_level_Functions.html#index-mpn_005fadd_005fn) [INFO] [stdout] 1355 | | #[link_name = "__gmpn_add_n"] [INFO] [stdout] 1356 | | pub fn mpn_add_n(rp: mp_ptr, s1p: mp_srcptr, s2p: mp_srcptr, n: size_t) -> limb_t; [INFO] [stdout] ... | [INFO] [stdout] 1412 | | ) -> limb_t; [INFO] [stdout] 1413 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1424:1 [INFO] [stdout] | [INFO] [stdout] 1424 | / extern "C" { [INFO] [stdout] 1425 | | /// See: [`mpn_divexact_1`](../C/GMP/constant.Low_level_Functions.html#index-mpn_005fdivexact_005f1) [INFO] [stdout] 1426 | | #[link_name = "__gmpn_divexact_1"] [INFO] [stdout] 1427 | | pub fn mpn_divexact_1(rp: mp_ptr, sp: mp_srcptr, n: size_t, d: limb_t); [INFO] [stdout] 1428 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:827:1 [INFO] [stdout] | [INFO] [stdout] 827 | / extern "C" { [INFO] [stdout] 828 | | /// See: [`mpfr_greater_p`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fgreater_005fp) [INFO] [stdout] 829 | | #[link_name = "mpfr_greater_p"] [INFO] [stdout] 830 | | pub fn greater_p(op1: mpfr_srcptr, op2: mpfr_srcptr) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 911 | | pub fn pow_sj(rop: mpfr_ptr, op1: mpfr_srcptr, op2: intmax_t, rnd: rnd_t) -> c_int; [INFO] [stdout] 912 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1434:1 [INFO] [stdout] | [INFO] [stdout] 1434 | / extern "C" { [INFO] [stdout] 1435 | | /// See: [`mpn_divexact_by3c`](../C/GMP/constant.Low_level_Functions.html#index-mpn_005fdivexact_005fby3c) [INFO] [stdout] 1436 | | #[link_name = "__gmpn_divexact_by3c"] [INFO] [stdout] 1437 | | pub fn mpn_divexact_by3c(rp: mp_ptr, sp: mp_srcptr, n: size_t, carry: limb_t) -> limb_t; [INFO] [stdout] ... | [INFO] [stdout] 1649 | | pub fn mpn_sec_invert_itch(n: size_t) -> size_t; [INFO] [stdout] 1650 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1656:1 [INFO] [stdout] | [INFO] [stdout] 1656 | / extern "C" { [INFO] [stdout] 1657 | | /// See: [`gmp_randinit_default`](../C/GMP/constant.Random_Number_Functions.html#index-gmp_005frandinit_005fdefault) [INFO] [stdout] 1658 | | #[link_name = "__gmp_randinit_default"] [INFO] [stdout] 1659 | | pub fn randinit_default(state: randstate_ptr); [INFO] [stdout] ... | [INFO] [stdout] 1692 | | pub fn urandomm_ui(state: randstate_ptr, n: c_ulong) -> c_ulong; [INFO] [stdout] 1693 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:918:1 [INFO] [stdout] | [INFO] [stdout] 918 | / extern "C" { [INFO] [stdout] 919 | | /// See: [`mpfr_pow_z`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fpow_005fz) [INFO] [stdout] 920 | | #[link_name = "mpfr_pow_z"] [INFO] [stdout] 921 | | pub fn pow_z(rop: mpfr_ptr, op1: mpfr_srcptr, op2: mpz_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 1150 | | pub fn rint(rop: mpfr_ptr, op: mpfr_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] 1151 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1697:1 [INFO] [stdout] | [INFO] [stdout] 1697 | / extern "C" { [INFO] [stdout] 1698 | | /// See: [`gmp_printf`](../C/GMP/constant.Formatted_Output.html#index-gmp_005fprintf) [INFO] [stdout] 1699 | | #[link_name = "__gmp_printf"] [INFO] [stdout] 1700 | | pub fn printf(fmt: *const c_char, ...) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 1712 | | pub fn asprintf(pp: *mut *mut c_char, fmt: *const c_char, ...) -> c_int; [INFO] [stdout] 1713 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:1170:1 [INFO] [stdout] | [INFO] [stdout] 1170 | / extern "C" { [INFO] [stdout] 1171 | | /// See: [`mpfr_roundeven`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005froundeven) [INFO] [stdout] 1172 | | #[link_name = "mpfr_roundeven"] [INFO] [stdout] 1173 | | pub fn roundeven(rop: mpfr_ptr, op: mpfr_srcptr) -> c_int; [INFO] [stdout] 1174 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1717:1 [INFO] [stdout] | [INFO] [stdout] 1717 | / extern "C" { [INFO] [stdout] 1718 | | /// See: [`gmp_scanf`](../C/GMP/constant.Formatted_Input.html#index-gmp_005fscanf) [INFO] [stdout] 1719 | | #[link_name = "__gmp_scanf"] [INFO] [stdout] 1720 | | pub fn scanf(fmt: *const c_char, ...) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 1726 | | pub fn sscanf(s: *const c_char, fmt: *const c_char, ...) -> c_int; [INFO] [stdout] 1727 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/gmp.rs:1759:1 [INFO] [stdout] | [INFO] [stdout] 1759 | / extern "C" { [INFO] [stdout] 1760 | | /// See: [`mp_set_memory_functions`](../C/GMP/constant.Custom_Allocation.html#index-mp_005fset_005fmemory_005ffunctions) [INFO] [stdout] 1761 | | /// [INFO] [stdout] 1762 | | /// # Planned change [INFO] [stdout] ... | [INFO] [stdout] 1782 | | ); [INFO] [stdout] 1783 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:1180:1 [INFO] [stdout] | [INFO] [stdout] 1180 | / extern "C" { [INFO] [stdout] 1181 | | /// See: [`mpfr_rint_ceil`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005frint_005fceil) [INFO] [stdout] 1182 | | #[link_name = "mpfr_rint_ceil"] [INFO] [stdout] 1183 | | pub fn rint_ceil(rop: mpfr_ptr, op: mpfr_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 1247 | | pub fn print_rnd_mode(rnd: rnd_t) -> *const c_char; [INFO] [stdout] 1248 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:1269:1 [INFO] [stdout] | [INFO] [stdout] 1269 | / extern "C" { [INFO] [stdout] 1270 | | // Miscellaneous Functions [INFO] [stdout] 1271 | | [INFO] [stdout] 1272 | | /// See: [`mpfr_nexttoward`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fnexttoward) [INFO] [stdout] ... | [INFO] [stdout] 1302 | | pub fn erandom(rop1: mpfr_ptr, state: randstate_ptr, rnd: rnd_t) -> c_int; [INFO] [stdout] 1303 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:1309:1 [INFO] [stdout] | [INFO] [stdout] 1309 | / extern "C" { [INFO] [stdout] 1310 | | /// See: [`mpfr_set_exp`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fset_005fexp) [INFO] [stdout] 1311 | | #[link_name = "mpfr_set_exp"] [INFO] [stdout] 1312 | | pub fn set_exp(x: mpfr_ptr, e: exp_t) -> c_int; [INFO] [stdout] 1313 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:1334:1 [INFO] [stdout] | [INFO] [stdout] 1334 | / extern "C" { [INFO] [stdout] 1335 | | /// See: [`mpfr_get_version`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fget_005fversion) [INFO] [stdout] 1336 | | #[link_name = "mpfr_get_version"] [INFO] [stdout] 1337 | | pub fn get_version() -> *const c_char; [INFO] [stdout] 1338 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpc.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | / extern "C" { [INFO] [stdout] 199 | | // Initialization Functions [INFO] [stdout] 200 | | [INFO] [stdout] 201 | | /// See: [`mpc_init2`](../C/MPC/constant.Complex_Functions.html#index-mpc_005finit2) [INFO] [stdout] ... | [INFO] [stdout] 332 | | pub fn cmp_si_si(op1: mpc_srcptr, op2r: c_long, op2i: c_long) -> c_int; [INFO] [stdout] 333 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpc.rs:339:1 [INFO] [stdout] | [INFO] [stdout] 339 | / extern "C" { [INFO] [stdout] 340 | | /// See: [`mpc_cmp_abs`](../C/MPC/constant.Complex_Functions.html#index-mpc_005fcmp_005fabs) [INFO] [stdout] 341 | | #[link_name = "mpc_cmp_abs"] [INFO] [stdout] 342 | | pub fn cmp_abs(op1: mpc_srcptr, op2: mpc_srcptr) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 350 | | pub fn imag(rop: mpfr_ptr, arg2: mpc_srcptr, rnd: mpfr_rnd_t) -> c_int; [INFO] [stdout] 351 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpc.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | / extern "C" { [INFO] [stdout] 373 | | /// See: [`mpc_arg`](../C/MPC/constant.Complex_Functions.html#index-mpc_005farg) [INFO] [stdout] 374 | | #[link_name = "mpc_arg"] [INFO] [stdout] 375 | | pub fn arg(rop: mpfr_ptr, op: mpc_srcptr, rnd: mpfr_rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 402 | | pub fn sub_ui(rop: mpc_ptr, op1: mpc_srcptr, op2: c_ulong, rnd: rnd_t) -> c_int; [INFO] [stdout] 403 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:1354:1 [INFO] [stdout] | [INFO] [stdout] 1354 | / extern "C" { [INFO] [stdout] 1355 | | /// See: [`mpfr_get_patches`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fget_005fpatches) [INFO] [stdout] 1356 | | #[link_name = "mpfr_get_patches"] [INFO] [stdout] 1357 | | pub fn get_patches() -> *const c_char; [INFO] [stdout] ... | [INFO] [stdout] 1507 | | pub fn reldiff(rop: mpfr_ptr, op1: mpfr_srcptr, op2: mpfr_srcptr, rnd: rnd_t); [INFO] [stdout] 1508 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpc.rs:409:1 [INFO] [stdout] | [INFO] [stdout] 409 | / extern "C" { [INFO] [stdout] 410 | | /// See: [`mpc_ui_ui_sub`](../C/MPC/constant.Complex_Functions.html#index-mpc_005fui_005fui_005fsub) [INFO] [stdout] 411 | | #[link_name = "mpc_ui_ui_sub"] [INFO] [stdout] 412 | | pub fn ui_ui_sub( [INFO] [stdout] ... | [INFO] [stdout] 599 | | pub fn get_version() -> *const c_char; [INFO] [stdout] 600 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpc.rs:617:1 [INFO] [stdout] | [INFO] [stdout] 617 | / extern "C" { [INFO] [stdout] 618 | | // Ball Arithmetic [INFO] [stdout] 619 | | [INFO] [stdout] 620 | | // Radius functions [INFO] [stdout] ... | [INFO] [stdout] 784 | | pub fn mpcb_round(c: mpc_ptr, z: mpcb_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] 785 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | / extern "C" { [INFO] [stdout] 257 | | /// See: [`mpfr_init2`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005finit2) [INFO] [stdout] 258 | | #[link_name = "mpfr_init2"] [INFO] [stdout] 259 | | pub fn init2(x: mpfr_ptr, prec: prec_t); [INFO] [stdout] ... | [INFO] [stdout] 274 | | pub fn inits(x: mpfr_ptr, ...); [INFO] [stdout] 275 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | / extern "C" { [INFO] [stdout] 294 | | /// See: [`mpfr_set_default_prec`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fset_005fdefault_005fprec) [INFO] [stdout] 295 | | #[link_name = "mpfr_set_default_prec"] [INFO] [stdout] 296 | | pub fn set_default_prec(prec: prec_t); [INFO] [stdout] ... | [INFO] [stdout] 302 | | pub fn set_prec(x: mpfr_ptr, prec: prec_t); [INFO] [stdout] 303 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:312:1 [INFO] [stdout] | [INFO] [stdout] 312 | / extern "C" { [INFO] [stdout] 313 | | #[link_name = "mpfr_set4"] [INFO] [stdout] 314 | | fn set4(rop: mpfr_ptr, op: mpfr_srcptr, rnd: rnd_t, i: c_int) -> c_int; [INFO] [stdout] 315 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:321:1 [INFO] [stdout] | [INFO] [stdout] 321 | / extern "C" { [INFO] [stdout] 322 | | /// See: [`mpfr_set_ui`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fset_005fui) [INFO] [stdout] 323 | | #[link_name = "mpfr_set_ui"] [INFO] [stdout] 324 | | pub fn set_ui(rop: mpfr_ptr, op: c_ulong, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 387 | | pub fn swap(x: mpfr_ptr, y: mpfr_ptr); [INFO] [stdout] 388 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:448:1 [INFO] [stdout] | [INFO] [stdout] 448 | / extern "C" { [INFO] [stdout] 449 | | /// See: [`mpfr_init_set_str`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005finit_005fset_005fstr) [INFO] [stdout] 450 | | #[link_name = "mpfr_init_set_str"] [INFO] [stdout] 451 | | pub fn init_set_str(x: mpfr_ptr, s: *const c_char, base: c_int, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 657 | | pub fn neg(rop: mpfr_ptr, op: mpfr_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] 658 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:664:1 [INFO] [stdout] | [INFO] [stdout] 664 | / extern "C" { [INFO] [stdout] 665 | | /// See: [`mpfr_dim`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fdim) [INFO] [stdout] 666 | | #[link_name = "mpfr_dim"] [INFO] [stdout] 667 | | pub fn dim(rop: mpfr_ptr, op1: mpfr_srcptr, op2: mpfr_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 735 | | ) -> c_int; [INFO] [stdout] 736 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:740:1 [INFO] [stdout] | [INFO] [stdout] 740 | / extern "C" { [INFO] [stdout] 741 | | #[link_name = "mpfr_cmp3"] [INFO] [stdout] 742 | | fn cmp3(op1: mpfr_srcptr, op2: mpfr_srcptr, i: c_int) -> c_int; [INFO] [stdout] 743 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:759:1 [INFO] [stdout] | [INFO] [stdout] 759 | / extern "C" { [INFO] [stdout] 760 | | /// See: [`mpfr_cmp_d`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fcmp_005fd) [INFO] [stdout] 761 | | #[link_name = "mpfr_cmp_d"] [INFO] [stdout] 762 | | pub fn cmp_d(op1: mpfr_srcptr, op2: f64) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 783 | | pub fn cmpabs_ui(op1: mpfr_srcptr, op2: c_ulong) -> c_int; [INFO] [stdout] 784 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:827:1 [INFO] [stdout] | [INFO] [stdout] 827 | / extern "C" { [INFO] [stdout] 828 | | /// See: [`mpfr_greater_p`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fgreater_005fp) [INFO] [stdout] 829 | | #[link_name = "mpfr_greater_p"] [INFO] [stdout] 830 | | pub fn greater_p(op1: mpfr_srcptr, op2: mpfr_srcptr) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 911 | | pub fn pow_sj(rop: mpfr_ptr, op1: mpfr_srcptr, op2: intmax_t, rnd: rnd_t) -> c_int; [INFO] [stdout] 912 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:918:1 [INFO] [stdout] | [INFO] [stdout] 918 | / extern "C" { [INFO] [stdout] 919 | | /// See: [`mpfr_pow_z`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fpow_005fz) [INFO] [stdout] 920 | | #[link_name = "mpfr_pow_z"] [INFO] [stdout] 921 | | pub fn pow_z(rop: mpfr_ptr, op1: mpfr_srcptr, op2: mpz_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 1150 | | pub fn rint(rop: mpfr_ptr, op: mpfr_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] 1151 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:1170:1 [INFO] [stdout] | [INFO] [stdout] 1170 | / extern "C" { [INFO] [stdout] 1171 | | /// See: [`mpfr_roundeven`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005froundeven) [INFO] [stdout] 1172 | | #[link_name = "mpfr_roundeven"] [INFO] [stdout] 1173 | | pub fn roundeven(rop: mpfr_ptr, op: mpfr_srcptr) -> c_int; [INFO] [stdout] 1174 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:1180:1 [INFO] [stdout] | [INFO] [stdout] 1180 | / extern "C" { [INFO] [stdout] 1181 | | /// See: [`mpfr_rint_ceil`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005frint_005fceil) [INFO] [stdout] 1182 | | #[link_name = "mpfr_rint_ceil"] [INFO] [stdout] 1183 | | pub fn rint_ceil(rop: mpfr_ptr, op: mpfr_srcptr, rnd: rnd_t) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 1247 | | pub fn print_rnd_mode(rnd: rnd_t) -> *const c_char; [INFO] [stdout] 1248 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:1269:1 [INFO] [stdout] | [INFO] [stdout] 1269 | / extern "C" { [INFO] [stdout] 1270 | | // Miscellaneous Functions [INFO] [stdout] 1271 | | [INFO] [stdout] 1272 | | /// See: [`mpfr_nexttoward`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fnexttoward) [INFO] [stdout] ... | [INFO] [stdout] 1302 | | pub fn erandom(rop1: mpfr_ptr, state: randstate_ptr, rnd: rnd_t) -> c_int; [INFO] [stdout] 1303 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:1309:1 [INFO] [stdout] | [INFO] [stdout] 1309 | / extern "C" { [INFO] [stdout] 1310 | | /// See: [`mpfr_set_exp`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fset_005fexp) [INFO] [stdout] 1311 | | #[link_name = "mpfr_set_exp"] [INFO] [stdout] 1312 | | pub fn set_exp(x: mpfr_ptr, e: exp_t) -> c_int; [INFO] [stdout] 1313 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:1334:1 [INFO] [stdout] | [INFO] [stdout] 1334 | / extern "C" { [INFO] [stdout] 1335 | | /// See: [`mpfr_get_version`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fget_005fversion) [INFO] [stdout] 1336 | | #[link_name = "mpfr_get_version"] [INFO] [stdout] 1337 | | pub fn get_version() -> *const c_char; [INFO] [stdout] 1338 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:1354:1 [INFO] [stdout] | [INFO] [stdout] 1354 | / extern "C" { [INFO] [stdout] 1355 | | /// See: [`mpfr_get_patches`](../C/MPFR/constant.MPFR_Interface.html#index-mpfr_005fget_005fpatches) [INFO] [stdout] 1356 | | #[link_name = "mpfr_get_patches"] [INFO] [stdout] 1357 | | pub fn get_patches() -> *const c_char; [INFO] [stdout] ... | [INFO] [stdout] 1507 | | pub fn reldiff(rop: mpfr_ptr, op1: mpfr_srcptr, op2: mpfr_srcptr, rnd: rnd_t); [INFO] [stdout] 1508 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:1257:9 [INFO] [stdout] | [INFO] [stdout] 1257 | / extern "C" { [INFO] [stdout] 1258 | | fn mpfr_round_nearest_away_begin(rop: mpfr_ptr); [INFO] [stdout] 1259 | | fn mpfr_round_nearest_away_end(rop: mpfr_ptr, inex: c_int) -> c_int; [INFO] [stdout] 1260 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 1657 | let dir_tie_away = mpfr_round_nearest_away!(mpfr::set_ui, &mut f, 21); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `mpfr_round_nearest_away` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/mpfr.rs:1257:9 [INFO] [stdout] | [INFO] [stdout] 1257 | / extern "C" { [INFO] [stdout] 1258 | | fn mpfr_round_nearest_away_begin(rop: mpfr_ptr); [INFO] [stdout] 1259 | | fn mpfr_round_nearest_away_end(rop: mpfr_ptr, inex: c_int) -> c_int; [INFO] [stdout] 1260 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 1663 | let dir_tie_away2 = mpfr_round_nearest_away!(mpfr::set_ui, &mut f, 41); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `mpfr_round_nearest_away` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 50 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gmp-mpfr-sys` (lib) due to 51 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 52 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gmp-mpfr-sys` (lib test) due to 53 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0736ec2b6d8ca4ad8d12c208603037a0591a9f235e11b4607e5804c19f5efdda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0736ec2b6d8ca4ad8d12c208603037a0591a9f235e11b4607e5804c19f5efdda", kill_on_drop: false }` [INFO] [stdout] 0736ec2b6d8ca4ad8d12c208603037a0591a9f235e11b4607e5804c19f5efdda