Organisationsocaml-communityyojson273c11 ()fedora-42-4.14_opam-2.3

fedora-42-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-06-17 14:24.42: New job: test ocaml-community/yojson https://github.com/ocaml-community/yojson.git#refs/heads/master (273c11aeb5f5ac7c5ce345fda43639fc91177aa0) (linux-x86_64:fedora-42-4.14_opam-2.3)
Base: ocaml/opam:fedora-42-ocaml-4.14@sha256:f60202529f0e671d35a9c5727247194b4e01010bab004e314476c120258a2115
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-community/yojson.git" -b "master" && cd "yojson" && git reset --hard 273c11ae
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-4.14@sha256:f60202529f0e671d35a9c5727247194b4e01010bab004e314476c120258a2115
# fedora-42-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
RUN sudo ln -f /usr/bin/opam-2.3 /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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base benchmark.1.7 cmdliner.1.3.0 dune.3.19.1 fmt.0.10.0 gen.1.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.36.0 re.1.12.0 sedlex.3.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y yojson.dev yojson-five.dev yojson-bench.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-06-17 14:24.42: Using cache hint "ocaml-community/yojson-ocaml/opam:fedora-42-ocaml-4.14@sha256:f60202529f0e671d35a9c5727247194b4e01010bab004e314476c120258a2115-fedora-42-4.14_opam-2.3-5a0d308205d94ee35904c899a125ba24"
2025-06-17 14:24.42: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-4.14@sha256:f60202529f0e671d35a9c5727247194b4e01010bab004e314476c120258a2115)
(comment fedora-42-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base benchmark.1.7 cmdliner.1.3.0 dune.3.19.1 fmt.0.10.0 gen.1.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.36.0 re.1.12.0 sedlex.3.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 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.3 --depext-only -y yojson.dev yojson-five.dev yojson-bench.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-06-17 14:24.42: Waiting for resource in pool OCluster
2025-06-17 14:24.42: Waiting for worker…
2025-06-17 14:24.42: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 273c11a Merge pull request #197 from johnwhitington/master


(from ocaml/opam:fedora-42-ocaml-4.14@sha256:f60202529f0e671d35a9c5727247194b4e01010bab004e314476c120258a2115)
Unable to find image 'ocaml/opam:fedora-42-ocaml-4.14@sha256:f60202529f0e671d35a9c5727247194b4e01010bab004e314476c120258a2115' locally
docker.io/ocaml/opam@sha256:f60202529f0e671d35a9c5727247194b4e01010bab004e314476c120258a2115: Pulling from ocaml/opam
1ae44aa8d36a: Already exists
c003e9e79ea0: Already exists
b23753fe0588: Already exists
efd100e186fd: Already exists
bb8bac5a0c05: Already exists
Digest: sha256:f60202529f0e671d35a9c5727247194b4e01010bab004e314476c120258a2115
Status: Downloaded newer image for ocaml/opam@sha256:f60202529f0e671d35a9c5727247194b4e01010bab004e314476c120258a2115
2025-06-17 14:25.22 ---> saved as "0c9fa00c7381c2bef022d455c458fb12e0fe005657193a245d99786f4b015275"


/: (comment fedora-42-4.14_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 42 - x86_64 - Updates           100% | 139.7 KiB/s |  17.3 KiB |  00m00s
Fedora 42 - x86_64                     100% | 191.2 KiB/s |  26.4 KiB |  00m00s
Fedora 42 - x86_64 - Updates           100% |   5.2 MiB/s |   3.3 MiB |  00m01s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.


Nothing to do.
2025-06-17 14:25.25 ---> saved as "6cfcfe6cc05508147fbfd6f3d29897e43db84543975742450b9ed2a84ae04e5b"


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-17 14:25.26 ---> saved as "d4250e95a7518a0cde9d59ba9e92bc8197be88ddb03f210ae71d96d77204aba5"


/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 development 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-06-17 14:25.56: Cancelling: Auto-cancelling job because it is no longer needed
2025-06-17 14:25.55 ---> saved as "6d6cfc5d42fd0c8fb13bae0c6396cb55a73dbbfefd70d86b1b3a1caf86b33974"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-59-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-17 14:25.56 ---> saved as "76a02d07f33025f18248e3bd4b90747c43926802c4a3a0c0a86b542f45b5717f"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
Job cancelled