- github
- ocaml
- opam-repository
- 427bb6
- extras,opam-2.0-ocaml-5.3,brisk-reconciler.1.0.0~alpha1
(not at the head of any monitored branch or PR)
2025-02-27 18:32.01: New job: build brisk-reconciler.1.0.0~alpha1, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/27513/head (427bb6bf853c975cc0e7ff067c8b3df240b9a745)
on debian-12-ocaml-5.3/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/27513/head" && git reset --hard 427bb6bf
git fetch origin master
git merge --no-edit 0cc239352aa24b954c66ef5e9ea0d90ff214183b
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:6434bcbbde140b05dae76dbfeb2fd716579c003b44f3df292eca16e85504ddfa
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn brisk-reconciler.1.0.0~alpha1 1.0.0~alpha1
RUN opam depext brisk-reconciler.1.0.0~alpha1 && opam reinstall brisk-reconciler.1.0.0~alpha1; \
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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'brisk-reconciler.1.0.0~alpha1' && 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-02-27 18:32.01: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:6434bcbbde140b05dae76dbfeb2fd716579c003b44f3df292eca16e85504ddfa-brisk-reconciler.1.0.0~alpha1-427bb6bf853c975cc0e7ff067c8b3df240b9a745"
2025-02-27 18:32.01: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:6434bcbbde140b05dae76dbfeb2fd716579c003b44f3df292eca16e85504ddfa)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "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 depext -u || true"))
(run (shell "opam pin add -k version -yn brisk-reconciler.1.0.0~alpha1 1.0.0~alpha1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext brisk-reconciler.1.0.0~alpha1 && opam reinstall brisk-reconciler.1.0.0~alpha1;\
\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 \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'brisk-reconciler.1.0.0~alpha1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-02-27 18:32.01: Waiting for resource in pool OCluster
2025-02-27 18:32.01: Waiting for worker…
2025-02-27 18:34.12: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at 0cc239352a Merge pull request #27508 from daniel-larraz/opam-publish-kind2.2.3.0
Updating 0cc239352a..427bb6bf85
Fast-forward
.../brisk-reconciler.1.0.0~alpha1/opam | 53 ++++++++++++++++++++++
1 file changed, 53 insertions(+)
create mode 100644 packages/brisk-reconciler/brisk-reconciler.1.0.0~alpha1/opam
(from ocaml/opam:debian-12-ocaml-5.3@sha256:6434bcbbde140b05dae76dbfeb2fd716579c003b44f3df292eca16e85504ddfa)
2025-02-27 18:34.15 ---> using "23dae15f16843ab5902c5cce9dbc18fd61fe6dc052057f0ca063cfb82b8c6dd6" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-02-27 18:34.15 ---> saved as "a70cd149d62e0245813909ab9f6b70cd9bcf5dda15f8bcfed71823558370d87d"
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-02-27 18:35.14 ---> saved as "2bc4bbe8c957b9878990d59a40b5e269277b59ff797aaac8bfa0c3d966c58be4"
/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 39
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
2025-02-27 18:35.15 ---> saved as "d16cdacd80f742451995b692c92b746283ee5a87e6406c0bbbf8f19340233ad1"
/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-02-27 18:35.22 ---> saved as "2d1cb9c37337c80f174691b69a29575308982ca8a3d5f479e286ba358070a79b"
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-27 18:35.29 ---> saved as "c6ec6a6fab3f13a70915b52ca8d3861cfeed15b9007c0257163102c742255e81"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-02-27 18:35.52 ---> saved as "233dd66885107528832f81c318f3834273597b38ef40e61318c268b394c21c06"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "sudo":
apt-get update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [246 kB]
Fetched 349 kB in 0s (1159 kB/s)
Reading package lists...
# OS package update successful
2025-02-27 18:35.54 ---> saved as "fea9dfafcb7dce2208c4a3e0595a2f00f512ab4d74d3d7ae9e6c2e34d0d93704"
/home/opam: (run (shell "opam pin add -k version -yn brisk-reconciler.1.0.0~alpha1 1.0.0~alpha1"))
brisk-reconciler is now pinned to version 1.0.0~alpha1
2025-02-27 18:35.55 ---> saved as "ad87ec15f77970df9a4d530c93ff27c172367bff730c54ea61a6b1ac0210dbac"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext brisk-reconciler.1.0.0~alpha1 && opam reinstall brisk-reconciler.1.0.0~alpha1;\
\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 \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'brisk-reconciler.1.0.0~alpha1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
brisk-reconciler.1.0.0~alpha1 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install dune 3.17.2 [required by brisk-reconciler]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install sexplib0 v0.17.0 [required by ppxlib]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ppxlib 0.35.0 [required by brisk-reconciler]
- install brisk-reconciler 1.0.0~alpha1*
===== 7 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[brisk-reconciler.1.0.0~alpha1] downloaded from https://github.com/briskml/brisk-reconciler/archive/refs/tags/v1.0.0-alpha1.tar.gz
[dune.3.17.2] found in cache
[ocaml-compiler-libs.v0.17.0] found in cache
[ppx_derivers.1.2.1] found in cache
[ppxlib.0.35.0] found in cache
[sexplib0.v0.17.0] found in cache
[stdlib-shims.0.3.0] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed dune.3.17.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ppxlib.0.35.0
[ERROR] The compilation of brisk-reconciler failed at "/home/opam/.opam/opam-init/hooks/sandbox.sh build dune build -p brisk-reconciler -j 39 @install".
#=== ERROR while compiling brisk-reconciler.1.0.0~alpha1 ======================#
# context 2.0.10 | linux/x86_64 | ocaml-base-compiler.5.3.0 | pinned(https://github.com/briskml/brisk-reconciler/archive/refs/tags/v1.0.0-alpha1.tar.gz)
# path ~/.opam/5.3/.opam-switch/build/brisk-reconciler.1.0.0~alpha1
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p brisk-reconciler -j 39 @install
# exit-code 1
# env-file ~/.opam/log/brisk-reconciler-44-632471.env
# output-file ~/.opam/log/brisk-reconciler-44-632471.out
### output ###
# File "bench/dune", line 5, characters 29-38:
# 5 | (libraries core core_bench core_unix brisk-reconciler)
# ^^^^^^^^^
# Error: Library "core_unix" not found.
# -> required by _build/default/bench/benchmark.exe
# -> required by _build/install/default/bin/benchmark
# -> required by _build/default/brisk-reconciler.install
# -> required by alias install
# (cd _build/default && /home/opam/.opam/5.3/bin/ocamldep.opt -modules -intf src/hooks.mli) > _build/default/src/.brisk_reconciler.objs/brisk_reconciler__Hooks.intf.d
# File "src/hooks.mli", line 64, characters 4-10:
# 64 | val effect :
# ^^^^^^
# Error: Syntax error
# (cd _build/default && /home/opam/.opam/5.3/bin/ocamldep.opt -modules -impl src/hooks.ml) > _build/default/src/.brisk_reconciler.objs/brisk_reconciler__Hooks.impl.d
# File "src/hooks.ml", line 224, characters 4-10:
# 224 | let effect = Effect.hook
# ^^^^^^
# Error: Syntax error
# (cd _build/.sandbox/07e7d1057ed93f03702935ac889c7be2/default && .ppx/6ac441f1d9f67cce07055998a1d00827/ppx.exe -o bench/benchmark.pp.ml --impl bench/benchmark.ml -corrected-suffix .ppx-corrected -diff-cmd - -dump-ast)
# File "bench/benchmark.ml", line 77, characters 12-18:
# 77 | Hooks.effect OnMount
# ^^^^^^
# Error: Syntax error
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build brisk-reconciler 1.0.0~alpha1
+-
+- The following changes have been performed
| - install dune 3.17.2
| - install ocaml-compiler-libs v0.17.0
| - install ppx_derivers 1.2.1
| - install ppxlib 0.35.0
| - install sexplib0 v0.17.0
| - install stdlib-shims 0.3.0
+-
# Run eval $(opam env) to update the current shell environment
The former state can be restored with:
opam switch import "/home/opam/.opam/5.3/.opam-switch/backup/state-20250227183608.export"
"/usr/bin/env" "bash" "-c" "opam depext brisk-reconciler.1.0.0~alpha1 && opam reinstall brisk-reconciler.1.0.0~alpha1;
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 "\"debian-12\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'brisk-reconciler.1.0.0~alpha1' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 1
2025-02-27 18:37.24: Job failed: Failed: Build failed
2025-02-27 18:37.24: Log analysis:
2025-02-27 18:37.24: >>>
[ERROR] The compilation of brisk-reconciler failed at "/home/opam/.opam/opam-init/hooks/sandbox.sh build dune build -p brisk-reconciler -j 39 @install".
(score = 20)
2025-02-27 18:37.24: >>>
# Error: Library "core_unix" not found.
(score = 48)
2025-02-27 18:37.24: >>>
# Error: Syntax error
(score = 48)
2025-02-27 18:37.24: >>>
# Error: Syntax error
(score = 48)
2025-02-27 18:37.24: >>>
# Error: Syntax error
(score = 48)
2025-02-27 18:37.24: Library "core_unix" not found.