Organisationsocaml-multicorekcas7a83eb (main)freebsd-14.3-5.4_opam-2.5

freebsd-14.3-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-01-09 21:45.06: New job: test ocaml-multicore/kcas https://github.com/ocaml-multicore/kcas.git#refs/heads/main (7a83eb3d1900aeefde42a27c2af60e6d8b7b360e) (freebsd-x86_64:freebsd-14.3-5.4_opam-2.5)
Base: freebsd-14.3-ocaml-5.4
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-multicore/kcas.git" -b "main" && cd "kcas" && git reset --hard 7a83eb3d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.3-ocaml-5.4
# freebsd-14.3-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e a193e4c8620f671b789c6b89911346cdaaad9c1e || git fetch origin master) && git reset -q --hard a193e4c8620f671b789c6b89911346cdaaad9c1e && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 kcas_data.opam kcas.opam ./
RUN opam pin add -yn kcas_data.dev './' && \
opam pin add -yn kcas.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.20.2 fmt.0.11.0 logs.0.10.0 mdx.2.5.1 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.1 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 psq.0.2.1 qcheck-core.0.91 qcheck-multicoretests-util.0.10 qcheck-stm.0.10 re.1.14.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.1.1 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y kcas_data.dev kcas.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2026-01-09 21:45.06: Using cache hint "ocaml-multicore/kcas-freebsd-14.3-ocaml-5.4-freebsd-14.3-5.4_opam-2.5-cdfe04c4932bb40efc199ac9224d2cac"
2026-01-09 21:45.06: Using OBuilder spec:
((from freebsd-14.3-ocaml-5.4)
(comment freebsd-14.3-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a193e4c8620f671b789c6b89911346cdaaad9c1e || git fetch origin master) && git reset -q --hard a193e4c8620f671b789c6b89911346cdaaad9c1e && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src kcas_data.opam kcas.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn kcas_data.dev './' && \
\nopam pin add -yn kcas.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.20.2 fmt.0.11.0 logs.0.10.0 mdx.2.5.1 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.1 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 psq.0.2.1 qcheck-core.0.91 qcheck-multicoretests-util.0.10 qcheck-stm.0.10 re.1.14.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.1.1 uutf.1.0.4 yojson.3.0.0")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2026-01-09 21:45.06: Waiting for resource in pool OCluster
2026-01-10 03:57.29: Waiting for worker…
2026-01-10 06:10.32: Got resource from pool OCluster
Building on rosemary
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
hint:
hint: Disable this message with "git config set advice.defaultBranchName false"
Initialized empty Git repository in /obuilder/state/git/kcas.git-cbf061e658655f8b42c903a1e93e6fc6ed0528ae/.git/
HEAD is now at 7a83eb3 Inline `Loc` ops and unroll


(from freebsd-14.3-ocaml-5.4)
2026-01-10 06:06.47 ---> using "463e9b939b79b2568bf98b05cff00f85b3ec5717170cf88773a44ae3b08f11e7" from cache


/: (comment freebsd-14.3-5.4_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam"))
2026-01-10 06:06.49 ---> using "e61cc6f90204801db314d0aa3481b9199ff82a8a270abed9917e5690810c70ed" from cache


/src: (run (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-01-10 06:06.50 ---> using "991489237400f99acdd227f8234d37ac98134e18d1f3c091be7204acf59248ac" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.3-RELEASE-p3
The OCaml toplevel, version 5.4.0
2.5.0
2026-01-10 06:06.51 ---> using "add5f681a375911dcea6c14418d3635cba7f82294574aa9177e3a0a9fa01d5bd" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-01-10 06:06.52 ---> using "56f48ccddab22348a30c0beee9b14f69a3990eb0fbd9a0ccd0040d116cc1fce5" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a193e4c8620f671b789c6b89911346cdaaad9c1e || git fetch origin master) && git reset -q --hard a193e4c8620f671b789c6b89911346cdaaad9c1e && git log --no-decorate -n1 --oneline && opam update -u"))
a193e4c862 Merge pull request #29123 from jmid/opam-publish-qcheck.0.91


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Already up-to-date.
Nothing to do.
2026-01-10 06:06.54 ---> using "061a6c0bec679c889f30454bb34c1cb5970263706b90877141154c552a1ded05" from cache


/src: (copy (src kcas_data.opam kcas.opam) (dst ./))
2026-01-10 06:06.56 ---> saved as "73293961b3c76ae3a6198001756531ef198d2be9a3114d4571f5757fbf2348a0"


/src: (run (network host)
(shell  "opam pin add -yn kcas_data.dev './' && \
\nopam pin add -yn kcas.dev './'"))
[kcas_data.dev] synchronised (file:///src)
kcas_data is now pinned to file:///src (version dev)
[kcas.dev] synchronised (file:///src)
kcas is now pinned to file:///src (version dev)
2026-01-10 06:07.02 ---> saved as "2b3eda41edaf08fa72baaee8d6a09dec2edcf38c52101ef8b428b141ace5bed4"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-10 06:07.04 ---> saved as "0389810b4939f4c813000114a25125cd625a608ede9c7a8872698c5038060cb7"


/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.20.2 fmt.0.11.0 logs.0.10.0 mdx.2.5.1 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.1 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 psq.0.2.1 qcheck-core.0.91 qcheck-multicoretests-util.0.10 qcheck-stm.0.10 re.1.14.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.1.1 uutf.1.0.4 yojson.3.0.0")


/src: (env CI true)


/src: (env OCAMLCI true)


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y kcas_data.dev kcas.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[kcas_data.dev] synchronised (file:///src)
[kcas.dev] synchronised (file:///src)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2026-01-10 06:07.31 ---> saved as "78feac554c5884fe6028d3a1693f68db1a21d25b54165e8da683542803f16fcd"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 33 packages
 alcotest                   1.9.1
 astring                    0.8.5
 backoff                    0.1.1
 camlp-streams              5.0.1
 cmdliner                   2.1.0
 cppo                       1.8.0
 csexp                      1.5.2
 domain-local-await         1.0.1
 domain-local-timeout       1.0.1
 domain_shims               0.1.0
 dune                       3.20.2
 fmt                        0.11.0
 logs                       0.10.0
 mdx                        2.5.1
 mtime                      2.1.0
 multicore-bench            0.1.7
 multicore-magic            2.3.1
 ocaml-syntax-shims         1.0.0
 ocaml-version              4.0.3
 ocamlbuild                 0.16.1
 ocamlfind                  1.9.8
 psq                        0.2.1
 qcheck-core                0.91
 qcheck-multicoretests-util 0.10
 qcheck-stm                 0.10
 re                         1.14.0
 result                     1.5
 seq                        base
 stdlib-shims               0.3.0
 thread-table               1.0.0
 topkg                      1.1.1
 uutf                       1.0.4
 yojson                     3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved backoff.0.1.1  (cached)
 retrieved astring.0.8.5  (cached)
 retrieved camlp-streams.5.0.1  (cached)
 retrieved alcotest.1.9.1  (cached)
 retrieved cppo.1.8.0  (cached)
 retrieved csexp.1.5.2  (cached)
 retrieved domain-local-await.1.0.1  (cached)
 retrieved domain-local-timeout.1.0.1  (cached)
 retrieved domain_shims.0.1.0  (cached)
 retrieved cmdliner.2.1.0  (cached)
 retrieved logs.0.10.0  (cached)
 retrieved fmt.0.11.0  (cached)
 retrieved mtime.2.1.0  (cached)
 retrieved multicore-bench.0.1.7  (cached)
 retrieved mdx.2.5.1  (cached)
 retrieved multicore-magic.2.3.1  (cached)
 retrieved ocaml-syntax-shims.1.0.0  (cached)
 retrieved ocaml-version.4.0.3  (cached)
 retrieved ocamlfind.1.9.8  (cached)
 retrieved psq.0.2.1  (cached)
 retrieved ocamlbuild.0.16.1  (cached)
 retrieved qcheck-multicoretests-util.0.10, qcheck-stm.0.10  (cached)
 retrieved qcheck-core.0.91  (cached)
 retrieved re.1.14.0  (cached)
 retrieved seq.base  (cached)
 installed seq.base
 retrieved result.1.5  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved thread-table.1.0.0  (cached)
 retrieved uutf.1.0.4  (cached)
 retrieved topkg.1.1.1  (cached)
 retrieved yojson.3.0.0  (cached)
 installed cmdliner.2.1.0
 retrieved dune.3.20.2  (cached)
 installed ocamlfind.1.9.8
 installed ocamlbuild.0.16.1
 installed topkg.1.1.1
 installed uutf.1.0.4
 installed mtime.2.1.0
 installed fmt.0.11.0
 installed astring.0.8.5
 installed logs.0.10.0
 installed dune.3.20.2
 installed thread-table.1.0.0
 installed stdlib-shims.0.3.0
 installed result.1.5
 installed qcheck-core.0.91
 installed domain-local-await.1.0.1
 installed psq.0.2.1
 installed yojson.3.0.0
 installed ocaml-version.4.0.3
 installed qcheck-multicoretests-util.0.10
 installed domain-local-timeout.1.0.1
 installed re.1.14.0
 installed ocaml-syntax-shims.1.0.0
 installed qcheck-stm.0.10
 installed multicore-magic.2.3.1
 installed domain_shims.0.1.0
 installed csexp.1.5.2
 installed cppo.1.8.0
 installed camlp-streams.5.0.1
[ERROR] The compilation of alcotest.1.9.1 failed at "dune build -p alcotest -j 39 @install".
 installed backoff.0.1.1
 installed multicore-bench.0.1.7
 installed mdx.2.5.1


#=== ERROR while compiling alcotest.1.9.1 =====================================#
# context     2.5.0 | freebsd/x86_64 | ocaml-base-compiler.5.4.0 | git+file:///home/opam/opam-repository
# path        ~/.opam/5.4.0/.opam-switch/build/alcotest.1.9.1
# command     ~/.opam/5.4.0/bin/dune build -p alcotest -j 39 @install
# exit-code   1
# env-file    ~/.opam/log/alcotest-97943-f3171f.env
# output-file ~/.opam/log/alcotest-97943-f3171f.out
### output ###
# File "src/alcotest-engine/.alcotest_engine.objs/_unknown_", line 1, characters 0-0:
# Error: Error trying to read targets after a rule was run:
# - src/alcotest-engine/.alcotest_engine.objs/alcotest_engine__Log_trap_intf.impl.d: chmod(_build/default/src/alcotest-engine/.alcotest_engine.objs/alcotest_engine__Log_trap_intf.impl.d): Bad file descriptor


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
λ build alcotest 1.9.1
└─ 
┌─ The following changes have been performed
 install astring                    0.8.5
 install backoff                    0.1.1
 install camlp-streams              5.0.1
 install cmdliner                   2.1.0
 install cppo                       1.8.0
 install csexp                      1.5.2
 install domain-local-await         1.0.1
 install domain-local-timeout       1.0.1
 install domain_shims               0.1.0
 install dune                       3.20.2
 install fmt                        0.11.0
 install logs                       0.10.0
 install mdx                        2.5.1
 install mtime                      2.1.0
 install multicore-bench            0.1.7
 install multicore-magic            2.3.1
 install ocaml-syntax-shims         1.0.0
 install ocaml-version              4.0.3
 install ocamlbuild                 0.16.1
 install ocamlfind                  1.9.8
 install psq                        0.2.1
 install qcheck-core                0.91
 install qcheck-multicoretests-util 0.10
 install qcheck-stm                 0.10
 install re                         1.14.0
 install result                     1.5
 install seq                        base
 install stdlib-shims               0.3.0
 install thread-table               1.0.0
 install topkg                      1.1.1
 install uutf                       1.0.4
 install yojson                     3.0.0
└─ 


The former state can be restored with:
/usr/local/bin/opam switch import "/home/opam/.opam/5.4.0/.opam-switch/backup/state-20260110060743.export"
jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' DEPS='alcotest.1.9.1 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.20.2 fmt.0.11.0 logs.0.10.0 mdx.2.5.1 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.1 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 psq.0.2.1 qcheck-core.0.91 qcheck-multicoretests-util.0.10 qcheck-stm.0.10 re.1.14.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.1.1 uutf.1.0.4 yojson.3.0.0' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam install $DEPS': failed
"jail" "-c" "name=obuilder_56181_23268" "mount.fstab=/tmp/obuilder-jail-4f4e27/fstab" "mount.devfs" "path=/obuilder/result/09eb5c493ac2df45b5be98dab1031dbe04a7e4c128331b29b7741099db2e8648/rootfs" "host=inherit" "ip6=inherit" "ip4=inherit" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' DEPS='alcotest.1.9.1 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 domain_shims.0.1.0 dune.3.20.2 fmt.0.11.0 logs.0.10.0 mdx.2.5.1 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.1 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 psq.0.2.1 qcheck-core.0.91 qcheck-multicoretests-util.0.10 qcheck-stm.0.10 re.1.14.0 result.1.5 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.1.1 uutf.1.0.4 yojson.3.0.0' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam install $DEPS'" failed with exit status 1
2026-01-10 06:31.26: Job failed: Failed: Build failed