- github
- ocaml
- opam-repository
- fd56df
- macos,macos-homebrew-ocaml-5.3-arm64,metadata.0.3.1,tests
(not at the head of any monitored branch or PR)
2025-04-01 19:49.18: New job: test metadata.0.3.1, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27698/head (fd56df80ed95cbe760cf7d92ab5f337d6244e661)
on macos-homebrew-ocaml-5.3/arm64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/27698/head" && git reset --hard fd56df80
git fetch origin master
git merge --no-edit 4d8fa0fb8fce3b6c8b06f29ebcfa844c292d4f3e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.3
USER 1000:1000
RUN ln -f ~/local/bin/opam-2.3 ~/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 metadata.0.3.1 0.3.1
RUN opam reinstall metadata.0.3.1; \
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" != 'metadata.0.3.1' && 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 metadata.0.3.1) || true
RUN opam reinstall --with-test --verbose metadata.0.3.1; \
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" != 'metadata.0.3.1' && 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 .
2025-04-01 19:49.18: Using cache hint "macos-homebrew-ocaml-5.3-metadata.0.3.1-fd56df80ed95cbe760cf7d92ab5f337d6244e661"
2025-04-01 19:49.18: Using OBuilder spec:
((from macos-homebrew-ocaml-5.3)
(user (uid 1000) (gid 1000))
(run (shell "ln -f ~/local/bin/opam-2.3 ~/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 metadata.0.3.1 0.3.1"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam reinstall metadata.0.3.1;\
\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\" != 'metadata.0.3.1' && 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 metadata.0.3.1) || true"))
(run (shell "opam reinstall --with-test --verbose metadata.0.3.1;\
\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\" != 'metadata.0.3.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-04-01 19:49.18: Waiting for resource in pool OCluster
2025-04-01 19:49.18: Waiting for worker…
2025-04-01 19:51.31: Got resource from pool OCluster
Building on m1-worker-04
All commits already cached
Updating files: 54% (12403/22765)
Updating files: 55% (12521/22765)
Updating files: 56% (12749/22765)
Updating files: 57% (12977/22765)
Updating files: 58% (13204/22765)
Updating files: 59% (13432/22765)
Updating files: 60% (13659/22765)
Updating files: 61% (13887/22765)
Updating files: 62% (14115/22765)
Updating files: 63% (14342/22765)
Updating files: 64% (14570/22765)
Updating files: 65% (14798/22765)
Updating files: 66% (15025/22765)
Updating files: 67% (15253/22765)
Updating files: 68% (15481/22765)
Updating files: 69% (15708/22765)
Updating files: 70% (15936/22765)
Updating files: 71% (16164/22765)
Updating files: 72% (16391/22765)
Updating files: 73% (16619/22765)
Updating files: 74% (16847/22765)
Updating files: 75% (17074/22765)
Updating files: 76% (17302/22765)
Updating files: 77% (17530/22765)
Updating files: 78% (17757/22765)
Updating files: 79% (17985/22765)
Updating files: 80% (18212/22765)
Updating files: 81% (18440/22765)
Updating files: 82% (18668/22765)
Updating files: 83% (18895/22765)
Updating files: 84% (19123/22765)
Updating files: 85% (19351/22765)
Updating files: 86% (19578/22765)
Updating files: 87% (19806/22765)
Updating files: 88% (20034/22765)
Updating files: 89% (20261/22765)
Updating files: 90% (20489/22765)
Updating files: 91% (20717/22765)
Updating files: 92% (20944/22765)
Updating files: 92% (20986/22765)
Updating files: 93% (21172/22765)
Updating files: 94% (21400/22765)
Updating files: 95% (21627/22765)
Updating files: 96% (21855/22765)
Updating files: 97% (22083/22765)
Updating files: 98% (22310/22765)
Updating files: 99% (22538/22765)
Updating files: 100% (22765/22765)
Updating files: 100% (22765/22765), done.
HEAD is now at 4d8fa0fb8f Merge pull request #27693 from hhugo/lwt-ppx
Updating 4d8fa0fb8f..fd56df80ed
Fast-forward
packages/metadata/metadata.0.3.1/opam | 37 +++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 packages/metadata/metadata.0.3.1/opam
(from macos-homebrew-ocaml-5.3)
2025-04-01 19:51.34 ---> using "6ee950b55569b1a3f8a7953dc679318bf303d3a70ac7d49901c0ac2ca3805d7c" from cache
/: (user (uid 1000) (gid 1000))
/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-04-01 19:51.34 ---> using "92705670bd1f6c37fa31d9a6dfa42537267d9f8e4fd7c2ec00237f6a7d22e661" 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
2025-04-01 19:51.34 ---> using "8bd5d340faa8ad1722e010203f7a4caea560522985969db275c7542dbb56b072" 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.3.0
# self-upgrade no
# system arch=arm64 os=macos os-distribution=homebrew os-version=14.4
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 7
# repositories 1 (version-controlled)
# pinned 0
# current-switch 5.3.0
# invariant ["ocaml-base-compiler" {= "5.3.0"} | "ocaml-system" {= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /Users/mac1000/.opam/5.3.0/lib/ocaml/stublibs:/Users/mac1000/.opam/5.3.0/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2025-04-01 19:51.35 ---> using "401f61792e35006b8b67fb65b6928feb197e69b5582a54739bb4533b10bc0056" 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/"))
2025-04-01 19:51.35 ---> using "30332a7c2ac1a8ef60b47b6542aab2c86d16592008aab0760c9c2da8824ae6fb" from cache
/: (copy (src .) (dst opam-repository/))
2025-04-01 19:51.36 ---> using "b5adeeeda9cf7251e6a654e6623fedcf9dbc2d87e06e52c06cd08b916fd616c3" from cache
/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2025-04-01 19:51.36 ---> using "09e2e25c9b0da72bd07219ffc2914de606e96299adecc087b061a811fcccda35" from cache
/: (run (network host)
(shell "opam update --depexts || true"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- ==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:d9faa506c014dedc0b034a68103ba75c9a58242f4d6c67b6ca0f649c39602bcf
- #=#=#
0.0%
0.8%
1.3%
# 2.0%
# 2.7%
## 3.5%
-
## 4.1%
### 4.7%
### 5.2%
#### 5.7%
#### 6.1%
#### 6.6%
##### 7.0%
##### 7.5%
##### 8.0%
###### 8.4%
-
###### 8.8%
###### 9.2%
###### 9.6%
####### 10.2%
####### 10.6%
####### 11.0%
######## 11.5%
######## 12.0%
######## 12.4%
######### 12.9%
######### 13.3%
-
######### 13.8%
########## 14.2%
########## 14.7%
########## 15.1%
########### 15.6%
########### 16.1%
########### 16.5%
############ 17.0%
############ 17.5%
############ 17.9%
############# 18.3%
-
############# 18.9%
############# 19.3%
############## 19.7%
############## 20.1%
############## 20.7%
############### 21.1%
############### 21.5%
############### 21.9%
################ 22.5%
################ 22.9%
################ 23.3%
-
################# 23.9%
################# 24.3%
################# 24.7%
################## 25.1%
################## 25.6%
################## 26.1%
################### 26.5%
################### 27.1%
################### 27.5%
#################### 27.9%
#################### 28.4%
-
#################### 28.8%
##################### 29.3%
##################### 29.8%
##################### 30.2%
###################### 30.6%
###################### 31.2%
###################### 31.6%
####################### 32.0%
####################### 32.4%
####################### 32.8%
-
####################### 33.2%
######################## 33.8%
######################## 34.2%
######################## 34.6%
######################### 35.1%
######################### 35.6%
######################### 36.0%
########################## 36.5%
########################## 36.9%
########################## 37.4%
########################### 37.9%
-
########################### 38.3%
########################### 38.7%
############################ 39.3%
############################ 39.7%
############################ 40.1%
############################# 40.5%
############################# 40.9%
############################# 41.5%
############################## 41.9%
############################## 42.3%
-
############################## 42.7%
############################### 43.2%
############################### 43.7%
############################### 44.3%
################################ 45.1%
################################# 46.1%
################################# 46.9%
################################## 47.8%
################################### 48.8%
################################### 49.6%
#################################### 50.2%
-
#################################### 50.7%
#################################### 51.1%
##################################### 51.6%
##################################### 52.1%
##################################### 52.5%
###################################### 52.9%
###################################### 53.4%
###################################### 53.8%
####################################### 54.2%
####################################### 54.8%
####################################### 55.2%
-
######################################## 55.6%
######################################## 56.0%
######################################## 56.4%
######################################## 56.9%
######################################### 57.4%
######################################### 57.8%
######################################### 58.3%
########################################## 58.7%
########################################## 59.1%
########################################## 59.7%
########################################### 60.1%
-
########################################### 60.6%
########################################### 61.1%
############################################ 61.5%
############################################ 61.9%
############################################ 62.3%
############################################# 62.7%
############################################# 63.1%
############################################# 63.7%
############################################## 64.1%
############################################## 64.5%
############################################## 65.0%
############################################### 65.4%
-
############################################### 65.9%
############################################### 66.4%
################################################ 66.8%
################################################ 67.2%
################################################ 67.6%
################################################ 68.0%
################################################# 68.5%
################################################# 69.0%
################################################# 69.4%
################################################## 69.9%
-
################################################## 70.3%
################################################## 70.8%
################################################### 71.2%
################################################### 71.7%
################################################### 72.1%
#################################################### 72.5%
#################################################### 72.9%
#################################################### 73.5%
##################################################### 73.9%
##################################################### 74.3%
##################################################### 74.7%
-
###################################################### 75.2%
###################################################### 75.6%
###################################################### 76.1%
####################################################### 76.6%
####################################################### 77.0%
####################################################### 77.4%
######################################################## 77.8%
######################################################## 78.2%
######################################################## 78.8%
######################################################### 79.2%
######################################################### 79.6%
-
######################################################### 80.1%
########################################################## 80.6%
########################################################## 81.0%
########################################################## 81.6%
########################################################### 82.0%
########################################################### 82.4%
########################################################### 82.8%
########################################################### 83.3%
############################################################ 83.7%
############################################################ 84.2%
############################################################ 84.7%
-
############################################################# 85.1%
############################################################# 85.6%
############################################################# 86.1%
############################################################## 86.5%
############################################################## 86.9%
############################################################## 87.5%
############################################################### 87.9%
############################################################### 88.4%
############################################################### 88.9%
################################################################ 89.3%
################################################################ 89.8%
-
################################################################# 90.4%
################################################################# 90.8%
################################################################# 91.2%
################################################################# 91.6%
################################################################## 92.1%
################################################################## 92.6%
################################################################## 93.0%
################################################################### 93.5%
################################################################### 93.9%
################################################################### 94.3%
#################################################################### 94.7%
-
#################################################################### 95.1%
#################################################################### 95.4%
#################################################################### 95.7%
##################################################################### 96.0%
##################################################################### 96.3%
##################################################################### 96.5%
##################################################################### 96.8%
##################################################################### 97.0%
###################################################################### 97.2%
###################################################################### 97.4%
-
###################################################################### 97.7%
###################################################################### 97.9%
###################################################################### 98.1%
###################################################################### 98.4%
###################################################################### 98.5%
####################################################################### 98.8%
####################################################################### 99.1%
####################################################################### 99.2%
####################################################################### 99.5%
####################################################################### 99.6%
####################################################################### 99.9%
######################################################################## 100.0%
- ==> Pouring portable-ruby-3.3.7.arm64_big_sur.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.
2025-04-01 19:51.36 ---> using "ee7ba8d2d398e84ae8be6d87a5c8ad71024bb672076fd4a6c60a0a71fffd9e44" from cache
/: (run (shell "opam pin add -k version -yn metadata.0.3.1 0.3.1"))
metadata is now pinned to version 0.3.1
2025-04-01 19:51.36 ---> using "ff45f2cfe4b4f1e9c826df55c179466d4daba37d209d871cf967977b0db1ced0" from cache
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam reinstall metadata.0.3.1;\
\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\" != 'metadata.0.3.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
metadata.0.3.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 2 packages
- install dune 3.17.2 [required by metadata]
- install metadata 0.3.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.17.2 (cached)
-> retrieved metadata.0.3.1 (https://github.com/savonet/ocaml-metadata/archive/refs/tags/v0.3.1.tar.gz)
-> installed dune.3.17.2
-> installed metadata.0.3.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-01 19:51.36 ---> using "a31d06891d7f4c7b7df452462374e07f6e5b4d2ba6428eb1b8cbbb183ad71ede" from cache
/: (run (network host)
(shell "(opam reinstall --with-test metadata.0.3.1) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile metadata 0.3.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed metadata.0.3.1
-> installed metadata.0.3.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-01 19:51.40 ---> saved as "116784743321475763d7ed54f761a9843b8991f3e97ea9c07287d533a0913962"
/: (run (shell "opam reinstall --with-test --verbose metadata.0.3.1;\
\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\" != 'metadata.0.3.1' && 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 metadata 0.3.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [metadata: dune build]
+ /Users/mac1000/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "metadata" "-j" "7" "@install" "@runtest" (CWD=/Users/mac1000/.opam/5.3.0/.opam-switch/build/metadata.0.3.1)
-> compiled metadata.0.3.1
-> removed metadata.0.3.1
-> installed metadata.0.3.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-01 19:51.44 ---> saved as "423b7c813a52aebf43076ede0f17877ba99e622a4e1da577af88b41b881db865"
Job succeeded
2025-04-01 19:51.53: Job succeeded