* installing *source* package 'chronos' ... ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 12.3.0' rm -Rf chronos.dll ./rust/target/x86_64-pc-windows-gnu/release/libchronos.a entrypoint.o gcc -I"D:/RCompile/recent/R/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 # CARGO_LINKER is provided in Makevars.ucrt for R >= 4.2 if [ "" != "true" ]; then \ export CARGO_HOME=/d/temp/RtmpqIOJvl/R.INSTALL18e84195e3872/chronos/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/RtmpqIOJvl/R.INSTALL18e84195e3872/chronos/src/./rust/target/libgcc_mock" && \ cargo build --target=x86_64-pc-windows-gnu --lib --release --manifest-path=./rust/Cargo.toml --target-dir ./rust/target Updating crates.io index Downloading crates ... Downloaded aho-corasick v1.1.2 Downloaded extendr-api v0.6.0 Downloaded dateparser v0.2.1 Downloaded proc-macro2 v1.0.78 Downloaded num-traits v0.2.18 Downloaded windows-targets v0.52.3 Downloaded unicode-ident v1.0.12 Downloaded autocfg v1.1.0 Downloaded anyhow v1.0.80 Downloaded quote v1.0.35 Downloaded paste v1.0.14 Downloaded regex v1.10.3 Downloaded regex-automata v0.4.5 Downloaded chrono v0.4.34 Downloaded regex-syntax v0.8.2 Downloaded once_cell v1.19.0 Downloaded memchr v2.7.1 Downloaded lazy_static v1.4.0 Downloaded libR-sys v0.6.0 Downloaded syn v2.0.50 Downloaded windows_x86_64_gnu v0.52.3 Downloaded extendr-macros v0.6.0 Compiling proc-macro2 v1.0.78 Compiling windows_x86_64_gnu v0.52.3 Compiling unicode-ident v1.0.12 Compiling autocfg v1.1.0 Compiling memchr v2.7.1 Compiling libR-sys v0.6.0 Compiling paste v1.0.14 Compiling regex-syntax v0.8.2 Compiling anyhow v1.0.80 Compiling extendr-api v0.6.0 Compiling once_cell v1.19.0 Compiling lazy_static v1.4.0 Compiling num-traits v0.2.18 Compiling aho-corasick v1.1.2 Compiling windows-targets v0.52.3 Compiling quote v1.0.35 Compiling syn v2.0.50 Compiling chrono v0.4.34 Compiling regex-automata v0.4.5 Compiling regex v1.10.3 Compiling dateparser v0.2.1 Compiling extendr-macros v0.6.0 Compiling chronos v0.1.0 (D:\temp\RtmpqIOJvl\R.INSTALL18e84195e3872\chronos\src\rust) warning: use of deprecated method `chrono::TimeZone::from_utc_date`: use `from_utc_datetime()` instead --> src\lib.rs:47:45 | 47 | let date_time_utc = Utc.from_utc_date(&date); | ^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead --> src\lib.rs:62:39 | 62 | let date_time = Local.timestamp(epoch_seconds, 0); | ^^^^^^^^^ warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead --> src\lib.rs:75:34 | 75 | let datetime = Local.timestamp(epoch.into(), 0); | ^^^^^^^^^ warning: `chronos` (lib) generated 3 warnings Finished release [optimized] target(s) in 19.95s if [ "" != "true" ]; then \ rm -Rf /d/temp/RtmpqIOJvl/R.INSTALL18e84195e3872/chronos/src/.cargo && \ rm -Rf ./rust/target/x86_64-pc-windows-gnu/release/build; \ fi gcc -shared -s -static-libgcc -o chronos.dll chronos-win.def entrypoint.o -L./rust/target/x86_64-pc-windows-gnu/release -lchronos -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/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-chronos/00new/chronos/libs/x64 ** R ** data *** moving datasets to lazyload DB ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** 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 * DONE (chronos)