* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘SQLFormatteR’ ...
** this is package ‘SQLFormatteR’ version ‘0.0.2’
** package ‘SQLFormatteR’ successfully unpacked and MD5 sums checked
** using staged installation
Using cargo 1.90.0 (840b83a10 2025-07-30) (built from a source tarball)
Using rustc 1.90.0 (1159e78c4 2025-09-14) (built from a source tarball)
Building for CRAN.
Writing `src/Makevars`.
`tools/config.R` has finished.
** libs
using C compiler: ‘gcc-14 (Debian 14.3.0-10) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp950nLD/R.INSTALL206e3727c7f418/SQLFormatteR/src'
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-release-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
# Check if NOT_CRAN is false and unzip vendor.tar.xz if so
if [ "" != "true" ]; then \
if [ -f ./rust/vendor.tar.xz ]; then \
tar xf rust/vendor.tar.xz && \
mkdir -p /home/hornik/tmp/scratch/Rtmp950nLD/R.INSTALL206e3727c7f418/SQLFormatteR/src/.cargo && \
cp rust/vendor-config.toml /home/hornik/tmp/scratch/Rtmp950nLD/R.INSTALL206e3727c7f418/SQLFormatteR/src/.cargo/config.toml; \
fi; \
fi
export CARGO_HOME=/home/hornik/tmp/scratch/Rtmp950nLD/R.INSTALL206e3727c7f418/SQLFormatteR/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.94
Compiling build-print v0.1.1
Compiling unicode-ident v1.0.18
Compiling extendr-ffi v0.8.0
Compiling paste v1.0.15
Compiling extendr-api v0.8.0
Compiling quote v1.0.40
Compiling syn v2.0.100
Compiling memchr v2.7.4
Compiling winnow v0.6.26
Compiling once_cell v1.21.3
Compiling unicode_categories v0.1.1
Compiling sqlformat v0.3.5
Compiling extendr-macros v0.8.0
Compiling SQLFormatteR v0.0.1 (/home/hornik/tmp/scratch/Rtmp950nLD/R.INSTALL206e3727c7f418/SQLFormatteR/src/rust)
warning: crate `SQLFormatteR` should have a snake case name
|
= help: convert the identifier to snake case: `sqlformatte_r`
= note: `#[warn(non_snake_case)]` on by default
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/lib.rs:16:22
|
16 | fn to_sql_format(&self) -> FormatOptions {
| ^^^^^ ------------- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
16 | fn to_sql_format(&self) -> FormatOptions<'_> {
| ++++
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
warning: `SQLFormatteR` (lib) generated 2 warnings
Finished `release` profile [optimized] target(s) in 26.24s
# Always clean up CARGOTMP
rm -Rf /home/hornik/tmp/scratch/Rtmp950nLD/R.INSTALL206e3727c7f418/SQLFormatteR/src/.cargo;
gcc-14 -std=gnu23 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o SQLFormatteR.so entrypoint.o -L./rust/target/release -lSQLFormatteR -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
rm -Rf /home/hornik/tmp/scratch/Rtmp950nLD/R.INSTALL206e3727c7f418/SQLFormatteR/src/.cargo /home/hornik/tmp/scratch/Rtmp950nLD/R.INSTALL206e3727c7f418/SQLFormatteR/src/vendor ./rust/target
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp950nLD/R.INSTALL206e3727c7f418/SQLFormatteR/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp950nLD/R.INSTALL206e3727c7f418/SQLFormatteR/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp950nLD/R.INSTALL206e3727c7f418/SQLFormatteR/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-SQLFormatteR/00new/SQLFormatteR/libs
** 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
** 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 (SQLFormatteR)