* installing *source* package 'fangs' ... ** this is package 'fangs' version '0.2.20' ** using staged installation SystemRequirements: Cargo (Rust's package manager), rustc (>= 1.81.0) Minimum Supported Rust Version (MSRV): 1.81.0 Trying to run: cargo --version 'cargo --version' reports: cargo 1.81.0 (2dbb1af80 2024-08-20) Found cargo version: 1.81.0 Trying to run: rustc --version 'rustc --version' reports: rustc 1.81.0 (eeb90cda1 2024-09-04) Found rustc version: 1.81.0 MSRV is met. Found a suitable installation of cargo and rustc. Compiling autocfg v1.4.0 Compiling proc-macro2 v1.0.94 Compiling num-traits v0.2.19 Compiling getrandom v0.3.2 Compiling crossbeam-utils v0.8.21 Compiling zerocopy v0.8.24 Compiling cfg-if v1.0.0 Compiling unicode-ident v1.0.18 Compiling matrixmultiply v0.3.9 Compiling crossbeam-epoch v0.9.18 Compiling quote v1.0.40 Compiling rand_core v0.9.3 Compiling rawpointer v0.2.1 Compiling rayon-core v1.12.1 Compiling ppv-lite86 v0.2.21 Compiling syn v2.0.100 Compiling crossbeam-deque v0.8.6 Compiling num-complex v0.4.6 Compiling num-integer v0.1.46 Compiling lapjv v0.2.2 (D:\temp\2025_04_10_01_30_16_28199\RtmpE5ozTu\R.INSTALL2f6c590c2b83\fangs\src\rust\lapjv-rust) Compiling either v1.15.0 Compiling ndarray v0.16.1 Compiling roxido_macro v0.6.0 (D:\temp\2025_04_10_01_30_16_28199\RtmpE5ozTu\R.INSTALL2f6c590c2b83\fangs\src\rust\roxido_macro) Compiling rand_chacha v0.9.0 Compiling rbindings v0.6.0 (D:\temp\2025_04_10_01_30_16_28199\RtmpE5ozTu\R.INSTALL2f6c590c2b83\fangs\src\rust\rbindings) error[E0080]: evaluation of constant value failed --> rbindings\src\lib.rs:393:24 | 393 | ["Size of ldiv_t"][::std::mem::size_of::() - 16usize]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `8_usize - 16_usize`, which would overflow error[E0080]: evaluation of constant value failed --> rbindings\src\lib.rs:604:28 | 604 | ["Size of __sigset_t"][::std::mem::size_of::<__sigset_t>() - 128usize]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `64_usize - 128_usize`, which would overflow error[E0080]: evaluation of constant value failed --> rbindings\src\lib.rs:617:25 | 617 | ["Size of timeval"][::std::mem::size_of::() - 16usize]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `8_usize - 16_usize`, which would overflow error[E0080]: evaluation of constant value failed --> rbindings\src\lib.rs:630:26 | 630 | ["Size of timespec"][::std::mem::size_of::() - 16usize]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `8_usize - 16_usize`, which would overflow error[E0080]: evaluation of constant value failed --> rbindings\src\lib.rs:644:24 | 644 | ["Size of fd_set"][::std::mem::size_of::() - 128usize]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `64_usize - 128_usize`, which would overflow error[E0080]: evaluation of constant value failed --> rbindings\src\lib.rs:788:41 | 788 | ["Size of __pthread_rwlock_arch_t"][::std::mem::size_of::<__pthread_rwlock_arch_t>() - 56usize]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `48_usize - 56_usize`, which would overflow error[E0080]: evaluation of constant value failed --> rbindings\src\lib.rs:901:37 | 901 | ["Alignment of pthread_attr_t"][::std::mem::align_of::() - 8usize]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow error[E0080]: evaluation of constant value failed --> rbindings\src\lib.rs:953:39 | 953 | ["Alignment of pthread_rwlock_t"][::std::mem::align_of::() - 8usize]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow error[E0080]: evaluation of constant value failed --> rbindings\src\lib.rs:970:43 | 970 | ["Alignment of pthread_rwlockattr_t"][::std::mem::align_of::() - 8usize]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow error[E0080]: evaluation of constant value failed --> rbindings\src\lib.rs:986:40 | 986 | ["Alignment of pthread_barrier_t"][::std::mem::align_of::() - 8usize]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow error[E0080]: evaluation of constant value failed --> rbindings\src\lib.rs:1516:27 | 1516 | ["Size of _G_fpos_t"][::std::mem::size_of::<_G_fpos_t>() - 16usize]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `12_usize - 16_usize`, which would overflow error[E0080]: evaluation of constant value failed --> rbindings\src\lib.rs:1530:29 | 1530 | ["Size of _G_fpos64_t"][::std::mem::size_of::<_G_fpos64_t>() - 16usize]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `12_usize - 16_usize`, which would overflow error[E0080]: evaluation of constant value failed --> rbindings\src\lib.rs:1590:26 | 1590 | ["Size of _IO_FILE"][::std::mem::size_of::<_IO_FILE>() - 216usize]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `208_usize - 216_usize`, which would overflow For more information about this error, try `rustc --explain E0080`. error: could not compile `rbindings` (lib) due to 13 previous errors warning: build failed, waiting for other jobs to finish... Error running Cargo. This R package relies on Cargo, the Rust package manager. Cargo can be provided in a number of ways. Either of the following methods should work (although the first method will guarantee that the most recent version is installed): 1. Install from https://rustup.rs, an official Rust website, e.g.: Linux / MacOS: * Run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-path -y Windows: * Download rustup-init.exe from https://rustup.rs * Open the terminal in the directory in which rustup-init.exe was downloaded * Run: .\rustup-init.exe --no-modify-path -y --default-host x86_64-pc-windows-gnu If you do not mind having the script modify your PATH environment variable, remove the "--no-modify-path" argument. Having Cargo's bin directory in your PATH environment variable is *not* necessarily, however, as the R package will still be able to find the 'cargo' executable in the $HOME/.cargo/bin directory. OR 2. Install from a package manager and let 'cargo' by found using the $PATH environment variable, e.g.: Debian: sudo apt install cargo Ubuntu: sudo apt install cargo Fedora: sudo dnf install cargo macOS: brew install rust Error in eval(ei, envir) : Exiting. Calls: source -> withVisible -> eval -> eval Execution halted Deleting temporary CARGO_HOME directory. ERROR: configuration failed for package 'fangs' * removing 'd:/RCompile/CRANincoming/R-devel/lib/fangs'