* installing *source* package 'automerge' ...
** this is package 'automerge' version '0.4.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.92.0 (344c4567c 2025-10-21)'
using Rust compiler: 'rustc 1.92.0 (ded5c06cf 2025-12-08)'
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: D:/rtools45/x86_64-w64-mingw32.static.posix/bin/gcc.exe - 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 (3.8s)
-- Generating done (0.1s)
-- Build files have been written to: D:/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build
Building (this may take several minutes)...
gmake.exe[1]: Entering directory 'D:/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
make[2]: Entering directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
make[3]: Entering directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
make[3]: Leaving directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
make[3]: Entering directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
[ 12%] Producing the bindings' artifacts with Cargo...
-- Touching "D:/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/src/automerge/rust/automerge-c/cbindgen.toml" if NOT_EXISTS "D:/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build/include/automerge-c/automerge.h"...
-- Touched "D:/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/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:   D:\temp\2026_02_28_01_50_00_3652\RtmpQ3LasX\R.INSTALL13b104f3b5667\automerge\src\automerge\rust\hexane\Cargo.toml
workspace: D:\temp\2026_02_28_01_50_00_3652\RtmpQ3LasX\R.INSTALL13b104f3b5667\automerge\src\automerge\rust\Cargo.toml
   Compiling proc-macro2 v1.0.106
   Compiling quote v1.0.44
   Compiling unicode-ident v1.0.24
   Compiling serde_core v1.0.228
   Compiling syn v2.0.116
   Compiling typenum v1.19.0
   Compiling winapi-x86_64-pc-windows-gnu v0.4.0
   Compiling winapi v0.3.9
   Compiling zmij v1.0.21
   Compiling serde_derive v1.0.228
   Compiling hybrid-array v0.4.7
   Compiling cfg-if v1.0.4
   Compiling serde v1.0.228
   Compiling serde_json v1.0.149
   Compiling winnow v0.7.14
   Compiling remove_dir_all v0.5.3
   Compiling serde_spanned v1.0.4
   Compiling toml_datetime v0.7.5+spec-1.1.0
   Compiling cbindgen v0.29.2
   Compiling hashbrown v0.16.1
   Compiling toml_parser v1.0.9+spec-1.1.0
   Compiling thiserror v2.0.18
   Compiling fastrand v1.9.0
   Compiling crc32fast v1.5.0
   Compiling equivalent v1.0.2
   Compiling itoa v1.0.17
   Compiling memchr v2.8.0
   Compiling tempfile v3.3.0
   Compiling indexmap v2.13.0
   Compiling toml v0.9.12+spec-1.1.0
   Compiling crypto-common v0.2.0
   Compiling block-buffer v0.11.0
   Compiling thiserror-impl v2.0.18
   Compiling simd-adler32 v0.3.8
   Compiling heck v0.5.0
   Compiling getrandom v0.3.4
   Compiling log v0.4.29
   Compiling once_cell v1.21.3
   Compiling adler2 v2.0.1
   Compiling miniz_oxide v0.8.9
   Compiling tracing-core v0.1.36
   Compiling digest v0.11.0
   Compiling tracing-attributes v0.1.31
   Compiling pin-project-lite v0.2.16
   Compiling libc v0.2.182
   Compiling leb128 v0.2.5
   Compiling rand_core v0.9.5
   Compiling cpufeatures v0.2.17
   Compiling either v1.15.0
   Compiling itertools v0.14.0
   Compiling automerge-c v0.3.0 (D:\temp\2026_02_28_01_50_00_3652\RtmpQ3LasX\R.INSTALL13b104f3b5667\automerge\src\automerge\rust\automerge-c)
   Compiling sha2 v0.11.0-rc.5
   Compiling rand v0.9.2
   Compiling hexane v0.1.7 (D:\temp\2026_02_28_01_50_00_3652\RtmpQ3LasX\R.INSTALL13b104f3b5667\automerge\src\automerge\rust\hexane)
   Compiling tracing v0.1.44
   Compiling flate2 v1.1.9
   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 (D:\temp\2026_02_28_01_50_00_3652\RtmpQ3LasX\R.INSTALL13b104f3b5667\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 19s
-- Replacing "A_M([^_]+)_" with "AM_\1_" in "D:/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build/include/automerge-c/automerge.h"...
-- Created/updated "D:/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build/include/automerge-c/automerge.h".
-- Replacing "USIZE_" with "+8" in "D:/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build/include/automerge-c/automerge.h"...
-- Created/updated "D:/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build/include/automerge-c/automerge.h".
make[3]: Leaving directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
[ 12%] Built target automerge_core_artifacts
make[3]: Entering directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
[ 25%] Generating the enum string functions with CMake...
-- Generating header file "D:/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build/include/automerge-c/utils/enum_string.h"...
-- Generating source file "D:/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build/src/utils/enum_string.c"...
make[3]: Leaving directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
make[3]: Entering directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
[ 37%] Building C object CMakeFiles/automerge.dir/src/utils/result.c.obj
[ 50%] Building C object CMakeFiles/automerge.dir/src/utils/stack_callback_data.c.obj
[ 62%] Building C object CMakeFiles/automerge.dir/src/utils/stack.c.obj
[ 75%] Building C object CMakeFiles/automerge.dir/src/utils/string.c.obj
[ 87%] Building C object CMakeFiles/automerge.dir/src/utils/enum_string.c.obj
[100%] Linking C static library libautomerge.a
Merging the libraries' constituent object files...
Merging its dependent libraries into D:/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build/libautomerge.a...
D:/rtools45/x86_64-w64-mingw32.static.posix/bin/ar.exe -x  D:/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build/Cargo/target/x86_64-pc-windows-gnu/release/libautomerge_core.a
D:/rtools45/x86_64-w64-mingw32.static.posix/bin/ar.exe -rs libautomerge.a objects/automerge_core/*.o
make[3]: Leaving directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
[100%] Built target automerge
make[2]: Leaving directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
gmake.exe[1]: Leaving directory 'D:/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
gmake.exe[1]: Entering directory 'D:/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
make[2]: Entering directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
make[3]: Entering directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
make[3]: Leaving directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
[ 12%] Built target automerge_core_artifacts
make[3]: Entering directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
make[3]: Leaving directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
[100%] Built target automerge
make[2]: Leaving directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
Install the project...
-- Install configuration: "Release"
gmake.exe[1]: Leaving directory 'D:/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/am-build'
Successfully built automerge-c from source
Configuration:
  PKG_CFLAGS: -I../am-install/include
  PKG_LIBS: ../am-install/lib/libautomerge.a -lws2_32 -luserenv -lbcrypt -lntdll
** libs
using C compiler: 'gcc.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/src'
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -I../am-install/include   -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c changes.c -o changes.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -I../am-install/include   -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c cursors.c -o cursors.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -I../am-install/include   -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c document.c -o document.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -I../am-install/include   -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c errors.c -o errors.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -I../am-install/include   -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c init.c -o init.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -I../am-install/include   -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c memory.c -o memory.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -I../am-install/include   -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c objects.c -o objects.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -I../am-install/include   -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c sync.c -o sync.o
gcc -shared -s -static-libgcc -o automerge.dll tmp.def changes.o cursors.o document.o errors.o init.o memory.o objects.o sync.o ../am-install/lib/libautomerge.a -lws2_32 -luserenv -lbcrypt -lntdll -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/src'
make[1]: Entering directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/src'
make[1]: Leaving directory '/d/temp/2026_02_28_01_50_00_3652/RtmpQ3LasX/R.INSTALL13b104f3b5667/automerge/src'
installing to d:/Rcompile/CRANpkg/lib/4.6/00LOCK-automerge/00new/automerge/libs/x64
** 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
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'automerge' as automerge_0.4.0.zip
* DONE (automerge)