Build:
- 0
2025-12-24 13:26.59: New job: build polymarket.0.1.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29133/head (37e89fd57efe10443bbca8e851cca7093f8f3b82)
on opensuse-tumbleweed-ocaml-4.14/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/29133/head" && git reset --hard 37e89fd5
git fetch origin master
git merge --no-edit 235b964523a3fb438c9ad050e86b03e07685c4c1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:35d8588c0bf0cebded8d47cb638e143233f4b38dc900e3631376ae0a651da25d
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/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 polymarket.0.1.0 0.1.0
RUN opam reinstall polymarket.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 "\"opensuse-tumbleweed\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'polymarket.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 .
2025-12-24 13:26.59: Using cache hint "ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:35d8588c0bf0cebded8d47cb638e143233f4b38dc900e3631376ae0a651da25d-polymarket.0.1.0-37e89fd57efe10443bbca8e851cca7093f8f3b82"
2025-12-24 13:26.59: Using OBuilder spec:
((from ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:35d8588c0bf0cebded8d47cb638e143233f4b38dc900e3631376ae0a651da25d)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -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 polymarket.0.1.0 0.1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall polymarket.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 \"\\\"opensuse-tumbleweed\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'polymarket.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"))
)
2025-12-24 13:26.59: Waiting for resource in pool OCluster
2025-12-24 13:26.59: Waiting for worker…
2025-12-24 13:27.03: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 94% (18006/19101)
Updating files: 95% (18146/19101)
Updating files: 96% (18337/19101)
Updating files: 97% (18528/19101)
Updating files: 98% (18719/19101)
Updating files: 99% (18910/19101)
Updating files: 100% (19101/19101)
Updating files: 100% (19101/19101), done.
HEAD is now at 235b964523 Merge pull request #29129 from dx3mod/master
Updating 235b964523..37e89fd57e
Fast-forward
packages/polymarket/polymarket.0.1.0/opam | 46 +++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
create mode 100644 packages/polymarket/polymarket.0.1.0/opam
(from ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:35d8588c0bf0cebded8d47cb638e143233f4b38dc900e3631376ae0a651da25d)
Unable to find image 'ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:35d8588c0bf0cebded8d47cb638e143233f4b38dc900e3631376ae0a651da25d' locally
docker.io/ocaml/opam@sha256:35d8588c0bf0cebded8d47cb638e143233f4b38dc900e3631376ae0a651da25d: Pulling from ocaml/opam
02575bac117c: Pulling fs layer
7df6a6aef290: Pulling fs layer
a3067e29fda8: Pulling fs layer
8a2d1e106fb6: Pulling fs layer
7df6a6aef290: Waiting
a3067e29fda8: Waiting
fb313ae6d4d6: Pulling fs layer
8a2d1e106fb6: Waiting
fb313ae6d4d6: Waiting
7df6a6aef290: Verifying Checksum
7df6a6aef290: Download complete
a3067e29fda8: Verifying Checksum
a3067e29fda8: Download complete
8a2d1e106fb6: Download complete
fb313ae6d4d6: Download complete
02575bac117c: Pull complete
7df6a6aef290: Pull complete
a3067e29fda8: Pull complete
8a2d1e106fb6: Pull complete
fb313ae6d4d6: Pull complete
Digest: sha256:35d8588c0bf0cebded8d47cb638e143233f4b38dc900e3631376ae0a651da25d
Status: Downloaded newer image for ocaml/opam@sha256:35d8588c0bf0cebded8d47cb638e143233f4b38dc900e3631376ae0a651da25d
2025-12-24 13:28.37 ---> using "19d7569c837b9b31bfedb1a14ccfb244ce4eabcd77f4aed980ed7132eacc0676" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-24 13:28.37 ---> using "c70605fd277f8f13bce9f4beaf2d4e77ec8dcc5b44b43a0f8f7a014375c6196a" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from 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.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-24 13:28.37 ---> using "110cf9a71055e84b930080b5ec3ccf78fb61c746bc57f7e8409d942f7bf01df3" 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.0
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=opensuse-tumbleweed os-version=20251217
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2025-12-24 13:28.37 ---> using "df197dd34223712728007c8c9b4d5242d51b2722c8687f65b232692143c4ec1d" 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/"))
2025-12-24 13:28.37 ---> using "324317492b443e0532597417c83bd1b67b9c5b8dd3b01a837a1405b1284a7ac5" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-24 13:28.53 ---> saved as "2221c0ea43e2985ac9746744fe5aadb6eb0378e01465297d928396eed6341151"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-24 13:29.15 ---> saved as "55e49700a3b6910825d253f76a7a52e0081efc3b788a0f70e12e61c9ce695391"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Repository 'openSUSE-Tumbleweed-Update' is up to date.
- Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata [...
- Looking for gpg keys in repository openSUSE-Tumbleweed-Non-Oss.
- gpgkey=http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml.key
- .
- .....done]
- Building repository 'openSUSE-Tumbleweed-Non-Oss' cache [....done]
- Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [...
- Looking for gpg keys in repository openSUSE-Tumbleweed-Oss.
- gpgkey=http://download.opensuse.org/tumbleweed/repo/oss/repodata/repomd.xml.key
- ....
- ..........
- .........
- ...........
- .........
- ..........
- ........done]
- Building repository 'openSUSE-Tumbleweed-Oss' cache [..
- ..done]
- All repositories have been refreshed.
2025-12-24 13:29.29 ---> saved as "98dd5fbb5a9962bfa5d11d9c7d1b14ed82678a8bb439472d12ca0f721e134072"
/home/opam: (run (shell "opam pin add -k version -yn polymarket.0.1.0 0.1.0"))
polymarket is now pinned to version 0.1.0
2025-12-24 13:29.30 ---> saved as "3d75856179056dd79b8523dceb3a0a0702983ada5e32d18ba989deb0517b2db0"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall polymarket.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 \"\\\"opensuse-tumbleweed\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'polymarket.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"))
polymarket.0.1.0 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 4.14.2
- polymarket -> ocaml >= 5.1 -> ocaml-variants < 5.5.1~
You can temporarily relax the switch invariant with `--update-invariant'
* Missing dependency:
- polymarket -> ocaml >= 5.1 -> ocaml-variants < 5.1.1~ -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- polymarket -> ocaml >= 5.1 -> ocaml-variants < 5.2.1~ -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall polymarket.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 "\"opensuse-tumbleweed\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'polymarket.0.1.0' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 20
2025-12-24 13:29.57: Job failed: Failed: Build failed
2025-12-24 13:29.57: Log analysis:
2025-12-24 13:29.57: >>>
No solution found, exiting
(score = 100)
2025-12-24 13:29.57: [SKIP] Package not available