Organisationsocurrentocaml-version1165e1 (master)fedora-41-5.3_opam-2.3

fedora-41-5.3_opam-2.3

Logs

Show full logs
2025-02-09 13:23.31: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (1165e18c18c2eed9109edfecbbe1a8eb81141272) (linux-x86_64:fedora-41-5.3_opam-2.3)
Base: ocaml/opam:fedora-41-ocaml-5.3@sha256:fca72992e03fe05409b643713349cb4e3d165b9ccaae984784efbec9ed884463
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "master" && cd "ocaml-version" && git reset --hard 1165e18c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-5.3@sha256:fca72992e03fe05409b643713349cb4e3d165b9ccaae984784efbec9ed884463
# fedora-41-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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocaml-version.opam ./
RUN opam pin add -yn ocaml-version.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.17.2 fmt.0.9.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ocaml-version.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-02-09 13:23.31: Using cache hint "ocurrent/ocaml-version-ocaml/opam:fedora-41-ocaml-5.3@sha256:fca72992e03fe05409b643713349cb4e3d165b9ccaae984784efbec9ed884463-fedora-41-5.3_opam-2.3-0747de6e6dbcf90654399b7d7f6357ad"
2025-02-09 13:23.31: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.3@sha256:fca72992e03fe05409b643713349cb4e3d165b9ccaae984784efbec9ed884463)
 (comment fedora-41-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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src ocaml-version.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn ocaml-version.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.17.2 fmt.0.9.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
 (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 ocaml-version.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-02-09 13:23.31: Waiting for resource in pool OCluster
2025-02-09 15:18.13: Waiting for worker…
2025-02-09 15:20.56: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 1165e18 Merge pull request #80 from mtelvers/maintenance-intent

(from ocaml/opam:fedora-41-ocaml-5.3@sha256:fca72992e03fe05409b643713349cb4e3d165b9ccaae984784efbec9ed884463)
Unable to find image 'ocaml/opam:fedora-41-ocaml-5.3@sha256:fca72992e03fe05409b643713349cb4e3d165b9ccaae984784efbec9ed884463' locally
docker.io/ocaml/opam@sha256:fca72992e03fe05409b643713349cb4e3d165b9ccaae984784efbec9ed884463: Pulling from ocaml/opam
6a84f8bf71dc: Pulling fs layer
6a84f8bf71dc: Verifying Checksum
6a84f8bf71dc: Download complete
6a84f8bf71dc: Pull complete
Digest: sha256:fca72992e03fe05409b643713349cb4e3d165b9ccaae984784efbec9ed884463
Status: Downloaded newer image for ocaml/opam@sha256:fca72992e03fe05409b643713349cb4e3d165b9ccaae984784efbec9ed884463
2025-02-09 15:20.56 ---> using "49b3707cbfe3f3d2a6f7b57ffff581ab1d27c178930241f348976dd188d7a692" from cache

/: (comment fedora-41-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"))
Updating and loading repositories:
 Fedora 41 - x86_64 - Updates           100% | 133.7 KiB/s |  17.0 KiB |  00m00s
 Fedora 41 - x86_64 - Updates           100% |   4.6 MiB/s |   2.6 MiB |  00m01s
Repositories loaded.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.

Nothing to do.
2025-02-09 15:20.56 ---> using "542a1f7314b4594bd2577d8d4c893c927d28f01b6fc4a31eb7bb36038293cbd0" from cache

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-02-09 15:20.56 ---> using "27a05a615c45985ff741938f805c5b46fbb580540a31b1e005de78e96549b217" 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
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-02-09 15:20.56 ---> using "08992f91f0ca500e15da898d09946a043c055f739bb729c583d6071d2921b07d" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-02-09 15:20.56 ---> using "0fa18016c5a524fe3c4c96dc5539c38c1dba3c5011e6c3d9eb608075b32ddec0" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-02-09 15:20.56 ---> using "0925760099225daddfb9266cff1aa70314a762f0518d0cda1e79a8288a32daf6" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
3ee951993d Merge pull request #27253 from kit-ty-kate/opam-publish-ocamlfind.1.9.8

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] no changes 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-02-09 15:20.56 ---> using "2e88885cb99dc7fbbe7e4ca339615d0466acd5f012a17e894e71556988b8b8ed" from cache

/src: (copy (src ocaml-version.opam) (dst ./))
2025-02-09 15:20.56 ---> saved as "5d29f6f5a783be3ac2dece5c91e0893de9e00bb1b6c77f9d698991e12506f77e"

/src: (run (network host)
           (shell "opam pin add -yn ocaml-version.dev './'"))
[ocaml-version.dev] synchronised (file:///src)
ocaml-version is now pinned to file:///src (version dev)
2025-02-09 15:20.58 ---> saved as "c3d281f4795c299181bda78f0a1597b2ddd0ed29b487ff49bb913a6cff16c1dc"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-09 15:20.58 ---> saved as "02864216320bb32d861dc4e65ecbffe14d73cfbe49a3c4f680619332f1467751"

/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.17.2 fmt.0.9.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")

/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 ocaml-version.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-version.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-02-09 15:21.10 ---> saved as "6073db88146c27deff990fc497b1283d437a8486906254fd639fecb745b4451b"

/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 13 packages
  - install alcotest           1.8.0
  - install astring            0.8.5
  - install cmdliner           1.3.0
  - install dune               3.17.2
  - install fmt                0.9.0
  - install ocaml-syntax-shims 1.0.0
  - install ocamlbuild         0.15.0
  - install ocamlfind          1.9.8
  - install re                 1.12.0
  - install seq                base
  - install stdlib-shims       0.3.0
  - install topkg              1.0.7
  - install uutf               1.0.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved alcotest.1.8.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.12.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved dune.3.17.2  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.8
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.17.2
-> installed stdlib-shims.0.3.0
-> installed re.1.12.0
-> installed ocaml-syntax-shims.1.0.0
-> installed alcotest.1.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-09 15:21.44 ---> saved as "a6cd4406709c7c5d00dd29f90dbc18b162eb02e9d5865611144d8ce16e7657cf"

/src: (copy (src .) (dst /src))
2025-02-09 15:21.44 ---> saved as "f54a235725fde1ef0022e917a2785da994cdd6d8b151fb6b55bbda459ff50acc"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_unit.exe)
Testing `ocaml-version'.
This run has ID `WWDY1YN7'.

  [OK]          Compiler_variants          0   Multicore not on 4.12 x86-64.
  [OK]          Compiler_variants          1   Multicore not on 4.10 i386.
  [OK]          Compiler_variants          2   Multicore not on 4.12 xi386.
  [OK]          Configure_options          0   FP on last 4.07.
  [OK]          Configure_options          1   FP on first 4.08.
  [OK]          Configure_options          2   FP on 3.12.

Full test results in `/src/_build/default/test/_build/_tests/ocaml-version'.
Test Successful in 0.000s. 6 tests run.
2025-02-09 15:21.45 ---> saved as "e6033d98ee9dddd3cfd35a1895e757c5f0c247064fc546f09a3780f4eadba972"
Job succeeded
2025-02-09 15:21.46: Job succeeded