Organisationsdinosaureunstrctrdfcecf2 ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2024-03-15 10:28.21: New job: test dinosaure/unstrctrd https://github.com/dinosaure/unstrctrd.git#refs/heads/master (fcecf2825bd1b27088abe44d5cd7ab5a8fecdcd2) (linux-x86_64:(lint-doc))
Base: ocaml/opam@sha256:6534035ce7a902d6df0514d1726517803cd2104d259eeef4c44f1145c698343b
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/dinosaure/unstrctrd.git" -b "master" && cd "unstrctrd" && git reset --hard fcecf282
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:6534035ce7a902d6df0514d1726517803cd2104d259eeef4c44f1145c698343b
# debian-12-4.08_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
RUN opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e c1d400d20b9fda73fd4e9cdc25a502d21b1ea7f1 || git fetch origin master) && git reset -q --hard c1d400d20b9fda73fd4e9cdc25a502d21b1ea7f1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 unstrctrd.opam ./
RUN opam pin add -yn unstrctrd.dev './'
ENV DEPS="afl-persistent.1.4 alcotest.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.9.1 cmdliner.1.2.0 cppo.1.6.9 crowbar.0.2.1 csexp.1.5.2 dune.3.14.2 dune-configurator.3.14.2 fmt.0.9.0 hxd.0.3.2 ke.0.6 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 rresult.0.7.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 unstrctrd.dev $DEPS
RUN opam install $DEPS
RUN opam depext -i conf-m4 && opam depext -i dune 'odoc>=1.5.0'
COPY --chown=1000:1000 . /src/
RUN ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo "dune build @doc failed"; exit 2)


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


2024-03-15 10:28.21: Using cache hint "dinosaure/unstrctrd-ocaml/opam@sha256:6534035ce7a902d6df0514d1726517803cd2104d259eeef4c44f1145c698343b-debian-12-4.08_opam-2.1-fc50fb1f43e7280a2281dbd53c76709f"
2024-03-15 10:28.21: Using OBuilder spec:
((from ocaml/opam@sha256:6534035ce7a902d6df0514d1726517803cd2104d259eeef4c44f1145c698343b)
 (comment debian-12-4.08_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "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 c1d400d20b9fda73fd4e9cdc25a502d21b1ea7f1 || git fetch origin master) && git reset -q --hard c1d400d20b9fda73fd4e9cdc25a502d21b1ea7f1 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src unstrctrd.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn unstrctrd.dev './'"))
 (env DEPS "afl-persistent.1.4 alcotest.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.9.1 cmdliner.1.2.0 cppo.1.6.9 crowbar.0.2.1 csexp.1.5.2 dune.3.14.2 dune-configurator.3.14.2 fmt.0.9.0 hxd.0.3.2 ke.0.6 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 rresult.0.7.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 unstrctrd.dev $DEPS"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install $DEPS"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam depext -i conf-m4 && opam depext -i dune 'odoc>=1.5.0'"))
 (copy (src .) (dst /src/))
 (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
)


2024-03-15 10:28.21: Waiting for resource in pool OCluster
2024-03-15 10:45.59: Waiting for worker…
2024-03-15 10:52.42: Got resource from pool OCluster
Building on x86-bm-c18.sw.ocaml.org
All commits already cached
HEAD is now at fcecf28 Merge pull request #14 from dinosaure/prepare-v0.3


(from ocaml/opam@sha256:6534035ce7a902d6df0514d1726517803cd2104d259eeef4c44f1145c698343b)
2024-03-15 10:52.42 ---> using "9a03d34cca037cdb7b5ec04ec5932af520922024bd8b2d16a7cbee35785724b0" from cache


/: (comment debian-12-4.08_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-03-15 10:52.42 ---> using "7a45d14b06f581f958008fcae8c7695522e44e76ae88d8e98c8bf3e0c29add00" 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-03-15 10:52.42 ---> using "6dbaf8d809a5e55b1ce573d15e85d65632b8cfd299d1591f6d36a8feb88f3041" from cache


/src: (run (shell "opam exec -- ocaml -version && opam --version"))
The OCaml toplevel, version 4.08.1
2.1.5
2024-03-15 10:52.42 ---> using "789a1f64ab4b542f40fa7addc964f2098e2cdfb7b811eb74f957b9fda04315e6" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-03-15 10:52.42 ---> using "da57dffd1e3a290ca3a6c3d3ef5d6b613c9cd7aba96360814442db948c11171b" from cache


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


<><> 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-03-15 10:52.42 ---> using "aa046bf87d874642ce5a910bb870dec343868bbbefe6885374decdd31e15d343" from cache


/src: (copy (src unstrctrd.opam) (dst ./))
2024-03-15 10:52.42 ---> using "e253b6d61806dd485db96e7081caceaf9a9114c88548fcad086943ac18cf17e5" from cache


/src: (run (network host)
           (shell "opam pin add -yn unstrctrd.dev './'"))
[unstrctrd.dev] synchronised (file:///src)
unstrctrd is now pinned to file:///src (version dev)
2024-03-15 10:52.42 ---> using "92890757795d9ef505c57a08172940e8f1d28739522d7b56d8cf04e199b3951c" from cache


/src: (env DEPS "afl-persistent.1.4 alcotest.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.9.1 cmdliner.1.2.0 cppo.1.6.9 crowbar.0.2.1 csexp.1.5.2 dune.3.14.2 dune-configurator.3.14.2 fmt.0.9.0 hxd.0.3.2 ke.0.6 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 rresult.0.7.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 unstrctrd.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [146 kB]
- Fetched 250 kB in 0s (962 kB/s)
- Reading package lists...
- 


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


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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-03-15 10:52.42 ---> using "6391abd76707e93ddfb8afeaf384b0fd6794e15edb5ffa7629f65f63eda82521" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 cmdliner           1.2.0
  - install ocamlfind          1.9.6
  - install seq                base
  - install dune               3.14.2
  - install topkg              1.0.7
  - install base-bytes         base
  - install stdlib-shims       0.3.0
  - install re                 1.11.0
  - install ocaml-syntax-shims 1.0.0
  - install csexp              1.5.2
  - install cppo               1.6.9
  - install afl-persistent     1.4
  - install uutf               1.0.3
  - install rresult            0.7.0
  - install fmt                0.9.0
  - install astring            0.8.5
  - install dune-configurator  3.14.2
  - install ocplib-endian      1.2
  - install ke                 0.6
  - install alcotest           1.7.0
  - install hxd                0.3.2
  - install bigstringaf        0.9.1
  - install crowbar            0.2.1
  - install angstrom           0.16.0
===== 25 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.4  (cached)
-> retrieved angstrom.0.16.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved bigstringaf.0.9.1  (cached)
-> retrieved alcotest.1.7.0  (cached)
-> retrieved cmdliner.1.2.0  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved crowbar.0.2.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved hxd.0.3.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 ocplib-endian.1.2  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved rresult.0.7.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-configurator.3.14.2  (cached)
-> retrieved dune.3.14.2  (cached)
-> installed cmdliner.1.2.0
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> 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 dune.3.14.2
-> installed afl-persistent.1.4
-> installed csexp.1.5.2
-> installed ke.0.6
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed cppo.1.6.9
-> installed ocplib-endian.1.2
-> installed crowbar.0.2.1
-> installed alcotest.1.7.0
-> installed dune-configurator.3.14.2
-> installed bigstringaf.0.9.1
-> installed hxd.0.3.2
-> installed angstrom.0.16.0
Done.


<><> afl-persistent.1.4 installed successfully ><><><><><><><><><><><><><><><><>
=> afl-persistent is installed, but since the current OCaml compiler does
   not enable AFL instrumentation by default, most packages will not be
   instrumented and fuzzing with afl-fuzz may not be effective.


   To globally enable AFL instrumentation, create an OCaml switch like:


     opam switch create 4.08.1+afl ocaml-variants.4.08.1+options ocaml-option-afl
# Run eval $(opam env) to update the current shell environment
2024-03-15 10:52.42 ---> using "6d0ef94dcea1b8316e1dbdd991369bffa024291906f0ed9cc1cdcead6b3920ac" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam depext -i conf-m4 && opam depext -i dune 'odoc>=1.5.0'"))
Opam plugin "depext" may require upgrading/reinstalling. Reinstall the plugin on the current switch? [Y/n] y
The following actions will be performed:
  - recompile opam-depext 1.2.1-1


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.1-1  (cached)
-> removed   opam-depext.1.2.1-1
-> installed opam-depext.1.2.1-1
Done.


<><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment


<><> Carrying on to "opam depext -i conf-m4" ><><><><><><><><><><><><><><><><><>


You are using opam 2.1+, where external dependency handling has been integrated: consider calling opam directly, the 'depext' plugin interface is provided for backwards compatibility only
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
m4
The following actions will be performed:
  - install conf-m4 1


The following system packages will first need to be installed:
    m4


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-m4.1
Done.
# Run eval $(opam env) to update the current shell environment
You are using opam 2.1+, where external dependency handling has been integrated: consider calling opam directly, the 'depext' plugin interface is provided for backwards compatibility only
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
[NOTE] Package dune is already installed (current version is 3.14.2).
The following actions will be performed:
  - install fpath         0.7.3 [required by odoc]
  - install result        1.5   [required by odoc]
  - install ptime         1.1.0 [required by crunch]
  - install tyxml         4.6.0 [required by odoc]
  - install camlp-streams 5.0.1 [required by odoc-parser]
  - install crunch        3.3.1 [required by odoc]
  - install odoc-parser   2.4.1 [required by odoc]
  - install odoc          2.4.1
===== 8 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved crunch.3.3.1  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved odoc.2.4.1  (cached)
-> retrieved ptime.1.1.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved odoc-parser.2.4.1  (cached)
-> installed camlp-streams.5.0.1
-> installed result.1.5
-> installed fpath.0.7.3
-> installed odoc-parser.2.4.1
-> installed ptime.1.1.0
-> installed crunch.3.3.1
-> installed tyxml.4.6.0
-> installed odoc.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-03-15 10:52.42 ---> using "1dda87992108715a8224288a7f24033e99686de04d98186cd500d5e226deaf40" from cache


/src: (copy (src .) (dst /src/))
2024-03-15 10:52.42 ---> saved as "2e94e9296d0817e0f2f4e53679169a2f40812230c081d93de72e02b6dfabe4d9"


/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2024-03-15 10:52.43 ---> saved as "6164a98b4e139448938cbf740d16e5c62d6ba6dd79456417e7ec98fb2c4d9e62"
Job succeeded
2024-03-15 10:52.43: Job succeeded