Organisationsdinosaureprettymf53c4a (main)fedora-40-4.14_opam-2.1

fedora-40-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-06-23 10:47.48: New job: test dinosaure/prettym https://github.com/dinosaure/prettym.git#refs/heads/main (f53c4a5a7fc3fa3f08e1984616a998586c9d09db) (linux-x86_64:fedora-40-4.14_opam-2.1)
Base: ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/dinosaure/prettym.git" -b "main" && cd "prettym" && git reset --hard f53c4a5a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d
# fedora-40-4.14_opam-2.1
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.1 /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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 prettym.opam ./
RUN opam pin add -yn prettym.dev './'
ENV DEPS="alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 bigarray-overlap.0.2.1 bigstringaf.0.9.1 cmdliner.1.3.0 conf-pkg-config.3 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 jsonm.1.0.2 ke.0.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ptime.1.1.0 re.1.11.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.1 --depext-only -y prettym.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


2024-06-23 10:47.48: Using cache hint "dinosaure/prettym-ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d-fedora-40-4.14_opam-2.1-08032bd1db4dc8586e86e93ac1a8b996"
2024-06-23 10:47.48: Using OBuilder spec:
((from ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d)
 (comment fedora-40-4.14_opam-2.1)
 (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.1 /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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src prettym.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn prettym.dev './'"))
 (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 bigarray-overlap.0.2.1 bigstringaf.0.9.1 cmdliner.1.3.0 conf-pkg-config.3 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 jsonm.1.0.2 ke.0.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ptime.1.1.0 re.1.11.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.1 --depext-only -y prettym.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"))
)


2024-06-23 10:47.48: Waiting for resource in pool OCluster
2024-06-23 10:49.38: Waiting for worker…
2024-06-23 10:53.02: Got resource from pool OCluster
Building on x86-bm-c17.sw.ocaml.org
All commits already cached
HEAD is now at f53c4a5 Merge pull request #5 from dinosaure/upgrade


(from ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d)
Unable to find image 'ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d' locally
docker.io/ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d: Pulling from ocaml/opam
Digest: sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d
Status: Downloaded newer image for ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d
2024-06-23 10:53.02 ---> using "600f72d782729081c67486db22a1a166faef0c850eee225f73d793431e564f54" from cache


/: (comment fedora-40-4.14_opam-2.1)


/: (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                    294 kB/s |  28 kB     00:00    
Fedora 40 - x86_64 - Updates                    1.9 MB/s | 3.9 MB     00:02    
Last metadata expiration check: 0:00:03 ago on Sun Jun 23 10:48:34 2024.
Package findutils-1:4.9.0-8.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-06-23 10:53.02 ---> using "e5c35948aff5db2f7273e3a5626d315cc9962b67f5e2d3fb9d7ca654f21fcd96" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-06-23 10:53.02 ---> using "52ada40f1b99444f13df239a99cfde75cbde9369be360a75fdf9f5868afbc58f" 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.


Continue? [Y/n] y
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.


Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-06-23 10:53.02 ---> using "2c0edb61cd17967bbc68c5abbf37ab752511df7b0dbedfbcb8207ff816890e7e" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-112-generic
The OCaml toplevel, version 4.14.2
2.1.6
2024-06-23 10:53.02 ---> using "df0c32badae66bb42aa4a72e5bf551a9e5e37d44ddf08991e29b9a9779d6f7aa" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-06-23 10:53.02 ---> using "adfe65cf1d449c1c1bc7bd454ce706c3ee746217a33b7a8b7d03c09fd7699251" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
a6069b9eeb [new release] dune (15 packages) (3.16.0)


<><> 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.
# Run eval $(opam env) to update the current shell environment
2024-06-23 10:53.02 ---> using "90bcad85e7f821ad1be14875e14dd5a0cd3aedc6c09112cdba485bf6a390a177" from cache


/src: (copy (src prettym.opam) (dst ./))
2024-06-23 10:53.02 ---> saved as "9bcee2618eaf5fff7f095cac518ed06d830cd0fff2283d898d43a8a220d63a93"


/src: (run (network host)
           (shell "opam pin add -yn prettym.dev './'"))
[prettym.dev] synchronised (file:///src)
prettym is now pinned to file:///src (version dev)
2024-06-23 10:53.04 ---> saved as "2d906e5c83b58b7f7b619be1fbc1db4aa5af14bae21ac386a64685722dfc73fd"


/src: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 bigarray-overlap.0.2.1 bigstringaf.0.9.1 cmdliner.1.3.0 conf-pkg-config.3 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 jsonm.1.0.2 ke.0.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ptime.1.1.0 re.1.11.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.1 --depext-only -y prettym.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 40 - x86_64                              276 kB/s |  30 kB     00:00    
- Fedora 40 openh264 (From Cisco) - x86_64         12 kB/s | 989  B     00:00    
- Fedora 40 - x86_64 - Updates                    263 kB/s |  28 kB     00:00    
- Fedora 40 - x86_64 - Updates                    4.7 MB/s | 1.8 MB     00:00    
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[prettym.dev] synchronised (no changes)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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-bigarray is already installed (current version is base).
2024-06-23 10:53.30 ---> saved as "c167328e9b50af2f947ba5a7886fd2ab52b3e7f901c9e8cdd00deaf9698a1444"


/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
  - install ocamlbuild         0.14.3
  - install conf-pkg-config    3
  - install dune               3.16.0
  - install ocamlfind          1.9.6
  - install cmdliner           1.3.0
  - install seq                base
  - install stdlib-shims       0.3.0
  - install ocaml-syntax-shims 1.0.0
  - install csexp              1.5.2
  - install bigarray-overlap   0.2.1
  - install base64             3.5.1
  - install topkg              1.0.7
  - install re                 1.11.0
  - install dune-configurator  3.16.0
  - install uutf               1.0.3
  - install ptime              1.1.0
  - install fmt                0.9.0
  - install astring            0.8.5
  - install bigstringaf        0.9.1
  - install jsonm              1.0.2
  - install ke                 0.6
  - install alcotest           1.7.0
===== 22 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bigarray-overlap.0.2.1  (cached)
-> retrieved bigstringaf.0.9.1  (cached)
-> retrieved alcotest.1.7.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.3
-> retrieved fmt.0.9.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved ke.0.6  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ptime.1.1.0  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved dune-configurator.3.16.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed ptime.1.1.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed dune.3.16.0
-> installed stdlib-shims.0.3.0
-> installed bigarray-overlap.0.2.1
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed ke.0.6
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed dune-configurator.3.16.0
-> installed alcotest.1.7.0
-> installed bigstringaf.0.9.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-23 10:55.03 ---> saved as "bd268cfc51edf16a4b5ed8d7dd4819eb63db3fcbc92741931a1219581c4153aa"


/src: (copy (src .) (dst /src))
2024-06-23 10:55.03 ---> saved as "d9e9bf42e112bc0ce214c232f69b694c1d0d18982c3953e2ad24c2b9062f1abe"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe --color=always)
Random: [|63297; 3249; 16517; 49035; 53581; 45638; 25574; 14218; 12995;
          45248; 20239; 7875; 8142; 25828; 11293; 25073|].
Testing `format'.
This run has ID `775RQIHK'.


  [OK]          json            0   [true].
  [OK]          json            1   {"a":[true,false]}.
  [OK]          json            2   [{"a":true,"b":false}].
  [OK]          unroll          0   unroll.
  [OK]          lift            0   lift.


Full test results in `/src/_build/default/test/_build/_tests/format'.
Test Successful in 0.006s. 5 tests run.
2024-06-23 10:55.05 ---> saved as "5c5264872b39ceb9b7a08388fbc9d51c7005afbe9f0791163a063d46f4d79221"
Job succeeded
2024-06-23 10:55.06: Job succeeded