* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘catmodeling’ ...
** this is package ‘catmodeling’ version ‘0.0.1’
** package ‘catmodeling’ 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-15 (Debian 15.3.0-1) 15.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpO6ftwT/R.INSTALL12ecd1748aeaf/catmodeling/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/RtmpO6ftwT/R.INSTALL12ecd1748aeaf/catmodeling/src/.cargo && \
	cp rust/vendor-config.toml /home/hornik/tmp/scratch/RtmpO6ftwT/R.INSTALL12ecd1748aeaf/catmodeling/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/RtmpO6ftwT/R.INSTALL12ecd1748aeaf/catmodeling/src/.cargo && \
	cp rust/vendor-config.toml /home/hornik/tmp/scratch/RtmpO6ftwT/R.INSTALL12ecd1748aeaf/catmodeling/src/.cargo/config.toml; \
fi
=== Using offline vendor tarball ===
export CARGO_HOME=/home/hornik/tmp/scratch/RtmpO6ftwT/R.INSTALL12ecd1748aeaf/catmodeling/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.106
   Compiling unicode-ident v1.0.24
   Compiling quote v1.0.46
   Compiling extendr-ffi v0.9.0
   Compiling paste v1.0.15
   Compiling lazy_static v1.5.0
   Compiling syn v2.0.118
   Compiling extendr-api v0.9.0
   Compiling once_cell v1.21.4
   Compiling extendr-macros v0.9.0
   Compiling readonly v0.2.13
   Compiling catmodeling v0.1.0 (/home/hornik/tmp/scratch/RtmpO6ftwT/R.INSTALL12ecd1748aeaf/catmodeling/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 24.44s
export CARGO_HOME=/home/hornik/tmp/scratch/RtmpO6ftwT/R.INSTALL12ecd1748aeaf/catmodeling/src/.cargo && \
export PATH="/home/hornik/bin:/usr/local/bin:/usr/bin:/bin:/home/hornik/.cargo/bin" && \
cargo run -j 2 --offline --bin document --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.46
   Compiling extendr-ffi v0.9.0
   Compiling paste v1.0.15
   Compiling syn v2.0.118
   Compiling lazy_static v1.5.0
   Compiling extendr-api v0.9.0
   Compiling once_cell v1.21.4
   Compiling extendr-macros v0.9.0
   Compiling readonly v0.2.13
   Compiling catmodeling v0.1.0 (/home/hornik/tmp/scratch/RtmpO6ftwT/R.INSTALL12ecd1748aeaf/catmodeling/src/rust)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.24s
     Running `rust/target/debug/document`
# Always clean up CARGOTMP
rm -Rf /home/hornik/tmp/scratch/RtmpO6ftwT/R.INSTALL12ecd1748aeaf/catmodeling/src/.cargo;
gcc-15 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o catmodeling.so entrypoint.o -L./rust/target/release -lcatmodeling -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
rm -Rf /home/hornik/tmp/scratch/RtmpO6ftwT/R.INSTALL12ecd1748aeaf/catmodeling/src/.cargo /home/hornik/tmp/scratch/RtmpO6ftwT/R.INSTALL12ecd1748aeaf/catmodeling/src/vendor ./rust/target
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpO6ftwT/R.INSTALL12ecd1748aeaf/catmodeling/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpO6ftwT/R.INSTALL12ecd1748aeaf/catmodeling/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpO6ftwT/R.INSTALL12ecd1748aeaf/catmodeling/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-catmodeling/00new/catmodeling/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘catmodeling’
    finding HTML links ... done
    addvectors                              html  
    bootstrap_ep_uncertainty                html  
    calc_beta_params                        html  
    catxl                                   html  
    compare_distance_routines               html  
    defineregion                            html  
    elt_add_nahu_cat                        html  
    elt_collapse_regions                    html  
    elt_diagnostics_aaeaal                  html  
    elt_diagnostics_aaeaal_by_cat           html  
    elt_diagnostics_aaeaal_with_adj         html  
    elt_diagnostics_epcurves                html  
    elt_diagnostics_epcurves_with_adj       html  
    elt_rate_adjustments_cat_2_event        html  
    elt_rate_adjustments_regcat_2_event     html  
    filetest                                html  
    hours_clause                            html  
    hours_clause_apply_part2                html  
    hours_clause_wrapper_ylt                html  
    hours_clause_write_settings             html  
    imports                                 html  
    input_checks                            html  
    make_2_ep_by_sorting                    html  
    make_elt                                html  
    make_ep_by_sorting                      html  
    make_ylt                                html  
    nahu_define_gmst_scenarios              html  
    nahu_define_k2020_zenodo_landfall_adj   html  
    nahu_k2020_rates_interpolation          html  
    nahu_write_settings                     html  
    nahu_ylt_surgery                        html  
    rust_dist_haversine                     html  
    rust_hello_world                        html  
    rust_hours_clause_apply_part2           html  
    rust_square                             html  
    stopi                                   html  
    template                                html  
    whatreg                                 html  
    writeNresults2csv                       html  
    ws2catf                                 html  
    ylt_add_cat_2_longylt                   html  
    ylt_add_region_2_longylt                html  
    ylt_check_for_2_events_on_same_day      html  
    ylt_check_for_same_events_in_one_year   html  
    ylt_diagnostics_aaeaal                  html  
    ylt_diagnostics_aaeaal_by_cat_change_printf
                                            html  
    ylt_diagnostics_aaeaal_by_cat_printf    html  
    ylt_diagnostics_aaeaal_by_catf          html  
    ylt_diagnostics_aaeaal_change_printf    html  
    ylt_diagnostics_aaeaal_printf           html  
    ylt_diagnostics_loss_thresholds         html  
    ylt_diagnostics_nchanges                html  
    ylt_long2short                          html  
    ylt_rate_adjustments_cat_2_row          html  
    ylt_rate_adjustments_catreg_2_row       html  
    ylt_write2results2csv                   html  
    yltsim                                  html  
    yltsim_inc                              html  
    yltsurgery                              html  
    yltsurgery_groups                       html  
** 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 (catmodeling)