Organisationsocamlopam-file-format59d9a6 (master)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2025-10-15 10:12.56: New job: test ocaml/opam-file-format https://github.com/ocaml/opam-file-format.git#refs/heads/master (59d9a6b585ac3fd141004f155a459e78f39993ac) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-13-ocaml-4.08@sha256:d8500c15c97ddcfabe40e74b26beae4dbdf65385f70ca81d97f44f1a6556480f
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml/opam-file-format.git" -b "master" && cd "opam-file-format" && git reset --hard 59d9a6b5
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.08@sha256:d8500c15c97ddcfabe40e74b26beae4dbdf65385f70ca81d97f44f1a6556480f
# debian-13-4.08_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /usr/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 f736a66f83aeced5a0c0d90b769613178cd63b26 || git fetch origin master) && git reset -q --hard f736a66f83aeced5a0c0d90b769613178cd63b26 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-file-format.opam ./
RUN opam pin add -yn opam-file-format.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.0.1 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.4 conf-m4.1 dune.3.15.3 fmt.0.8.6 jbuilder.1.0+beta20.1 menhir.20211230 menhirLib.20211230 menhirSdk.20211230 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.8 uuidm.0.9.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y opam-file-format.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


2025-10-15 10:12.56: Using cache hint "ocaml/opam-file-format-ocaml/opam:debian-13-ocaml-4.08@sha256:d8500c15c97ddcfabe40e74b26beae4dbdf65385f70ca81d97f44f1a6556480f-debian-13-4.08_opam-2.4-4373f476d713d0bc9469ebc13953d533"
2025-10-15 10:12.56: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:d8500c15c97ddcfabe40e74b26beae4dbdf65385f70ca81d97f44f1a6556480f)
(comment debian-13-4.08_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/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 f736a66f83aeced5a0c0d90b769613178cd63b26 || git fetch origin master) && git reset -q --hard f736a66f83aeced5a0c0d90b769613178cd63b26 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src opam-file-format.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn opam-file-format.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.0.1 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.4 conf-m4.1 dune.3.15.3 fmt.0.8.6 jbuilder.1.0+beta20.1 menhir.20211230 menhirLib.20211230 menhirSdk.20211230 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.8 uuidm.0.9.7")
(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.4 --depext-only -y opam-file-format.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"))
)


2025-10-15 10:12.56: Waiting for resource in pool OCluster
2025-10-15 10:37.39: Waiting for worker…
2025-10-15 10:39.37: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 59d9a6b Release 2.2.0


(from ocaml/opam:debian-13-ocaml-4.08@sha256:d8500c15c97ddcfabe40e74b26beae4dbdf65385f70ca81d97f44f1a6556480f)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.08@sha256:d8500c15c97ddcfabe40e74b26beae4dbdf65385f70ca81d97f44f1a6556480f' locally
docker.io/ocaml/opam@sha256:d8500c15c97ddcfabe40e74b26beae4dbdf65385f70ca81d97f44f1a6556480f: Pulling from ocaml/opam
Digest: sha256:d8500c15c97ddcfabe40e74b26beae4dbdf65385f70ca81d97f44f1a6556480f
Status: Downloaded newer image for ocaml/opam@sha256:d8500c15c97ddcfabe40e74b26beae4dbdf65385f70ca81d97f44f1a6556480f
2025-10-15 10:39.37 ---> using "8a3fb29dc134ae8cb5011e033937cdf0919031452506a2a7eeab7ea43cc7fe2e" from cache


/: (comment debian-13-4.08_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-10-15 10:39.37 ---> using "7134e21d81f07b88d496fc7d9fd04fcb845e713e71c7127239ae60f709c1f819" from cache


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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
[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-10-15 10:39.37 ---> using "0de99fe1fc7db47f0d213e483cd4c74c50dc88c047d676e7b3e663d490603d03" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 4.08.1
2.4.1
2025-10-15 10:39.37 ---> using "7f5b4185ab939079de06e4b6702889016fe9034c4b93a6a5f33c92159947d2e0" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-15 10:39.37 ---> using "644bc905a4b4c723467d7709d79c77aaef4ff740a5c0ccc468070bae516b8a06" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e f736a66f83aeced5a0c0d90b769613178cd63b26 || git fetch origin master) && git reset -q --hard f736a66f83aeced5a0c0d90b769613178cd63b26 && git log --no-decorate -n1 --oneline && opam update -u"))
f736a66f83 Merge pull request #28602 from dbuenzli/cmdliner-incompat


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


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.3.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-10-15 10:39.37 ---> using "63d0fc6f279ae30c2b65704f6460d562ae35bbbaa508b7cfe06cd35be8927bbc" from cache


/src: (copy (src opam-file-format.opam) (dst ./))
2025-10-15 10:39.37 ---> saved as "0a26fb88ce20b664bf6e778de164a3db167e648c324f38ba9f5f57fa0c8578f7"


/src: (run (network host)
(shell "opam pin add -yn opam-file-format.dev './'"))
[opam-file-format.dev] synchronised (file:///src)
opam-file-format is now pinned to file:///src (version dev)
2025-10-15 10:39.39 ---> saved as "bea4a0b6960ee446275a650fdceb014b8bfaff760e68c795b711ddb97b94c893"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-15 10:39.39 ---> saved as "28c42441b1855625e04209b097fa8ced4231b785ca8383608f8798f4eb406461"


/src: (env DEPS "alcotest.1.0.1 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.4 conf-m4.1 dune.3.15.3 fmt.0.8.6 jbuilder.1.0+beta20.1 menhir.20211230 menhirLib.20211230 menhirSdk.20211230 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.8 uuidm.0.9.7")


/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.4 --depext-only -y opam-file-format.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [53.8 kB]
- Fetched 145 kB in 0s (1813 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-file-format.dev] synchronised (file:///src)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[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-bigarray is already installed (current version is base).


The following system packages will first need to be installed:
m4


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- Selecting previously unselected package m4.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20622 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-8_amd64.deb ...
- Unpacking m4 (1.4.19-8) ...
- Setting up m4 (1.4.19-8) ...
2025-10-15 10:39.48 ---> saved as "dfa4b8d8220a664c2c62df10dda670c450e6c3c9bf2948ad1f5b1471af602287"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 18 packages
- install alcotest     1.0.1
- install astring      0.8.3
- install base-bytes   base
- install cmdliner     1.0.4
- install conf-m4      1
- install dune         3.15.3
- install fmt          0.8.6
- install jbuilder     1.0+beta20.1 (deprecated)
- install menhir       20211230
- install menhirLib    20211230
- install menhirSdk    20211230
- install ocamlbuild   0.14.0
- install ocamlfind    1.8.0
- install re           1.7.2
- install seq          0.3
- install stdlib-shims 0.1.0
- install topkg        1.0.8
- install uuidm        0.9.7


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.0.1  (cached)
-> retrieved astring.0.8.3  (cached)
-> retrieved cmdliner.1.0.4  (cached)
-> installed conf-m4.1
-> retrieved fmt.0.8.6  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved menhir.20211230, menhirLib.20211230, menhirSdk.20211230  (https://opam.ocaml.org/cache)
-> retrieved dune.3.15.3  (cached)
-> retrieved ocamlfind.1.8.0  (cached)
-> retrieved re.1.7.2  (cached)
-> retrieved seq.0.3  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved uuidm.0.9.7  (cached)
-> retrieved topkg.1.0.8  (cached)
-> installed cmdliner.1.0.4
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed jbuilder.1.0+beta20.1
-> installed ocamlbuild.0.14.0
-> installed re.1.7.2
-> installed topkg.1.0.8
-> installed uuidm.0.9.7
-> installed astring.0.8.3
-> installed dune.3.15.3
-> installed seq.0.3
-> installed stdlib-shims.0.1.0
-> installed menhirSdk.20211230
-> installed menhirLib.20211230
-> installed fmt.0.8.6
-> installed alcotest.1.0.1
-> installed menhir.20211230
Done.


<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-10-15 10:40.20 ---> saved as "fc1e302e94a900530fb0a3410c450a8e88d63843befa40516c4129aa4870251d"


/src: (copy (src .) (dst /src))
2025-10-15 10:40.20 ---> saved as "071ff568e773a9f84b3d6309c35fbdd39b6d567d47b273e92ab5af8e94c20424"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/tests/simple && ./simple.exe)
Successfully loaded ./opam-file-format.opam
(cd _build/default/tests && ./tests.exe)
Testing opam-file-format.
This run has ID `95CF8216-6175-4F3C-A062-4D55B29A2E5A`.
...                oldpos values             0   parser-printer simple.
[OK]                oldpos values             0   parser-printer simple.
...                oldpos values             1   parser-printer unop.
[OK]                oldpos values             1   parser-printer unop.
...                oldpos values             2   parser-printer binop.
[OK]                oldpos values             2   parser-printer binop.
...                oldpos values             3   parser-printer lists.
[OK]                oldpos values             3   parser-printer lists.
...                oldpos values             4   parser-printer and_or.
[OK]                oldpos values             4   parser-printer and_or.
...                oldpos values             5   parser simple.
[OK]                oldpos values             5   parser simple.
...                oldpos values             6   parser unop.
[OK]                oldpos values             6   parser unop.
...                oldpos values             7   parser binop.
[OK]                oldpos values             7   parser binop.
...                oldpos values             8   parser lists.
[OK]                oldpos values             8   parser lists.
...                oldpos values             9   parser and_or.
[OK]                oldpos values             9   parser and_or.
...                oldpos values            10   printer simple.
[OK]                oldpos values            10   printer simple.
...                oldpos values            11   printer unop.
[OK]                oldpos values            11   printer unop.
...                oldpos values            12   printer binop.
[OK]                oldpos values            12   printer binop.
...                oldpos values            13   printer lists.
[OK]                oldpos values            13   printer lists.
...                oldpos values            14   printer and_or.
[OK]                oldpos values            14   printer and_or.
...                oldpos items              0   variable printer.
[OK]                oldpos items              0   variable printer.
...                oldpos items              1   variable parser.
[OK]                oldpos items              1   variable parser.
...                oldpos items              2   variable parser-printer.
[OK]                oldpos items              2   variable parser-printer.
...                oldpos items              3   section printer.
[OK]                oldpos items              3   section printer.
...                oldpos items              4   section parser.
[OK]                oldpos items              4   section parser.
...                oldpos items              5   section parser-printer.
[OK]                oldpos items              5   section parser-printer.
...                oldpos opamfile           0   parser.
[OK]                oldpos opamfile           0   parser.
...                oldpos opamfile           1   printer.
[OK]                oldpos opamfile           1   printer.
...                oldpos opamfile           2   parser-printer.
[OK]                oldpos opamfile           2   parser-printer.
...                oldpos opamfile           3   positions-file.
[OK]                oldpos opamfile           3   positions-file.
...                fullpos values            0   parser-printer simple.
[OK]                fullpos values            0   parser-printer simple.
...                fullpos values            1   parser-printer unop.
[OK]                fullpos values            1   parser-printer unop.
...                fullpos values            2   parser-printer binop.
[OK]                fullpos values            2   parser-printer binop.
...                fullpos values            3   parser-printer lists.
[OK]                fullpos values            3   parser-printer lists.
...                fullpos values            4   parser-printer and_or.
[OK]                fullpos values            4   parser-printer and_or.
...                fullpos values            5   parser simple.
[OK]                fullpos values            5   parser simple.
...                fullpos values            6   parser unop.
[OK]                fullpos values            6   parser unop.
...                fullpos values            7   parser binop.
[OK]                fullpos values            7   parser binop.
...                fullpos values            8   parser lists.
[OK]                fullpos values            8   parser lists.
...                fullpos values            9   parser and_or.
[OK]                fullpos values            9   parser and_or.
...                fullpos values           10   printer simple.
[OK]                fullpos values           10   printer simple.
...                fullpos values           11   printer unop.
[OK]                fullpos values           11   printer unop.
...                fullpos values           12   printer binop.
[OK]                fullpos values           12   printer binop.
...                fullpos values           13   printer lists.
[OK]                fullpos values           13   printer lists.
...                fullpos values           14   printer and_or.
[OK]                fullpos values           14   printer and_or.
...                fullpos items             0   variable printer.
[OK]                fullpos items             0   variable printer.
...                fullpos items             1   variable parser.
[OK]                fullpos items             1   variable parser.
...                fullpos items             2   variable parser-printer.
[OK]                fullpos items             2   variable parser-printer.
...                fullpos items             3   section printer.
[OK]                fullpos items             3   section printer.
...                fullpos items             4   section parser.
[OK]                fullpos items             4   section parser.
...                fullpos items             5   section parser-printer.
[OK]                fullpos items             5   section parser-printer.
...                fullpos opamfile          0   parser.
[OK]                fullpos opamfile          0   parser.
...                fullpos opamfile          1   printer.
[OK]                fullpos opamfile          1   printer.
...                fullpos opamfile          2   parser-printer.
[OK]                fullpos opamfile          2   parser-printer.
...                fullpos opamfile          3   printer-preserved.
[OK]                fullpos opamfile          3   printer-preserved.
...                fullpos opamfile          4   positions-file.
[OK]                fullpos opamfile          4   positions-file.
...                opam-version              0   OpamPrinter.FullPos.opamfile.
[OK]                opam-version              0   OpamPrinter.FullPos.opamfile.
...                opam-version              1   OpamPrinter.FullPos.Normalise.opamfile.
[OK]                opam-version              1   OpamPrinter.FullPos.Normalise.opamfile.
...                opam-version              2   opam-version > 2.0 not at start 1.
[OK]                opam-version              2   opam-version > 2.0 not at start 1.
...                opam-version              3   opam-version > 2.1 repeated.
[OK]                opam-version              3   opam-version > 2.1 repeated.
...                opam-version              4   no opam-version and parsing error.
[OK]                opam-version              4   no opam-version and parsing error.
...                opam-version              5   opam-version 2.1 and lexing error.
[OK]                opam-version              5   opam-version 2.1 and lexing error.
...                opam-version              6   opam-version 2.1 and parsing error.
[OK]                opam-version              6   opam-version 2.1 and parsing error.
...                opam-version              7   opam-version 2.1 and immediate parsing error.
[OK]                opam-version              7   opam-version 2.1 and immediate parsing error.
...                opam-version              8   opam-version 4 and parsing error.
[OK]                opam-version              8   opam-version 4 and parsing error.
...                opam-version              9   opam-version 42.0 and parsing error.
[OK]                opam-version              9   opam-version 42.0 and parsing error.
...                opam-version             10   opam-version 42.0 and evil parsing error.
[OK]                opam-version             10   opam-version 42.0 and evil parsing error.
...                opam-version             11   opam-version 42.0 and immediate parsing error.
[OK]                opam-version             11   opam-version 42.0 and immediate parsing error.
...                opam-version             12   opam-version 42.0 and lexing error.
[OK]                opam-version             12   opam-version 42.0 and lexing error.
The full test results are available in `/src/_build/default/tests/_build/_tests/95CF8216-6175-4F3C-A062-4D55B29A2E5A`.
Test Successful in 0.000s. 64 tests run.
2025-10-15 10:40.21 ---> saved as "c089f969b823bf1f9cf1cf12fff4aab75a8a587c0aed042f0627760d7f0f8f6a"
Job succeeded
2025-10-15 10:40.21: Job succeeded