* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘manifoldsR’ ...
** this is package ‘manifoldsR’ version ‘0.5.0’
** package ‘manifoldsR’ successfully unpacked and MD5 sums checked
** using staged installation
Using cargo 1.98.1 (797e8a9bc 2026-08-05) (built from a source tarball)
Using rustc 1.98.1 (48a229cea 2026-09-01) (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-4) 16.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpR4qe3R/R.INSTALL18cb2a60cb4988/manifoldsR/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/RtmpR4qe3R/R.INSTALL18cb2a60cb4988/manifoldsR/src/.cargo && \
	cp rust/vendor-config.toml /home/hornik/tmp/scratch/RtmpR4qe3R/R.INSTALL18cb2a60cb4988/manifoldsR/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/RtmpR4qe3R/R.INSTALL18cb2a60cb4988/manifoldsR/src/.cargo && \
	cp rust/vendor-config.toml /home/hornik/tmp/scratch/RtmpR4qe3R/R.INSTALL18cb2a60cb4988/manifoldsR/src/.cargo/config.toml; \
fi
=== Using offline vendor tarball ===
export CARGO_HOME=/home/hornik/tmp/scratch/RtmpR4qe3R/R.INSTALL18cb2a60cb4988/manifoldsR/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 libc v0.2.190
   Compiling autocfg v1.5.1
   Compiling cfg-if v1.0.5
   Compiling libm v0.2.16
   Compiling num-traits v0.2.19
   Compiling zerocopy v0.8.60
   Compiling bytemuck v1.25.2
   Compiling getrandom v0.2.17
   Compiling rand_core v0.6.4
   Compiling proc-macro2 v1.0.107
   Compiling quote v1.0.47
   Compiling unicode-ident v1.0.26
   Compiling ppv-lite86 v0.2.21
   Compiling crossbeam-utils v0.8.23
   Compiling rand_chacha v0.3.1
   Compiling rand v0.8.8
   Compiling paste v1.0.15
   Compiling crossbeam-epoch v0.9.21
   Compiling crossbeam-deque v0.8.8
   Compiling num-complex v0.4.6
   Compiling syn v2.0.119
   Compiling nano-gemm-codegen v0.2.1
   Compiling rayon-core v1.13.0
   Compiling bitflags v2.13.2
   Compiling reborrow v0.5.5
   Compiling version_check v0.9.5
   Compiling pulp v0.22.3
   Compiling raw-cpuid v11.6.0
   Compiling num-integer v0.1.47
   Compiling either v1.19.0
   Compiling rayon v1.12.0
   Compiling pulp-wasm-simd-flag v0.1.1
   Compiling dyn-stack-macros v0.1.3
   Compiling dyn-stack v0.13.2
   Compiling once_cell v1.21.4
   Compiling seq-macro v0.3.6
   Compiling getrandom v0.3.4
   Compiling syn v1.0.109
   Compiling ucd-trie v0.1.7
   Compiling memchr v2.8.3
   Compiling gemm-common v0.19.0
   Compiling pest v2.9.2
   Compiling nano-gemm-core v0.2.1
   Compiling pest_meta v2.9.2
   Compiling pest_generator v2.9.2
   Compiling rand_core v0.9.5
   Compiling interpol v0.2.1
   Compiling equator-macro v0.4.2
   Compiling nano-gemm-c32 v0.2.1
   Compiling nano-gemm-c64 v0.2.1
   Compiling nano-gemm-f64 v0.2.1
   Compiling nano-gemm-f32 v0.2.1
   Compiling crossbeam-queue v0.3.14
   Compiling crossbeam-channel v0.5.17
   Compiling syn v3.0.6
   Compiling defer v0.2.1
   Compiling private-gemm-x86 v0.1.22
   Compiling crossbeam v0.8.5
   Compiling equator v0.4.2
   Compiling rand_chacha v0.9.0
   Compiling pest_derive v2.9.2
   Compiling num-bigint v0.4.8
   Compiling equator-macro v0.2.1
   Compiling atomic-wait v1.1.0
   Compiling ann-search-rs v0.11.0
   Compiling spindle v0.2.6
   Compiling equator v0.2.2
   Compiling py_literal v0.4.0
   Compiling rand v0.9.5
   Compiling gemm-f32 v0.19.0
   Compiling gemm-c64 v0.19.0
   Compiling gemm-c32 v0.19.0
   Compiling gemm-f64 v0.19.0
   Compiling qd v0.8.0
   Compiling approx v0.5.1
   Compiling num_cpus v1.17.0
   Compiling generativity v1.2.1
   Compiling byteorder v1.5.0
   Compiling equator-macro v0.6.0
   Compiling thiserror v2.0.21
   Compiling equator v0.6.0
   Compiling npyz v0.8.4
   Compiling faer-traits v0.24.0
   Compiling gemm v0.19.0
   Compiling nano-gemm v0.2.2
   Compiling rand_distr v0.5.1
   Compiling thiserror-impl v2.0.21
   Compiling safe_arch v1.2.0
   Compiling safe_arch v0.7.4
   Compiling matrixmultiply v0.3.11
   Compiling litrs v1.0.0
   Compiling partition v0.1.2
   Compiling arbitrary-chunks v0.4.1
   Compiling rdst v0.20.14
   Compiling document-features v0.2.12
   Compiling wide v0.7.33
   Compiling wide v1.7.1
   Compiling faer v0.24.4
   Compiling thousands v0.2.0
   Compiling rawpointer v0.2.1
   Compiling rustc-hash v2.1.3
   Compiling fixedbitset v0.5.7
   Compiling simba v0.9.1
   Compiling num-rational v0.4.2
   Compiling rand_distr v0.4.3
   Compiling typenum v1.20.1
   Compiling nalgebra v0.33.3
   Compiling pulp v0.18.22
   Compiling extendr-ffi v0.9.0
   Compiling coe-rs v0.1.2
   Compiling faer-entity v0.20.1
   Compiling statrs v0.18.0
   Compiling strength_reduce v0.2.4
   Compiling getrandom v0.4.3
   Compiling rand_core v0.10.1
   Compiling transpose v0.2.3
   Compiling primal-check v0.3.4
   Compiling extendr-api v0.9.0
   Compiling cpufeatures v0.3.1
   Compiling lazy_static v1.5.1
   Compiling extendr-macros v0.9.0
   Compiling chacha20 v0.10.2
   Compiling rustfft v6.4.1
   Compiling readonly v0.2.14
   Compiling manifolds-rs v0.7.2
   Compiling evoc-rs v0.5.0
   Compiling rand v0.10.3
   Compiling realfft v3.5.0
   Compiling bixverse-core v0.8.0
   Compiling bixverse-methods v0.8.0
   Compiling bixverse-rs v0.8.0
   Compiling bixverse-r v0.8.0
   Compiling manifoldsr v0.5.0 (/home/hornik/tmp/scratch/RtmpR4qe3R/R.INSTALL18cb2a60cb4988/manifoldsR/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 10m 08s
# --release matters here. config.R pins it to --release, and without it
# cargo builds the document bin into target/debug, recompiling the lib and
# every transitive dependency a second time just to emit the wrappers.
#
# RUSTFLAGS and the dev profile overrides have to match the build above for
# the same reason. Both invocations share one target dir, and cargo keys its
# fingerprint on RUSTFLAGS, so a flag set on one and not the other rebuilds
# the whole dependency tree just to emit the wrappers.
# Only under roxygen (ROXYGEN_PKG set). The wrappers ship in R/, and on
# win-builder linking the bin overran MAX_PATH and failed the install.
if [ -n "$ROXYGEN_PKG" ]; then \
	export CARGO_HOME=/home/hornik/tmp/scratch/RtmpR4qe3R/R.INSTALL18cb2a60cb4988/manifoldsR/src/.cargo && \
	export PATH="/home/hornik/bin:/usr/local/bin:/usr/bin:/bin:/home/hornik/.cargo/bin" && \
	RUSTFLAGS=" --print=native-static-libs" cargo run -j 2 --offline --release --bin document --manifest-path=./rust/Cargo.toml --target-dir ./rust/target ; \
fi
# Always clean up CARGOTMP
rm -Rf /home/hornik/tmp/scratch/RtmpR4qe3R/R.INSTALL18cb2a60cb4988/manifoldsR/src/.cargo;
gcc-16 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o manifoldsR.so entrypoint.o -L./rust/target/release -lmanifoldsR -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
rm -Rf /home/hornik/tmp/scratch/RtmpR4qe3R/R.INSTALL18cb2a60cb4988/manifoldsR/src/.cargo /home/hornik/tmp/scratch/RtmpR4qe3R/R.INSTALL18cb2a60cb4988/manifoldsR/src/vendor ./rust/target
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpR4qe3R/R.INSTALL18cb2a60cb4988/manifoldsR/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpR4qe3R/R.INSTALL18cb2a60cb4988/manifoldsR/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpR4qe3R/R.INSTALL18cb2a60cb4988/manifoldsR/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-manifoldsR/00new/manifoldsR/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘manifoldsR’
    finding HTML links ... done
    apply_choice_rules                      html  
    apply_qtest_rules                       html  
    assertCellTrajectories                  html  
    assertClustersParams                    html  
    assertDensParams                        html  
    assertDiffusionMapsParams               html  
    assertDreamsParams                      html  
    assertEvocParams                        html  
    assertFa2Params                         html  
    assertHierarchicalParams                html  
    assertKmeansParams                      html  
    assertNnParams                          html  
    assertPacmapParams                      html  
    assertPhateParams                       html  
    assertSwissRollBiasedParams             html  
    assertSwissRollParams                   html  
    assertTrajectoryParams                  html  
    assertTsneParams                        html  
    assertUmapParams                        html  
    best_membership                         html  
    calc_ari                                html  
    calc_inertia                            html  
    calc_silhouette_score                   html  
    checkCellTrajectories                   html  
    checkClustersParams                     html  
    checkDensParams                         html  
    checkDiffusionMapsParams                html  
    checkDreamsParams                       html  
    checkEvocParams                         html  
    checkFa2Params                          html  
    checkHierarchicalParams                 html  
    checkKmeansParams                       html  
    checkNnParams                           html  
    checkPacmapParams                       html  
    checkPhateParams                        html  
    checkSwissRollBiasedParams              html  
    checkSwissRollParams                    html  
    checkTrajectoryParams                   html  
    checkTsneParams                         html  
    checkUmapParams                         html  
    check_list_shape                        html  
    densmap                                 html  
    densne                                  html  
    diffusion_maps                          html  
    dim.NearestNeighbours                   html  
    dot-prepare_densmap_params              html  
    dot-prepare_densne_params               html  
    dot-prepare_diffusion_maps_params       html  
    dot-prepare_dreams_params               html  
    dot-prepare_evoc_params                 html  
    dot-prepare_fa2_params                  html  
    dot-prepare_pacmap_params               html  
    dot-prepare_phate_params                html  
    dot-prepare_tsne_params                 html  
    dot-prepare_umap_params                 html  
    dreams                                  html  
    evoc                                    html  
    forceatlas2                             html  
    forceatlas2_from_graph                  html  
    generate_knn_graph                      html  
    get_centroids                           html  
    get_dist_flat                           html  
    get_dist_mat                            html  
    get_idx_flat                            html  
    get_idx_mat                             html  
    get_layer                               html  
    get_nearest_neighbours                  html  
    kmeans_cluster                          html  
    manifold_synthetic_data                 html  
    manifoldsR-deprecated                   html  
    manifoldsR-package                      html  
    membership                              html  
    new_evoc                                html  
    new_kmeans_cluster                      html  
    new_nearest_neighbour                   html  
    pacmap                                  html  
    params_clusters                         html  
    params_densmap                          html  
    params_densne                           html  
    params_diffusion_maps                   html  
    params_dreams                           html  
    params_evoc                             html  
    params_fa2                              html  
    params_hierarchical                     html  
    params_kmeans                           html  
    params_nn                               html  
    params_pacmap                           html  
    params_phate                            html  
    params_swiss_roll                       html  
    params_swiss_roll_biased                html  
    params_trajectory                       html  
    params_tsne                             html  
    params_umap                             html  
    parse_verbosity                         html  
    phate                                   html  
    print.Evoc                              html  
    print.KMeansCluster                     html  
    print.NearestNeighbours                 html  
    rs_approx_nearest_neighbours            html  
    rs_ari                                  html  
    rs_check_cluster_separation             html  
    rs_data_biased_swiss_roll               html  
    rs_data_clusters                        html  
    rs_data_hierarchical                    html  
    rs_data_swiss_roll                      html  
    rs_data_trajectory                      html  
    rs_densmap                              html  
    rs_densmap_from_knn                     html  
    rs_densne                               html  
    rs_densne_from_knn                      html  
    rs_diffusion_maps                       html  
    rs_diffusion_maps_from_knn              html  
    rs_dreams                               html  
    rs_dreams_from_knn                      html  
    rs_evoc                                 html  
    rs_evoc_from_knn                        html  
    rs_forceatlas2                          html  
    rs_forceatlas2_from_graph               html  
    rs_forceatlas2_from_knn                 html  
    rs_inertia                              html  
    rs_k_means                              html  
    rs_k_means_mini_batch                   html  
    rs_pacmap                               html  
    rs_pacmap_from_knn                      html  
    rs_phate                                html  
    rs_phate_from_knn                       html  
    rs_silhouette_score                     html  
    rs_tsne                                 html  
    rs_tsne_from_knn                        html  
    rs_umap                                 html  
    rs_umap_from_knn                        html  
    tsne                                    html  
    umap                                    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 (manifoldsR)