* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘automerge’ ...
** this is package ‘automerge’ version ‘0.2.0’
** package ‘automerge’ successfully unpacked and MD5 sums checked
** using staged installation
Checking for system automerge installation...
System automerge not found, building from bundled source...
Building automerge-c...
using Rust package manager: 'cargo 1.91.1 (ea2d97820 2025-10-10) (built from a source tarball)'
using Rust compiler: 'rustc 1.91.1 (ed61e7d7e 2025-11-07) (built from a source tarball)'
Extracting vendored Rust dependencies...
-- The C compiler identification is GNU 14.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc-14 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Configuring done (1.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/am-build
Building (this may take several minutes)...
gmake[1]: Entering directory '/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/am-build'
[ 12%] Producing the bindings' artifacts with Cargo...
-- Touching "/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/src/automerge/rust/automerge-c/cbindgen.toml" if NOT_EXISTS "/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/am-build/include/automerge-c/automerge.h"...
-- Touched "/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/src/automerge/rust/automerge-c/cbindgen.toml".
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package:   /home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/src/automerge/rust/hexane/Cargo.toml
workspace: /home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/src/automerge/rust/Cargo.toml
   Compiling proc-macro2 v1.0.106
   Compiling unicode-ident v1.0.22
   Compiling quote v1.0.43
   Compiling serde_core v1.0.228
   Compiling serde v1.0.228
   Compiling libc v0.2.180
   Compiling version_check v0.9.5
   Compiling syn v2.0.114
   Compiling cfg-if v1.0.4
   Compiling typenum v1.19.0
   Compiling generic-array v0.14.7
   Compiling autocfg v1.5.0
   Compiling indexmap v1.9.3
   Compiling serde_derive v1.0.228
   Compiling zmij v1.0.16
   Compiling rustix v1.1.3
   Compiling zerocopy v0.8.33
   Compiling getrandom v0.3.4
   Compiling linux-raw-sys v0.11.0
   Compiling bitflags v2.10.0
   Compiling hashbrown v0.12.3
   Compiling serde_json v1.0.149
   Compiling os_str_bytes v6.6.1
   Compiling syn v1.0.109
   Compiling clap_lex v0.2.4
   Compiling getrandom v0.2.17
   Compiling atty v0.2.14
   Compiling once_cell v1.21.3
   Compiling itoa v1.0.17
   Compiling fastrand v2.3.0
   Compiling termcolor v1.4.1
   Compiling textwrap v0.16.2
   Compiling strsim v0.10.0
   Compiling cbindgen v0.26.0
   Compiling bitflags v1.3.2
   Compiling thiserror v2.0.18
   Compiling memchr v2.7.6
   Compiling crc32fast v1.5.0
   Compiling clap v3.2.25
   Compiling ppv-lite86 v0.2.21
   Compiling tempfile v3.24.0
   Compiling rand_core v0.6.4
   Compiling toml v0.5.11
   Compiling crypto-common v0.1.7
   Compiling block-buffer v0.10.4
   Compiling thiserror-impl v2.0.18
   Compiling log v0.4.29
   Compiling heck v0.4.1
   Compiling adler2 v2.0.1
   Compiling simd-adler32 v0.3.8
   Compiling tracing-core v0.1.36
   Compiling miniz_oxide v0.8.9
   Compiling digest v0.10.7
   Compiling rand_chacha v0.3.1
   Compiling tracing-attributes v0.1.31
   Compiling leb128 v0.2.5
   Compiling either v1.15.0
   Compiling cpufeatures v0.2.17
   Compiling pin-project-lite v0.2.16
   Compiling tinyvec_macros v0.1.1
   Compiling tinyvec v1.10.0
   Compiling automerge-c v0.3.0 (/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/src/automerge/rust/automerge-c)
   Compiling tracing v0.1.44
   Compiling sha2 v0.10.9
   Compiling itertools v0.14.0
   Compiling hexane v0.1.7 (/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/src/automerge/rust/hexane)
   Compiling flate2 v1.1.8
   Compiling rand v0.8.5
   Compiling smol_str v0.2.2
   Compiling unicode-segmentation v1.12.0
   Compiling hex v0.4.3
   Compiling rustc-hash v2.1.1
   Compiling automerge v0.7.3 (/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/src/automerge/rust/automerge)
    Finished `release` profile [optimized] target(s) in 3m 26s
-- Replacing "A_M([^_]+)_" with "AM_\1_" in "/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/am-build/include/automerge-c/automerge.h"...
-- Created/updated "/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/am-build/include/automerge-c/automerge.h".
-- Replacing "USIZE_" with "+8" in "/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/am-build/include/automerge-c/automerge.h"...
-- Created/updated "/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/am-build/include/automerge-c/automerge.h".
[ 12%] Built target automerge_core_artifacts
[ 25%] Generating the enum string functions with CMake...
-- Generating header file "/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/am-build/include/automerge-c/utils/enum_string.h"...
-- Generating source file "/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/am-build/src/utils/enum_string.c"...
[ 37%] Building C object CMakeFiles/automerge.dir/src/utils/result.c.o
[ 50%] Building C object CMakeFiles/automerge.dir/src/utils/stack_callback_data.c.o
[ 62%] Building C object CMakeFiles/automerge.dir/src/utils/stack.c.o
[ 75%] Building C object CMakeFiles/automerge.dir/src/utils/string.c.o
[ 87%] Building C object CMakeFiles/automerge.dir/src/utils/enum_string.c.o
[100%] Linking C static library libautomerge.a
Merging the libraries' constituent object files...
Merging its dependent libraries into /home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/am-build/libautomerge.a...
/usr/bin/ar -x  /home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/am-build/Cargo/target/x86_64-unknown-linux-gnu/release/libautomerge_core.a
/usr/bin/ar -rs libautomerge.a objects/automerge_core/*.o
[100%] Built target automerge
gmake[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/am-build'
gmake[1]: Entering directory '/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/am-build'
[ 12%] Built target automerge_core_artifacts
[100%] Built target automerge
Install the project...
-- Install configuration: "Release"
gmake[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/am-build'
Successfully built automerge-c from source
Configuration:
  PKG_CFLAGS: -I../am-install/include
  PKG_LIBS: ../am-install/lib/libautomerge.a -pthread -ldl -lm -lrt
** libs
using C compiler: ‘gcc-14 (Debian 14.3.0-10) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/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  -I../am-install/include -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c cursors.c -o cursors.o
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  -I../am-install/include -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c document.c -o document.o
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  -I../am-install/include -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c errors.c -o errors.o
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  -I../am-install/include -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c init.c -o init.o
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  -I../am-install/include -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c memory.c -o memory.o
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  -I../am-install/include -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c objects.c -o objects.o
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  -I../am-install/include -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c sync.c -o sync.o
gcc-14 -std=gnu23 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o automerge.so cursors.o document.o errors.o init.o memory.o objects.o sync.o ../am-install/lib/libautomerge.a -pthread -ldl -lm -lrt -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpNz3qsK/R.INSTALL3d47513e067d95/automerge/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-automerge/00new/automerge/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘automerge’
    finding HTML links ... done
    am_apply_changes                        html  
    am_commit                               html  
    am_counter                              html  
    am_counter_increment                    html  
    am_create                               html  
    am_cursor                               html  
    am_cursor_position                      html  
    am_delete                               html  
    am_delete_path                          html  
    am_fork                                 html  
    am_get                                  html  
    am_get_actor                            html  
    am_get_actor_hex                        html  
    am_get_change_by_hash                   html  
    am_get_changes                          html  
    am_get_changes_added                    html  
    am_get_heads                            html  
    am_get_history                          html  
    am_get_last_local_change                html  
    am_get_path                             html  
    am_insert                               html  
    am_keys                                 html  
    am_length                               html  
    am_list                                 html  
    am_load                                 html  
    am_map                                  html  
    am_mark                                 html  
    am_marks                                html  
    am_marks_at                             html  
    am_merge                                html  
    am_put                                  html  
    am_put_path                             html  
    am_rollback                             html  
    am_save                                 html  
    am_set_actor                            html  
    am_sync                                 html  
    am_sync_decode                          html  
    am_sync_encode                          html  
    am_sync_state_new                       html  
    am_text                                 html  
    am_text_content                         html  
    am_text_splice                          html  
    am_text_update                          html  
    am_uint64                               html  
    am_values                               html  
    as.character.am_text                    html  
    as.list.am_doc                          html  
    as.list.am_list                         html  
    as.list.am_map                          html  
    as.list.am_text                         html  
    as_automerge                            html  
    automerge-constants                     html  
    automerge-package                       html  
    extract-am_doc                          html  
    extract-am_object                       html  
    from_automerge                          html  
    length.am_doc                           html  
    length.am_object                        html  
    names.am_doc                            html  
    names.am_map                            html  
    print.am_counter                        html  
    print.am_cursor                         html  
    print.am_doc                            html  
    print.am_list                           html  
    print.am_map                            html  
    print.am_object                         html  
    print.am_syncstate                      html  
    print.am_text                           html  
    print.am_uint64                         html  
    replace-am_doc                          html  
    replace-am_object                       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 (automerge)