* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘automerge’ ...
** this is package ‘automerge’ version ‘0.5.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 from bundled source...
using Rust package manager: 'cargo 1.95.0 (f2d3ce0bd 2026-03-21) (built from a source tarball)'
using Rust compiler: 'rustc 1.95.0 (59807616e 2026-04-14) (built from a source tarball)'
Extracting vendored Rust dependencies...
Building (this may take several minutes)...
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package:   /home/hornik/tmp/scratch/RtmpygHCZy/R.INSTALL3276932d9d108/automerge/src/automerge/rust/hexane/Cargo.toml
workspace: /home/hornik/tmp/scratch/RtmpygHCZy/R.INSTALL3276932d9d108/automerge/src/automerge/rust/Cargo.toml
   Compiling proc-macro2 v1.0.106
   Compiling quote v1.0.46
   Compiling unicode-ident v1.0.24
   Compiling libc v0.2.186
   Compiling serde_core v1.0.228
   Compiling syn v2.0.118
   Compiling zmij v1.0.21
   Compiling typenum v1.20.1
   Compiling hybrid-array v0.4.13
   Compiling winnow v1.0.3
   Compiling serde v1.0.228
   Compiling serde_json v1.0.150
   Compiling cfg-if v1.0.4
   Compiling toml_parser v1.1.2+spec-1.1.0
   Compiling serde_derive v1.0.228
   Compiling toml_datetime v0.7.5+spec-1.1.0
   Compiling serde_spanned v1.1.1
   Compiling hashbrown v0.17.1
   Compiling thiserror v2.0.18
   Compiling equivalent v1.0.2
   Compiling memchr v2.8.2
   Compiling remove_dir_all v0.5.3
   Compiling winnow v0.7.15
   Compiling fastrand v1.9.0
   Compiling cbindgen v0.29.4
   Compiling itoa v1.0.18
   Compiling crc32fast v1.5.0
   Compiling tempfile v3.3.0
   Compiling toml v0.9.12+spec-1.1.0
   Compiling indexmap v2.14.0
   Compiling thiserror-impl v2.0.18
   Compiling block-buffer v0.12.1
   Compiling crypto-common v0.2.2
   Compiling heck v0.5.0
   Compiling once_cell v1.21.4
   Compiling simd-adler32 v0.3.9
   Compiling adler2 v2.0.1
   Compiling getrandom v0.4.3
   Compiling log v0.4.33
   Compiling miniz_oxide v0.8.9
   Compiling tracing-core v0.1.36
   Compiling digest v0.11.3
   Compiling tracing-attributes v0.1.31
   Compiling cpufeatures v0.3.0
   Compiling either v1.16.0
   Compiling rand_core v0.10.1
   Compiling tinyvec_macros v0.1.1
   Compiling leb128 v0.2.7
   Compiling pin-project-lite v0.2.17
   Compiling tracing v0.1.44
   Compiling hexane v0.2.1 (/home/hornik/tmp/scratch/RtmpygHCZy/R.INSTALL3276932d9d108/automerge/src/automerge/rust/hexane)
   Compiling itertools v0.14.0
   Compiling tinyvec v1.11.0
   Compiling rand v0.10.1
   Compiling sha2 v0.11.0
   Compiling automerge-c v0.3.0 (/home/hornik/tmp/scratch/RtmpygHCZy/R.INSTALL3276932d9d108/automerge/src/automerge/rust/automerge-c)
   Compiling flate2 v1.1.9
   Compiling smol_str v0.2.2
   Compiling hex v0.4.3
   Compiling rustc-hash v2.1.2
   Compiling unicode-segmentation v1.13.3
   Compiling automerge v0.10.0 (/home/hornik/tmp/scratch/RtmpygHCZy/R.INSTALL3276932d9d108/automerge/src/automerge/rust/automerge)
warning: unused import: `to_expand_mark`
  --> automerge-c/src/doc/mark.rs:32:16
   |
32 | pub(crate) use to_expand_mark;
   |                ^^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused import: `to_sync_state`
  --> automerge-c/src/sync/state.rs:18:16
   |
18 | pub(crate) use to_sync_state;
   |                ^^^^^^^^^^^^^

warning: `automerge-c` (lib) generated 2 warnings (run `cargo fix --lib -p automerge-c` to apply 2 suggestions)
    Finished `release` profile [optimized] target(s) in 3m 11s
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-15 (Debian 15.3.0-1) 15.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpygHCZy/R.INSTALL3276932d9d108/automerge/src'
gcc-15 -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 changes.c -o changes.o
gcc-15 -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-15 -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-15 -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-15 -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-15 -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-15 -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-15 -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-15 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o automerge.so changes.o 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/RtmpygHCZy/R.INSTALL3276932d9d108/automerge/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpygHCZy/R.INSTALL3276932d9d108/automerge/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpygHCZy/R.INSTALL3276932d9d108/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_change_actor_id                      html  
    am_change_deps                          html  
    am_change_from_bytes                    html  
    am_change_hash                          html  
    am_change_message                       html  
    am_change_seq                           html  
    am_change_size                          html  
    am_change_time                          html  
    am_change_to_bytes                      html  
    am_clone                                html  
    am_close                                html  
    am_commit                               html  
    am_commit_empty                         html  
    am_counter                              html  
    am_counter_increment                    html  
    am_create                               html  
    am_cursor                               html  
    am_cursor_equal                         html  
    am_cursor_from_bytes                    html  
    am_cursor_from_string                   html  
    am_cursor_position                      html  
    am_cursor_to_bytes                      html  
    am_cursor_to_string                     html  
    am_delete                               html  
    am_delete_path                          html  
    am_equal                                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_last_local_change                html  
    am_get_missing_deps                     html  
    am_get_path                             html  
    am_insert                               html  
    am_items                                html  
    am_keys                                 html  
    am_length                               html  
    am_list                                 html  
    am_list_get_all                         html  
    am_list_range                           html  
    am_load                                 html  
    am_load_changes                         html  
    am_load_incremental                     html  
    am_map                                  html  
    am_map_get_all                          html  
    am_map_range                            html  
    am_mark                                 html  
    am_mark_clear                           html  
    am_marks                                html  
    am_marks_at                             html  
    am_merge                                html  
    am_pending_ops                          html  
    am_put                                  html  
    am_put_path                             html  
    am_rollback                             html  
    am_save                                 html  
    am_save_incremental                     html  
    am_set_actor                            html  
    am_sync                                 html  
    am_sync_decode                          html  
    am_sync_encode                          html  
    am_sync_state                           html  
    am_sync_state_decode                    html  
    am_sync_state_encode                    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_change                         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  
    str.am_doc                              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)