* installing *source* package 'polyglotSQL' ...
** this is package 'polyglotSQL' version '0.1.0'
** package 'polyglotSQL' successfully unpacked and MD5 sums checked
** using staged installation
Using cargo 1.92.0 (344c4567c 2025-10-21)
Using rustc 1.92.0 (ded5c06cf 2025-12-08)
Building for CRAN.
Writing `src/Makevars.win`.
`tools/config.R` has finished.
** libs
using C compiler: 'gcc.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2026_08_05_01_50_00_6491/RtmpqUJnWF/R.INSTALL18178671435f/polyglotSQL/src'
gcc  -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG     -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c entrypoint.c -o entrypoint.o
mkdir -p ./rust/target/libgcc_mock
touch ./rust/target/libgcc_mock/libgcc_eh.a
if [ -d ./vendor ]; then \
	echo "=== Using offline vendor directory ==="; \
	mkdir -p /d/temp/2026_08_05_01_50_00_6491/RtmpqUJnWF/R.INSTALL18178671435f/polyglotSQL/src/.cargo && \
	cp rust/vendor-config.toml /d/temp/2026_08_05_01_50_00_6491/RtmpqUJnWF/R.INSTALL18178671435f/polyglotSQL/src/.cargo/config.toml; \
elif [ -f ./rust/vendor.tar.xz ]; then \
	echo "=== Using offline vendor tarball ==="; \
	tar xf rust/vendor.tar.xz && \
	mkdir -p /d/temp/2026_08_05_01_50_00_6491/RtmpqUJnWF/R.INSTALL18178671435f/polyglotSQL/src/.cargo && \
	cp rust/vendor-config.toml /d/temp/2026_08_05_01_50_00_6491/RtmpqUJnWF/R.INSTALL18178671435f/polyglotSQL/src/.cargo/config.toml; \
fi
=== Using offline vendor tarball ===
# Build the project using Cargo with additional flags
export CARGO_HOME=/d/temp/2026_08_05_01_50_00_6491/RtmpqUJnWF/R.INSTALL18178671435f/polyglotSQL/src/.cargo && \
export LIBRARY_PATH=";/d/temp/2026_08_05_01_50_00_6491/RtmpqUJnWF/R.INSTALL18178671435f/polyglotSQL/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.107
   Compiling quote v1.0.47
   Compiling unicode-ident v1.0.24
   Compiling object v0.37.3
   Compiling shlex v2.0.1
   Compiling find-msvc-tools v0.1.9
   Compiling cc v1.3.0
   Compiling memchr v2.8.3
   Compiling syn v2.0.119
   Compiling ar_archive_writer v0.5.2
   Compiling syn v3.0.0
   Compiling serde_core v1.0.229
   Compiling psm v0.1.31
   Compiling zmij v1.0.23
   Compiling extendr-ffi v0.9.0
   Compiling libc v0.2.186
   Compiling stacker v0.1.24
   Compiling thiserror v1.0.69
   Compiling paste v1.0.15
   Compiling serde_json v1.0.150
   Compiling serde v1.0.229
   Compiling windows-link v0.2.1
   Compiling windows-sys v0.61.2
   Compiling serde_derive v1.0.229
   Compiling thiserror-impl v1.0.69
   Compiling extendr-api v0.9.0
   Compiling cfg-if v1.0.4
   Compiling itoa v1.0.18
   Compiling lazy_static v1.5.0
   Compiling extendr-macros v0.9.0
   Compiling readonly v0.2.14
   Compiling polyglot-sql-ast-derive v0.6.2
   Compiling polyglotsql v0.1.0 (D:\temp\2026_08_05_01_50_00_6491\RtmpqUJnWF\R.INSTALL18178671435f\polyglotSQL\src\rust)
   Compiling unicode-segmentation v1.13.3
   Compiling once_cell v1.21.4
   Compiling polyglot-sql v0.6.2
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 -lntdll -luserenv -lws2_32 -ldbghelp

    Finished `release` profile [optimized] target(s) in 33m 01s
# The extendr R wrappers (R/extendr-wrappers.R) are generated at development
# time with rextendr::document() and committed to the package, so they are
# NOT regenerated here. Doing so would require `cargo run` to execute a
# cross-compiled helper binary, which fails on CRAN's Windows cross-build.
# Always clean up CARGOTMP
rm -Rf /d/temp/2026_08_05_01_50_00_6491/RtmpqUJnWF/R.INSTALL18178671435f/polyglotSQL/src/.cargo;
gcc -shared -s -static-libgcc -o polyglotSQL.dll polyglotSQL-win.def entrypoint.o -L./rust/target/x86_64-pc-windows-gnu/release -lpolyglotsql -lws2_32 -ladvapi32 -luserenv -lbcrypt -lntdll -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.6.1/bin/x64 -lR
rm -Rf /d/temp/2026_08_05_01_50_00_6491/RtmpqUJnWF/R.INSTALL18178671435f/polyglotSQL/src/.cargo vendor ./rust/target
make[1]: Leaving directory '/d/temp/2026_08_05_01_50_00_6491/RtmpqUJnWF/R.INSTALL18178671435f/polyglotSQL/src'
make[1]: Entering directory '/d/temp/2026_08_05_01_50_00_6491/RtmpqUJnWF/R.INSTALL18178671435f/polyglotSQL/src'
make[1]: Leaving directory '/d/temp/2026_08_05_01_50_00_6491/RtmpqUJnWF/R.INSTALL18178671435f/polyglotSQL/src'
installing to d:/Rcompile/CRANpkg/lib/4.6/00LOCK-polyglotSQL/00new/polyglotSQL/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** 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 'polyglotSQL' as polyglotSQL_0.1.0.zip
* DONE (polyglotSQL)