* installing *source* package 'rtiktoken' ... ** package 'rtiktoken' 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.3.0' make[1]: Entering directory '/d/temp/2024_11_21_01_50_00_28815/RtmpS0ItHO/R.INSTALLbec45b437393/rtiktoken/src' rm -Rf rtiktoken.dll ./rust/target/x86_64-pc-windows-gnu/release/librtiktoken.a entrypoint.o /d/temp/2024_11_21_01_50_00_28815/RtmpS0ItHO/R.INSTALLbec45b437393/rtiktoken/src/.cargo /d/temp/2024_11_21_01_50_00_28815/RtmpS0ItHO/R.INSTALLbec45b437393/rtiktoken/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/2024_11_21_01_50_00_28815/RtmpS0ItHO/R.INSTALLbec45b437393/rtiktoken/src/.cargo && \ cp rust/vendor-config.toml /d/temp/2024_11_21_01_50_00_28815/RtmpS0ItHO/R.INSTALLbec45b437393/rtiktoken/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/2024_11_21_01_50_00_28815/RtmpS0ItHO/R.INSTALLbec45b437393/rtiktoken/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/2024_11_21_01_50_00_28815/RtmpS0ItHO/R.INSTALLbec45b437393/rtiktoken/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 memchr v2.7.4 Compiling windows_x86_64_gnu v0.52.6 Compiling proc-macro2 v1.0.87 Compiling aho-corasick v1.1.3 Compiling autocfg v1.4.0 Compiling unicode-ident v1.0.13 Compiling regex-syntax v0.8.5 Compiling regex-automata v0.4.8 Compiling lock_api v0.4.12 Compiling parking_lot_core v0.9.10 Compiling libR-sys v0.7.1 Compiling windows-targets v0.52.6 Compiling quote v1.0.37 Compiling scopeguard v1.2.0 Compiling bit-vec v0.6.3 Compiling anyhow v1.0.89 Compiling smallvec v1.13.2 Compiling cfg-if v1.0.0 Compiling paste v1.0.15 Compiling bit-set v0.5.3 Compiling syn v2.0.79 Compiling regex v1.11.0 Compiling extendr-api v0.7.1 Compiling fancy-regex v0.12.0 Compiling extendr-macros v0.7.1 Compiling parking_lot v0.12.3 Compiling bstr v1.10.0 Compiling lazy_static v1.5.0 Compiling rustc-hash v1.1.0 Compiling once_cell v1.20.2 Compiling base64 v0.21.7 Compiling tiktoken-rs v0.5.9 Compiling rtiktoken v0.1.0 (D:\temp\2024_11_21_01_50_00_28815\RtmpS0ItHO\R.INSTALLbec45b437393\rtiktoken\src\rust) Finished `release` profile [optimized] target(s) in 1m 21s cargo 1.81.0 (2dbb1af80 2024-08-20) rustc 1.81.0 (eeb90cda1 2024-09-04) if [ "" != "true" ]; then \ rm -Rf /d/temp/2024_11_21_01_50_00_28815/RtmpS0ItHO/R.INSTALLbec45b437393/rtiktoken/src/.cargo /d/temp/2024_11_21_01_50_00_28815/RtmpS0ItHO/R.INSTALLbec45b437393/rtiktoken/src/vendor ./rust/target/x86_64-pc-windows-gnu/release/build; \ fi gcc -shared -s -static-libgcc -o rtiktoken.dll rtiktoken-win.def entrypoint.o -L./rust/target/x86_64-pc-windows-gnu/release -lrtiktoken -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/2024_11_21_01_50_00_28815/RtmpS0ItHO/R.INSTALLbec45b437393/rtiktoken/src' make[1]: Entering directory '/d/temp/2024_11_21_01_50_00_28815/RtmpS0ItHO/R.INSTALLbec45b437393/rtiktoken/src' make[1]: Leaving directory '/d/temp/2024_11_21_01_50_00_28815/RtmpS0ItHO/R.INSTALLbec45b437393/rtiktoken/src' installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-rtiktoken/00new/rtiktoken/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 'rtiktoken' as rtiktoken_0.0.6.zip * DONE (rtiktoken)