* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘awdb’ ...
** this is package ‘awdb’ version ‘0.1.4’
** package ‘awdb’ successfully unpacked and MD5 sums checked
** using staged installation
Using cargo 1.95.0 (f2d3ce0bd 2026-03-21) (built from a source tarball)
Using rustc 1.95.0 (59807616e 2026-04-14) (built from a source tarball)
Building for CRAN.
Writing `src/Makevars`.
`tools/config.R` has finished.
** libs
using C compiler: ‘gcc-16 (Debian 16.2.0-1) 16.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp0fGL1M/R.INSTALL144a9b34ac458f/awdb/src'
gcc-16 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c entrypoint.c -o entrypoint.o
if [ -d ./vendor ]; then \
	echo "=== Using offline vendor directory ==="; \
	mkdir -p "/home/hornik/tmp/scratch/Rtmp0fGL1M/R.INSTALL144a9b34ac458f/awdb/src/.cargo" && \
	cp rust/vendor-config.toml "/home/hornik/tmp/scratch/Rtmp0fGL1M/R.INSTALL144a9b34ac458f/awdb/src/.cargo/config.toml"; \
elif [ -f ./rust/vendor.tar.xz ]; then \
	echo "=== Using offline vendor tarball ==="; \
	tar xf rust/vendor.tar.xz && \
	mkdir -p "/home/hornik/tmp/scratch/Rtmp0fGL1M/R.INSTALL144a9b34ac458f/awdb/src/.cargo" && \
	cp rust/vendor-config.toml "/home/hornik/tmp/scratch/Rtmp0fGL1M/R.INSTALL144a9b34ac458f/awdb/src/.cargo/config.toml"; \
fi
=== Using offline vendor tarball ===
export CARGO_HOME="/home/hornik/tmp/scratch/Rtmp0fGL1M/R.INSTALL144a9b34ac458f/awdb/src/.cargo" && \
export PATH="/home/hornik/bin:/usr/local/bin:/usr/bin:/bin:/home/hornik/.cargo/bin" && \
RUSTFLAGS=" --print=native-static-libs" cargo build -j 2 --offline --lib --release --manifest-path=./rust/Cargo.toml --target-dir="./rust/target" 
   Compiling proc-macro2 v1.0.107
   Compiling unicode-ident v1.0.24
   Compiling quote v1.0.47
   Compiling crossbeam-utils v0.8.22
   Compiling crossbeam-epoch v0.9.20
   Compiling serde_core v1.0.229
   Compiling syn v3.0.3
   Compiling extendr-ffi v0.9.0 (https://github.com/extendr/extendr#74afddcb)
   Compiling crossbeam-deque v0.8.7
   Compiling rayon-core v1.13.0
   Compiling zmij v1.0.23
   Compiling serde v1.0.229
   Compiling paste v1.0.15
   Compiling serde_derive v1.0.229
   Compiling syn v2.0.119
   Compiling serde_json v1.0.151
   Compiling extendr-api v0.9.0 (https://github.com/extendr/extendr#74afddcb)
   Compiling lazy_static v1.5.0
   Compiling extendr-macros v0.9.0 (https://github.com/extendr/extendr#74afddcb)
   Compiling readonly v0.2.14
   Compiling itoa v1.0.18
   Compiling once_cell v1.21.4
   Compiling memchr v2.8.3
   Compiling either v1.18.0
   Compiling rayon v1.12.0
   Compiling awdb v0.1.0 (/home/hornik/tmp/scratch/Rtmp0fGL1M/R.INSTALL144a9b34ac458f/awdb/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 -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc

    Finished `release` profile [optimized] target(s) in 1m 00s
gcc-16 -o rust/document rust/document.c -L./rust/target/release -lawdb -L"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib" -lR
./rust/document awdb ../R/extendr-wrappers.R
rm -f rust/document
# Always clean up CARGOTMP
rm -Rf "/home/hornik/tmp/scratch/Rtmp0fGL1M/R.INSTALL144a9b34ac458f/awdb/src/.cargo";
gcc-16 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o awdb.so entrypoint.o -L./rust/target/release -lawdb -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
rm -Rf "/home/hornik/tmp/scratch/Rtmp0fGL1M/R.INSTALL144a9b34ac458f/awdb/src/.cargo" "/home/hornik/tmp/scratch/Rtmp0fGL1M/R.INSTALL144a9b34ac458f/awdb/src/vendor" ./rust/target
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp0fGL1M/R.INSTALL144a9b34ac458f/awdb/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp0fGL1M/R.INSTALL144a9b34ac458f/awdb/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp0fGL1M/R.INSTALL144a9b34ac458f/awdb/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-awdb/00new/awdb/libs
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘awdb’
    finding HTML links ... done
    awdb                                    html  
    awdb_options                            html  
    datasets                                html  
    get_elements                            html  
    get_forecasts                           html  
    get_references                          html  
    get_stations                            html  
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (awdb)