Organisationspatricoferrisocaml-cid4f665c (main)fedora-39-4.14_opam-2.1

fedora-39-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-05-24 10:47.04: New job: test patricoferris/ocaml-cid https://github.com/patricoferris/ocaml-cid.git#refs/heads/main (4f665cacb56e73462b690dcc793f1c6ec173c7b5) (linux-x86_64:fedora-39-4.14_opam-2.1)
Base: ocaml/opam@sha256:e8ae1296da35f446c91b13eba7f875bf760cc9b5703f464559e784515b2d9d4d
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/patricoferris/ocaml-cid.git" -b "main" && cd "ocaml-cid" && git reset --hard 4f665cac
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:e8ae1296da35f446c91b13eba7f875bf760cc9b5703f464559e784515b2d9d4d
# fedora-39-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 8b1bcef2701b746b5322949a3b4eed51eca511ef || git fetch origin master) && git reset -q --hard 8b1bcef2701b746b5322949a3b4eed51eca511ef && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 cid.opam ./
RUN opam pin add -yn cid.dev './'
ENV DEPS="alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 digestif.1.2.0 dune.3.15.2 eqaf.0.9 fmt.0.9.0 logs.0.7.0 mdx.2.4.1 multibase.0.1.0 multicodec.0.1.0 multihash.0.1.0 multihash-digestif.0.1.0 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 optint.0.3.0 re.1.11.0 result.1.5 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 cid.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-05-24 10:47.04: Using cache hint "patricoferris/ocaml-cid-ocaml/opam@sha256:e8ae1296da35f446c91b13eba7f875bf760cc9b5703f464559e784515b2d9d4d-fedora-39-4.14_opam-2.1-28b1c416e2383f1a5c47c85ebd47b07d"
2024-05-24 10:47.04: Using OBuilder spec:
((from ocaml/opam@sha256:e8ae1296da35f446c91b13eba7f875bf760cc9b5703f464559e784515b2d9d4d)
 (comment fedora-39-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 8b1bcef2701b746b5322949a3b4eed51eca511ef || git fetch origin master) && git reset -q --hard 8b1bcef2701b746b5322949a3b4eed51eca511ef && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src cid.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn cid.dev './'"))
 (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 digestif.1.2.0 dune.3.15.2 eqaf.0.9 fmt.0.9.0 logs.0.7.0 mdx.2.4.1 multibase.0.1.0 multicodec.0.1.0 multihash.0.1.0 multihash-digestif.0.1.0 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 optint.0.3.0 re.1.11.0 result.1.5 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 cid.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-05-24 10:47.04: Waiting for resource in pool OCluster
2024-05-25 19:53.48: Waiting for worker…
2024-05-25 19:56.48: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 4f665ca Add changes


(from ocaml/opam@sha256:e8ae1296da35f446c91b13eba7f875bf760cc9b5703f464559e784515b2d9d4d)
Unable to find image 'ocaml/opam@sha256:e8ae1296da35f446c91b13eba7f875bf760cc9b5703f464559e784515b2d9d4d' locally
docker.io/ocaml/opam@sha256:e8ae1296da35f446c91b13eba7f875bf760cc9b5703f464559e784515b2d9d4d: Pulling from ocaml/opam
Digest: sha256:e8ae1296da35f446c91b13eba7f875bf760cc9b5703f464559e784515b2d9d4d
Status: Downloaded newer image for ocaml/opam@sha256:e8ae1296da35f446c91b13eba7f875bf760cc9b5703f464559e784515b2d9d4d
2024-05-25 20:06.33 ---> using "8be36eb9fa5be1c0db7100501b6b3334f28c20287953793be6661072a4a65611" from cache


/: (comment fedora-39-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 39 - x86_64 - Updates                    184 kB/s |  23 kB     00:00    
Fedora 39 - x86_64 - Updates                    5.2 MB/s | 5.8 MB     00:01    
Last metadata expiration check: 0:00:10 ago on Sat May 25 19:53:01 2024.
Package findutils-1:4.9.0-5.fc39.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-05-25 20:06.33 ---> using "c42d71c4bfc0b341206e1bf2b37d4fce65972aa11b31622ff94ccc2a8008641b" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-25 20:06.33 ---> using "50ceee5cfd97ae62d2b5a6a39b83e98b810e8a412868bffa9fcd7692c2e9e53c" 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-05-25 20:06.33 ---> using "b7237503aa3e482d95880200ef815c95b060d1db4ad15c14cf2946d909d70866" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-107-generic
The OCaml toplevel, version 4.14.2
2.1.6
2024-05-25 20:06.33 ---> using "23a2f685c9e2a9e1bd630b467869de099e3dfa040956abfce6696a5a3ede64d8" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-25 20:06.33 ---> using "b886634df2fb69c8bb38b67d8f45fa7d5008aade44b8df2f1fb8ef4444b472b8" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 8b1bcef2701b746b5322949a3b4eed51eca511ef || git fetch origin master) && git reset -q --hard 8b1bcef2701b746b5322949a3b4eed51eca511ef && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   97de337874..6ed19e325e  master     -> origin/master
8b1bcef270 Add: cmdliner.1.3.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-05-25 20:06.33 ---> using "6d429d698bfce97b72b49a0a550ef207dce8fa9c310bd9139345dafed54f119d" from cache


/src: (copy (src cid.opam) (dst ./))
2024-05-25 20:06.33 ---> saved as "259ff9c9f625b082e7de95b3061945ffcd111d0093025642357d1d7731ef6c69"


/src: (run (network host)
           (shell "opam pin add -yn cid.dev './'"))
[cid.dev] synchronised (file:///src)
cid is now pinned to file:///src (version dev)
2024-05-25 20:06.34 ---> saved as "ae9e7518eea85853bffeb1250836bbe35335f7b5ede5c28e5dea95ff1d7f2b0b"


/src: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 digestif.1.2.0 dune.3.15.2 eqaf.0.9 fmt.0.9.0 logs.0.7.0 mdx.2.4.1 multibase.0.1.0 multicodec.0.1.0 multihash.0.1.0 multihash-digestif.0.1.0 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 optint.0.3.0 re.1.11.0 result.1.5 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 cid.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 39 - x86_64                              192 kB/s |  25 kB     00:00    
- Fedora 39 openh264 (From Cisco) - x86_64         10 kB/s | 989  B     00:00    
- Fedora 39 - x86_64 - Updates                    181 kB/s |  23 kB     00:00    
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[cid.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 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-05-25 20:06.45 ---> saved as "6f6d040e24edc7d324b4879efa76bda3b3e082ee7119b343865535f56da5f842"


/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 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 ocamlfind          1.9.6
  - install cmdliner           1.3.0
  - install seq                base
  - install dune               3.15.2
  - install topkg              1.0.7
  - install stdlib-shims       0.3.0
  - install result             1.5
  - install re                 1.11.0
  - install optint             0.3.0
  - install ocaml-version      3.6.7
  - install ocaml-syntax-shims 1.0.0
  - install multicodec         0.1.0
  - install csexp              1.5.2
  - install cppo               1.6.9
  - install camlp-streams      5.0.1
  - install base64             3.5.1
  - install uutf               1.0.3
  - install fmt                0.9.0
  - install astring            0.8.5
  - install multibase          0.1.0
  - install logs               0.7.0
  - install cstruct            6.2.0
  - install alcotest           1.7.0
  - install mdx                2.4.1
  - install multihash          0.1.0
  - install eqaf               0.9
  - install digestif           1.2.0
  - install multihash-digestif 0.1.0
===== 29 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved alcotest.1.7.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved eqaf.0.9  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved mdx.2.4.1  (cached)
-> retrieved multibase.0.1.0  (cached)
-> retrieved multicodec.0.1.0  (cached)
-> retrieved multihash.0.1.0  (cached)
-> retrieved multihash-digestif.0.1.0  (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 optint.0.3.0  (cached)
-> retrieved digestif.1.2.0  (cached)
-> retrieved re.1.11.0  (cached)
-> installed seq.base
-> retrieved result.1.5  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved dune.3.15.2  (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 fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.15.2
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed camlp-streams.5.0.1
-> installed result.1.5
-> installed ocaml-version.3.6.7
-> installed optint.0.3.0
-> installed base64.3.5.1
-> installed cstruct.6.2.0
-> installed multibase.0.1.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed cppo.1.6.9
-> installed eqaf.0.9
-> installed multicodec.0.1.0
-> installed multihash.0.1.0
-> installed alcotest.1.7.0
-> installed digestif.1.2.0
-> installed multihash-digestif.0.1.0
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-25 20:07.31 ---> saved as "ad06b20231d28cdb04ea192a423dc42cedc103306780ca0ef6ed64521de8d584"


/src: (copy (src .) (dst /src))
2024-05-25 20:07.31 ---> saved as "4ccc49bafe57c802589bcdeb264e8cdeaa5d807ae30167a93deb1c022613ed7c"


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


  [OK]          enc-dec          0   cid 0.
  [OK]          enc-dec          1   cid 1.
  [OK]          enc-dec          2   cid 2.
  [OK]          enc-dec          3   cid 3.
  [OK]          enc-dec          4   cid 4.


Full test results in `/src/_build/default/test/_build/_tests/CID'.
Test Successful in 0.001s. 5 tests run.
2024-05-25 20:07.32 ---> saved as "bd312044a297da073e342ea6881030257750ab575db28c3553aa7aebd67f71c0"
Job succeeded
2024-05-25 20:07.33: Job succeeded