* installing *source* package 'astgrepr' ...
** package 'astgrepr' 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)
Building for CRAN.
Writing `src/Makevars.win`.
`tools/config.R` has finished.
** libs
using C compiler: 'gcc.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2025_06_25_01_50_00_12125/RtmpyKb9Hq/R.INSTALLccfc17a02946/astgrepr/src'
gcc  -I"D:/RCompile/recent/R-4.4.3/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
mkdir -p ./rust/target/libgcc_mock
touch ./rust/target/libgcc_mock/libgcc_eh.a
if [ -f ./rust/vendor.tar.xz ]; then \
	tar xf rust/vendor.tar.xz && \
	mkdir -p /d/temp/2025_06_25_01_50_00_12125/RtmpyKb9Hq/R.INSTALLccfc17a02946/astgrepr/src/.cargo && \
	cp rust/vendor-config.toml /d/temp/2025_06_25_01_50_00_12125/RtmpyKb9Hq/R.INSTALLccfc17a02946/astgrepr/src/.cargo/config.toml; \
fi
# Build the project using Cargo with additional flags
export CARGO_HOME=/d/temp/2025_06_25_01_50_00_12125/RtmpyKb9Hq/R.INSTALLccfc17a02946/astgrepr/src/.cargo && \
export LIBRARY_PATH=";/d/temp/2025_06_25_01_50_00_12125/RtmpyKb9Hq/R.INSTALLccfc17a02946/astgrepr/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 unicode-ident v1.0.12
   Compiling proc-macro2 v1.0.92
   Compiling memchr v2.7.2
   Compiling quote v1.0.35
   Compiling syn v2.0.90
   Compiling shlex v1.3.0
   Compiling cc v1.2.24
   Compiling wasm-bindgen-shared v0.2.100
   Compiling aho-corasick v1.1.3
   Compiling regex-syntax v0.8.5
   Compiling tree-sitter v0.24.7
   Compiling log v0.4.21
   Compiling bumpalo v3.17.0
   Compiling regex-automata v0.4.9
   Compiling wasm-bindgen-backend v0.2.100
   Compiling serde v1.0.203
   Compiling rustversion v1.0.21
   Compiling wasm-bindgen-macro-support v0.2.100
   Compiling regex v1.11.1
   Compiling serde_derive v1.0.203
   Compiling wasm-bindgen v0.2.100
   Compiling streaming-iterator v0.1.9
   Compiling once_cell v1.21.3
   Compiling tree-sitter-language v0.1.3
   Compiling build-print v0.1.1
   Compiling extendr-ffi v0.8.0
   Compiling wasm-bindgen-macro v0.2.100
   Compiling serde_json v1.0.140
   Compiling itoa v1.0.11
   Compiling ryu v1.0.17
   Compiling cfg-if v1.0.0
   Compiling thiserror v2.0.9
   Compiling thiserror-impl v2.0.9
   Compiling serde_derive_internals v0.29.1
   Compiling anyhow v1.0.98
   Compiling bit-vec v0.8.0
   Compiling equivalent v1.0.1
   Compiling hashbrown v0.14.3
   Compiling paste v1.0.15
   Compiling schemars v0.8.21
   Compiling indexmap v2.2.6
   Compiling bit-set v0.8.0
   Compiling schemars_derive v0.8.21
   Compiling tree-sitter-facade-sg v0.24.5
   Compiling tree-sitter-r v1.0.1
   Compiling bstr v1.9.1
   Compiling dyn-clone v1.0.17
   Compiling unsafe-libyaml v0.2.11
   Compiling extendr-api v0.8.0
   Compiling globset v0.4.14
   Compiling serde_yaml v0.9.34+deprecated
   Compiling ast-grep-core v0.32.3
   Compiling extendr-macros v0.8.0
   Compiling ast-grep-config v0.32.3
   Compiling astgrepr v0.1.0 (D:\temp\2025_06_25_01_50_00_12125\RtmpyKb9Hq\R.INSTALLccfc17a02946\astgrepr\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 3m 03s
# Always clean up CARGOTMP
rm -Rf /d/temp/2025_06_25_01_50_00_12125/RtmpyKb9Hq/R.INSTALLccfc17a02946/astgrepr/src/.cargo;
gcc -shared -s -static-libgcc -o astgrepr.dll astgrepr-win.def entrypoint.o -L./rust/target/x86_64-pc-windows-gnu/release -lastgrepr -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.3/bin/x64 -lR
rm -Rf /d/temp/2025_06_25_01_50_00_12125/RtmpyKb9Hq/R.INSTALLccfc17a02946/astgrepr/src/.cargo vendor ./rust/target
make[1]: Leaving directory '/d/temp/2025_06_25_01_50_00_12125/RtmpyKb9Hq/R.INSTALLccfc17a02946/astgrepr/src'
make[1]: Entering directory '/d/temp/2025_06_25_01_50_00_12125/RtmpyKb9Hq/R.INSTALLccfc17a02946/astgrepr/src'
make[1]: Leaving directory '/d/temp/2025_06_25_01_50_00_12125/RtmpyKb9Hq/R.INSTALLccfc17a02946/astgrepr/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-astgrepr/00new/astgrepr/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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 'astgrepr' as astgrepr_0.1.1.zip
* DONE (astgrepr)