* installing *source* package 'arcgisutils' ...
** package 'arcgisutils' successfully unpacked and MD5 sums checked
** using staged installation
Using cargo 1.81.0 (2dbb1af80 2024-08-20)
Using rustc 1.81.0 (eeb90cda1 2024-09-04)
** libs
using C compiler: 'gcc.exe (GCC) 13.2.0'
make[1]: Entering directory '/d/temp/Rtmp8OH72a/R.INSTALL20d788002571/arcgisutils/src'
rm -Rf arcgisutils.dll ./rust/target/x86_64-pc-windows-gnu/release/libarcgisutils.a entrypoint.o /d/temp/Rtmp8OH72a/R.INSTALL20d788002571/arcgisutils/src/.cargo /d/temp/Rtmp8OH72a/R.INSTALL20d788002571/arcgisutils/src/vendor
gcc  -I"D:/RCompile/recent/R-4.4.1/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/Rtmp8OH72a/R.INSTALL20d788002571/arcgisutils/src/.cargo && \
	cp rust/vendor-config.toml /d/temp/Rtmp8OH72a/R.INSTALL20d788002571/arcgisutils/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/Rtmp8OH72a/R.INSTALL20d788002571/arcgisutils/src/.cargo; \
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/Rtmp8OH72a/R.INSTALL20d788002571/arcgisutils/src/./rust/target/libgcc_mock"; \
	cargo build -j 2 --offline --target=x86_64-pc-windows-gnu --lib --release --manifest-path=./rust/Cargo.toml --target-dir ./rust/target && \
	echo `cargo --version` && echo `rustc --version`;
   Compiling proc-macro2 v1.0.86
   Compiling unicode-ident v1.0.13
   Compiling fnv v1.0.7
   Compiling ident_case v1.0.1
   Compiling strsim v0.11.1
   Compiling serde v1.0.210
   Compiling quote v1.0.37
   Compiling syn v2.0.77
   Compiling libR-sys v0.7.1
   Compiling paste v1.0.15
   Compiling serde_json v1.0.128
   Compiling ryu v1.0.18
   Compiling memchr v2.7.4
   Compiling darling_core v0.20.10
   Compiling serde_derive v1.0.210
   Compiling darling_macro v0.20.10
   Compiling darling v0.20.10
   Compiling derive_builder_core v0.20.1
   Compiling derive_builder_macro v0.20.1
   Compiling serde_with_macros v3.9.0
   Compiling itoa v1.0.11
   Compiling extendr-api v0.7.1
   Compiling derive_builder v0.20.1
   Compiling extendr-macros v0.7.1
   Compiling once_cell v1.19.0
   Compiling serde_with v3.9.0
   Compiling serde_esri v0.3.1 (https://github.com/josiahparry/serde_esri#28502b3a)
   Compiling arcgisutils v0.1.0 (D:\temp\Rtmp8OH72a\R.INSTALL20d788002571\arcgisutils\src\rust)
    Finished `release` profile [optimized] target(s) in 1m 30s
cargo 1.81.0 (2dbb1af80 2024-08-20)
rustc 1.81.0 (eeb90cda1 2024-09-04)
if [ "" != "true" ]; then \
	rm -Rf /d/temp/Rtmp8OH72a/R.INSTALL20d788002571/arcgisutils/src/.cargo /d/temp/Rtmp8OH72a/R.INSTALL20d788002571/arcgisutils/src/vendor ./rust/target/x86_64-pc-windows-gnu/release/build; \
fi
gcc -shared -s -static-libgcc -o arcgisutils.dll arcgisutils-win.def entrypoint.o -L./rust/target/x86_64-pc-windows-gnu/release -larcgisutils -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-4.4.1/bin/x64 -lR
make[1]: Leaving directory '/d/temp/Rtmp8OH72a/R.INSTALL20d788002571/arcgisutils/src'
make[1]: Entering directory '/d/temp/Rtmp8OH72a/R.INSTALL20d788002571/arcgisutils/src'
make[1]: Leaving directory '/d/temp/Rtmp8OH72a/R.INSTALL20d788002571/arcgisutils/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-arcgisutils/00new/arcgisutils/libs/x64
** R
** 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 'arcgisutils' as arcgisutils_0.3.1.zip
* DONE (arcgisutils)