Building on thyme
(from windows-server-2022-amd64-ocaml-5.3)
2026-01-22 15:21.01 ---> using "1d6ffeb5a52124df73b2e951323e99615c52ca4f9bdf0f65039be6146fabdaab" from cache
/: (user (uid 1000) (gid 1000))
/: (env OPAMPRECISETRACKING 1)
/: (env OPAMUTF8 never)
/: (env OPAMEXTERNALSOLVER builtin-0install)
/: (env OPAMCRITERIA +removed)
/: (env CI true)
/: (env OPAM_HEALTH_CHECK_CI true)
/: (run (shell "ln -f /usr/bin/opam-dev.exe /usr/bin/opam.exe"))
2026-01-22 15:21.01 ---> using "75bf3fbea1cbc65a9803f40104651d67c546cddf5606f6a4af6db8fca92eb5c0" from cache
/: (run (network host)
(shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 39960ffbaf3e5b50a1e354d4c99bfecc01e358ca"))
2026-01-22 15:21.01 ---> using "4f0b9497afb6eea9cf43067636e988a83f1bcb9ac810ad661f7eaf4b1c0160a9" from cache
/: (run (shell "rm -rf ~/.opam && opam init -ya --bare ~/opam-repository"))
User configuration:
Updating ~\.bash_profile.
[NOTE] Make sure that ~\.bash_profile is well sourced in your ~/.bashrc.
Added 9 lines after line 1 in ~\.bash_profile.
2026-01-22 15:21.01 ---> using "feb2117583ac2c8b4c4afc6c9ad87a221de3fe962075f3d95506ae89490c1bd3" from cache
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\Local\\opam\\download-cache")))
(network host)
(shell "opam switch create --repositories=default '5.3' '5.3.0'"))
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "5.3.0"} | "ocaml-system" {= "5.3.0"}]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed arch-x86_64.1
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed host-arch-x86_64.1
-> installed host-system-mingw.1
-> retrieved flexdll.0.44 (cached)
-> retrieved ocaml-config.3 (cached)
-> installed flexdll.0.44
-> installed ocaml-options-vanilla.1
-> retrieved mingw-w64-shims.0.2.0 (cached)
-> installed conf-mingw-w64-gcc-x86_64.1
-> installed ocaml-env-mingw64.1
-> installed system-mingw.1
-> retrieved ocaml-compiler.5.3.0 (cached)
-> installed mingw-w64-shims.0.2.0
-> installed ocaml-compiler.5.3.0
-> installed ocaml-base-compiler.5.3.0
-> installed ocaml-config.3
-> installed ocaml.5.3.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
Done.
# To update the current shell environment, run: eval $(opam env --switch=5.3)
2026-01-22 15:21.01 ---> using "d36bc8c82abb0fe5767bfdfd9279e53f3252443a683655bd7d81a709cb5abfd3" from cache
/: (run (network host)
(shell "opam update --depexts"))
2026-01-22 15:21.01 ---> using "9d86497a907136ee328a70c4c779efbabd939661fc707f73abd5ad3a1d9978ab" from cache
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\Local\\opam\\download-cache")))
(network host)
(shell "opam remove -y secp256k1.0.5.0\
\nopam install -vy secp256k1.0.5.0\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: secp256k1.0.5.0 | grep -q 'windows-server-2022-amd64-ocaml-5.3'; then\
\n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\
\n exit 69\
\n fi\
\nfi \
\n\
\n\
\nexit $res"))
Nothing to do.
[NOTE] secp256k1.0.5.0 is not installed.
The following actions will be performed:
=== recompile 1 package
- recompile mingw-w64-shims 0.2.0 [uses conf-pkg-config]
=== install 10 packages
- install base v0.17.3 [required by secp256k1]
- install conf-pkg-config 4 [required by conf-secp256k1]
- install conf-secp256k1 2 [required by secp256k1]
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.20.2 [required by secp256k1]
- install dune-configurator 3.20.2 [required by secp256k1]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install secp256k1 0.5.0
- install sexplib0 v0.17.0 [required by base]
- install stdio v0.17.0 [required by secp256k1]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/33: [base.v0.17.3: http]
Processing 2/33: [base.v0.17.3: http]
Processing 3/33: [base.v0.17.3: http]
Processing 4/33: [base.v0.17.3: http] [csexp.1.5.2: extract]
Processing 5/33: [base.v0.17.3: http] [csexp.1.5.2: extract] [dune.3.20.2, dune-configurator.3.20.2: http]
Processing 6/33: [base.v0.17.3: http] [csexp.1.5.2: extract] [dune.3.20.2, dune-configurator.3.20.2: http] [conf-pkg-config: pkgconf]
Processing 6/33: [base.v0.17.3: extract] [csexp.1.5.2: extract] [dune.3.20.2, dune-configurator.3.20.2: http] [conf-pkg-config: pkgconf]
-> retrieved csexp.1.5.2 (cached)
Processing 6/33: [base.v0.17.3: extract] [dune.3.20.2, dune-configurator.3.20.2: http] [conf-pkg-config: pkgconf]
Processing 7/33: [base.v0.17.3: extract] [dune.3.20.2, dune-configurator.3.20.2: http] [mingw-w64-shims.0.2.0: extract] [conf-pkg-config: pkgconf]
Processing 7/33: [base.v0.17.3: extract] [dune.3.20.2, dune-configurator.3.20.2: extract] [mingw-w64-shims.0.2.0: extract] [conf-pkg-config: pkgconf]
-> retrieved mingw-w64-shims.0.2.0 (cached)
Processing 7/33: [base.v0.17.3: extract] [dune.3.20.2, dune-configurator.3.20.2: extract] [conf-pkg-config: pkgconf]
Processing 8/33: [base.v0.17.3: extract] [dune.3.20.2, dune-configurator.3.20.2: extract] [ocaml_intrinsics_kernel.v0.17.1: extract] [conf-pkg-config: pkgconf]
+ C:\cygwin64\bin\pkgconf.exe "--version" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\conf-pkg-config.4)
- 2.5.1
-> compiled conf-pkg-config.4
Processing 8/33: [base.v0.17.3: extract] [dune.3.20.2, dune-configurator.3.20.2: extract] [ocaml_intrinsics_kernel.v0.17.1: extract]
-> removed mingw-w64-shims.0.2.0
Processing 9/33: [base.v0.17.3: extract] [dune.3.20.2, dune-configurator.3.20.2: extract] [ocaml_intrinsics_kernel.v0.17.1: extract]
-> installed conf-pkg-config.4
Processing 10/33: [base.v0.17.3: extract] [dune.3.20.2, dune-configurator.3.20.2: extract] [ocaml_intrinsics_kernel.v0.17.1: extract]
Processing 11/33: [base.v0.17.3: extract] [dune.3.20.2, dune-configurator.3.20.2: extract] [ocaml_intrinsics_kernel.v0.17.1: extract]
Processing 12/33: [base.v0.17.3: extract] [dune.3.20.2, dune-configurator.3.20.2: extract] [ocaml_intrinsics_kernel.v0.17.1: extract] [mingw-w64-shims: sh mingw-w64-shims]
-> installed conf-secp256k1.2
Processing 13/33: [base.v0.17.3: extract] [dune.3.20.2, dune-configurator.3.20.2: extract] [ocaml_intrinsics_kernel.v0.17.1: extract] [mingw-w64-shims: sh mingw-w64-shims]
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
Processing 13/33: [base.v0.17.3: extract] [dune.3.20.2, dune-configurator.3.20.2: extract] [mingw-w64-shims: sh mingw-w64-shims]
Processing 14/33: [base.v0.17.3: extract] [dune.3.20.2, dune-configurator.3.20.2: extract] [secp256k1.0.5.0: http] [mingw-w64-shims: sh mingw-w64-shims]
-> retrieved base.v0.17.3 (https://github.com/janestreet/base/archive/refs/tags/v0.17.3.tar.gz)
Processing 14/33: [dune.3.20.2, dune-configurator.3.20.2: extract] [secp256k1.0.5.0: http] [mingw-w64-shims: sh mingw-w64-shims]
Processing 15/33: [dune.3.20.2, dune-configurator.3.20.2: extract] [secp256k1.0.5.0: http] [sexplib0.v0.17.0: extract] [mingw-w64-shims: sh mingw-w64-shims]
Processing 15/33: [dune.3.20.2, dune-configurator.3.20.2: extract] [secp256k1.0.5.0: extract] [sexplib0.v0.17.0: extract] [mingw-w64-shims: sh mingw-w64-shims]
-> retrieved sexplib0.v0.17.0 (cached)
Processing 15/33: [dune.3.20.2, dune-configurator.3.20.2: extract] [secp256k1.0.5.0: extract] [mingw-w64-shims: sh mingw-w64-shims]
Processing 16/33: [dune.3.20.2, dune-configurator.3.20.2: extract] [secp256k1.0.5.0: extract] [stdio.v0.17.0: extract] [mingw-w64-shims: sh mingw-w64-shims]
-> retrieved secp256k1.0.5.0 (https://github.com/dakk/secp256k1-ml/archive/refs/tags/v0.5.0.tar.gz)
Processing 16/33: [dune.3.20.2, dune-configurator.3.20.2: extract] [stdio.v0.17.0: extract] [mingw-w64-shims: sh mingw-w64-shims]
-> retrieved stdio.v0.17.0 (cached)
Processing 16/33: [dune.3.20.2, dune-configurator.3.20.2: extract] [mingw-w64-shims: sh mingw-w64-shims]
+ C:\cygwin64\bin\sh.exe "./gen_config.sh" "mingw-w64-shims" "i686-gcc-g++-false" "x86_64-binutils" "x86_64-gcc-core" "x86_64-gcc-g++-false" "pkgconf" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\mingw-w64-shims.0.2.0)
-> compiled mingw-w64-shims.0.2.0
Processing 16/33: [dune.3.20.2, dune-configurator.3.20.2: extract]
-> installed mingw-w64-shims.0.2.0
Processing 17/33: [dune.3.20.2, dune-configurator.3.20.2: extract]
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz)
Processing 18/33: [dune: ocaml 7]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\ocaml.exe "boot/bootstrap.ml" "-j" "7" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\dune.3.20.2)
- ocamlc -output-complete-exe -g -o .duneboot.exe -I boot -I +unix unix.cma boot/libs.ml boot/duneboot.ml
- .\.duneboot.exe -j 7
-
Processing 18/33: [dune: ./_boot/dune.exe build]
+ C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\dune.3.20.2\./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "7" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\dune.3.20.2)
-> compiled dune.3.20.2
-> installed dune.3.20.2
Processing 20/33: [csexp: dune build]
Processing 21/33: [csexp: dune build] [ocaml_intrinsics_kernel: dune build]
Processing 22/33: [csexp: dune build] [ocaml_intrinsics_kernel: dune build] [sexplib0: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "csexp" "-j" "7" "@install" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\csexp.1.5.2)
- (cd _build/default && C:\Users\opam\AppData\Local\opam\5.3\bin\ocamlc.opt.exe -w -40 -g -bin-annot -bin-annot-occurrences -I src/.csexp.objs/byte -cmi-file src/.csexp.objs/byte/csexp.cmi -no-alias-deps -o src/.csexp.objs/byte/csexp.cmo -c -impl src/csexp.ml)
- File "src/csexp.ml", line 236, characters 7-14:
- 236 | [@@inlined always]
- ^^^^^^^
- Warning 53 [misplaced-attribute]: the "inlined" attribute cannot appear in this context
- (cd _build/default && C:\Users\opam\AppData\Local\opam\5.3\bin\ocamlopt.opt.exe -w -40 -g -I src/.csexp.objs/byte -I src/.csexp.objs/native -cmi-file src/.csexp.objs/byte/csexp.cmi -no-alias-deps -o src/.csexp.objs/native/csexp.cmx -c -impl src/csexp.ml)
- File "src/csexp.ml", line 236, characters 7-14:
- 236 | [@@inlined always]
- ^^^^^^^
- Warning 53 [misplaced-attribute]: the "inlined" attribute cannot appear in this context
-> compiled csexp.1.5.2
Processing 22/33: [ocaml_intrinsics_kernel: dune build] [sexplib0: dune build]
-> installed csexp.1.5.2
Processing 23/33: [ocaml_intrinsics_kernel: dune build] [sexplib0: dune build]
Processing 24/33: [dune-configurator: rm] [ocaml_intrinsics_kernel: dune build] [sexplib0: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "ocaml_intrinsics_kernel" "-j" "7" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\ocaml_intrinsics_kernel.v0.17.1)
-> compiled ocaml_intrinsics_kernel.v0.17.1
Processing 24/33: [dune-configurator: rm] [sexplib0: dune build]
-> installed ocaml_intrinsics_kernel.v0.17.1
Processing 25/33: [dune-configurator: rm] [sexplib0: dune build]
+ C:\cygwin64\bin\rm.exe "-rf" "vendor/csexp" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\dune-configurator.3.20.2)
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "sexplib0" "-j" "7" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\sexplib0.v0.17.0)
-> compiled sexplib0.v0.17.0
Processing 25/33: [dune-configurator: rm]
-> installed sexplib0.v0.17.0
Processing 26/33: [dune-configurator: rm]
+ C:\cygwin64\bin\rm.exe "-rf" "vendor/pp" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\dune-configurator.3.20.2)
Processing 26/33: [dune-configurator: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "dune-configurator" "-j" "7" "@install" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\dune-configurator.3.20.2)
-> compiled dune-configurator.3.20.2
-> installed dune-configurator.3.20.2
Processing 28/33: [base: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "base" "-j" "7" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\base.v0.17.3)
- (cd _build/default && C:\Users\opam\AppData\Local\opam\5.3\bin\ocamlopt.opt.exe -w -40 -g -I src/.base.objs/byte -I src/.base.objs/native -I C:\Users\opam\AppData\Local\opam\5.3\lib\ocaml_intrinsics_kernel -I C:\Users\opam\AppData\Local\opam\5.3\lib\sexplib0 -I hash_types/src/.base_internalhash_types.objs/byte -I hash_types/src/.base_internalhash_types.objs/native -I shadow-stdlib/src/.shadow_stdlib.objs/byte -I shadow-stdlib/src/.shadow_stdlib.objs/native -cmi-file src/.base.objs/byte/base__Array.cmi -no-alias-deps -open Base__ -o src/.base.objs/native/base__Array.cmx -c -impl src/array.ml)
- File "src/array.ml", line 399, characters 28-75:
- 399 | result := Bool.select ((keep_left_if [@inlined]) (compare x !result)) x !result
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 55 [inlining-impossible]: Cannot inline: Unknown function
-> compiled base.v0.17.3
-> installed base.v0.17.3
Processing 30/33: [stdio: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "stdio" "-j" "7" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\stdio.v0.17.0)
-> compiled stdio.v0.17.0
-> installed stdio.v0.17.0
Processing 32/33: [secp256k1: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "secp256k1" "-j" "7" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\secp256k1.0.5.0)
- File "src/dune", line 5, characters 10-24:
- 5 | (c_names secp256k1_wrap)
- ^^^^^^^^^^^^^^
- (cd _build/default/src && C:\Users\opam\AppData\Local\opam\5.3\bin\x86_64-w64-mingw32-gcc.exe -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -g -I C:/Users/opam/AppData/Local/opam/5.3/lib/ocaml -o secp256k1_wrap.o -c secp256k1_wrap.c)
- secp256k1_wrap.c:3:10: fatal error: secp256k1.h: No such file or directory
- 3 | #include <secp256k1.h>
- | ^~~~~~~~~~~~~
- compilation terminated.
[ERROR] The compilation of secp256k1.0.5.0 failed at "dune build -p secp256k1 -j 7".
#=== ERROR while compiling secp256k1.0.5.0 ====================================#
# context 2.3.0 | win32/x86_64 | ocaml-base-compiler.5.3.0 | file://C:/Users/opam/opam-repository
# path ~\AppData\Local\opam\5.3\.opam-switch\build\secp256k1.0.5.0
# command ~\AppData\Local\opam\5.3\bin\dune.exe build -p secp256k1 -j 7
# exit-code 1
# env-file ~\AppData\Local\opam\log\secp256k1-2992-da75b6.env
# output-file ~\AppData\Local\opam\log\secp256k1-2992-da75b6.out
### output ###
# File "src/dune", line 5, characters 10-24:
# 5 | (c_names secp256k1_wrap)
# ^^^^^^^^^^^^^^
# (cd _build/default/src && C:\Users\opam\AppData\Local\opam\5.3\bin\x86_64-w64-mingw32-gcc.exe -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -g -I C:/Users/opam/AppData/Local/opam/5.3/lib/ocaml -o secp256k1_wrap.o -c secp256k1_wrap.c)
# secp256k1_wrap.c:3:10: fatal error: secp256k1.h: No such file or directory
# 3 | #include <secp256k1.h>
# | ^~~~~~~~~~~~~
# compilation terminated.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build secp256k1 0.5.0
+-
+- The following changes have been performed
| - recompile mingw-w64-shims 0.2.0
| - install base v0.17.3
| - install conf-pkg-config 4
| - install conf-secp256k1 2
| - install csexp 1.5.2
| - install dune 3.20.2
| - install dune-configurator 3.20.2
| - install ocaml_intrinsics_kernel v0.17.1
| - install sexplib0 v0.17.0
| - install stdio v0.17.0
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
C:\cygwin64\bin\opam.exe switch import "C:\\Users\\opam\\AppData\\Local\\opam\\5.3\\.opam-switch\\backup\\state-20260122152223.export"
'C:\cygwin64\bin\opam.exe install -vy secp256k1.0.5.0' failed.
"opam remove -y secp256k1.0.5.0
opam install -vy secp256k1.0.5.0
res=$?
if [ $res = 31 ]; then
if opam show -f x-ci-accept-failures: secp256k1.0.5.0 | grep -q 'windows-server-2022-amd64-ocaml-5.3'; then
echo "This package failed and has been disabled for CI using the 'x-ci-accept-failures' field."
exit 69
fi
fi
exit $res" failed with exit status 31
Failed: Build failed