* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘caugi’ ...
** this is package ‘caugi’ version ‘1.0.0’
** package ‘caugi’ successfully unpacked and MD5 sums checked
** using staged installation
Using cargo 1.91.1 (ea2d97820 2025-10-10) (built from a source tarball)
Using rustc 1.91.1 (ed61e7d7e 2025-11-07) (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/RtmpkS4M50/R.INSTALL3e8bc760f30b92/caugi/src'
gcc-14 -std=gnu23 -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 [ -f ./rust/vendor.tar.xz ]; then \
	tar xf rust/vendor.tar.xz && \
	mkdir -p /home/hornik/tmp/scratch/RtmpkS4M50/R.INSTALL3e8bc760f30b92/caugi/src/.cargo && \
	cp rust/vendor-config.toml /home/hornik/tmp/scratch/RtmpkS4M50/R.INSTALL3e8bc760f30b92/caugi/src/.cargo/config.toml; \
fi
export CARGO_HOME=/home/hornik/tmp/scratch/RtmpkS4M50/R.INSTALL3e8bc760f30b92/caugi/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 zerocopy v0.8.31
   Compiling proc-macro2 v1.0.103
   Compiling cfg-if v1.0.4
   Compiling quote v1.0.42
   Compiling libc v0.2.178
   Compiling unicode-ident v1.0.22
   Compiling crossbeam-utils v0.8.21
   Compiling version_check v0.9.5
   Compiling ahash v0.8.12
   Compiling syn v2.0.111
   Compiling serde_core v1.0.228
   Compiling hashbrown v0.16.1
   Compiling equivalent v1.0.2
   Compiling once_cell v1.21.3
   Compiling indexmap v2.12.1
   Compiling crossbeam-epoch v0.9.18
   Compiling getrandom v0.2.16
   Compiling extendr-ffi v0.8.1
   Compiling rayon-core v1.13.0
   Compiling rand_core v0.6.4
   Compiling crossbeam-deque v0.8.6
   Compiling ppv-lite86 v0.2.21
   Compiling paste v1.0.15
   Compiling allocator-api2 v0.2.21
   Compiling serde v1.0.228
   Compiling foldhash v0.1.5
   Compiling zmij v1.0.2
   Compiling hashbrown v0.15.5
   Compiling hashbrown v0.14.5
   Compiling rand_chacha v0.3.1
   Compiling serde_derive v1.0.228
   Compiling either v1.15.0
   Compiling fixedbitset v0.5.7
   Compiling memchr v2.7.6
   Compiling fixedbitset v0.4.2
   Compiling serde_json v1.0.149
   Compiling extendr-api v0.8.1
   Compiling petgraph v0.6.5
   Compiling petgraph v0.8.3
   Compiling rayon v1.11.0
   Compiling hashlink v0.8.4
   Compiling rand v0.8.5
   Compiling extendr-macros v0.8.1
   Compiling num_cpus v1.17.0
   Compiling log v0.4.29
   Compiling itoa v1.0.15
   Compiling rustc-hash v1.1.0
   Compiling quad-rand v0.2.3
   Compiling glam v0.21.3
   Compiling fdg-sim v0.9.1
   Compiling gadjid v0.1.0 (https://github.com/CausalDisco/gadjid?rev=5b97028d4e943ce8a642d2b7bc1145f5435f619a#5b97028d)
   Compiling rust-sugiyama v0.4.0
   Compiling quick-xml v0.39.0
   Compiling rustc-hash v2.1.1
   Compiling bitflags v2.10.0
   Compiling caugi v0.4.0 (/home/hornik/tmp/scratch/RtmpkS4M50/R.INSTALL3e8bc760f30b92/caugi/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 2m 13s
# Always clean up CARGOTMP
rm -Rf /home/hornik/tmp/scratch/RtmpkS4M50/R.INSTALL3e8bc760f30b92/caugi/src/.cargo;
gcc-14 -std=gnu23 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o caugi.so entrypoint.o -L./rust/target/release -lcaugi -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
rm -Rf /home/hornik/tmp/scratch/RtmpkS4M50/R.INSTALL3e8bc760f30b92/caugi/src/.cargo /home/hornik/tmp/scratch/RtmpkS4M50/R.INSTALL3e8bc760f30b92/caugi/src/vendor ./rust/target
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpkS4M50/R.INSTALL3e8bc760f30b92/caugi/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpkS4M50/R.INSTALL3e8bc760f30b92/caugi/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpkS4M50/R.INSTALL3e8bc760f30b92/caugi/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-caugi/00new/caugi/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘caugi’
    finding HTML links ... done
    add-caugi_plot-caugi_plot               html  
    adjustment_set                          html  
    aid                                     html  
    all_adjustment_sets_admg                html  
    all_backdoor_sets                       html  
    ancestors                               html  
    anteriors                               html  
    as_adjacency                            html  
    as_bnlearn                              html  
    as_caugi                                html  
    as_dagitty                              html  
    as_igraph                               html  
    build                                   html  
    caugi-package                           html  
    caugi                                   html  
    caugi_default_options                   html  
    caugi_deserialize                       html  
    caugi_dot                               html  
    caugi_export                            html  
    caugi_graphml                           html  
    caugi_layout                            html  
    caugi_layout_bipartite                  html  
    caugi_layout_fruchterman_reingold       html  
    caugi_layout_kamada_kawai               html  
    caugi_layout_sugiyama                   html  
    caugi_layout_tiered                     html  
    caugi_mermaid                           html  
    caugi_options                           html  
    caugi_plot                              html  
    caugi_serialize                         html  
    caugi_verbs                             html  
    children                                html  
    condition_marginalize                   html  
    d_separated                             html  
    descendants                             html  
    districts                               html  
    divide-caugi_plot-caugi_plot            html  
    dot-caugi_fit_on_line                   html  
    dot-cg_state                            html  
    dot-collect_edges_nodes                 html  
    dot-combine_plus                        html  
    dot-contains_edge                       html  
    dot-edge_constructor                    html  
    dot-edge_constructor_idx                html  
    dot-edge_ops_get                        html  
    dot-edge_spec                           html  
    dot-edge_type_from_anteriors            html  
    dot-edge_units_to_dt                    html  
    dot-expand_nodes                        html  
    dot-expand_targets                      html  
    dot-flatten_edge_chain                  html  
    dot-get_edges                           html  
    dot-get_nodes                           html  
    dot-getter_output                       html  
    dot-glyph_map_get                       html  
    dot-glyph_of                            html  
    dot-is_edge_call                        html  
    dot-is_node_expr                        html  
    dot-mark_not_built                      html  
    dot-node_constructor                    html  
    dot-not_m_separated_for_all_subsets     html  
    dot-parse_edge_arg                      html  
    dot-register_edge                       html  
    dot-resolve_idx0_get                    html  
    dot-segment_units                       html  
    dot-set_names                           html  
    dot-split_plus                          html  
    dot-update_caugi                        html  
    dot-view_to_caugi                       html  
    edge_operators                          html  
    edge_types                              html  
    edges                                   html  
    exogenize                               html  
    exogenous                               html  
    export-classes                          html  
    format-caugi                            html  
    format-dot                              html  
    format-graphml                          html  
    format-mermaid                          html  
    generate_graph                          html  
    hd                                      html  
    is_acyclic                              html  
    is_admg                                 html  
    is_ag                                   html  
    is_caugi                                html  
    is_cpdag                                html  
    is_dag                                  html  
    is_edge_symmetric                       html  
    is_empty_caugi                          html  
    is_mag                                  html  
    is_pdag                                 html  
    is_ug                                   html  
    is_valid_adjustment_admg                html  
    is_valid_backdoor                       html  
    knit_print.caugi_export                 html  
    latent_project                          html  
    length                                  html  
    m_separated                             html  
    makeContent.caugi_edge_grob             html  
    markov_blanket                          html  
    moralize                                html  
    mutate_caugi                            html  
    neighbors                               html  
    nodes                                   html  
    parents                                 html  
    plot                                    html  
    print                                   html  
    read_caugi                              html  
    read_graphml                            html  
    register_caugi_edge                     html  
    registry                                html  
    same_nodes                              html  
    shd                                     html  
    simulate_data                           html  
    skeleton                                html  
    spouses                                 html  
    subgraph                                html  
    to_dot                                  html  
    to_graphml                              html  
    to_mermaid                              html  
    topological_sort                        html  
    write_caugi                             html  
    write_dot                               html  
    write_graphml                           html  
    write_mermaid                           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 (caugi)