Organisationssqidssqids-ocamld6a7ce (main)fedora-40-5.3_opam-2.3

fedora-40-5.3_opam-2.3

Link Copied
Code Copied

Logs

2025-03-11 12:30.11: New job: test sqids/sqids-ocaml https://github.com/sqids/sqids-ocaml.git#refs/heads/main (d6a7ce6d19f8cef53f31dfc9fb6b0fd46ec4ab93) (linux-x86_64:fedora-40-5.3_opam-2.3)
Base: ocaml/opam:fedora-40-ocaml-5.3@sha256:9a3e2a687015db2704b91431286f4f84f9c6e8d286761ed5417eadf8288bcc9e
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/sqids/sqids-ocaml.git" -b "main" && cd "sqids-ocaml" && git reset --hard d6a7ce6d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-40-ocaml-5.3@sha256:9a3e2a687015db2704b91431286f4f84f9c6e8d286761ed5417eadf8288bcc9e
# 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 77714bd58759d6cd963e396164d1cff83314648c || git fetch origin master) && git reset -q --hard 77714bd58759d6cd963e396164d1cff83314648c && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 sqids.opam ./
RUN opam pin add -yn sqids.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.17.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 qcheck-core.0.24"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y sqids.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-03-11 12:30.11: Using cache hint "sqids/sqids-ocaml-ocaml/opam:fedora-40-ocaml-5.3@sha256:9a3e2a687015db2704b91431286f4f84f9c6e8d286761ed5417eadf8288bcc9e-fedora-40-5.3_opam-2.3-6fa389e46d34b5880e46bdf32b7f8cdc"
2025-03-11 12:30.11: Using OBuilder spec:
((from ocaml/opam:fedora-40-ocaml-5.3@sha256:9a3e2a687015db2704b91431286f4f84f9c6e8d286761ed5417eadf8288bcc9e)
(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 77714bd58759d6cd963e396164d1cff83314648c || git fetch origin master) && git reset -q --hard 77714bd58759d6cd963e396164d1cff83314648c && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src sqids.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn sqids.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.17.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 qcheck-core.0.24")
(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 sqids.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-03-11 12:30.11: Waiting for resource in pool OCluster
2025-03-11 14:07.00: Waiting for worker…
2025-03-11 14:09.21: Got resource from pool OCluster
Building on x86-bm-c5.sw.ocaml.org
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>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/sqids-ocaml.git-4207b215f12045235c2902a08af84f4047587131/.git/
HEAD is now at d6a7ce6 CHANGELOG: update to `0.1.0`


(from ocaml/opam:fedora-40-ocaml-5.3@sha256:9a3e2a687015db2704b91431286f4f84f9c6e8d286761ed5417eadf8288bcc9e)
Unable to find image 'ocaml/opam:fedora-40-ocaml-5.3@sha256:9a3e2a687015db2704b91431286f4f84f9c6e8d286761ed5417eadf8288bcc9e' locally
docker.io/ocaml/opam@sha256:9a3e2a687015db2704b91431286f4f84f9c6e8d286761ed5417eadf8288bcc9e: Pulling from ocaml/opam
aec8b5c55076: Pulling fs layer
aec8b5c55076: Download complete
aec8b5c55076: Pull complete
Digest: sha256:9a3e2a687015db2704b91431286f4f84f9c6e8d286761ed5417eadf8288bcc9e
Status: Downloaded newer image for ocaml/opam@sha256:9a3e2a687015db2704b91431286f4f84f9c6e8d286761ed5417eadf8288bcc9e
2025-03-11 14:09.22 ---> using "1476c452edd56a53215a301540bb2009c8d2a15dba423047d40300e18599671f" from cache


/: (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"))
Fedora 40 - x86_64 - Updates                    175 kB/s |  22 kB     00:00
Fedora 40 - x86_64 - Updates                    2.1 MB/s | 4.4 MB     00:02
Last metadata expiration check: 0:00:09 ago on Tue Mar 11 14:03:20 2025.
Package findutils-1:4.9.0-9.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2025-03-11 14:09.22 ---> using "94cbd80bcc330ce623803fbb520a85cab1400e88c96764ea5c2e02cd7e19ad53" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-03-11 14:09.22 ---> using "3cf8028e21344054f79e658239efeb83a6d7aca5695c51333e87cfafa85482ca" 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 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
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-11 14:09.22 ---> using "e8183cd9ba1a23c4d7ddb3cf8b2d2350a9e0a7713ccd1e3ac8d0c1e7fffb4080" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-03-11 14:09.22 ---> using "e1cd23eff74270a484a5911f8cc469d53dbcdcfafe79312b85310d9254a411b6" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-03-11 14:09.22 ---> using "c4ed4798c67e57846c83ac2aba073c0c9239aa56a5e2c21f39faf8e0638895ed" from cache


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


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from 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, 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-03-11 14:10.46 ---> saved as "7b7fc084198c2df3ca7fb150ebc4a1fa4bdba3ab1d89523450d5cddba20cd491"


/src: (copy (src sqids.opam) (dst ./))
2025-03-11 14:10.46 ---> saved as "4cae5db5e3aecf82c17261b5face56f9165590ee7068d125c575cce097d5080f"


/src: (run (network host)
(shell "opam pin add -yn sqids.dev './'"))
[sqids.dev] synchronised (file:///src)
sqids is now pinned to file:///src (version dev)
2025-03-11 14:10.47 ---> saved as "e2f0f460c809ad8ef8a8ef5c83a6808add553d2a25025cbad47e9e35df2df5b0"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-11 14:10.47 ---> saved as "6d4219033525915a4e8d4059770cdd58040f8909977bdc320cf9cb2c55b7fdfc"


/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.17.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 qcheck-core.0.24")


/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.3 --depext-only -y sqids.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 40 - x86_64                              269 kB/s |  27 kB     00:00
- Fedora 40 openh264 (From Cisco) - x86_64         13 kB/s | 989  B     00:00
- Fedora 40 - x86_64 - Updates                    241 kB/s |  22 kB     00:00
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[sqids.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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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).
2025-03-11 14:11.17 ---> saved as "a5efc15f27efc6c580481280e3f0106391e53c4370bc6ae402aee43e5acfd600"


/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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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 2 packages
- install dune        3.17.2
- install qcheck-core 0.24


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved qcheck-core.0.24  (cached)
-> retrieved dune.3.17.2  (cached)
-> installed dune.3.17.2
-> installed qcheck-core.0.24
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-11 14:12.42 ---> saved as "41b865979dfa505ac4a67ae7fe744f3659c992b4bafcd0784db0edf22e440fc9"


/src: (copy (src .) (dst /src))
2025-03-11 14:12.42 ---> saved as "9846928c749aca3e319ccb0ec0c47e24637b87e0ce2cb3fab48f8ec2eae2fcac"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-03-11 14:12.44 ---> saved as "bd9e53be7b3dcebd53df97ca13d4df4cb3f1fae2ade0627901b9b452ecbf5c8b"
Job succeeded
2025-03-11 14:12.45: Job succeeded