Organisationsygrekocaml-extlibcc222e (dune-3)ubuntu-24.10-5.3_opam-2.3

ubuntu-24.10-5.3_opam-2.3

Logs

Show full logs
2025-01-25 11:45.09: New job: test ygrek/ocaml-extlib https://github.com/ygrek/ocaml-extlib.git#refs/heads/dune-3 (cc222eb06f5b4809852564aa9579d49696f07eea) (linux-x86_64:ubuntu-24.10-5.3_opam-2.3)
Base: ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:32bfaa6b06f5cc77c6129a271a9bda0e7909dfb381e9a87b5077ae9feef0684b
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ygrek/ocaml-extlib.git" -b "dune-3" && cd "ocaml-extlib" && git reset --hard cc222eb0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:32bfaa6b06f5cc77c6129a271a9bda0e7909dfb381e9a87b5077ae9feef0684b
# ubuntu-24.10-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
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 d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 extlib.opam ./
RUN opam pin add -yn extlib.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 cppo.1.8.0 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"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y extlib.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-01-25 11:45.09: Using cache hint "ygrek/ocaml-extlib-ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:32bfaa6b06f5cc77c6129a271a9bda0e7909dfb381e9a87b5077ae9feef0684b-ubuntu-24.10-5.3_opam-2.3-5f621b121c44c7ca0a617401aaf3072d"
2025-01-25 11:45.09: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:32bfaa6b06f5cc77c6129a271a9bda0e7909dfb381e9a87b5077ae9feef0684b)
 (comment ubuntu-24.10-5.3_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (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 d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src extlib.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn extlib.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 cppo.1.8.0 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")
 (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 extlib.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-01-25 11:45.09: Waiting for resource in pool OCluster
2025-01-25 14:59.11: Waiting for worker…
2025-01-25 15:01.54: Got resource from pool OCluster
Building on x86-bm-c5.sw.ocaml.org
All commits already cached
HEAD is now at cc222eb Update to Dune 3.16 and generate opam file

(from ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:32bfaa6b06f5cc77c6129a271a9bda0e7909dfb381e9a87b5077ae9feef0684b)
Unable to find image 'ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:32bfaa6b06f5cc77c6129a271a9bda0e7909dfb381e9a87b5077ae9feef0684b' locally
docker.io/ocaml/opam@sha256:32bfaa6b06f5cc77c6129a271a9bda0e7909dfb381e9a87b5077ae9feef0684b: Pulling from ocaml/opam
f8d9389522ff: Pulling fs layer
f8d9389522ff: Verifying Checksum
f8d9389522ff: Download complete
f8d9389522ff: Pull complete
Digest: sha256:32bfaa6b06f5cc77c6129a271a9bda0e7909dfb381e9a87b5077ae9feef0684b
Status: Downloaded newer image for ocaml/opam@sha256:32bfaa6b06f5cc77c6129a271a9bda0e7909dfb381e9a87b5077ae9feef0684b
2025-01-25 15:01.55 ---> using "c5836004a63d075ea917e5136e825959add30fbe6dec9b5d32cbc0b865767abe" from cache

/: (comment ubuntu-24.10-5.3_opam-2.3)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-01-25 15:01.55 ---> using "76bda764436041c7eadc439d6de15b87f378e543bf8ff502652cc63085feb7bc" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-25 15:01.55 ---> using "599f6839058464f018a588dfa91627e6bd87d5aa85ceefafa95a70739d632b55" 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-01-25 15:01.55 ---> using "1b45d9822cc6f3e7e6359846b41c6e3d4714a8d7a8d45d3a4f1a354146c24802" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-01-25 15:01.55 ---> using "c4be721b5b09d45c8cab5876f4b68c2a59d8fb8b251e9056eb61006856b83013" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   f93eb7cb02..12d8668654  master     -> origin/master
d1a3803c0c Merge pull request #27313 from maiste/release-dune-3.17.2

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[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-01-25 15:01.55 ---> using "7f2ad994a90d06b103356b3b32674efd37e88afb473de063990536d5fdbfe9de" from cache

/src: (copy (src extlib.opam) (dst ./))
2025-01-25 15:01.55 ---> saved as "e9d4d012a7181d95244d0da1e8423cac8b942366cd45107e543c7c18f0c36935"

/src: (run (network host)
           (shell "opam pin add -yn extlib.dev './'"))
[extlib.dev] synchronised (file:///src)
extlib is now pinned to file:///src (version dev)
2025-01-25 15:01.58 ---> saved as "8ae4db12ef872664ea986b8247c2e9d1e57178a1cd7ae1bb30122db9eabf69b1"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-25 15:01.59 ---> saved as "e2df98fa6b9d265e98110ad8957f82e748b181fde4d956d4df1a5b1e74107ad2"

/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 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")

/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 extlib.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu oracular-security InRelease [126 kB]
- Get:2 http://security.ubuntu.com/ubuntu oracular-security/universe amd64 Packages [121 kB]
- Hit:3 http://archive.ubuntu.com/ubuntu oracular InRelease
- Get:4 http://security.ubuntu.com/ubuntu oracular-security/main amd64 Packages [151 kB]
- Get:5 http://security.ubuntu.com/ubuntu oracular-security/restricted amd64 Packages [95.2 kB]
- Get:6 http://security.ubuntu.com/ubuntu oracular-security/multiverse amd64 Packages [10.4 kB]
- Get:7 http://archive.ubuntu.com/ubuntu oracular-updates InRelease [126 kB]
- Get:8 http://archive.ubuntu.com/ubuntu oracular-backports InRelease [126 kB]
- Get:9 http://archive.ubuntu.com/ubuntu oracular-updates/universe amd64 Packages [188 kB]
- Get:10 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 Packages [297 kB]
- Get:11 http://archive.ubuntu.com/ubuntu oracular-backports/universe amd64 Packages [5417 B]
- Fetched 1247 kB in 1s (1331 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[extlib.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-01-25 15:02.28 ---> saved as "d65958d4b2eb89ff56b274eb20ee09098d6b3eed9cb2bdd7c77a868ee2172f5d"

/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 cppo 1.8.0
  - install dune 3.17.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved dune.3.17.2  (cached)
-> installed dune.3.17.2
-> installed cppo.1.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-01-25 15:04.06 ---> saved as "e17310ab46e90beb2227705b19766deed0ce412d55b4981e55bef69ef85f9f92"

/src: (copy (src .) (dst /src))
2025-01-25 15:04.06 ---> saved as "c798b3eb6c8da3cdeb8314643c9f9bbe71c114d761e0a011feb04b791cc15d7a"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./runner.exe)
Dllist
  simple - OK
  regression_1 - OK
  regression_2 - OK
  skip_both_ways - OK
  4/4 tests succeeded.
IO
  bits - OK
  i8 - OK
  u8 - OK
  i16 - OK
  u16 - OK
  i31 - OK
  real_i32 - OK
  i32 - OK
  8/8 tests succeeded.
ExtString
  starts_with - OK
  ends_with - OK
  map - OK
  lchop - OK
  rchop - OK
  split - OK
  replace_1 - OK
  strip - OK
  nsplit - OK
  9/9 tests succeeded.
ExtArray
  rev - OK
  rev_in_place - OK
  for_all - OK
  exists - OK
  mem - OK
  memq - OK
  find - OK
  findi - OK
  filter - OK
  partition - OK
  enum - OK
  map2 - OK
  12/12 tests succeeded.
DynArray
  triv - OK
  regr_1 - OK
  insert - OK
  simple_1 - OK
  simple_2 - OK
  5/5 tests succeeded.
ExtHashtbl
  map - OK
  1/1 tests succeeded.
ExtList
  iteri - OK
  mapi - OK
  exceptions - OK
  find_exc - OK
  findi - OK
  fold_right - OK
  fold_right2 - OK
  map - OK
  find_map_exn - OK
  make - OK
  10/10 tests succeeded.
BitSet
  basic - OK
  enum_1 - OK
  enum_2 - OK
  enum_3 - OK
  enum_regr_pz - OK
  intersect - OK
  diff - OK
  sym_diff - OK
  rnd_creation - OK
  empty - OK
  exceptions - OK
  compare - OK
  compare_2 - OK
  compare_3 - OK
  set_opers - OK
  unite - OK
  intersect_2 - OK
  differentiate - OK
  differentiate_sym - OK
  19/19 tests succeeded.

Overall 68/68 tests succeeded.
2025-01-25 15:04.11 ---> saved as "42550a7c0d7c831779682e8c5fd5d70ee6e88ad7980a6fff5d058821f2b63315"
Job succeeded
2025-01-25 15:04.10: Job succeeded