* installing *source* package 'baseflow' ... ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 13.2.0' gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c entrypoint.c -o entrypoint.o "D:/RCompile/recent/R/bin/x64/Rscript" ../tools/staticlib.R "x86_64-pc-windows-gnu" Cargo version 1.42.0 or newer is required for compilation. Cargo version 1.76.0 found. Compiling the Rust library. Updating crates.io index Downloading crates ... Downloaded crossbeam-deque v0.8.5 Downloaded crossbeam-epoch v0.9.18 Downloaded extendr-macros v0.7.0 Downloaded crossbeam-utils v0.8.20 Downloaded quote v1.0.36 Downloaded syn v2.0.68 Downloaded paste v1.0.15 Downloaded either v1.13.0 Downloaded extendr-api v0.7.0 Downloaded rayon v1.10.0 Downloaded proc-macro2 v1.0.86 Downloaded rayon-core v1.12.1 Downloaded unicode-ident v1.0.12 Downloaded once_cell v1.19.0 Downloaded roots v0.0.8 Downloaded libR-sys v0.7.0 Compiling crossbeam-utils v0.8.20 Compiling proc-macro2 v1.0.86 Compiling unicode-ident v1.0.12 Compiling libR-sys v0.7.0 Compiling paste v1.0.15 Compiling rayon-core v1.12.1 Compiling extendr-api v0.7.0 Compiling once_cell v1.19.0 Compiling either v1.13.0 Compiling roots v0.0.8 Compiling quote v1.0.36 Compiling crossbeam-epoch v0.9.18 Compiling syn v2.0.68 Compiling crossbeam-deque v0.8.5 Compiling rayon v1.10.0 Compiling extendr-macros v0.7.0 Compiling rustlib v1.42.0 (D:\temp\RtmpqABGmE\R.INSTALLc448423428d4\baseflow\src\rustlib) Finished release [optimized] target(s) in 28.10s Restoring environment variables to their previous values. gcc -shared -s -static-libgcc -o baseflow.dll tmp.def entrypoint.o -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lm -lquadmath -L. -Lrustlib/target/x86_64-pc-windows-gnu/release -lrustlib -lws2_32 -luserenv -lshell32 -ladvapi32 -fopenmp -lntdll -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: rustlib/target/x86_64-pc-windows-gnu/release/librustlib.a(std-efaf1f98469bce6b.std.11d9c719ffa149c1-cgu.0.rcgu.o): in function `std::sys::windows::rand::hashmap_random_keys': /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\sys\windows/rand.rs:8:(.text+0x43235): undefined reference to `BCryptGenRandom' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\sys\windows/rand.rs:8:(.text+0x5504b): undefined reference to `BCryptGenRandom' collect2.exe: error: ld returned 1 exit status no DLL was created ERROR: compilation failed for package 'baseflow' * removing 'd:/RCompile/CRANincoming/R-devel/lib/baseflow'