- github
- ocaml
- opam-repository
- 6bd94e
- macos,macos-homebrew-ocaml-5.4-amd64,contract.0.1.0,tests
(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 macos-homebrew-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 macos-homebrew-ocaml-5.4
USER 1000:1000
RUN ln -f ~/local/bin/opam-dev ~/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 -k local --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 "\"macos-homebrew\""; 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 "\"macos-homebrew\""; 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 "macos-homebrew-ocaml-5.4-contract.0.1.0-6bd94e649fd37e846e43afa12ad324faba41e969"
2026-05-25 04:39.58: Using OBuilder spec:
((from macos-homebrew-ocaml-5.4)
(user (uid 1000) (gid 1000))
(run (shell "ln -f ~/local/bin/opam-dev ~/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 -k local --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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 \"\\\"macos-homebrew\\\"\"; 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 \"\\\"macos-homebrew\\\"\"; 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:43.38: Got resource from pool OCluster
Building on i7-worker-01
All commits already cached
Updating files: 29% (5342/17960)
Updating files: 30% (5388/17960)
Updating files: 31% (5568/17960)
Updating files: 32% (5748/17960)
Updating files: 33% (5927/17960)
Updating files: 34% (6107/17960)
Updating files: 35% (6286/17960)
Updating files: 36% (6466/17960)
Updating files: 37% (6646/17960)
Updating files: 38% (6825/17960)
Updating files: 39% (7005/17960)
Updating files: 40% (7184/17960)
Updating files: 41% (7364/17960)
Updating files: 42% (7544/17960)
Updating files: 43% (7723/17960)
Updating files: 44% (7903/17960)
Updating files: 45% (8082/17960)
Updating files: 46% (8262/17960)
Updating files: 47% (8442/17960)
Updating files: 48% (8621/17960)
Updating files: 49% (8801/17960)
Updating files: 50% (8980/17960)
Updating files: 51% (9160/17960)
Updating files: 52% (9340/17960)
Updating files: 53% (9519/17960)
Updating files: 54% (9699/17960)
Updating files: 54% (9869/17960)
Updating files: 55% (9878/17960)
Updating files: 56% (10058/17960)
Updating files: 57% (10238/17960)
Updating files: 58% (10417/17960)
Updating files: 59% (10597/17960)
Updating files: 60% (10776/17960)
Updating files: 61% (10956/17960)
Updating files: 62% (11136/17960)
Updating files: 63% (11315/17960)
Updating files: 64% (11495/17960)
Updating files: 65% (11674/17960)
Updating files: 66% (11854/17960)
Updating files: 67% (12034/17960)
Updating files: 68% (12213/17960)
Updating files: 69% (12393/17960)
Updating files: 70% (12572/17960)
Updating files: 71% (12752/17960)
Updating files: 72% (12932/17960)
Updating files: 73% (13111/17960)
Updating files: 74% (13291/17960)
Updating files: 75% (13470/17960)
Updating files: 76% (13650/17960)
Updating files: 77% (13830/17960)
Updating files: 78% (14009/17960)
Updating files: 78% (14080/17960)
Updating files: 79% (14189/17960)
Updating files: 80% (14368/17960)
Updating files: 81% (14548/17960)
Updating files: 82% (14728/17960)
Updating files: 83% (14907/17960)
Updating files: 84% (15087/17960)
Updating files: 85% (15266/17960)
Updating files: 86% (15446/17960)
Updating files: 87% (15626/17960)
Updating files: 88% (15805/17960)
Updating files: 89% (15985/17960)
Updating files: 90% (16164/17960)
Updating files: 91% (16344/17960)
Updating files: 92% (16524/17960)
Updating files: 93% (16703/17960)
Updating files: 94% (16883/17960)
Updating files: 95% (17062/17960)
Updating files: 96% (17242/17960)
Updating files: 97% (17422/17960)
Updating files: 98% (17601/17960)
Updating files: 99% (17781/17960)
Updating files: 100% (17960/17960)
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 macos-homebrew-ocaml-5.4)
2026-05-25 04:43.44 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache
/: (user (uid 1000) (gid 1000))
/: (run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
2026-05-25 04:43.45 ---> using "7aa34524ca0a69b4a488c30909f7495a04a243f9066091b1dfe73b446b0dfcd3" from cache
/: (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 /Users/mac1000/.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:///Users/mac1000/opam-repository
2026-05-25 04:43.45 ---> using "91dcaa513ca3161d91620d0583acdea5310cd52ccab1dfbdd183600da37afdb2" from cache
/: (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.0
# self-upgrade no
# system arch=x86_64 os=macos os-distribution=homebrew os-version=15.5
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 11
# repositories 1 (version-controlled)
# pinned 0
# current-switch 5.4.0
# invariant ["ocaml-base-compiler" {= "5.4.0"} | "ocaml-system" {= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /Users/mac1000/.opam/5.4.0/lib/ocaml/stublibs:/Users/mac1000/.opam/5.4.0/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2026-05-25 04:43.45 ---> using "cea1bfc0b1cda73d964aa2fc69cc828a6e6d8edd86f991754707e8b004a3cb09" from cache
/: (env OPAMDOWNLOADJOBS 1)
/: (env OPAMERRLOGLEN 0)
/: (env OPAMPRECISETRACKING 1)
/: (env CI true)
/: (env OPAM_REPO_CI true)
/: (run (shell "rm -rf opam-repository/"))
2026-05-25 04:43.45 ---> using "e3eba35b672d86e69268bbb9214f23a1f9d1fb0787b4d803840af8d45829b222" from cache
/: (copy (src .) (dst opam-repository/))
2026-05-25 04:43.48 ---> using "a9a77a18fb5a2b7e15c27e3eb2d43c23726fab477895a49a69f4b115912425ac" from cache
/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
default (at file:///Users/mac1000/opam-repository):
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)
default (at file:///Users/mac1000/opam-repository):
[INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2026-05-25 04:43.48 ---> using "53d06ce2c9470b4f882a77f221f2a3463c1b441ffa908ed1beee8f64e1455656" from cache
/: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- ==> Downloading https://ghcr.io/v2/homebrew/core/portable-ruby/blobs/sha256:9ceb962508dce8cc2468095292fbff2b69fd86e0b9ecca813bf8ead72d4effa1
- #=#=#
0.3%
0.5%
# 1.4%
# 2.0%
# 2.7%
## 3.1%
## 3.8%
### 4.3%
-
### 4.8%
### 5.2%
#### 5.6%
#### 6.0%
#### 6.4%
#### 6.8%
##### 7.4%
##### 7.8%
##### 8.2%
###### 8.6%
###### 9.0%
-
###### 9.4%
####### 9.8%
####### 10.2%
####### 10.7%
######## 11.1%
######## 11.5%
######## 11.9%
######## 12.5%
######### 12.8%
######### 13.2%
######### 13.6%
-
########## 14.1%
########## 14.5%
########## 14.9%
########### 15.3%
########### 15.7%
########### 16.3%
############ 16.7%
############ 17.1%
############ 17.5%
############ 17.9%
############# 18.4%
-
############# 18.8%
############# 19.2%
############## 19.6%
############## 20.0%
############## 20.4%
############### 20.9%
############### 21.3%
############### 21.7%
############### 22.1%
################ 22.5%
################ 23.0%
-
################ 23.4%
################# 23.8%
################# 24.2%
################# 24.6%
################## 25.1%
################## 25.5%
################## 25.9%
################## 26.3%
################### 26.8%
################### 27.2%
-
################### 27.6%
#################### 28.0%
#################### 28.4%
#################### 28.8%
##################### 29.4%
##################### 29.8%
##################### 30.2%
##################### 30.6%
###################### 31.0%
###################### 31.4%
###################### 31.8%
-
####################### 32.2%
####################### 32.6%
####################### 33.0%
######################## 33.4%
######################## 34.0%
######################## 34.4%
######################### 34.8%
######################### 35.2%
######################### 35.6%
######################### 36.0%
########################## 36.5%
########################## 36.9%
-
########################## 37.3%
########################### 37.8%
########################### 38.2%
########################### 38.6%
############################ 39.0%
############################ 39.5%
############################ 39.9%
############################# 40.3%
############################# 40.7%
############################# 41.1%
-
############################# 41.5%
############################## 42.0%
############################## 42.4%
############################## 42.9%
############################### 43.3%
############################### 43.7%
############################### 44.1%
################################ 44.7%
################################ 45.1%
################################ 45.5%
################################# 45.9%
-
################################# 46.3%
################################# 46.7%
################################# 47.1%
################################## 47.6%
################################## 48.1%
################################## 48.5%
################################### 48.9%
################################### 49.3%
################################### 49.7%
-
#################################### 50.2%
#################################### 50.6%
#################################### 51.0%
##################################### 51.4%
##################################### 51.8%
##################################### 52.3%
##################################### 52.7%
###################################### 53.3%
###################################### 53.7%
###################################### 54.0%
####################################### 54.4%
-
####################################### 54.8%
####################################### 55.4%
######################################## 55.8%
######################################## 56.2%
######################################## 56.6%
######################################### 57.0%
######################################### 57.5%
######################################### 57.9%
########################################## 58.4%
########################################## 58.8%
########################################## 59.2%
-
########################################## 59.6%
########################################### 60.1%
########################################### 60.5%
########################################### 60.9%
############################################ 61.4%
############################################ 61.8%
############################################ 62.4%
############################################# 62.8%
############################################# 63.3%
############################################# 63.7%
-
############################################## 64.2%
############################################## 64.6%
############################################## 65.0%
############################################### 65.4%
############################################### 65.8%
############################################### 66.2%
################################################ 66.7%
################################################ 67.1%
################################################ 67.5%
################################################ 68.0%
################################################# 68.5%
-
################################################# 69.3%
################################################## 70.2%
################################################### 71.0%
################################################### 71.9%
#################################################### 72.7%
#################################################### 73.5%
##################################################### 74.3%
###################################################### 75.2%
###################################################### 76.0%
####################################################### 76.8%
####################################################### 77.7%
-
######################################################## 78.5%
######################################################### 79.3%
######################################################### 80.1%
########################################################## 81.0%
########################################################## 81.8%
########################################################### 82.6%
############################################################ 83.5%
############################################################ 84.3%
############################################################# 85.2%
############################################################# 86.1%
############################################################## 86.9%
-
############################################################### 87.7%
############################################################### 88.5%
################################################################ 89.4%
################################################################ 90.2%
################################################################# 91.1%
################################################################## 91.9%
################################################################## 92.8%
################################################################### 93.6%
#################################################################### 94.5%
#################################################################### 95.3%
##################################################################### 96.1%
-
##################################################################### 97.0%
###################################################################### 97.8%
####################################################################### 98.6%
####################################################################### 99.4%
######################################################################## 100.0%
- ==> Pouring portable-ruby-4.0.5.catalina.bottle.tar.gz
- ==> Homebrew collects anonymous analytics.
- Read the analytics documentation (and how to opt-out) here:
- https://docs.brew.sh/Analytics
- No analytics have been recorded yet (nor will be during this `brew` run).
-
- ==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
- https://github.com/Homebrew/brew#donations
-
- Already up-to-date.
2026-05-25 04:43.48 ---> using "5dc723071db6fcaea883bab37e10ec4085b411e2eec29229690721ef44feee7d" from cache
/: (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:43.49 ---> using "16a5c6c7a5226e2cfbc7ec4725bfdf06ec28dcd23c411830c4e6ae1ba8f174f2" from cache
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 \"\\\"macos-homebrew\\\"\"; 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
- install contract 0.1.0 (pinned)
- install dune 3.23.1 [required by contract]
- install 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.
# To update the current shell environment, run: eval $(opam env)
2026-05-25 04:43.49 ---> using "b6770038e771cc9bf9636cad843f04c5a897f7e24be55a20065184ca6e86dfb4" from cache
/: (run (network host)
(shell "(opam reinstall --with-test contract.0.1.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile contract 0.1.0 (pinned)
=== install 11 packages
- install alcotest 1.9.1 [required by contract]
- install astring 0.8.5 [required by alcotest]
- install cmdliner 2.1.1 [required by alcotest]
- install fmt 0.11.0 [required by alcotest]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- install ocamlbuild 0.16.1 [required by fmt, astring, uutf]
- install ocamlfind 1.9.8 [required by fmt, astring, uutf]
- install re 1.14.0 [required by alcotest]
- install stdlib-shims 0.3.0 [required by alcotest]
- install topkg 1.1.1 [required by fmt, astring, uutf]
- install 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)
-> retrieved ocamlfind.1.9.8 (https://github.com/ocaml/ocamlfind/archive/refs/tags/findlib-1.9.8.tar.gz)
-> installed ocaml-syntax-shims.1.0.0
-> 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)
-> retrieved uutf.1.0.4 (https://erratique.ch/software/uutf/releases/uutf-1.0.4.tbz)
-> installed stdlib-shims.0.3.0
-> installed re.1.14.0
-> installed cmdliner.2.1.1
-> installed ocamlfind.1.9.8
-> removed contract.0.1.0
-> installed ocamlbuild.0.16.1
-> 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.
# To update the current shell environment, run: eval $(opam env)
2026-05-25 04:44.21 ---> saved as "4c512ecafaee1905a2081f858e19cca933d8bd2c209499c2e6d74f1a8588d06c"
/: (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 \"\\\"macos-homebrew\\\"\"; 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
- recompile 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]
+ /Users/mac1000/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "contract" "-j" "11" (CWD=/Users/mac1000/.opam/5.4.0/.opam-switch/build/contract.0.1.0)
Processing 2/4: [contract: dune runtest]
+ /Users/mac1000/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "contract" (CWD=/Users/mac1000/.opam/5.4.0/.opam-switch/build/contract.0.1.0)
- (cd _build/default/test && ./test_contract.exe)
- Testing `contract'.
- This run has ID `R0VVRY6O'.
-
- [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.0/.opam-switch/build/contract.0.1.0/_build/default/test/_build/_tests/contract'.
- Test Successful in 0.007s. 45 tests run.
-> compiled contract.0.1.0
-> removed contract.0.1.0
-> installed contract.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-25 04:44.29 ---> saved as "4e29b09188ed19b8fe4a71161711a08cef992893bb79f6b40341985965080147"
Job succeeded
2026-05-25 04:44.42: Job succeeded