Organisationsocaml-opamopam-compilerc09b01 (master)fedora-40-4.14_opam-2.1

fedora-40-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-06-23 10:47.49: New job: test ocaml-opam/opam-compiler https://github.com/ocaml-opam/opam-compiler.git#refs/heads/master (c09b015b7c4cbc0ffa2b1008b7dc148a4c88b2b4) (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/ocaml-opam/opam-compiler.git" -b "master" && cd "opam-compiler" && git reset --hard c09b015b
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 opam-compiler.opam ./
RUN opam pin add -yn opam-compiler.dev './'
ENV DEPS="alcotest.1.7.0 astring.0.8.5 atd.2.15.0 atdgen.2.15.0 atdgen-runtime.2.15.0 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 curly.0.3.0 dune.3.16.0 easy-format.1.3.4 either.1.0.0 fmt.0.9.0 fpath.0.7.3 github-data.4.4.1 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 menhir.20231231 menhirCST.20231231 menhirLib.20231231 menhirSdk.20231231 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.7 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y opam-compiler.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.49: Using cache hint "ocaml-opam/opam-compiler-ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d-fedora-40-4.14_opam-2.1-1c562ba401834eb2de096813865a3e05"
2024-06-23 10:47.49: 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 opam-compiler.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn opam-compiler.dev './'"))
 (env DEPS "alcotest.1.7.0 astring.0.8.5 atd.2.15.0 atdgen.2.15.0 atdgen-runtime.2.15.0 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 curly.0.3.0 dune.3.16.0 easy-format.1.3.4 either.1.0.0 fmt.0.9.0 fpath.0.7.3 github-data.4.4.1 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 menhir.20231231 menhirCST.20231231 menhirLib.20231231 menhirSdk.20231231 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.7 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.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.1 --depext-only -y opam-compiler.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.49: Waiting for resource in pool OCluster
2024-06-23 10:51.29: Waiting for worker…
2024-06-23 10:53.47: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at c09b015 Prepare 0.2.0


(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.47 ---> 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                     41 kB/s |  28 kB     00:00    
Fedora 40 - x86_64 - Updates                    4.4 MB/s | 4.0 MB     00:00    
Last metadata expiration check: 0:00:01 ago on Sun Jun 23 10:48:08 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.47 ---> using "e5c35948aff5db2f7273e3a5626d315cc9962b67f5e2d3fb9d7ca654f21fcd96" from cache


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


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.


Continue? [Y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-06-23 10:53.47 ---> 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.47 ---> using "df0c32badae66bb42aa4a72e5bf551a9e5e37d44ddf08991e29b9a9779d6f7aa" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-06-23 10:53.47 ---> 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.47 ---> using "90bcad85e7f821ad1be14875e14dd5a0cd3aedc6c09112cdba485bf6a390a177" from cache


/src: (copy (src opam-compiler.opam) (dst ./))
2024-06-23 10:53.48 ---> saved as "376f5c525dbcff9ea4e014d31d0943cbaab90d129f401ac731b308ff40ca9689"


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


/src: (env DEPS "alcotest.1.7.0 astring.0.8.5 atd.2.15.0 atdgen.2.15.0 atdgen-runtime.2.15.0 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 curly.0.3.0 dune.3.16.0 easy-format.1.3.4 either.1.0.0 fmt.0.9.0 fpath.0.7.3 github-data.4.4.1 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 menhir.20231231 menhirCST.20231231 menhirLib.20231231 menhirSdk.20231231 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.7 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.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.1 --depext-only -y opam-compiler.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 40 - x86_64                              233 kB/s |  30 kB     00:00    
- Fedora 40 openh264 (From Cisco) - x86_64         10 kB/s | 989  B     00:00    
- Fedora 40 - x86_64 - Updates                    227 kB/s |  28 kB     00:00    
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-compiler.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:54.03 ---> saved as "c714e115b6b87aab138e4084d84a58f0615cef54c87f62c81d1025afc6dd433c"


/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 dune               3.16.0
  - install ocamlfind          1.9.6
  - install seq                base
  - install cmdliner           1.3.0
  - install stdlib-shims       0.3.0
  - install result             1.5
  - install ocaml-version      3.6.7
  - install ocaml-syntax-shims 1.0.0
  - install menhirSdk          20231231
  - install menhirLib          20231231
  - install menhirCST          20231231
  - install either             1.0.0
  - install easy-format        1.3.4
  - install camlp-streams      5.0.1
  - install topkg              1.0.7
  - install yojson             2.2.1
  - install re                 1.11.0
  - install curly              0.3.0
  - install menhir             20231231
  - install biniou             1.2.2
  - install uutf               1.0.3
  - install rresult            0.7.0
  - install fmt                0.9.0
  - install astring            0.8.5
  - install atd                2.15.0
  - install atdgen-runtime     2.15.0
  - install logs               0.7.0
  - install fpath              0.7.3
  - install alcotest           1.7.0
  - install atdgen             2.15.0
  - install bos                0.2.1
  - install github-data        4.4.1
===== 33 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.7.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved atd.2.15.0  (cached)
-> retrieved biniou.1.2.2  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved atdgen.2.15.0  (cached)
-> retrieved atdgen-runtime.2.15.0  (cached)
-> retrieved curly.0.3.0  (cached)
-> retrieved easy-format.1.3.4  (cached)
-> retrieved either.1.0.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved github-data.4.4.1  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved menhir.20231231  (cached)
-> retrieved menhirCST.20231231  (cached)
-> retrieved menhirLib.20231231  (cached)
-> retrieved menhirSdk.20231231  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml-version.3.6.7  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved dune.3.16.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved yojson.2.2.1  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.7.0
-> installed bos.0.2.1
-> installed dune.3.16.0
-> installed easy-format.1.3.4
-> installed either.1.0.0
-> installed camlp-streams.5.0.1
-> installed menhirCST.20231231
-> installed stdlib-shims.0.3.0
-> installed result.1.5
-> installed ocaml-version.3.6.7
-> installed menhirSdk.20231231
-> installed curly.0.3.0
-> installed menhirLib.20231231
-> installed biniou.1.2.2
-> installed re.1.11.0
-> installed ocaml-syntax-shims.1.0.0
-> installed yojson.2.2.1
-> installed atdgen-runtime.2.15.0
-> installed alcotest.1.7.0
-> installed menhir.20231231
-> installed atd.2.15.0
-> installed atdgen.2.15.0
-> installed github-data.4.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-23 10:55.08 ---> saved as "80ff154a90aba6d35ed7d161818269cae8cf0cc4bab054b0ce7ee7c922ede213"


/src: (copy (src .) (dst /src))
2024-06-23 10:55.08 ---> saved as "1bc220df486674e03f595be72de086d95f3ffc426dc7e90386910d36db9f3a3f"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/unit && ./test.exe --compact)
Testing `opam-compiler'.
This run has ID `72Z2X6ZY'.


......................


2024-06-23 10:55.10 ---> saved as "419ec64cd117d5942cb9dbc68debb6b49e22f004952833eaf2a571627d535e6e"
Job succeeded
2024-06-23 10:55.10: Job succeeded