Organisationsahrefsdevkit6c7ba2 ()fedora-40-5.3_opam-2.3

fedora-40-5.3_opam-2.3

Logs

Show full logs
2025-05-10 12:25.24: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/master (6c7ba2af84e609829414b4a572e800073cc924c0) (linux-x86_64:fedora-40-5.3_opam-2.3)
Base: ocaml/opam:fedora-40-ocaml-5.3@sha256:38ecf3bc8fd9884910064d6960cf6c60379bcbba1a2d103b85f61662a05878bf
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ahrefs/devkit.git" -b "master" && cd "devkit" && git reset --hard 6c7ba2af
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-40-ocaml-5.3@sha256:38ecf3bc8fd9884910064d6960cf6c60379bcbba1a2d103b85f61662a05878bf
# fedora-40-5.3_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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 devkit.opam ./
RUN opam pin add -yn devkit.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlzip.1.13 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 dune.3.18.2 dune-configurator.3.18.2 extlib.1.8.0 extunix.0.4.3 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.3 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.9.1 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y devkit.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-05-10 12:25.24: Using cache hint "ahrefs/devkit-ocaml/opam:fedora-40-ocaml-5.3@sha256:38ecf3bc8fd9884910064d6960cf6c60379bcbba1a2d103b85f61662a05878bf-fedora-40-5.3_opam-2.3-874c799a963fa29a2ed860fb57d528ed"
2025-05-10 12:25.24: Using OBuilder spec:
((from ocaml/opam:fedora-40-ocaml-5.3@sha256:38ecf3bc8fd9884910064d6960cf6c60379bcbba1a2d103b85f61662a05878bf)
 (comment fedora-40-5.3_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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src devkit.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn devkit.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlzip.1.13 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 dune.3.18.2 dune-configurator.3.18.2 extlib.1.8.0 extunix.0.4.3 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.3 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.9.1 yojson.2.2.2")
 (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 devkit.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-05-10 12:25.24: Waiting for resource in pool OCluster
2025-05-10 12:25.39: Waiting for worker…
2025-05-10 12:25.39: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
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>
Initialised empty Git repository in /var/cache/obuilder/ocluster/git/devkit.git-9aab31ab660ededa9d5e042923228d2fcd01a7cd/.git/
HEAD is now at 6c7ba2a httpev: do not reuseport on unix socket

(from ocaml/opam:fedora-40-ocaml-5.3@sha256:38ecf3bc8fd9884910064d6960cf6c60379bcbba1a2d103b85f61662a05878bf)
Unable to find image 'ocaml/opam:fedora-40-ocaml-5.3@sha256:38ecf3bc8fd9884910064d6960cf6c60379bcbba1a2d103b85f61662a05878bf' locally
docker.io/ocaml/opam@sha256:38ecf3bc8fd9884910064d6960cf6c60379bcbba1a2d103b85f61662a05878bf: Pulling from ocaml/opam
8e4a22b29eaf: Pulling fs layer
8e4a22b29eaf: Verifying Checksum
8e4a22b29eaf: Download complete
8e4a22b29eaf: Pull complete
Digest: sha256:38ecf3bc8fd9884910064d6960cf6c60379bcbba1a2d103b85f61662a05878bf
Status: Downloaded newer image for ocaml/opam@sha256:38ecf3bc8fd9884910064d6960cf6c60379bcbba1a2d103b85f61662a05878bf
2025-05-10 12:27.26 ---> saved as "878a7c4d63982f7560a9e447087a87f31bea1ca792235ab887a02391aaed4d11"

/: (comment fedora-40-5.3_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"))
sudo: PAM account management error: Authentication service cannot retrieve authentication info
sudo: a password is required
"/usr/bin/env" "bash" "-c" "sudo dnf install -y findutils" failed with exit status 1
2025-05-10 12:27.27: Job failed: Failed: Build failed