* installing *source* package 'a5R' ...
** this is package 'a5R' version '0.2.0'
** package 'a5R' successfully unpacked and MD5 sums checked
** using staged installation
Using cargo 1.92.0 (344c4567c 2025-10-21)
Using rustc 1.92.0 (ded5c06cf 2025-12-08)
Building for CRAN.
Writing `src/Makevars.win`.
`tools/config.R` has finished.
** libs
using C compiler: 'gcc.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2026_03_17_01_50_00_16007/RtmpamcW7a/R.INSTALLc22034e4b9f/a5R/src'
gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c entrypoint.c -o entrypoint.o
mkdir -p ./rust/target/libgcc_mock
touch ./rust/target/libgcc_mock/libgcc_eh.a
if [ -f ./rust/vendor.tar.xz ]; then \
tar xf rust/vendor.tar.xz && \
mkdir -p /d/temp/2026_03_17_01_50_00_16007/RtmpamcW7a/R.INSTALLc22034e4b9f/a5R/src/.cargo && \
cp rust/vendor-config.toml /d/temp/2026_03_17_01_50_00_16007/RtmpamcW7a/R.INSTALLc22034e4b9f/a5R/src/.cargo/config.toml; \
fi
# Build the project using Cargo with additional flags
export CARGO_HOME=/d/temp/2026_03_17_01_50_00_16007/RtmpamcW7a/R.INSTALLc22034e4b9f/a5R/src/.cargo && \
export LIBRARY_PATH=";/d/temp/2026_03_17_01_50_00_16007/RtmpamcW7a/R.INSTALLc22034e4b9f/a5R/src/./rust/target/libgcc_mock" && \
RUSTFLAGS=" --print=native-static-libs" cargo build -j 2 --offline --target=x86_64-pc-windows-gnu --lib --release --manifest-path=rust/Cargo.toml --target-dir=./rust/target
Compiling libm v0.2.16
Compiling autocfg v1.5.0
Compiling proc-macro2 v1.0.106
Compiling num-traits v0.2.19
Compiling quote v1.0.44
Compiling unicode-ident v1.0.24
Compiling byteorder v1.5.0
Compiling heapless v0.8.0
Compiling hash32 v0.3.1
Compiling crossbeam-utils v0.8.21
Compiling zerocopy v0.8.39
Compiling stable_deref_trait v1.2.1
Compiling syn v2.0.116
Compiling smallvec v1.15.1
Compiling cfg-if v1.0.4
Compiling getrandom v0.2.17
Compiling rstar v0.12.2
Compiling approx v0.5.1
Compiling extendr-ffi v0.8.1
Compiling geo-types v0.7.18
Compiling crossbeam-epoch v0.9.18
Compiling ppv-lite86 v0.2.21
Compiling rand_core v0.6.4
Compiling i_float v1.15.0
Compiling paste v1.0.15
Compiling thiserror v1.0.69
Compiling rayon-core v1.13.0
Compiling i_shape v1.14.0
Compiling rand_chacha v0.3.1
Compiling crossbeam-deque v0.8.6
Compiling thiserror-impl v1.0.69
Compiling extendr-api v0.8.1
Compiling i_tree v0.16.0
Compiling i_key_sort v0.6.0
Compiling log v0.4.29
Compiling i_overlay v4.0.7
Compiling rand v0.8.5
Compiling geo-traits v0.3.0
Compiling extendr-macros v0.8.1
Compiling geographiclib-rs v0.2.7
Compiling either v1.15.0
Compiling float_next_after v1.0.0
Compiling once_cell v1.21.3
Compiling sif-itree v0.4.0
Compiling lazy_static v1.5.0
Compiling robust v1.2.0
Compiling a5 v0.7.0
Compiling geo v0.32.0
Compiling rayon v1.11.0
Compiling wkt v0.14.0
Compiling a5R v0.1.0 (D:\temp\2026_03_17_01_50_00_16007\RtmpamcW7a\R.INSTALLc22034e4b9f\a5R\src\rust)
warning: crate `a5R` should have a snake case name
|
= help: convert the identifier to snake case: `a5_r`
= note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
note: link against the following native artifacts when linking against this static library. The order and any duplication can be significant on some platforms.
note: native-static-libs: -lbcrypt -ladvapi32 -lR -lkernel32 -lntdll -luserenv -lws2_32 -ldbghelp
warning: `a5R` (lib) generated 1 warning
Finished `release` profile [optimized] target(s) in 2m 32s
# Always clean up CARGOTMP
rm -Rf /d/temp/2026_03_17_01_50_00_16007/RtmpamcW7a/R.INSTALLc22034e4b9f/a5R/src/.cargo;
gcc -shared -s -static-libgcc -o a5R.dll a5R-win.def entrypoint.o -L./rust/target/x86_64-pc-windows-gnu/release -la5R -lws2_32 -ladvapi32 -luserenv -lbcrypt -lntdll -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
rm -Rf /d/temp/2026_03_17_01_50_00_16007/RtmpamcW7a/R.INSTALLc22034e4b9f/a5R/src/.cargo vendor ./rust/target
make[1]: Leaving directory '/d/temp/2026_03_17_01_50_00_16007/RtmpamcW7a/R.INSTALLc22034e4b9f/a5R/src'
make[1]: Entering directory '/d/temp/2026_03_17_01_50_00_16007/RtmpamcW7a/R.INSTALLc22034e4b9f/a5R/src'
make[1]: Leaving directory '/d/temp/2026_03_17_01_50_00_16007/RtmpamcW7a/R.INSTALLc22034e4b9f/a5R/src'
installing to d:/Rcompile/CRANpkg/lib/4.6/00LOCK-a5R/00new/a5R/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'a5R' as a5R_0.2.0.zip
* DONE (a5R)