Organisationsmirageeither043eba (main)(lint-fmt)

(lint-fmt)

Link Copied
Code Copied

Logs

2024-04-10 22:03.38: New job: test mirage/either https://github.com/mirage/either.git#refs/heads/main (043eba77c144b26790c2fd478bd9e607293099d6) (linux-x86_64:(lint-fmt))
Base: ocaml/opam@sha256:6b969e4ac9afb4d0e5c4037f14dda59bb97f1ea2008d49f780fb66e8c431d1a3
ocamlformat version: version 0.15.0 (from opam)


To reproduce locally:


git clone --recursive "https://github.com/mirage/either.git" -b "main" && cd "either" && git reset --hard 043eba77
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:6b969e4ac9afb4d0e5c4037f14dda59bb97f1ea2008d49f780fb66e8c431d1a3
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e 7b9230f4e0f16686158b9465bda04972358c4375 || git fetch origin master) && git reset -q --hard 7b9230f4e0f16686158b9465bda04972358c4375 && git log --no-decorate -n1 --oneline && opam update -u
RUN opam depext -i dune
WORKDIR /src
RUN opam depext -i ocamlformat=0.15.0
COPY --chown=1000:1000 . /src/
RUN opam exec -- dune build @fmt --ignore-promoted-rules || (echo "dune build @fmt failed"; exit 2)


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


2024-04-10 22:03.38: Using cache hint "mirage/either-ocaml/opam@sha256:6b969e4ac9afb4d0e5c4037f14dda59bb97f1ea2008d49f780fb66e8c431d1a3-debian-12-4.06_opam-2.1-ocamlformat-7b9230f4e0f16686158b9465bda04972358c4375"
2024-04-10 22:03.38: Using OBuilder spec:
((from ocaml/opam@sha256:6b969e4ac9afb4d0e5c4037f14dda59bb97f1ea2008d49f780fb66e8c431d1a3)
 (user (uid 1000) (gid 1000))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 7b9230f4e0f16686158b9465bda04972358c4375 || git fetch origin master) && git reset -q --hard 7b9230f4e0f16686158b9465bda04972358c4375 && git log --no-decorate -n1 --oneline && opam update -u"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam depext -i dune"))
 (workdir /src)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam depext -i ocamlformat=0.15.0"))
 (copy (src .) (dst /src/))
 (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
)


2024-04-10 22:03.38: Waiting for resource in pool OCluster
2024-04-10 22:28.03: Waiting for worker…
2024-04-10 22:29.54: Got resource from pool OCluster
Building on x86-bm-c14.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/either.git-5363a9188a35a7d92ef5de3c2e3ad456f119bc31/.git/
HEAD is now at 043eba7 Merge pull request #1 from CraigFe/release-1.0.0


(from ocaml/opam@sha256:6b969e4ac9afb4d0e5c4037f14dda59bb97f1ea2008d49f780fb66e8c431d1a3)
Unable to find image 'ocaml/opam@sha256:6b969e4ac9afb4d0e5c4037f14dda59bb97f1ea2008d49f780fb66e8c431d1a3' locally
docker.io/ocaml/opam@sha256:6b969e4ac9afb4d0e5c4037f14dda59bb97f1ea2008d49f780fb66e8c431d1a3: Pulling from ocaml/opam
Digest: sha256:6b969e4ac9afb4d0e5c4037f14dda59bb97f1ea2008d49f780fb66e8c431d1a3
Status: Downloaded newer image for ocaml/opam@sha256:6b969e4ac9afb4d0e5c4037f14dda59bb97f1ea2008d49f780fb66e8c431d1a3
2024-04-10 22:29.55 ---> using "575e078fbb232293fc5a733f61b76030a268ffcf30ac32e9f551cfc3ac24af58" from cache


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


/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "cd ~/opam-repository && (git cat-file -e 7b9230f4e0f16686158b9465bda04972358c4375 || git fetch origin master) && git reset -q --hard 7b9230f4e0f16686158b9465bda04972358c4375 && git log --no-decorate -n1 --oneline && opam update -u"))
7b9230f4e0 Mark ocamlbuild.0.14.3 as not available on Windows


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 includes many performance improvements over 2.0; please consider upgrading (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-04-10 22:30.59 ---> saved as "da384dbc252da855e59c86742b666ae8e807f4ed0fb47e13cad37d73dcd31b71"


/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam depext -i dune"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
# Now letting opam install the packages
The following actions will be performed:
  - install ocamlfind           1.9.6  [required by ocamlfind-secondary]
  - install ocamlfind-secondary 1.9.6  [required by dune]
  - install dune                3.12.1
===== 3 to install =====


<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.12.1] found in cache
[ocamlfind.1.9.6] found in cache
[ocamlfind-secondary.1.9.6] found in cache


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed ocamlfind.1.9.6
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.12.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-10 22:32.23 ---> saved as "bebba967b68acbf94a86669b0bfdf2a486ba5bc6f060fdb79fe553790267978e"


/: (workdir /src)


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam depext -i ocamlformat=0.15.0"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
# Now letting opam install the packages
The following actions will be performed:
  - install   ocamlbuild              0.14.3          [required by fpath, uuseg]
  - install   cmdliner                1.0.4           [required by ocamlformat]
  - downgrade dune                    3.12.1 to 2.9.3 [required by ocamlformat]
  - install   topkg                   1.0.7           [required by fpath, uuseg]
  - install   sexplib0                v0.12.0         [required by base]
  - install   seq                     0.3.1           [required by tyxml]
  - install   result                  1.5             [required by ocaml-migrate-parsetree, odoc]
  - install   ppx_derivers            1.2.1           [required by ocaml-migrate-parsetree]
  - install   menhirSdk               20230608        [required by menhir]
  - install   menhirLib               20230608        [required by menhir]
  - install   fix                     20230505        [required by ocamlformat]
  - install   cppo                    1.6.9           [required by odoc]
  - install   uutf                    1.0.3           [required by ocamlformat]
  - install   astring                 0.8.5           [required by fpath, odoc]
  - install   base                    v0.12.0         [required by ocamlformat]
  - install   re                      1.11.0          [required by ocamlformat]
  - install   ocaml-migrate-parsetree 1.8.0           [required by ocamlformat]
  - install   menhir                  20230608        [required by ocamlformat]
  - install   uucp                    14.0.0          [required by uuseg]
  - install   fpath                   0.7.3           [required by ocamlformat]
  - install   stdio                   v0.12.0         [required by ocamlformat]
  - install   tyxml                   4.6.0           [required by odoc]
  - install   uuseg                   14.0.0          [required by ocamlformat]
  - install   odoc                    1.5.3           [required by ocamlformat]
  - install   ocamlformat             0.15.0
===== 24 to install | 1 to downgrade =====


<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[astring.0.8.5] found in cache
[cmdliner.1.0.4] found in cache
[cppo.1.6.9] found in cache
[dune.2.9.3] found in cache
[fix.20230505] found in cache
[fpath.0.7.3] found in cache
[menhir.20230608] found in cache
[menhirLib.20230608] found in cache
[menhirSdk.20230608] found in cache
[ocaml-migrate-parsetree.1.8.0] found in cache
[ocamlbuild.0.14.3] found in cache
[base.v0.12.0] downloaded from https://ocaml.janestreet.com/ocaml-core/v0.12/files/base-v0.12.0.tar.gz
[odoc.1.5.3] found in cache
[ppx_derivers.1.2.1] found in cache
[re.1.11.0] found in cache
[result.1.5] found in cache
[seq.0.3.1] found in cache
[sexplib0.v0.12.0] found in cache
[stdio.v0.12.0] found in cache
[topkg.1.0.7] found in cache
[tyxml.4.6.0] found in cache
[uucp.14.0.0] found in cache
[uuseg.14.0.0] downloaded from https://erratique.ch/software/uuseg/releases/uuseg-14.0.0.tbz
[uutf.1.0.3] found in cache
[ocamlformat.0.15.0] downloaded from https://github.com/ocaml-ppx/ocamlformat/releases/download/0.15.0/ocamlformat-0.15.0.tbz


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed cmdliner.1.0.4
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> removed   dune.3.12.1
-> installed dune.2.9.3
-> installed ppx_derivers.1.2.1
-> installed result.1.5
-> installed fix.20230505
-> installed cppo.1.6.9
-> installed menhirLib.20230608
-> installed menhirSdk.20230608
-> installed seq.0.3.1
-> installed sexplib0.v0.12.0
-> installed re.1.11.0
-> installed ocaml-migrate-parsetree.1.8.0
-> installed tyxml.4.6.0
-> installed base.v0.12.0
-> installed stdio.v0.12.0
-> installed menhir.20230608
-> installed odoc.1.5.3
-> installed uucp.14.0.0
-> installed uuseg.14.0.0
-> installed ocamlformat.0.15.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-10 22:33.36 ---> saved as "ca2cf2db55c82869f5e3eb2185387b970e4ee11d0494a291d2852453cdbaef26"


/src: (copy (src .) (dst /src/))
2024-04-10 22:33.36 ---> saved as "49565be84fcc4933799270f9c58a49e462244d1d21f395b3fdcb1d8b87490840"


/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
2024-04-10 22:33.37 ---> saved as "7d04297e2ceebf8bc5015c3d59ee36f0b3d911261005c589fdf27b5429691dd2"
Job succeeded
2024-04-10 22:33.37: Job succeeded