* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘smoothbp’ ...
** this is package ‘smoothbp’ version ‘0.2.2’
** package ‘smoothbp’ successfully unpacked and MD5 sums checked
** using staged installation
Using cargo 1.94.1 (29ea6fb6a 2026-03-24) (built from a source tarball)
Using rustc 1.94.1 (e408947bf 2026-03-25) (built from a source tarball)
Building for CRAN.
Writing `src/Makevars`.
`tools/config.R` has finished.
** libs
using C compiler: ‘gcc-15 (Debian 15.2.0-17) 15.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpR4FMCw/R.INSTALL336896547296ea/smoothbp/src'
gcc-15 -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/RtmpR4FMCw/R.INSTALL336896547296ea/smoothbp/src/.cargo && \
	printf '[source.crates-io]\nreplace-with = "vendored-sources"\n\n[source.vendored-sources]\ndirectory = "/home/hornik/tmp/scratch/RtmpR4FMCw/R.INSTALL336896547296ea/smoothbp/src/vendor"\n' > /home/hornik/tmp/scratch/RtmpR4FMCw/R.INSTALL336896547296ea/smoothbp/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/RtmpR4FMCw/R.INSTALL336896547296ea/smoothbp/src/.cargo && \
	printf '[source.crates-io]\nreplace-with = "vendored-sources"\n\n[source.vendored-sources]\ndirectory = "/home/hornik/tmp/scratch/RtmpR4FMCw/R.INSTALL336896547296ea/smoothbp/src/vendor"\n' > /home/hornik/tmp/scratch/RtmpR4FMCw/R.INSTALL336896547296ea/smoothbp/src/.cargo/config.toml; \
fi
=== Using offline vendor tarball ===
export CARGO_HOME=/home/hornik/tmp/scratch/RtmpR4FMCw/R.INSTALL336896547296ea/smoothbp/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 autocfg v1.5.0
   Compiling libm v0.2.16
   Compiling proc-macro2 v1.0.106
   Compiling num-traits v0.2.19
   Compiling quote v1.0.45
   Compiling unicode-ident v1.0.24
   Compiling libc v0.2.186
   Compiling paste v1.0.15
   Compiling zerocopy v0.8.48
   Compiling cfg-if v1.0.4
   Compiling bytemuck v1.25.0
   Compiling safe_arch v0.7.4
   Compiling getrandom v0.2.17
   Compiling crossbeam-utils v0.8.21
   Compiling ppv-lite86 v0.2.21
   Compiling rand_core v0.6.4
   Compiling wide v0.7.33
   Compiling num-complex v0.4.6
   Compiling approx v0.5.1
   Compiling syn v2.0.117
   Compiling matrixmultiply v0.3.10
   Compiling syn v1.0.109
   Compiling rand_chacha v0.3.1
   Compiling num-integer v0.1.46
   Compiling rawpointer v0.2.1
   Compiling extendr-ffi v0.9.0
   Compiling num-rational v0.4.2
   Compiling crossbeam-epoch v0.9.18
   Compiling rand v0.8.6
   Compiling typenum v1.20.0
   Compiling rayon-core v1.13.0
   Compiling rand_distr v0.4.3
   Compiling crossbeam-deque v0.8.6
   Compiling simba v0.6.0
   Compiling nalgebra-macros v0.1.0
   Compiling extendr-api v0.9.0
   Compiling lazy_static v1.5.0
   Compiling extendr-macros v0.9.0
   Compiling nalgebra v0.29.0
   Compiling nalgebra-macros v0.2.2
   Compiling readonly v0.2.13
   Compiling simba v0.9.1
   Compiling either v1.15.0
   Compiling once_cell v1.21.4
   Compiling statrs v0.16.1
   Compiling rayon v1.12.0
   Compiling nalgebra v0.33.3
   Compiling smoothbp v0.1.0 (/home/hornik/tmp/scratch/RtmpR4FMCw/R.INSTALL336896547296ea/smoothbp/src/rust)
warning: unused import: `extendr_api::prelude`
 --> src/bridge.rs:6:5
  |
6 | use extendr_api::prelude::*;
  |     ^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: fields `p_b0`, `p_b1`, `p_deltas`, `p_om`, and `p_rho` are never read
  --> src/model.rs:67:9
   |
33 | pub struct Priors {
   |            ------ fields in this struct
...
67 |     pub p_b0: usize,
   |         ^^^^
68 |     pub p_b1: usize,
   |         ^^^^
69 |     pub p_deltas: Vec<usize>,
   |         ^^^^^^^^
70 |     pub p_om: Vec<usize>,
   |         ^^^^
71 |     pub p_rho: Vec<usize>,
   |         ^^^^^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

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: -lc -lm -lrt -lpthread -lR -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc

warning: `smoothbp` (lib) generated 2 warnings
    Finished `release` profile [optimized] target(s) in 4m 05s
# export CARGO_HOME="/home/hornik/tmp/scratch/RtmpR4FMCw/R.INSTALL336896547296ea/smoothbp/src/.cargo" && \
# export PATH="/home/hornik/bin:/usr/local/bin:/usr/bin:/bin:/home/hornik/.cargo/bin" && \
# cargo run -j 2 --offline --release --bin document --manifest-path=./rust/Cargo.toml --target-dir ./rust/target 
# Always clean up CARGOTMP
rm -Rf /home/hornik/tmp/scratch/RtmpR4FMCw/R.INSTALL336896547296ea/smoothbp/src/.cargo;
gcc-15 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o smoothbp.so entrypoint.o -L./rust/target/release -lsmoothbp -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
rm -Rf /home/hornik/tmp/scratch/RtmpR4FMCw/R.INSTALL336896547296ea/smoothbp/src/.cargo /home/hornik/tmp/scratch/RtmpR4FMCw/R.INSTALL336896547296ea/smoothbp/src/vendor ./rust/target
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpR4FMCw/R.INSTALL336896547296ea/smoothbp/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpR4FMCw/R.INSTALL336896547296ea/smoothbp/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpR4FMCw/R.INSTALL336896547296ea/smoothbp/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-smoothbp/00new/smoothbp/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘smoothbp’
    finding HTML links ... done
    as.data.frame.smoothbp_fit              html  
    bayes_factor.smoothbp_fit               html  
    bridge_sampler.smoothbp_fit             html  
    fitted.smoothbp_fit                     html  
    fixed                                   html  
    hypothesis                              html  
    log_lik                                 html  
    pip                                     html  
    plot.smoothbp_fit                       html  
    plot.smoothbp_pip                       html  
    print.smoothbp_fit                      html  
    prior_gamma                             html  
    prior_invgamma                          html  
    prior_normal                            html  
    prior_spike_slab                        html  
    recovery_plot                           html  
    reexports                               html  
    robustify                               html  
    round_df                                html  
    simulate_smoothbp                       html  
    smoothbp                                html  
    smoothbp_priors                         html  
    smoothbp_ss                             html  
    space_omega_priors                      html  
    summary.smoothbp_fit                    html  
    summary.smoothbp_ss_fit                 html  
    tab_smoothbp                            html  
    trace_plot                              html  
    true_params                             html  
    update.smoothbp_fit                     html  
** building package indices
** installing vignettes
** 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 (smoothbp)