Organisationsocamlodocebdee0 ()ubuntu-20.04-4.14_opam-2.2

ubuntu-20.04-4.14_opam-2.2

Link Copied
Code Copied

Logs

2024-10-10 14:23.31: New job: test ocaml/odoc https://github.com/ocaml/odoc.git#refs/pull/1210/head (ebdee03f08c33f98aad6fe64055fb01d03c5df5c) (linux-x86_64:ubuntu-20.04-4.14_opam-2.2)
Base: ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml/odoc.git" && cd "odoc" && git fetch origin "refs/pull/1210/head" && git reset --hard ebdee03f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204
# ubuntu-20.04-4.14_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 525e9f91783f83939e57ae00eb12498294707461 || git fetch origin master) && git reset -q --hard 525e9f91783f83939e57ae00eb12498294707461 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 odoc.opam odoc-parser.opam odoc-driver.opam odoc-bench.opam ./
RUN opam pin add -yn odoc.dev './' && \
    opam pin add -yn odoc-parser.dev './' && \
    opam pin add -yn odoc-driver.dev './' && \
    opam pin add -yn odoc-bench.dev './'
ENV DEPS="astring.0.8.5 base.v0.16.3 base-bigarray.base base-threads.base base-unix.base base_bigstring.v0.16.0 base_quickcheck.v0.16.0 bin_prot.v0.16.0 bisect_ppx.2.8.3 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 conf-bash.1 conf-jq.1 core.v0.16.2 core_kernel.v0.16.0 cppo.1.7.0 crunch.3.3.1 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 fieldslib.v0.16.0 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 int_repr.v0.16.0 jane-street-headers.v0.16.0 jst-config.v0.16.0 logs.0.7.0 mdx.2.4.1 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 parsexp.v0.16.0 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_bench.v0.16.0 ppx_bin_prot.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_custom_printf.v0.16.0 ppx_derivers.1.2.1 ppx_disable_unused_warnings.v0.16.0 ppx_enumerate.v0.16.0 ppx_expect.v0.16.0 ppx_fields_conv.v0.16.0 ppx_fixed_literal.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_ignore_instrumentation.v0.16.0 ppx_inline_test.v0.16.1 ppx_jane.v0.16.0 ppx_let.v0.16.0 ppx_log.v0.16.0 ppx_module_timer.v0.16.0 ppx_optcomp.v0.16.0 ppx_optional.v0.16.0 ppx_pipebang.v0.16.0 ppx_sexp_conv.v0.16.0 ppx_sexp_message.v0.16.0 ppx_sexp_value.v0.16.0 ppx_stable.v0.16.0 ppx_stable_witness.v0.16.0 ppx_string.v0.16.0 ppx_tydi.v0.16.0 ppx_typerep_conv.v0.16.0 ppx_variants_conv.v0.16.0 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 result.1.5 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 splittable_random.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 time_now.v0.16.0 topkg.1.0.7 typerep.v0.16.0 tyxml.4.6.0 uutf.1.0.3 variantslib.v0.16.0 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y odoc.dev odoc-parser.dev odoc-bench.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=odoc,odoc-parser,odoc-bench @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2024-10-10 14:23.31: Using cache hint "ocaml/odoc-ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204-ubuntu-20.04-4.14_opam-2.2-c7a410585dc985178b6ba94d67791ebe"
2024-10-10 14:23.31: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204)
 (comment ubuntu-20.04-4.14_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.2 /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 525e9f91783f83939e57ae00eb12498294707461 || git fetch origin master) && git reset -q --hard 525e9f91783f83939e57ae00eb12498294707461 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src odoc.opam odoc-parser.opam odoc-driver.opam odoc-bench.opam)
       (dst ./))
 (run (network host)
      (shell  "opam pin add -yn odoc.dev './' && \
             \nopam pin add -yn odoc-parser.dev './' && \
             \nopam pin add -yn odoc-driver.dev './' && \
             \nopam pin add -yn odoc-bench.dev './'"))
 (env DEPS "astring.0.8.5 base.v0.16.3 base-bigarray.base base-threads.base base-unix.base base_bigstring.v0.16.0 base_quickcheck.v0.16.0 bin_prot.v0.16.0 bisect_ppx.2.8.3 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 conf-bash.1 conf-jq.1 core.v0.16.2 core_kernel.v0.16.0 cppo.1.7.0 crunch.3.3.1 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 fieldslib.v0.16.0 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 int_repr.v0.16.0 jane-street-headers.v0.16.0 jst-config.v0.16.0 logs.0.7.0 mdx.2.4.1 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 parsexp.v0.16.0 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_bench.v0.16.0 ppx_bin_prot.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_custom_printf.v0.16.0 ppx_derivers.1.2.1 ppx_disable_unused_warnings.v0.16.0 ppx_enumerate.v0.16.0 ppx_expect.v0.16.0 ppx_fields_conv.v0.16.0 ppx_fixed_literal.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_ignore_instrumentation.v0.16.0 ppx_inline_test.v0.16.1 ppx_jane.v0.16.0 ppx_let.v0.16.0 ppx_log.v0.16.0 ppx_module_timer.v0.16.0 ppx_optcomp.v0.16.0 ppx_optional.v0.16.0 ppx_pipebang.v0.16.0 ppx_sexp_conv.v0.16.0 ppx_sexp_message.v0.16.0 ppx_sexp_value.v0.16.0 ppx_stable.v0.16.0 ppx_stable_witness.v0.16.0 ppx_string.v0.16.0 ppx_tydi.v0.16.0 ppx_typerep_conv.v0.16.0 ppx_variants_conv.v0.16.0 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 result.1.5 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 splittable_random.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 time_now.v0.16.0 topkg.1.0.7 typerep.v0.16.0 tyxml.4.6.0 uutf.1.0.3 variantslib.v0.16.0 yojson.2.2.2")
 (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.2 --depext-only -y odoc.dev odoc-parser.dev odoc-bench.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 --only-packages=odoc,odoc-parser,odoc-bench @install @check @runtest && rm -rf _build"))
)


2024-10-10 14:23.31: Waiting for resource in pool OCluster
2024-10-10 14:23.32: Waiting for worker…
2024-10-10 14:23.42: Got resource from pool OCluster
Building on x86-bm-c19.sw.ocaml.org
HEAD is now at 8f15caad opam: Update lower bounds on yojson
HEAD is now at ebdee03f ast_to_comment does not need a frontmatter


(from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204)
2024-10-10 14:24.57 ---> saved as "19903358f55ad283a3c432fd3daf0eca4a7b3397354c8b8cd39361c895368153"


/: (comment ubuntu-20.04-4.14_opam-2.2)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-10-10 14:24.57 ---> saved as "560306bc4b748d290694a4aa6f5bbe4f987f0fc2a334286cb03d4d29b79940d1"


/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
2024-10-10 14:26.34 ---> saved as "0c1bc42dfa7a75450b9bce2682dcc8b4660e53cba594bef2d8779be064af5ff8"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-10-10 14:26.34 ---> saved as "e97093f9417edd20be70e8c69a567f9336bf05550f3defeb3ecd40445c793013"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-10-10 14:26.34 ---> saved as "c0b0da80366c1f1a111bddb1377a7c8a8fdd7afbd0f165a4c965930f974f94f5"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 525e9f91783f83939e57ae00eb12498294707461 || git fetch origin master) && git reset -q --hard 525e9f91783f83939e57ae00eb12498294707461 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   75006f8c5e..ac01ad6037  master     -> origin/master
525e9f9178 Merge pull request #26639 from mtelvers/opam-publish-ocaml-version.3.6.9


<><> 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-10-10 14:28.00 ---> saved as "6de356ba970301d357a533956525e11a9d501e08fffff17337dd6460e10f75b8"


/src: (copy (src odoc.opam odoc-parser.opam odoc-driver.opam odoc-bench.opam)
            (dst ./))
2024-10-10 14:28.01 ---> saved as "03dd0e5a8a1c57606d755a7aa1602878fc0b9f3c4daf66f3da7d0125373672d1"


/src: (run (network host)
           (shell  "opam pin add -yn odoc.dev './' && \
                  \nopam pin add -yn odoc-parser.dev './' && \
                  \nopam pin add -yn odoc-driver.dev './' && \
                  \nopam pin add -yn odoc-bench.dev './'"))
[odoc.dev] synchronised (file:///src)
odoc is now pinned to file:///src (version dev)
[odoc-parser.dev] synchronised (file:///src)
odoc-parser is now pinned to file:///src (version dev)
Package odoc-driver does not exist, create as a NEW package? [y/n] y
[odoc-driver.dev] synchronised (file:///src)
odoc-driver is now pinned to file:///src (version dev)
Package odoc-bench does not exist, create as a NEW package? [y/n] y
[WARNING] Failed checks on odoc-bench package definition from source at file:///src:
  warning 47: Synopsis should start with a capital and not end with a dot
[odoc-bench.dev] synchronised (file:///src)
odoc-bench is now pinned to file:///src (version dev)
2024-10-10 14:28.17 ---> saved as "3639c2b95875a4e01db4b5c99b12b2b4d7df0497606855191dc2af90e4706e4b"


/src: (env DEPS "astring.0.8.5 base.v0.16.3 base-bigarray.base base-threads.base base-unix.base base_bigstring.v0.16.0 base_quickcheck.v0.16.0 bin_prot.v0.16.0 bisect_ppx.2.8.3 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 conf-bash.1 conf-jq.1 core.v0.16.2 core_kernel.v0.16.0 cppo.1.7.0 crunch.3.3.1 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 fieldslib.v0.16.0 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 int_repr.v0.16.0 jane-street-headers.v0.16.0 jst-config.v0.16.0 logs.0.7.0 mdx.2.4.1 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 parsexp.v0.16.0 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_bench.v0.16.0 ppx_bin_prot.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_custom_printf.v0.16.0 ppx_derivers.1.2.1 ppx_disable_unused_warnings.v0.16.0 ppx_enumerate.v0.16.0 ppx_expect.v0.16.0 ppx_fields_conv.v0.16.0 ppx_fixed_literal.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_ignore_instrumentation.v0.16.0 ppx_inline_test.v0.16.1 ppx_jane.v0.16.0 ppx_let.v0.16.0 ppx_log.v0.16.0 ppx_module_timer.v0.16.0 ppx_optcomp.v0.16.0 ppx_optional.v0.16.0 ppx_pipebang.v0.16.0 ppx_sexp_conv.v0.16.0 ppx_sexp_message.v0.16.0 ppx_sexp_value.v0.16.0 ppx_stable.v0.16.0 ppx_stable_witness.v0.16.0 ppx_string.v0.16.0 ppx_tydi.v0.16.0 ppx_typerep_conv.v0.16.0 ppx_variants_conv.v0.16.0 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 result.1.5 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 splittable_random.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 time_now.v0.16.0 topkg.1.0.7 typerep.v0.16.0 tyxml.4.6.0 uutf.1.0.3 variantslib.v0.16.0 yojson.2.2.2")


/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.2 --depext-only -y odoc.dev odoc-parser.dev odoc-bench.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
- Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
- Get:5 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4026 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1561 kB]
- Get:7 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1274 kB]
- Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4488 kB]
- Fetched 11.6 MB in 2s (4910 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[odoc.dev] synchronised (no changes)
[odoc-bench.dev] synchronised (no changes)
[odoc-parser.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-10-10 14:28.40: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled