* installing *source* package 'rtiktoken' ... ** this is package 'rtiktoken' version '0.11.0.1' ** 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' gcc -I"D:/RCompile/recent/R/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_04_24_09_35_17_3526/Rtmp0C58X9/R.INSTALL103301f9051ef/rtiktoken/src/.cargo && \ cp rust/vendor-config.toml /d/temp/2026_04_24_09_35_17_3526/Rtmp0C58X9/R.INSTALL103301f9051ef/rtiktoken/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_04_24_09_35_17_3526/Rtmp0C58X9/R.INSTALL103301f9051ef/rtiktoken/src/.cargo && \ cp rust/vendor-config.toml /d/temp/2026_04_24_09_35_17_3526/Rtmp0C58X9/R.INSTALL103301f9051ef/rtiktoken/src/.cargo/config.toml; \ fi === Using offline vendor tarball === # Build the project using Cargo with additional flags export CARGO_HOME=/d/temp/2026_04_24_09_35_17_3526/Rtmp0C58X9/R.INSTALL103301f9051ef/rtiktoken/src/.cargo && \ export LIBRARY_PATH=";/d/temp/2026_04_24_09_35_17_3526/Rtmp0C58X9/R.INSTALL103301f9051ef/rtiktoken/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.106 Compiling unicode-ident v1.0.24 Compiling memchr v2.8.0 Compiling quote v1.0.45 Compiling aho-corasick v1.1.4 Compiling regex-syntax v0.8.10 Compiling regex-automata v0.4.14 Compiling extendr-ffi v0.9.0 Compiling syn v2.0.117 Compiling bit-vec v0.8.0 Compiling paste v1.0.15 Compiling anyhow v1.0.102 Compiling bit-set v0.8.0 Compiling lazy_static v1.5.0 Compiling extendr-api v0.9.0 Compiling extendr-macros v0.9.0 Compiling fancy-regex v0.17.0 Compiling readonly v0.2.13 Compiling regex v1.12.3 Compiling bstr v1.12.1 Compiling base64 v0.22.1 Compiling once_cell v1.21.4 Compiling rustc-hash v1.1.0 Compiling tiktoken-rs v0.11.0 Compiling rtiktoken v0.1.0 (D:\temp\2026_04_24_09_35_17_3526\Rtmp0C58X9\R.INSTALL103301f9051ef\rtiktoken\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 -lntdll -luserenv -lws2_32 -ldbghelp Finished `release` profile [optimized] target(s) in 43.28s # Generate wrappers export CARGO_HOME=/d/temp/2026_04_24_09_35_17_3526/Rtmp0C58X9/R.INSTALL103301f9051ef/rtiktoken/src/.cargo && \ export PATH="/usr/bin:/x86_64-w64-mingw32.static.posix/bin:/d/RCompile/recent/R/bin/x64:/usr/bin:/x86_64-w64-mingw32.static.posix/bin:/usr/bin:/x86_64-w64-mingw32.static.posix/bin:/usr/bin:/x86_64-w64-mingw32.static.posix/bin:.:/usr/bin:/x86_64-w64-mingw32.static.posix/bin:/c/Program Files/MiKTeX/miktex/bin/x64:/c/Program Files/gs/gs/bin:/d/compiler/qpdf/bin:/d/RCompile/CRANpkg/extralibs/localsolver_4_0/bin:/d/RCompile/CRANpkg/extralibs/MARK:/c/Program Files/7-Zip:/d/Compiler/gretl:/c/Program Files/Quarto/bin:/d/compiler/Ruby/bin:/c/Program Files/Microsoft MPI/Bin:/c/Program Files/Python/Scripts:/c/Program Files/Python:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Windows/System32/OpenSSH:/c/Program Files/PuTTY:/c/Program Files (x86)/WinSCP:/c/Program Files/Pandoc:/c/Program Files/MiKTeX/miktex/bin/x64:/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit:/c/Program Files/gs/gs/bin:/c/Program Files/jdk-11.0.18.10-hotspot/bin:/d/compiler/perl/c/bin:/d/compiler/perl/perl/site/bin:/d/compiler/perl/perl/bin:/d/temp/2026_04_23_01_50_00_23431/RtmpATa3ne/rapp-bin-frontmatter64987b7d2d62:/d/temp/2026_04_22_01_50_00_3429/RtmpMjWlzg/rapp-bin-frontmatter460c4eb15937:/d/temp/2026_04_21_01_50_00_16195/RtmpEFl0J4/rapp-bin-frontmatter6e5c484337d0:/d/temp/2026_04_20_01_50_00_28961/Rtmp86lEEs/rapp-bin-frontmatter58641a2735d0:/d/temp/2026_04_19_01_50_00_8958/Rtmp2NNGpw/rapp-bin-frontmatterea747bcd2712:/d/temp/2026_04_17_01_50_00_1722/RtmpIF1437/rapp-bin-frontmatter2b083c991658:/d/temp/2026_04_16_01_50_00_14488/RtmpioWEjm/rapp-bin-frontmatterb78c667d73ff:/d/temp/2026_04_15_01_50_00_27254/Rtmpmo3YYX/rapp-bin-frontmatter149bc18ece1c:/d/temp/2026_04_14_01_50_00_7252/Rtmpoh9uu9/rapp-bin-frontmatterfef421bda22:/d/temp/2026_04_13_01_50_00_20018/Rtmps73aR7/rapp-bin-frontmatter7908b75bc8:/d/temp/2026_04_10_01_50_00_25548/Rtmpe48sFh/rapp-bin-frontmatter16c0478e820af:/d/temp/2026_04_08_01_50_00_18312/RtmpwxcQIY/rapp-bin-frontmatter12cc077866b35:/d/temp/2026_04_06_01_50_00_11076/RtmpqwvPuQ/rapp-bin-frontmatter10fb0905b1b:/d/temp/2026_04_03_01_50_00_16606/RtmpuiMElz/rapp-bin-frontmatter32fc55f755b2:/d/temp/2026_04_01_01_50_00_9370/Rtmpm8g84l/rapp-bin-frontmatter39ec53b93274:/d/temp/2026_03_31_01_50_00_22136/RtmpOCQ3F6/rapp-bin-frontmatter605043e26cc7:/d/temp/2026_03_30_01_50_00_2134/Rtmp0s5R6H/rapp-bin-frontmatterc5dc30734a35:/d/temp/2026_03_28_18_56_34_11186/RtmpasVNPh/rapp-bin-frontmatterb65024635ddb:/d/temp/2026_03_27_01_50_00_19420/Rtmpmu4EPf/rapp-bin-frontmatter6bd84937324:/d/temp/2026_03_26_01_50_00_32185/Rtmp84DkuC/rapp-bin-frontmatter49cf03eaf57d2:/d/temp/2026_03_22_01_50_00_17713/Rtmpiaj7in/rapp-bin-frontmatter395b447cd160a:/d/temp/2026_03_21_01_50_00_30479/RtmpiYiiwp/rapp-bin-frontmatterf2c444fd557:/d/temp/2026_03_19_01_50_00_23243/Rtmpcf4wf4/rapp-bin-frontmatter623857a71165:/d/temp/2026_03_18_01_50_00_3241/RtmpGMnaoT/rapp-bin-frontmatter9e885f8c6aff:/d/temp/2026_03_17_01_50_00_16007/Rtmp6vEWj9/rapp-bin-frontmatter10c7851b45efb:/d/temp/2026_03_12_01_50_00_14301/Rtmp4k0qC2/rapp-bin-frontmatter12af42caa39ad:/d/temp/2026_03_11_01_50_00_27067/RtmpCSH8yA/rapp-bin-frontmatter5ba861da7623:/d/temp/2026_03_10_01_50_00_7065/RtmpacSSGV/rapp-bin-frontmatter141ac2f61ef5:/d/temp/2026_03_07_01_50_00_12595/RtmpKE32yA/rapp-bin-frontmatter595450b914ad:/d/temp/2026_03_06_11_10_10_4045/RtmpSO1v06/rapp-bin-frontmatter14e887c723a27:/d/temp/2026_03_04_01_50_00_18124/RtmpSWpArh/rapp-bin-frontmatter4ca890f64de:/d/temp/2026_03_03_01_50_00_30890/RtmpwxuWlJ/rapp-bin-frontmatter9408ba240ec:/d/temp/2026_02_28_01_50_00_3652/RtmpYjQY9o/rapp-bin-frontmatter115883fc447ed:/d/temp/2026_02_27_01_50_00_16418/RtmpuMmGre/rapp-bin-frontmatter6b48382d7f7d:/d/temp/2026_02_26_01_50_00_29184/RtmpgJB4c6/rapp-bin-frontmatter9bcc11056a59:/d/temp/2026_02_25_01_50_00_9182/RtmpIDmxde/rapp-bin-frontmatter131d055f1392c:/d/temp/2026_02_24_01_50_00_21948/RtmpUbxJA5/rapp-bin-frontmatter65706e2e307e:/d/temp/2026_02_22_01_50_00_14712/RtmpQLlJOX/rapp-bin-frontmatterf6141119178c:/d/temp/2026_02_19_01_50_00_20242/RtmpSOyWCT/rapp-bin-frontmatter9edc5f7f20b:/d/temp/2026_02_18_01_50_00_240/RtmpWydmTO/rapp-bin-frontmatter7a7c3c467c80:/d/temp/2026_02_17_01_50_00_13006/RtmpU99RVT/rapp-bin-frontmatter82a033a179b8:/d/temp/2026_02_15_01_50_00_5770/RtmpOeJL05/rapp-bin-frontmattereca4176b4279:/d/temp/2026_02_14_01_50_00_18536/RtmpmcKYbq/rapp-bin-frontmattercfd8719525fb:/d/temp/2026_02_13_01_50_00_31302/RtmpIjJSBO/rapp-bin-frontmatter113ecdd36b8f:/d/temp/2026_02_12_01_50_00_11300/RtmpS8x8EH/rapp-bin-frontmatter3c7037f568c8:/d/temp/2026_02_07_01_50_00_9593/RtmpKOiClo/rapp-bin-frontmatter113c4695e4c7f:/d/temp/2026_02_06_01_50_00_22359/Rtmp4aXasq/rapp-bin-frontmatterd35c3a8d7a6b:/d/temp/2026_02_05_01_50_00_2357/RtmpoLit94/rapp-bin-frontmatter14e5ce71467d:/d/temp/2026_02_01_01_50_00_20653/RtmpeMXMbD/rapp-bin-frontmatterba3c3ed76664:/d/temp/2026_01_31_01_50_00_651/RtmpoBwM57/rapp-bin-frontmatter173f077057b1:/d/temp/2026_01_27_01_50_00_18947/RtmpgfT7ws/rapp-bin-frontmattere1f873f05c6:/d/temp/2026_01_26_01_50_00_31713/RtmpgB10JV/rapp-bin-frontmatterf6d4248e6fdb:/d/temp/2026_01_24_01_50_00_24477/Rtmpqo0eFt/rapp-bin-frontmatter67b475bf3afd:/d/temp/2026_01:/c/Users/CRAN/Documents/temurin25/jdk-25.0.2+10/bin:/c/Program Files/Julia/bin:/c/Users/CRAN/.cargo/bin:/d/compiler/LDC/bin:/d/RCompile/recent/R/bin/x64/:/c/Users/CRAN/Documents/.cargo/bin" && \ cargo run -j 2 --offline --bin document --target x86_64-pc-windows-gnu --manifest-path=./rust/Cargo.toml --target-dir ./rust/target Compiling proc-macro2 v1.0.106 Compiling unicode-ident v1.0.24 Compiling quote v1.0.45 Compiling memchr v2.8.0 error: failed to run custom build command for `proc-macro2 v1.0.106` Caused by: could not execute process `d:\temp\2026_04_24_09_35_17_3526\Rtmp0C58X9\R.INSTALL103301f9051ef\rtiktoken\src\./rust/target\debug\build\proc-macro2-eb45469bc79b100e\build-script-build` (never executed) Caused by: %1 ist keine zulässige Win32-Anwendung. (os error 193) warning: build failed, waiting for other jobs to finish... make: *** [Makevars.win:24: rust/target/x86_64-pc-windows-gnu/release/librtiktoken.a] Error 101 ERROR: compilation failed for package 'rtiktoken' * removing 'd:/RCompile/CRANincoming/R-devel/lib/rtiktoken' * restoring previous 'd:/RCompile/CRANincoming/R-devel/lib/rtiktoken'