* installing to library ‘/home/hornik/tmp/R.check/r-release-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/RtmpdN5sDn/R.INSTALL11f90d135aa7de/automerge/src/automerge/rust/hexane/Cargo.toml
workspace: /home/hornik/tmp/scratch/RtmpdN5sDn/R.INSTALL11f90d135aa7de/automerge/src/automerge/rust/Cargo.toml
   Compiling proc-macro2 v1.0.106
   Compiling quote v1.0.46
   Compiling unicode-ident v1.0.24
   Compiling serde_core v1.0.228
   Compiling libc v0.2.186
   Compiling syn v2.0.118
   Compiling zmij v1.0.21
   Compiling typenum v1.20.1
   Compiling hybrid-array v0.4.13
   Compiling cfg-if v1.0.4
   Compiling winnow v1.0.3
   Compiling serde v1.0.228
   Compiling serde_json v1.0.150
   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 memchr v2.8.2
   Compiling fastrand v1.9.0
   Compiling crc32fast v1.5.0
   Compiling remove_dir_all v0.5.3
   Compiling cbindgen v0.29.4
   Compiling winnow v0.7.15
   Compiling equivalent v1.0.2
   Compiling itoa v1.0.18
   Compiling thiserror v2.0.18
   Compiling toml v0.9.12+spec-1.1.0
   Compiling tempfile v3.3.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 simd-adler32 v0.3.9
   Compiling adler2 v2.0.1
   Compiling once_cell v1.21.4
   Compiling heck v0.5.0
   Compiling log v0.4.33
   Compiling getrandom v0.4.3
   Compiling tracing-core v0.1.36
   Compiling miniz_oxide v0.8.9
   Compiling digest v0.11.3
   Compiling tracing-attributes v0.1.31
   Compiling tinyvec_macros v0.1.1
   Compiling either v1.16.0
   Compiling cpufeatures v0.3.0
   Compiling rand_core v0.10.1
   Compiling leb128 v0.2.7
   Compiling pin-project-lite v0.2.17
   Compiling hexane v0.2.1 (/home/hornik/tmp/scratch/RtmpdN5sDn/R.INSTALL11f90d135aa7de/automerge/src/automerge/rust/hexane)
   Compiling tracing v0.1.44
   Compiling itertools v0.14.0
   Compiling rand v0.10.1
   Compiling sha2 v0.11.0
   Compiling automerge-c v0.3.0 (/home/hornik/tmp/scratch/RtmpdN5sDn/R.INSTALL11f90d135aa7de/automerge/src/automerge/rust/automerge-c)
   Compiling tinyvec v1.11.0
   Compiling flate2 v1.1.9
   Compiling smol_str v0.2.2
   Compiling unicode-segmentation v1.13.3
   Compiling hex v0.4.3
   Compiling rustc-hash v2.1.2
   Compiling automerge v0.10.0 (/home/hornik/tmp/scratch/RtmpdN5sDn/R.INSTALL11f90d135aa7de/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 13s
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-16 (Debian 16.1.0-2) 16.1.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpdN5sDn/R.INSTALL11f90d135aa7de/automerge/src'
gcc-16 -I"/home/hornik/tmp/R.check/r-release-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-16 -I"/home/hornik/tmp/R.check/r-release-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-16 -I"/home/hornik/tmp/R.check/r-release-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-16 -I"/home/hornik/tmp/R.check/r-release-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-16 -I"/home/hornik/tmp/R.check/r-release-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-16 -I"/home/hornik/tmp/R.check/r-release-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-16 -I"/home/hornik/tmp/R.check/r-release-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-16 -I"/home/hornik/tmp/R.check/r-release-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-16 -shared -L/home/hornik/tmp/R.check/r-release-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-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpdN5sDn/R.INSTALL11f90d135aa7de/automerge/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpdN5sDn/R.INSTALL11f90d135aa7de/automerge/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpdN5sDn/R.INSTALL11f90d135aa7de/automerge/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-automerge/00new/automerge/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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)