* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘fieldopt’ ...
** this is package ‘fieldopt’ version ‘0.1.0’
** package ‘fieldopt’ successfully unpacked and MD5 sums checked
** using staged installation
Using cargo 1.97.1 (c980f4866 2026-06-30) (built from a source tarball)
Using rustc 1.97.1 (8bab26f4f 2026-07-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-3) 16.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmplFngsn/R.INSTALL16fde276cc5062/fieldopt/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/RtmplFngsn/R.INSTALL16fde276cc5062/fieldopt/src/.cargo && \
	cp rust/vendor-config.toml /home/hornik/tmp/scratch/RtmplFngsn/R.INSTALL16fde276cc5062/fieldopt/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/RtmplFngsn/R.INSTALL16fde276cc5062/fieldopt/src/.cargo && \
	cp rust/vendor-config.toml /home/hornik/tmp/scratch/RtmplFngsn/R.INSTALL16fde276cc5062/fieldopt/src/.cargo/config.toml; \
fi
=== Using offline vendor tarball ===
export CARGO_HOME=/home/hornik/tmp/scratch/RtmplFngsn/R.INSTALL16fde276cc5062/fieldopt/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.26
   Compiling quote v1.0.47
   Compiling extendr-ffi v0.9.0
   Compiling paste v1.0.15
   Compiling syn v2.0.119
   Compiling syn v3.0.6
   Compiling lazy_static v1.5.1
   Compiling extendr-api v0.9.0
   Compiling readonly v0.2.14
   Compiling once_cell v1.21.4
   Compiling fieldopt-core v0.10.0
   Compiling extendr-macros v0.9.0
   Compiling fieldopt v0.1.0 (/home/hornik/tmp/scratch/RtmplFngsn/R.INSTALL16fde276cc5062/fieldopt/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 30.93s
# Always clean up CARGOTMP
rm -Rf /home/hornik/tmp/scratch/RtmplFngsn/R.INSTALL16fde276cc5062/fieldopt/src/.cargo;
gcc-16 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o fieldopt.so entrypoint.o -L./rust/target/release -lfieldopt -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
rm -Rf /home/hornik/tmp/scratch/RtmplFngsn/R.INSTALL16fde276cc5062/fieldopt/src/.cargo /home/hornik/tmp/scratch/RtmplFngsn/R.INSTALL16fde276cc5062/fieldopt/src/vendor ./rust/target
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmplFngsn/R.INSTALL16fde276cc5062/fieldopt/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmplFngsn/R.INSTALL16fde276cc5062/fieldopt/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmplFngsn/R.INSTALL16fde276cc5062/fieldopt/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-fieldopt/00new/fieldopt/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘fieldopt’
    finding HTML links ... done
    allocation-methods                      html  
    as_frame                                html  
    as_sf                                   html  
    as_svydesign                            html  
    autoplot.fieldopt_frontier              html  
    autoplot.fieldopt_routes                html  
    autoplot.fieldopt_sample                html  
    autoplot.fieldopt_schedule              html  
    core_version                            html  
    cost_variance_frontier                  html  
    design_variance                         html  
    dual_frame_allocation                   html  
    dual_frame_design                       html  
    dual_frame_estimator                    html  
    expected_hits                           html  
    field_cost_model                        html  
    fieldopt-package                        html  
    frame_allocation                        html  
    frame_overlap                           html  
    multivariate_allocation                 html  
    point_design_effect                     html  
    point_estimator                         html  
    ratio_estimator                         html  
    read_areaframe                          html  
    reexports                               html  
    route_fieldwork                         html  
    routed_cost_curve                       html  
    routed_unit_cost                        html  
    routes-methods                          html  
    sampled                                 html  
    schedule_calendar                       html  
    schedule_fieldwork                      html  
    segment_estimator                       html  
    select_points                           html  
    select_units                            html  
    spatial_balance                         html  
    travel_matrix                           html  
    two_stage_allocation                    html  
    two_stage_design                        html  
*** copying figures
** 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 (fieldopt)