* installing *source* package 'rsgeo' ...
** package 'rsgeo' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 13.2.0'
make[1]: Entering directory '/d/temp/Rtmpa6bXgs/R.INSTALL227a84f5c5f01/rsgeo/src'
rm -Rf rsgeo.dll ./rust/target/x86_64-pc-windows-gnu/release/librsgeo.a entrypoint.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c entrypoint.c -o entrypoint.o
# uncompress vendored deps
if [ -f ./rust/vendor.tar.xz ]; then \
	tar xf rust/vendor.tar.xz && \
	mkdir -p /d/temp/Rtmpa6bXgs/R.INSTALL227a84f5c5f01/rsgeo/src/.cargo && \
	cp rust/vendor-config.toml /d/temp/Rtmpa6bXgs/R.INSTALL227a84f5c5f01/rsgeo/src/.cargo/config.toml; \
fi
mkdir -p ./rust/target/libgcc_mock
# `rustc` adds `-lgcc_eh` flags to the compiler, but Rtools' GCC doesn't have
# `libgcc_eh` due to the compilation settings. So, in order to please the
# compiler, we need to add empty `libgcc_eh` to the library search paths.
# For more details, please refer to
# https://github.com/r-windows/rtools-packages/blob/2407b23f1e0925bbb20a4162c963600105236318/mingw-w64-gcc/PKGBUILD#L313-L316
touch ./rust/target/libgcc_mock/libgcc_eh.a
# CARGO_LINKER is provided in Makevars.ucrt for R >= 4.2
if [ "" != "true" ]; then \
	export CARGO_HOME=/d/temp/Rtmpa6bXgs/R.INSTALL227a84f5c5f01/rsgeo/src/.cargo; \
	export CARGO_BUILD_JOBS=2; \
fi && \
	export CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER="x86_64-w64-mingw32.static.posix-gcc.exe" && \
	export LIBRARY_PATH="${LIBRARY_PATH};/d/temp/Rtmpa6bXgs/R.INSTALL227a84f5c5f01/rsgeo/src/./rust/target/libgcc_mock"; \
	cargo build --target=x86_64-pc-windows-gnu --lib --release --manifest-path=./rust/Cargo.toml --target-dir ./rust/target && \
	echo `cargo --version` && echo `rustc --version`;
   Compiling autocfg v1.1.0
   Compiling scopeguard v1.2.0
   Compiling semver v1.0.18
   Compiling libm v0.2.7
   Compiling num-traits v0.2.16
   Compiling lock_api v0.4.10
   Compiling rustc_version v0.4.0
   Compiling crossbeam-utils v0.8.16
   Compiling proc-macro2 v1.0.66
   Compiling libR-sys v0.4.0
   Compiling heapless v0.7.16
   Compiling memoffset v0.9.0
   Compiling cfg-if v1.0.0
   Compiling unicode-ident v1.0.11
   Compiling byteorder v1.4.3
   Compiling hash32 v0.2.1
   Compiling spin v0.9.8
   Compiling crossbeam-epoch v0.9.15
   Compiling syn v1.0.109
   Compiling either v1.9.0
   Compiling stable_deref_trait v1.2.0
   Compiling quote v1.0.33
   Compiling paste v1.0.14
   Compiling extendr-engine v0.4.0
   Compiling smallvec v1.11.0
   Compiling lazy_static v1.4.0
   Compiling rstar v0.11.0
   Compiling itertools v0.10.5
   Compiling approx v0.5.1
   Compiling extendr-api v0.4.0
   Compiling rayon-core v1.11.0
   Compiling geo-types v0.7.11
   Compiling earcutr v0.4.2
   Compiling crossbeam-deque v0.8.3
   Compiling geographiclib-rs v0.2.3
   Compiling crossbeam-channel v0.5.8
   Compiling extendr-macros v0.4.0
   Compiling robust v1.1.0
   Compiling num_cpus v1.16.0
   Compiling float_next_after v1.0.0
   Compiling log v0.4.20
   Compiling geo v0.26.0 (https://github.com/josiahparry/geo?branch=segmentize#c960f68b)
   Compiling rayon v1.7.0
   Compiling sfconversions v0.2.0 (https://github.com/JosiahParry/sfconversions#9e5ef5e0)
   Compiling rsgeo v0.1.3 (D:\temp\Rtmpa6bXgs\R.INSTALL227a84f5c5f01\rsgeo\src\rust)
    Finished release [optimized] target(s) in 1m 55s
cargo 1.76.0 (c84b36747 2024-01-18)
rustc 1.76.0 (07dca489a 2024-02-04)
if [ "" != "true" ]; then \
	rm -Rf /d/temp/Rtmpa6bXgs/R.INSTALL227a84f5c5f01/rsgeo/src/.cargo  ./rust/target/x86_64-pc-windows-gnu/release/build; \
fi
gcc -shared -s -static-libgcc -o rsgeo.dll rsgeo-win.def entrypoint.o -L./rust/target/x86_64-pc-windows-gnu/release -lrsgeo -lws2_32 -ladvapi32 -luserenv -lbcrypt -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
make[1]: Leaving directory '/d/temp/Rtmpa6bXgs/R.INSTALL227a84f5c5f01/rsgeo/src'
make[1]: Entering directory '/d/temp/Rtmpa6bXgs/R.INSTALL227a84f5c5f01/rsgeo/src'
make[1]: Leaving directory '/d/temp/Rtmpa6bXgs/R.INSTALL227a84f5c5f01/rsgeo/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-rsgeo/00new/rsgeo/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** 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 'rsgeo' as rsgeo_0.1.6.zip
* DONE (rsgeo)