Organisationsocaml-communityyojsond692c1 (master)debian-13-4.09_opam-2.4

debian-13-4.09_opam-2.4

Link Copied
Code Copied

Logs

2025-10-15 10:17.47: New job: test ocaml-community/yojson https://github.com/ocaml-community/yojson.git#refs/heads/master (d692c15dc630a1a1635719b5426299df6f02c5ef) (linux-x86_64:debian-13-4.09_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-4.09@sha256:7fef6f0fbce804ae41b4ed8f3f2908cc382f0f377e8d54940bf1522d8ff69813
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-community/yojson.git" -b "master" && cd "yojson" && git reset --hard d692c15d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.09@sha256:7fef6f0fbce804ae41b4ed8f3f2908cc382f0f377e8d54940bf1522d8ff69813
# debian-13-4.09_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 deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 || git fetch origin master) && git reset -q --hard deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 yojson.opam yojson-five.opam yojson-bench.opam ./
RUN opam pin add -yn yojson.dev './' && \
opam pin add -yn yojson-five.dev './' && \
opam pin add -yn yojson-bench.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.0.0 dune.3.20.2 fmt.0.11.0 gen.1.1 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.37.0 re.1.11.0 sedlex.3.7 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y yojson.dev yojson-five.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=yojson,yojson-five @install @check @runtest && rm -rf _build


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


2025-10-15 10:17.47: Using cache hint "ocaml-community/yojson-ocaml/opam:debian-13-ocaml-4.09@sha256:7fef6f0fbce804ae41b4ed8f3f2908cc382f0f377e8d54940bf1522d8ff69813-debian-13-4.09_opam-2.4-0b5512538f5065d9a72ce3e6dfe1ca6a"
2025-10-15 10:17.47: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.09@sha256:7fef6f0fbce804ae41b4ed8f3f2908cc382f0f377e8d54940bf1522d8ff69813)
(comment debian-13-4.09_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 deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 || git fetch origin master) && git reset -q --hard deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src yojson.opam yojson-five.opam yojson-bench.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn yojson.dev './' && \
\nopam pin add -yn yojson-five.dev './' && \
\nopam pin add -yn yojson-bench.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.0.0 dune.3.20.2 fmt.0.11.0 gen.1.1 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.37.0 re.1.11.0 sedlex.3.7 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4")
(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 yojson.dev yojson-five.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 --only-packages=yojson,yojson-five @install @check @runtest && rm -rf _build"))
)


2025-10-15 10:17.47: Waiting for resource in pool OCluster
2025-10-15 10:59.57: Waiting for worker…
2025-10-15 11:03.18: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at d692c15 Merge pull request #200 from Leonidas-from-XIV/better-docs


(from ocaml/opam:debian-13-ocaml-4.09@sha256:7fef6f0fbce804ae41b4ed8f3f2908cc382f0f377e8d54940bf1522d8ff69813)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.09@sha256:7fef6f0fbce804ae41b4ed8f3f2908cc382f0f377e8d54940bf1522d8ff69813' locally
docker.io/ocaml/opam@sha256:7fef6f0fbce804ae41b4ed8f3f2908cc382f0f377e8d54940bf1522d8ff69813: Pulling from ocaml/opam
cae3b572364a: Already exists
820d433882fc: Already exists
8f6112f72fa5: Already exists
f06108004adb: Already exists
f34ea90e6bf7: Already exists
b44a65709156: Already exists
4c25908bbac9: Already exists
f76df728146d: Already exists
1fee769dfcf3: Already exists
9089a7f69af3: Already exists
6f758b47b2a0: Already exists
16b225bbb395: Already exists
abbf3ec39b68: Already exists
1a61521655a9: Already exists
6a8565a9e443: Already exists
c059a4cbd7b9: Already exists
3a00fdc9e291: Already exists
a0b62589bd38: Already exists
6e8d713bf843: Already exists
bca1fd5341ba: Already exists
34b9849c2772: Already exists
4f4fb700ef54: Already exists
d8d3d0744e38: Already exists
788c7ce0e0e5: Already exists
a297eab0ca3b: Already exists
2e79af39acdb: Already exists
8858e600236c: Already exists
9efe23d1fe7d: Already exists
47d185934312: Already exists
64a949a6caff: Already exists
c9d6a7c18bb1: Already exists
e4fde4815f0c: Already exists
d1f759c16950: Already exists
f3dd45bf195f: Already exists
3985a6049101: Already exists
aae849592418: Already exists
6173459dc6b2: Already exists
7f16ef63bee0: Already exists
fe355de6a899: Already exists
b0bc5a15bc9d: Already exists
abc4a9858046: Pulling fs layer
48194d740918: Pulling fs layer
32807745f23c: Pulling fs layer
ded03aa9a71c: Pulling fs layer
ded03aa9a71c: Waiting
48194d740918: Verifying Checksum
48194d740918: Download complete
32807745f23c: Verifying Checksum
32807745f23c: Download complete
ded03aa9a71c: Download complete
abc4a9858046: Verifying Checksum
abc4a9858046: Download complete
abc4a9858046: Pull complete
48194d740918: Pull complete
32807745f23c: Pull complete
ded03aa9a71c: Pull complete
Digest: sha256:7fef6f0fbce804ae41b4ed8f3f2908cc382f0f377e8d54940bf1522d8ff69813
Status: Downloaded newer image for ocaml/opam@sha256:7fef6f0fbce804ae41b4ed8f3f2908cc382f0f377e8d54940bf1522d8ff69813
2025-10-15 11:03.19 ---> using "1f5f752d6fe2e9d2389be97f468e29013b1f7bee304f743b5fa4ce0538d87397" from cache


/: (comment debian-13-4.09_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 11:03.19 ---> using "087a118c2857b0c9374e64b33025ff7fe30efb4476cb6564e4a8ac3d184e170b" 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-10-15 11:03.28 ---> saved as "1ab5044821b1b1b34c5caa21ec1d966968436bc17957e789ed07f322f3f65c24"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 4.09.1
2.4.1
2025-10-15 11:03.29 ---> saved as "81bd5ab43eee27d22f3c072caf298b3b314c8083d01719d6b617d1f3e621a3fe"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-15 11:03.29 ---> saved as "8076d81ba6abd8df0b02692373d7fd13877642972dfa3e0055daf15ed2551da6"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 || git fetch origin master) && git reset -q --hard deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
1abfcdbf14..12d0447fd1  master     -> origin/master
deb3de7fc5 Merge pull request #28686 from NathanReb/release-ppxlib-0.37.0


<><> 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 11:04.08 ---> saved as "efb077d13326f21fc0043662686b6fb2f7fa27f590eb9bf1ad46ee0b89d2d5f9"


/src: (copy (src yojson.opam yojson-five.opam yojson-bench.opam) (dst ./))
2025-10-15 11:04.09 ---> saved as "55153a669d21ec25b549786541c3bd492f78e52291217d4bdeb2ac3f67bc579a"


/src: (run (network host)
(shell  "opam pin add -yn yojson.dev './' && \
\nopam pin add -yn yojson-five.dev './' && \
\nopam pin add -yn yojson-bench.dev './'"))
[yojson.dev] synchronised (file:///src)
yojson is now pinned to file:///src (version dev)
[yojson-five.dev] synchronised (file:///src)
yojson-five is now pinned to file:///src (version dev)
[yojson-bench.dev] synchronised (file:///src)
yojson-bench is now pinned to file:///src (version dev)
2025-10-15 11:04.19 ---> saved as "9ea6fe03e3c844c528c7c453a6577acda054dc4ee61a8277dcc39bef1c6ce245"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-15 11:04.20 ---> saved as "701c0eb2eebb0cf868b5f70d7715e8a74ba22498e61b4ca7e6601af02558e2f5"


/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.0.0 dune.3.20.2 fmt.0.11.0 gen.1.1 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.37.0 re.1.11.0 sedlex.3.7 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4")


/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 yojson.dev yojson-five.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 (722 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[yojson.dev] synchronised (file:///src)
[yojson-five.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.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.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).
2025-10-15 11:04.44 ---> saved as "877ed0dc884bb7c5aa2f4e8741782630e62ca553091efcf76069213e80481fac"


/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.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.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 19 packages
- install alcotest            1.9.1
- install astring             0.8.5
- install cmdliner            2.0.0
- install dune                3.20.2
- install fmt                 0.11.0
- install gen                 1.1
- install ocaml-compiler-libs v0.12.4
- install ocaml-syntax-shims  1.0.0
- install ocamlbuild          0.16.1
- install ocamlfind           1.9.8
- install ppx_derivers        1.2.1
- install ppxlib              0.37.0
- install re                  1.11.0
- install sedlex              3.7
- install seq                 base
- install sexplib0            v0.16.0
- install stdlib-shims        0.3.0
- install topkg               1.1.0
- install uutf                1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.2.0.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved gen.1.1  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved sedlex.3.7  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved dune.3.20.2  (cached)
-> installed cmdliner.2.0.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.16.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed gen.1.1
-> installed re.1.11.0
-> installed alcotest.1.9.1
-> installed ppxlib.0.37.0
-> installed sedlex.3.7
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-15 11:07.15 ---> saved as "17b96b684f5c151ccf86aa4d81c78a05023d988ac559dca177764ff6729fe805"


/src: (copy (src .) (dst /src))
2025-10-15 11:07.16 ---> saved as "9724656691c3733c1b4914be9fb07a167d524b6ff35e6188bc8f859cd27969fb"


/src: (run (shell "opam exec -- dune build --only-packages=yojson,yojson-five @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe)
Testing `Yojson'.
This run has ID `SWQ5Y5XM'.


[OK]          equality          0   Scalar equality.
[OK]          equality          1   List equality.
[OK]          equality          2   Assoc equality.
[OK]          read              0   from_string.
[OK]          read              1   from_crlf_string.
[OK]          read              2   from_string_fail_simple.
[OK]          read              3   from_string_fail_lines.
[OK]          read              4   from_string_fail_bytes.
[OK]          read              5   from_string_fail_unterminated.
[OK]          read              6   from_string_fail_nested_unterminated.
[OK]          read              7   from_string_fail_unterminated_structure.
[OK]          read              8   from_string_fail_unstarted_structure.
[OK]          read              9   from_string_fail_unstarted_object.
[OK]          read             10   from_string_fail_large_int.
[OK]          read             11   from_string_fail_escaped_char.
[OK]          read             12   from_file.
[OK]          read             13   unquoted_from_string.
[OK]          read             14   map_ident.
[OK]          write             0   to_file with default settings.
[OK]          write             1   to_file with newline.
[OK]          write             2   to_file without newline.
[OK]          write             3   to_string with default settings.
[OK]          write             4   to_string with newline.
[OK]          write             5   to_string without newline.
[OK]          write             6   seq_to_file with default settings.
[OK]          write             7   seq_to_file with newline.
[OK]          write             8   seq_to_file without newline.
[OK]          util              0   empty path.
[OK]          util              1   non-existing path.
[OK]          util              2   traversal.


Full test results in `/src/_build/default/test/_build/_tests/Yojson'.
Test Successful in 0.005s. 30 tests run.
(cd _build/default/test_json5 && ./test.exe)
Testing `JSON5'.
This run has ID `MFWB8HA8'.


[OK]          parsing          0   Unexpected line break.
[OK]          parsing          1   true.
[OK]          parsing          2   false.
[OK]          parsing          3   null.
[OK]          parsing          4   double quotes string.
[OK]          parsing          5   single quotes string.
[OK]          parsing          6   float.
[OK]          parsing          7   hex.
[OK]          parsing          8   hex escape sequence.
[OK]          parsing          9   unicode escape sequence.
[OK]          parsing         10   more string escaping.
[OK]          parsing         11   escaping quotes.
[OK]          parsing         12   more escaping quotes.
[OK]          parsing         13   escaping other chars.
[OK]          parsing         14   built in escapes.
[OK]          parsing         15   null byte string.
[OK]          parsing         16   octal string.
[OK]          parsing         17   null and octal string.
[OK]          parsing         18   int.
[OK]          parsing         19   backslash escape.
[OK]          parsing         20   line break.
[OK]          parsing         21   string and comment.
[OK]          parsing         22   empty object.
[OK]          parsing         23   object with double quote string.
[OK]          parsing         24   object with single quote string.
[OK]          parsing         25   object with unquoted string.
[OK]          parsing         26   trailing comma in object.
[OK]          parsing         27   colon in key.
[OK]          parsing         28   multiple trailing commas in object.
[OK]          parsing         29   just trailing comma in object.
[OK]          parsing         30   just trailing commas in object.
[OK]          parsing         31   multiple colons in object.
[OK]          parsing         32   newline in key.
[OK]          parsing         33   empty list.
[OK]          parsing         34   heterogenous list.
[OK]          parsing         35   trailing comma in list.
[OK]          parsing         36   trailing comma with space list.
[OK]          parsing         37   newlines in list.
[OK]          parsing         38   multiple trailing commas in list.
[OK]          parsing         39   just trailing comma in list.
[OK]          parsing         40   multiple trailing commas in list.
[OK]          parsing         41   More elaborated.
[OK]          parsing         42   unexpected EOF in list.
[OK]          parsing         43   unexpected EOF on different line.
[OK]          parsing         44   unexpected EOF in assoc.
[OK]          parsing         45   missing colon in assoc.
[OK]          parsing         46   bad identifier in assoc.
[OK]          writing          0   Empty object.
[OK]          writing          1   Empty list.
[OK]          writing          2   true.
[OK]          writing          3   false.
[OK]          writing          4   null.
[OK]          writing          5   string.
[OK]          writing          6   float.
[OK]          writing          7   hex.
[OK]          writing          8   int.


Full test results in `/src/_build/default/test_json5/_build/_tests/JSON5'.
Test Successful in 0.008s. 56 tests run.
2025-10-15 11:07.23 ---> saved as "3bbe2b6b43bd5c9d6a5b9f741adf18ea92763449309e0a93c3575d4285a28bbf"
Job succeeded
2025-10-15 11:07.23: Job succeeded