* installing *source* package 'tomledit' ...
** package 'tomledit' 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
Warning: this package has a non-empty 'configure.win' file,
so building only the main architecture

using C compiler: 'gcc.exe (GCC) 12.3.0'
make[1]: Entering directory '/d/temp/2025_02_19_01_50_00_26759/RtmpYlyle7/R.INSTALL6744112f618d/tomledit/src'
rm -Rf tomledit.dll ./rust/target/x86_64-pc-windows-gnu/release/libtomledit.a entrypoint.o
gcc  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG     -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c entrypoint.c -o entrypoint.o
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
# When the NOT_CRAN flag is *not* set, the vendor.tar.xz, if present,
# is unzipped and used for offline compilation.
if [ "" != "true" ]; then \
	if [ -f ./rust/vendor.tar.xz ]; then \
		tar xf rust/vendor.tar.xz && \
		mkdir -p /d/temp/2025_02_19_01_50_00_26759/RtmpYlyle7/R.INSTALL6744112f618d/tomledit/src/.cargo && \
		cp rust/vendor-config.toml /d/temp/2025_02_19_01_50_00_26759/RtmpYlyle7/R.INSTALL6744112f618d/tomledit/src/.cargo/config.toml; \
	fi; \
fi
# CARGO_LINKER is provided in Makevars.ucrt for R >= 4.2
# Build the project using Cargo with additional flags
export CARGO_HOME=/d/temp/2025_02_19_01_50_00_26759/RtmpYlyle7/R.INSTALL6744112f618d/tomledit/src/.cargo && \
export CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER="x86_64-w64-mingw32.static.posix-gcc.exe" && \
export LIBRARY_PATH="${LIBRARY_PATH};/d/temp/2025_02_19_01_50_00_26759/RtmpYlyle7/R.INSTALL6744112f618d/tomledit/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 proc-macro2 v1.0.93
   Compiling unicode-ident v1.0.16
   Compiling libR-sys v0.7.1
   Compiling paste v1.0.15
   Compiling quote v1.0.38
   Compiling syn v2.0.98
   Compiling extendr-api v0.7.1
   Compiling equivalent v1.0.1
   Compiling hashbrown v0.15.2
   Compiling indexmap v2.7.1
   Compiling once_cell v1.20.2
   Compiling toml_datetime v0.6.8
   Compiling winnow v0.7.1
   Compiling toml_edit v0.22.23
   Compiling extendr-macros v0.7.1
   Compiling tomledit v0.1.0 (D:\temp\2025_02_19_01_50_00_26759\RtmpYlyle7\R.INSTALL6744112f618d\tomledit\src\rust)
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: -lR -lkernel32 -ladvapi32 -lntdll -luserenv -lws2_32 -lkernel32

    Finished `release` profile [optimized] target(s) in 56.69s
# Always clean up CARGOTMP
rm -Rf /d/temp/2025_02_19_01_50_00_26759/RtmpYlyle7/R.INSTALL6744112f618d/tomledit/src/.cargo;
gcc -shared -s -static-libgcc -o tomledit.dll tomledit-win.def entrypoint.o -L./rust/target/x86_64-pc-windows-gnu/release -ltomledit -lws2_32 -ladvapi32 -luserenv -lbcrypt -lntdll -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.3.3/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2025_02_19_01_50_00_26759/RtmpYlyle7/R.INSTALL6744112f618d/tomledit/src'
make[1]: Entering directory '/d/temp/2025_02_19_01_50_00_26759/RtmpYlyle7/R.INSTALL6744112f618d/tomledit/src'
make[1]: Leaving directory '/d/temp/2025_02_19_01_50_00_26759/RtmpYlyle7/R.INSTALL6744112f618d/tomledit/src'
installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-tomledit/00new/tomledit/libs/x64
** R
** 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 'tomledit' as tomledit_0.1.0.zip
* DONE (tomledit)