Organisationsocamlopam-file-formatc52ffe ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-08-21 14:40.59: New job: test ocaml/opam-file-format https://github.com/ocaml/opam-file-format.git#refs/pull/60/head (c52ffe781c7885d3cfe916b646807557a4d0e686) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.03@sha256:e3d2f651cd1c2cdd36756fa50b9213a2dfd751fe9e4af143eb06fdc539bc4c8c
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml/opam-file-format.git" && cd "opam-file-format" && git fetch origin "refs/pull/60/head" && git reset --hard c52ffe78
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.03@sha256:e3d2f651cd1c2cdd36756fa50b9213a2dfd751fe9e4af143eb06fdc539bc4c8c
# debian-12-4.03_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 4795e0895b44aa27b6ee67583148aee756966a60 || git fetch origin master) && git reset -q --hard 4795e0895b44aa27b6ee67583148aee756966a60 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-file-format.opam ./
RUN opam pin add -yn opam-file-format.dev './'
ENV DEPS="alcotest.0.4.10 astring.0.8.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp4.4.03+1 cmdliner.0.9.8 conf-m4.1 conf-which.1 dune.2.8.0 fileutils.0.4.4 fmt.0.7.1 menhir.20211230 menhirLib.20211230 menhirSdk.20211230 oasis.0.4.6 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-data-notation.0.0.11 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ocamlify.0.0.1 ocamlmod.0.0.3 ounit.1.1.2 result.1.0 type_conv.113.00.02"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y opam-file-format.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-08-21 14:40.59: Using cache hint "ocaml/opam-file-format-ocaml/opam:debian-12-ocaml-4.03@sha256:e3d2f651cd1c2cdd36756fa50b9213a2dfd751fe9e4af143eb06fdc539bc4c8c-debian-12-4.03_opam-2.2-c776f71be000f643cc4eaf2808b19b7e"
2024-08-21 14:40.59: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.03@sha256:e3d2f651cd1c2cdd36756fa50b9213a2dfd751fe9e4af143eb06fdc539bc4c8c)
 (comment debian-12-4.03_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 4795e0895b44aa27b6ee67583148aee756966a60 || git fetch origin master) && git reset -q --hard 4795e0895b44aa27b6ee67583148aee756966a60 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src opam-file-format.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn opam-file-format.dev './'"))
 (env DEPS "alcotest.0.4.10 astring.0.8.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp4.4.03+1 cmdliner.0.9.8 conf-m4.1 conf-which.1 dune.2.8.0 fileutils.0.4.4 fmt.0.7.1 menhir.20211230 menhirLib.20211230 menhirSdk.20211230 oasis.0.4.6 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-data-notation.0.0.11 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ocamlify.0.0.1 ocamlmod.0.0.3 ounit.1.1.2 result.1.0 type_conv.113.00.02")
 (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 opam-file-format.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-08-21 14:40.59: Waiting for resource in pool OCluster
2024-08-21 19:40.48: Waiting for worker…
2024-08-21 19:40.48: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
All commits already cached
HEAD is now at c52ffe7 Remove hash-consing


(from ocaml/opam:debian-12-ocaml-4.03@sha256:e3d2f651cd1c2cdd36756fa50b9213a2dfd751fe9e4af143eb06fdc539bc4c8c)
2024-08-21 19:41.09 ---> using "d6ece13968201cded3598a7df6e76afeaf82f437a76f7b44a3113ff16380cf6e" from cache


/: (comment debian-12-4.03_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-08-21 19:41.09 ---> saved as "7c361458b06aaf8406b3ba2e0106d874423336151a3dab58968204c2a16e6c56"


/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
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=39 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-08-21 19:42.42 ---> saved as "eeb3c758b790db6a71c36dfaa6369ee1e7778d35d3b1c10e351004aa348e56c7"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-117-generic
The OCaml toplevel, version 4.03.0
2.2.0
2024-08-21 19:42.43 ---> saved as "1ad197a40ccbf7d423a4ebbc1c800e1a3202dda264b2d7ecd9fc431b97d13e37"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-08-21 19:42.43 ---> saved as "0f59a61aa1f139c9a82c5fcc3c2221a72d44d5d8c5bd32d507700f7489d672f9"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 4795e0895b44aa27b6ee67583148aee756966a60 || git fetch origin master) && git reset -q --hard 4795e0895b44aa27b6ee67583148aee756966a60 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   7c4ff52ef3..1477721e29  master     -> origin/master
4795e0895b Merge pull request #26339 from mtelvers/macos-m4


<><> 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-08-21 19:44.22 ---> saved as "09df40d25707bb329cc8f222194383b122bd909787738d4d7996835897108d77"


/src: (copy (src opam-file-format.opam) (dst ./))
2024-08-21 19:44.22 ---> saved as "baff1cb4642f9291f06bf1bea3ec6af656bd66a56c250504b1c64bd5ed77528a"


/src: (run (network host)
           (shell "opam pin add -yn opam-file-format.dev './'"))
[opam-file-format.dev] synchronised (file:///src)
opam-file-format is now pinned to file:///src (version dev)
2024-08-21 19:44.25 ---> saved as "3c2f5ed201c019cecce5bc65008c6ac322d1e7f52ac4dbfb186162bbb34bdd22"


/src: (env DEPS "alcotest.0.4.10 astring.0.8.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp4.4.03+1 cmdliner.0.9.8 conf-m4.1 conf-which.1 dune.2.8.0 fileutils.0.4.4 fmt.0.7.1 menhir.20211230 menhirLib.20211230 menhirSdk.20211230 oasis.0.4.6 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-data-notation.0.0.11 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ocamlify.0.0.1 ocamlmod.0.0.3 ounit.1.1.2 result.1.0 type_conv.113.00.02")


/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 opam-file-format.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 [176 kB]
- Fetched 279 kB in 0s (735 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-file-format.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.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[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 system packages will first need to be installed:
    m4


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed


2024-08-21 19:44.49 ---> saved as "5dab71abf557e04ef6c65063bb64e00e74828cc10e44dbe3bf8f22f4787df620"


/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.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[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:
=== downgrade 1 package
  - downgrade ocaml-secondary-compiler 4.08.1-1 to 4.08.1
=== install 23 packages
  - install   alcotest                 0.4.10
  - install   astring                  0.8.0
  - install   base-bytes               base
  - install   camlp4                   4.03+1
  - install   cmdliner                 0.9.8
  - install   conf-m4                  1
  - install   conf-which               1
  - install   dune                     2.8.0
  - install   fileutils                0.4.4
  - install   fmt                      0.7.1
  - install   menhir                   20211230
  - install   menhirLib                20211230
  - install   menhirSdk                20211230
  - install   oasis                    0.4.6
  - install   ocaml-data-notation      0.0.11
  - install   ocamlbuild               0.9.0
  - install   ocamlfind                1.8.1
  - install   ocamlfind-secondary      1.8.1
  - install   ocamlify                 0.0.1
  - install   ocamlmod                 0.0.3
  - install   ounit                    1.1.2
  - install   result                   1.0
  - install   type_conv                113.00.02


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.0.4.10  (cached)
-> retrieved astring.0.8.0  (cached)
-> retrieved camlp4.4.03+1  (cached)
-> retrieved cmdliner.0.9.8  (cached)
-> installed conf-m4.1
-> installed conf-which.1
-> retrieved fileutils.0.4.4  (cached)
-> retrieved fmt.0.7.1  (cached)
-> retrieved oasis.0.4.6  (cached)
-> retrieved dune.2.8.0  (cached)
-> retrieved menhir.20211230, menhirLib.20211230, menhirSdk.20211230  (cached)
-> retrieved ocaml-data-notation.0.0.11  (cached)
-> retrieved ocaml-secondary-compiler.4.08.1  (cached)
-> retrieved ocamlbuild.0.9.0  (cached)
-> retrieved ocamlfind.1.8.1, ocamlfind-secondary.1.8.1  (cached)
-> retrieved ocamlify.0.0.1  (cached)
-> retrieved ocamlmod.0.0.3  (cached)
-> retrieved ounit.1.1.2  (cached)
-> retrieved result.1.0  (cached)
-> retrieved type_conv.113.00.02  (cached)
-> installed result.1.0
-> installed ocamlbuild.0.9.0
-> installed cmdliner.0.9.8
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed fmt.0.7.1
-> installed astring.0.8.0
-> installed ocamlify.0.0.1
-> installed camlp4.4.03+1
-> installed type_conv.113.00.02
-> installed ounit.1.1.2
-> installed fileutils.0.4.4
-> installed ocaml-data-notation.0.0.11
-> installed ocamlmod.0.0.3
-> installed oasis.0.4.6
-> installed alcotest.0.4.10
-> removed   ocaml-secondary-compiler.4.08.1-1
-> installed ocaml-secondary-compiler.4.08.1
-> installed ocamlfind-secondary.1.8.1
-> installed dune.2.8.0
-> installed menhirSdk.20211230
-> installed menhirLib.20211230
-> installed menhir.20211230
Done.
# Run eval $(opam env) to update the current shell environment
2024-08-21 19:49.49 ---> saved as "b47712111ad947794f7c2b5b4d63deed28d7bab5b78a9f9aa8d51c7cf8cb0d1b"


/src: (copy (src .) (dst /src))
2024-08-21 19:49.49 ---> saved as "6126730e500b54803450883348a2b0bdb3d2db09a273db1b640d449e379f43fc"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
      ocamlc tests/.tests.eobjs/byte/dune__exe__Fullpos.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.03/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I tests/.tests.eobjs/byte -I /home/opam/.opam/4.03/lib/alcotest -I /home/opam/.opam/4.03/lib/astring -I /home/opam/.opam/4.03/lib/bytes -I /home/opam/.opam/4.03/lib/cmdliner -I /home/opam/.opam/4.03/lib/fmt -I /home/opam/.opam/4.03/lib/result -I src/.opam_file_format.objs/byte -I src/.opam_file_format.objs/native -no-alias-deps -opaque -open Dune__exe -o tests/.tests.eobjs/byte/dune__exe__Fullpos.cmo -c -impl tests/fullpos.ml)
File "tests/fullpos.ml", line 165, characters 4-14:
Error: Unbound value A.testable
      ocamlc tests/.tests.eobjs/byte/dune__exe__Oldpos.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.03/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I tests/.tests.eobjs/byte -I /home/opam/.opam/4.03/lib/alcotest -I /home/opam/.opam/4.03/lib/astring -I /home/opam/.opam/4.03/lib/bytes -I /home/opam/.opam/4.03/lib/cmdliner -I /home/opam/.opam/4.03/lib/fmt -I /home/opam/.opam/4.03/lib/result -I src/.opam_file_format.objs/byte -I src/.opam_file_format.objs/native -no-alias-deps -opaque -open Dune__exe -o tests/.tests.eobjs/byte/dune__exe__Oldpos.cmo -c -impl tests/oldpos.ml)
File "tests/oldpos.ml", line 160, characters 4-14:
Error: Unbound value A.testable
      simple alias tests/simple/runtest
Successfully loaded ./opam-file-format.opam
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-08-21 19:49.50: Job failed: Failed: Build failed