* installing *source* package 'arcpbf' ...
** package 'arcpbf' 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/RtmpIdWvkg/R.INSTALL16d946047d3b/arcpbf/src'
rm -Rf arcpbf.dll ./rust/target/x86_64-pc-windows-gnu/release/libarcpbf.a entrypoint.o /d/temp/RtmpIdWvkg/R.INSTALL16d946047d3b/arcpbf/src/.cargo /d/temp/RtmpIdWvkg/R.INSTALL16d946047d3b/arcpbf/src/vendor
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/RtmpIdWvkg/R.INSTALL16d946047d3b/arcpbf/src/.cargo && \
	cp rust/vendor-config.toml /d/temp/RtmpIdWvkg/R.INSTALL16d946047d3b/arcpbf/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/RtmpIdWvkg/R.INSTALL16d946047d3b/arcpbf/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/RtmpIdWvkg/R.INSTALL16d946047d3b/arcpbf/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.69
   Compiling unicode-ident v1.0.12
   Compiling anyhow v1.0.75
   Compiling libR-sys v0.6.0
   Compiling quote v1.0.33
   Compiling syn v2.0.38
   Compiling either v1.9.0
   Compiling itertools v0.11.0
   Compiling paste v1.0.14
   Compiling bytes v1.5.0
   Compiling extendr-api v0.6.0
   Compiling once_cell v1.18.0
   Compiling prost-derive v0.12.1
   Compiling extendr-macros v0.6.0
   Compiling prost v0.12.1
   Compiling esripbf v0.1.0 (D:\temp\RtmpIdWvkg\R.INSTALL16d946047d3b\arcpbf\src\rust\esripbf)
   Compiling arcpbf v0.1.0 (D:\temp\RtmpIdWvkg\R.INSTALL16d946047d3b\arcpbf\src\rust\arcpbf)
    Finished release [optimized] target(s) in 38.63s
cargo 1.76.0 (c84b36747 2024-01-18)
rustc 1.76.0 (07dca489a 2024-02-04)
if [ "" != "true" ]; then \
	rm -Rf /d/temp/RtmpIdWvkg/R.INSTALL16d946047d3b/arcpbf/src/.cargo /d/temp/RtmpIdWvkg/R.INSTALL16d946047d3b/arcpbf/src/vendor ./rust/target/x86_64-pc-windows-gnu/release/build; \
fi
gcc -shared -s -static-libgcc -o arcpbf.dll arcpbf-win.def entrypoint.o -L./rust/target/x86_64-pc-windows-gnu/release -larcpbf -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/RtmpIdWvkg/R.INSTALL16d946047d3b/arcpbf/src'
make[1]: Entering directory '/d/temp/RtmpIdWvkg/R.INSTALL16d946047d3b/arcpbf/src'
make[1]: Leaving directory '/d/temp/RtmpIdWvkg/R.INSTALL16d946047d3b/arcpbf/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-arcpbf/00new/arcpbf/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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 'arcpbf' as arcpbf_0.1.0.zip
* DONE (arcpbf)