(not at the head of any monitored branch or PR)
2026-05-25 04:39.58: New job: test contract.0.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29952/head (6bd94e649fd37e846e43afa12ad324faba41e969)
                              on freebsd-15.0-ocaml-5.4/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29952/head" && git reset --hard 6bd94e64
git fetch origin master
git merge --no-edit 856df280428c158a5bb0b3afce1bec956b10ae6f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-15.0-ocaml-5.4
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn contract.0.1.0 0.1.0
RUN opam reinstall contract.0.1.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"freebsd-15.0\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'contract.0.1.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test contract.0.1.0) || true
RUN opam reinstall --with-test --verbose contract.0.1.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"freebsd-15.0\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'contract.0.1.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2026-05-25 04:39.58: Using cache hint "freebsd-15.0-ocaml-5.4-contract.0.1.0-6bd94e649fd37e846e43afa12ad324faba41e969"
2026-05-25 04:39.58: Using OBuilder spec:
((from freebsd-15.0-ocaml-5.4)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
 (run (network host)
      (shell "opam init --reinit -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn contract.0.1.0 0.1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall contract.0.1.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"freebsd-15.0\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'contract.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test contract.0.1.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose contract.0.1.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"freebsd-15.0\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'contract.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-05-25 04:39.58: Waiting for resource in pool OCluster
2026-05-25 04:39.58: Waiting for worker…
2026-05-25 04:39.58: Got resource from pool OCluster
Building on rosemary
All commits already cached
Updating files: 100% (17960/17960), done.
HEAD is now at 856df28042 Merge pull request #29946 from hannesm/release-mirage-net-solo5-v0.8.1
Updating 856df28042..6bd94e649f
Fast-forward
 packages/contract/contract.0.1.0/opam | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 packages/contract/contract.0.1.0/opam

(from freebsd-15.0-ocaml-5.4)
2026-05-25 04:32.53 ---> using "e2f9399617b174328a08b4d831e677f3a97fbfa86ae070bfd238f77cd03a9525" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
2026-05-25 04:32.53 ---> using "745d7b97fc3a454a03ab650bab99c7a6daf50bee999fe903ccff757d7afbd43c" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

This version of opam requires an update to the layout of /home/opam/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-05-25 04:32.53 ---> using "803b529782fec3e315a65a64770b60f2264bf3cb2147f21894ecc4e5b04b39c2" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.1
# self-upgrade         no
# system               arch=x86_64 os=freebsd os-distribution=freebsd os-version=1500068
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 39
# repositories         1 (version-controlled)
# pinned               0
# current-switch       5.4.1
# invariant            ["ocaml-base-compiler" {= "5.4.1"} | "ocaml-system" {= "5.4.1"}]
# compiler-packages    ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4.1/lib/ocaml/stublibs:/home/opam/.opam/5.4.1/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.1
2026-05-25 04:32.54 ---> using "44c28f3a9763d7febf1c500e3197be7d30852280b29368166fba08939b19971b" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2026-05-25 04:32.54 ---> using "0f138587f3dff1fe6ad69d7d4a1dba6de063434835fe7ed8ccf2f9be3b7a41c5" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-25 04:33.02 ---> saved as "3d9eec2f53b80a238f03224a3132db05065b16d0710d0329d78c32d249095681"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-25 04:33.15 ---> saved as "f0fb0e4730ea9421159fcb07202b9f7e59fc88beb6b6cb49fcc16a777722df55"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
[WARNING] Unknown update command for bsd, skipping system update
2026-05-25 04:33.16 ---> saved as "25fe830b9e84e7842cccde98872797594cff9fce7ed961b5f0fd97cd44ff338b"

/home/opam: (run (shell "opam pin add -k version -yn contract.0.1.0 0.1.0"))
contract is now pinned to version 0.1.0
2026-05-25 04:33.17 ---> saved as "ba3b892ee1d8dda924d12137a9f8dd2913b1dde5f570dc87ad853d48fd386f93"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall contract.0.1.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"freebsd-15.0\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'contract.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
contract.0.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 3 packages
  ∗ contract 0.1.0 (pinned)
  ∗ dune     3.23.1         [required by contract]
  ∗ yojson   3.0.0          [required by contract]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved contract.0.1.0  (https://github.com/funwithcthulhu/contract/archive/refs/tags/0.1.0.tar.gz)
⬇ retrieved dune.3.23.1  (cached)
⬇ retrieved yojson.3.0.0  (cached)
∗ installed dune.3.23.1
∗ installed yojson.3.0.0
∗ installed contract.0.1.0
Done.
2026-05-25 04:34.03 ---> saved as "0db5015b20eb86eb8908c769c8f5e1ecd1caee63072d3b2551fb5dfa8661fa7a"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test contract.0.1.0) || true"))
The following actions will be performed:
=== recompile 1 package
  ↻ contract           0.1.0 (pinned)
=== install 11 packages
  ∗ alcotest           1.9.1          [required by contract]
  ∗ astring            0.8.5          [required by alcotest]
  ∗ cmdliner           2.1.1          [required by alcotest]
  ∗ fmt                0.11.0         [required by alcotest]
  ∗ ocaml-syntax-shims 1.0.0          [required by alcotest]
  ∗ ocamlbuild         0.16.1         [required by fmt, astring, uutf]
  ∗ ocamlfind          1.9.8          [required by fmt, astring, uutf]
  ∗ re                 1.14.0         [required by alcotest]
  ∗ stdlib-shims       0.3.0          [required by alcotest]
  ∗ topkg              1.1.1          [required by fmt, astring, uutf]
  ∗ uutf               1.0.4          [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved alcotest.1.9.1  (https://github.com/mirage/alcotest/releases/download/1.9.1/alcotest-1.9.1.tbz)
⬇ retrieved astring.0.8.5  (https://erratique.ch/software/astring/releases/astring-0.8.5.tbz)
⬇ retrieved cmdliner.2.1.1  (https://erratique.ch/software/cmdliner/releases/cmdliner-2.1.1.tbz)
⬇ retrieved contract.0.1.0  (https://github.com/funwithcthulhu/contract/archive/refs/tags/0.1.0.tar.gz)
⬇ retrieved fmt.0.11.0  (https://erratique.ch/software/fmt/releases/fmt-0.11.0.tbz)
⬇ retrieved ocaml-syntax-shims.1.0.0  (https://github.com/ocaml-ppx/ocaml-syntax-shims/releases/download/1.0.0/ocaml-syntax-shims-1.0.0.tbz)
⬇ retrieved ocamlbuild.0.16.1  (https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.16.1.tar.gz)
∗ installed ocaml-syntax-shims.1.0.0
⬇ retrieved ocamlfind.1.9.8  (https://github.com/ocaml/ocamlfind/archive/refs/tags/findlib-1.9.8.tar.gz)
∗ installed cmdliner.2.1.1
⬇ retrieved re.1.14.0  (https://github.com/ocaml/ocaml-re/archive/refs/tags/1.14.0.tar.gz)
⬇ retrieved stdlib-shims.0.3.0  (https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz)
⬇ retrieved topkg.1.1.1  (https://erratique.ch/software/topkg/releases/topkg-1.1.1.tbz)
∗ installed stdlib-shims.0.3.0
⬇ retrieved uutf.1.0.4  (https://erratique.ch/software/uutf/releases/uutf-1.0.4.tbz)
∗ installed ocamlbuild.0.16.1
∗ installed re.1.14.0
⊘ removed   contract.0.1.0
∗ installed ocamlfind.1.9.8
∗ installed topkg.1.1.1
∗ installed uutf.1.0.4
∗ installed fmt.0.11.0
∗ installed astring.0.8.5
∗ installed alcotest.1.9.1
∗ installed contract.0.1.0
Done.
2026-05-25 04:34.31 ---> saved as "0dfd5418dabc7e2f6a90b61401fb1b100d467515a713c6d4ca4c83ee8a853bf3"

/home/opam: (run (shell  "opam reinstall --with-test --verbose contract.0.1.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"freebsd-15.0\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'contract.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  ↻ contract 0.1.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [contract.0.1.0: extract]
⬇ retrieved contract.0.1.0  (cached)
Processing  2/4: [contract: dune build]
+ /home/opam/.opam/5.4.1/bin/dune "build" "-p" "contract" "-j" "39" (CWD=/home/opam/.opam/5.4.1/.opam-switch/build/contract.0.1.0)
Processing  2/4: [contract: dune runtest]
+ /home/opam/.opam/5.4.1/bin/dune "runtest" "-p" "contract" (CWD=/home/opam/.opam/5.4.1/.opam-switch/build/contract.0.1.0)
- (cd _build/default/test && ./test_contract.exe)
- Testing `contract'.
- This run has ID `1Y467S7A'.
- 
-   [OK]          path templates              0   parses /users/:id.
-   [OK]          path templates              1   matches /users/42.
-   [OK]          path templates              2   decodes %20 in path param.
-   [OK]          path templates              3   decodes %2F inside path param.
-   [OK]          path templates              4   decodes lowercase and upperca...
-   [OK]          path templates              5   literal slash still splits pa...
-   [OK]          path templates              6   literal segment is not percen...
-   [OK]          path templates              7   rejects percent at end.
-   [OK]          path templates              8   rejects non-hex percent escape.
-   [OK]          path templates              9   rejects invalid UTF-8 percent...
-   [OK]          path templates             10   rejects missing segment.
-   [OK]          path templates             11   rejects extra segment.
-   [OK]          path templates             12   converts to OpenAPI path.
-   [OK]          scalar codecs               0   int success.
-   [OK]          scalar codecs               1   int failure.
-   [OK]          scalar codecs               2   bool success.
-   [OK]          scalar codecs               3   bool failure.
-   [OK]          endpoints                   0   constructs from valid template.
-   [OK]          endpoints                   1   rejects invalid template.
-   [OK]          endpoints                   2   method name.
-   [OK]          json codecs                 0   string success.
-   [OK]          json codecs                 1   string failure.
-   [OK]          json codecs                 2   required field success.
-   [OK]          json codecs                 3   required field missing.
-   [OK]          json codecs                 4   optional field missing.
-   [OK]          json codecs                 5   optional field null.
-   [OK]          request validation          0   valid GET.
-   [OK]          request validation          1   ignores undeclared query params.
-   [OK]          request validation          2   duplicate query uses first va...
-   [OK]          request validation          3   invalid method.
-   [OK]          request validation          4   invalid path.
-   [OK]          request validation          5   bad path param type.
-   [OK]          request validation          6   bad query param type.
-   [OK]          request validation          7   required query param missing.
-   [OK]          request validation          8   declared path param must matc...
-   [OK]          request validation          9   valid POST body.
-   [OK]          request validation         10   invalid JSON body field.
-   [OK]          request validation         11   extra JSON body fields are ig...
-   [OK]          request validation         12   missing POST body.
-   [OK]          openapi                     0   contains OpenAPI version.
-   [OK]          openapi                     1   contains /users/{id}.
-   [OK]          openapi                     2   contains GET operation.
-   [OK]          openapi                     3   contains POST operation.
-   [OK]          openapi                     4   contains POST requestBody.
-   [OK]          openapi                     5   contains response 200.
- 
- Full test results in `~/.opam/5.4.1/.opam-switch/build/contract.0.1.0/_build/default/test/_build/_tests/contract'.
- Test Successful in 0.004s. 45 tests run.
λ compiled  contract.0.1.0
⊘ removed   contract.0.1.0
∗ installed contract.0.1.0
Done.
2026-05-25 04:34.36 ---> saved as "f2336bb92aa4b796eb335159c72bf9835e8879143fca3fff18a38b021763635c"
Job succeeded
2026-05-25 04:41.54: Job succeeded