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

fedora-38-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-05-26 11:36.39: New job: test dinosaure/prettym https://github.com/dinosaure/prettym.git#refs/heads/main (f53c4a5a7fc3fa3f08e1984616a998586c9d09db) (linux-x86_64:fedora-38-4.14_opam-2.1)
Base: ocaml/opam@sha256:af80e7e7fbfba8b61627fd767c033b0281835ab451c56b3772aa6d21d6760101
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:af80e7e7fbfba8b61627fd767c033b0281835ab451c56b3772aa6d21d6760101
# fedora-38-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 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && 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.15.3 dune-configurator.3.15.3 fmt.0.9.0 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-05-26 11:36.39: Using cache hint "dinosaure/prettym-ocaml/opam@sha256:af80e7e7fbfba8b61627fd767c033b0281835ab451c56b3772aa6d21d6760101-fedora-38-4.14_opam-2.1-aa8e3ec2364dce2e6d5cdf78a11064b0"
2024-05-26 11:36.39: Using OBuilder spec:
((from ocaml/opam@sha256:af80e7e7fbfba8b61627fd767c033b0281835ab451c56b3772aa6d21d6760101)
 (comment fedora-38-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 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && 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.15.3 dune-configurator.3.15.3 fmt.0.9.0 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-05-26 11:36.39: Waiting for resource in pool OCluster
2024-05-26 19:43.26: Waiting for worker…
2024-05-26 19:45.43: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/prettym.git-dc8d49cb93aad76576bb20d67607f0b245367688/.git/
HEAD is now at f53c4a5 Merge pull request #5 from dinosaure/upgrade


(from ocaml/opam@sha256:af80e7e7fbfba8b61627fd767c033b0281835ab451c56b3772aa6d21d6760101)
2024-05-26 19:45.44 ---> using "c8fcc6f6743854d61e83ec532243b7842802baad10ad200a5e4b9d06496f1a39" from cache


/: (comment fedora-38-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 38 - x86_64                              189 kB/s |  26 kB     00:00    
Fedora 38 openh264 (From Cisco) - x86_64        8.4 kB/s | 989  B     00:00    
Fedora 38 openh264 (From Cisco) - x86_64        7.3 kB/s | 2.6 kB     00:00    
Fedora Modular 38 - x86_64                      176 kB/s |  25 kB     00:00    
Fedora 38 - x86_64 - Updates                    179 kB/s |  24 kB     00:00    
Fedora 38 - x86_64 - Updates                    5.8 MB/s |  15 MB     00:02    
Fedora Modular 38 - x86_64 - Updates            168 kB/s |  24 kB     00:00    
Package findutils-1:4.9.0-3.fc38.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-05-26 19:45.44 ---> using "8beba12bb3916922dac18a983f8c02a7d9f23caa8afb5bc5a19fd1048fe329d5" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-26 19:45.44 ---> using "5d300b83cf96ca53af026add7e9a34129e5ac42651d1a10dc71d685d8c3e3d45" 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-26 19:45.44 ---> using "c79e7ee7ff7f997a7ac1b5544316ab15ff19e6a9b213c801c392cfe13fe04112" 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.5
2024-05-26 19:45.44 ---> using "b544ab9d5c56fefcbaccb2287e4d3bf51f5345daffd3e33e36112d5d6149d003" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-26 19:45.44 ---> using "ae835d1bf1a8feef001fcfff27f264df5f90171bf80aeb2de080852e08058f09" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   eb2dcab0d8..c61e9068d5  master     -> origin/master
1c7ec1efde [new release] dune (15 packages) (3.15.3)


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository): 
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)


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-26 19:45.44 ---> using "8e195b1ac559f4af71793ecc676c4c17a55114061ca40f6e79c179f7decfbf89" from cache


/src: (copy (src prettym.opam) (dst ./))
2024-05-26 19:45.44 ---> saved as "9c858fa41578acb2ad3fb4c1bcda0173c40f742bdd960846bd61b75c5ab82443"


/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-05-26 19:45.45 ---> saved as "0800fa78439bda66c855e00346773c3873ea92bd6c2096af02eea055fb68b977"


/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.15.3 dune-configurator.3.15.3 fmt.0.9.0 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 38 - x86_64                              259 kB/s |  26 kB     00:00    
- Fedora 38 openh264 (From Cisco) - x86_64        8.9 kB/s | 989  B     00:00    
- Fedora Modular 38 - x86_64                      191 kB/s |  25 kB     00:00    
- Fedora 38 - x86_64 - Updates                    174 kB/s |  24 kB     00:00    
- Fedora Modular 38 - x86_64 - Updates            226 kB/s |  24 kB     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 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-26 19:46.05 ---> saved as "b75ca6accec545ec8dc991817fd6c5180fc832ce2e16b8f4444f9b11b42599c2"


/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 conf-pkg-config    3
  - install dune               3.15.3
  - 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.15.3
  - 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 base64.3.5.1  (cached)
-> retrieved astring.0.8.5  (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)
-> 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.15.3  (cached)
-> retrieved dune-configurator.3.15.3  (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 ptime.1.1.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed dune.3.15.3
-> installed bigarray-overlap.0.2.1
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed ke.0.6
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed alcotest.1.7.0
-> installed dune-configurator.3.15.3
-> installed bigstringaf.0.9.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-26 19:47.03 ---> saved as "216fe41d70b1da8069ab16ad062511fe4aba113a6256859cda43557c2d1e495b"


/src: (copy (src .) (dst /src))
2024-05-26 19:47.03 ---> saved as "15c7e70d39425351ca4f98dd00e2b121b1abecd2da7d1ed8f7e3e2c300ecd22d"


/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 `OG91V45G'.


  [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.004s. 5 tests run.
2024-05-26 19:47.04 ---> saved as "0580f30f25a68f52e7ad63ffd66627076b5bb6014790765a5462e76e94db4b58"
Job succeeded
2024-05-26 19:47.04: Job succeeded