Organisationsmiragemirage-bootvar-unix1cd8e5 (master)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-05-14 13:15.14: New job: test mirage/mirage-bootvar-unix https://github.com/mirage/mirage-bootvar-unix.git#refs/heads/master (1cd8e5ef1c223f971a952fa45d9de0c12e7927ad) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-bootvar-unix.git" -b "master" && cd "mirage-bootvar-unix" && git reset --hard 1cd8e5ef
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
# debian-12-4.04_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 uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-bootvar-unix.opam ./
RUN opam pin add -yn mirage-bootvar-unix.dev './'
ENV DEPS="astring.0.8.0 base-bigarray.base base-bytes.base base-num.base base-threads.base base-unix.base camlp4.4.04+1 conf-m4.1 conf-ncurses.1 conf-pkg-config.1.0 dune.1.0.0 lwt.2.4.5 num.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.6.2 parse-argv.0.0.1 result.1.0 topkg.0.7.5"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y mirage-bootvar-unix.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-14 13:15.14: Using cache hint "mirage/mirage-bootvar-unix-ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8-debian-12-4.04_opam-2.1-5d7cdbcb030e20385fd7e7fd2167b658"
2024-05-14 13:15.14: Using OBuilder spec:
((from ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8)
 (comment debian-12-4.04_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 "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 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mirage-bootvar-unix.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn mirage-bootvar-unix.dev './'"))
 (env DEPS "astring.0.8.0 base-bigarray.base base-bytes.base base-num.base base-threads.base base-unix.base camlp4.4.04+1 conf-m4.1 conf-ncurses.1 conf-pkg-config.1.0 dune.1.0.0 lwt.2.4.5 num.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.6.2 parse-argv.0.0.1 result.1.0 topkg.0.7.5")
 (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 mirage-bootvar-unix.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-14 13:15.14: Waiting for resource in pool OCluster
2024-05-14 13:15.15: Waiting for worker…
2024-05-14 13:15.15: Got resource from pool OCluster
Building on x86-bm-c5.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/mirage-bootvar-unix.git-e24501cf5edee3e2c4074a8d8fa2edef86c3cb0b/.git/
HEAD is now at 1cd8e5e Merge pull request #1 from CraigFe/remove-dune-build-directive


(from ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8)
Unable to find image 'ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8' locally
docker.io/ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8: Pulling from ocaml/opam
e58cd26576ff: Pulling fs layer
e58cd26576ff: Verifying Checksum
e58cd26576ff: Download complete
e58cd26576ff: Pull complete
Digest: sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
Status: Downloaded newer image for ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
2024-05-14 13:17.34 ---> saved as "f8cc879b8fa41146f4d68824f571af48d0fc242fa563e6c44aad42da2480e773"


/: (comment debian-12-4.04_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-05-14 13:17.34 ---> saved as "7acf9c20e3a294f65eec146d2b0278d86ac3011a3aaf14f981174ab68667921e"


/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-14 13:18.39 ---> saved as "eb9e02ecfcb5ba37a004cedecf7a30bca11d30398ed5232984b27dff3d577897"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-106-generic
The OCaml toplevel, version 4.04.2
2.1.5
2024-05-14 13:18.39 ---> saved as "1c1947f6600fe344049c423f5d475e2bbcf469ba4d40ccfe151b45e81f7382fc"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-14 13:18.39 ---> saved as "cac506b2ad2021f1ddbd68db7b37261e0a93bd2be740791bb6297e219b96903b"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u"))
819388d34c @dra27 maintains the OCaml Museum


<><> 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-05-14 13:19.43 ---> saved as "9bbc8a346c35d66f849e3eeabfa81e895c893b813af311f59f7b650e469fbb02"


/src: (copy (src mirage-bootvar-unix.opam) (dst ./))
2024-05-14 13:19.43 ---> saved as "a79d08a28dd743cb6595ad4e72905670f6ba529ca6560d003df059f5fe2f3888"


/src: (run (network host)
           (shell "opam pin add -yn mirage-bootvar-unix.dev './'"))
[mirage-bootvar-unix.dev] synchronised (file:///src)
mirage-bootvar-unix is now pinned to file:///src (version dev)
2024-05-14 13:19.45 ---> saved as "555129b7e54439f68d5d5ccaa52bd341da6c7e938d117a2db45ad210a41746ab"


/src: (env DEPS "astring.0.8.0 base-bigarray.base base-bytes.base base-num.base base-threads.base base-unix.base camlp4.4.04+1 conf-m4.1 conf-ncurses.1 conf-pkg-config.1.0 dune.1.0.0 lwt.2.4.5 num.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.6.2 parse-argv.0.0.1 result.1.0 topkg.0.7.5")


/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 mirage-bootvar-unix.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]
- Fetched 103 kB in 0s (441 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-bootvar-unix.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.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.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 system packages will first need to be installed:
    m4 ncurses-dev pkg-config


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4" "ncurses-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed


2024-05-14 13:20.02 ---> saved as "20d551b96444e0bb19312aa7936602e1b7048e763c2388168247587a171ecf02"


/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.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.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 base-num        base
  - install result          1.0
  - install dune            1.0.0
  - install conf-pkg-config 1.0
  - install ocamlbuild      0.9.1
  - install conf-m4         1
  - install num             0
  - install conf-ncurses    1
  - install camlp4          4.04+1
  - install ocamlfind       1.6.2
  - install topkg           0.7.5
  - install lwt             2.4.5
  - install base-bytes      base
  - install astring         0.8.0
  - install parse-argv      0.0.1
===== 15 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-num.base
-> retrieved camlp4.4.04+1  (cached)
-> installed conf-m4.1
-> installed conf-pkg-config.1.0
-> retrieved astring.0.8.0  (http://erratique.ch/software/astring/releases/astring-0.8.0.tbz)
-> installed num.0
-> installed conf-ncurses.1
-> retrieved ocamlbuild.0.9.1  (cached)
-> retrieved ocamlfind.1.6.2  (cached)
-> retrieved dune.1.0.0  (https://github.com/ocaml/dune/releases/download/1.0.0/dune-1.0.0.tbz)
-> retrieved result.1.0  (cached)
-> retrieved topkg.0.7.5  (cached)
-> installed result.1.0
-> retrieved lwt.2.4.5  (https://github.com/ocsigen/lwt/archive/2.4.5.tar.gz)
-> retrieved parse-argv.0.0.1  (https://github.com/mirage/parse-argv/archive/v0.0.1.tar.gz)
-> installed ocamlfind.1.6.2
-> installed base-bytes.base
-> installed ocamlbuild.0.9.1
-> installed astring.0.8.0
-> installed topkg.0.7.5
-> installed parse-argv.0.0.1
-> installed dune.1.0.0
-> installed camlp4.4.04+1
-> installed lwt.2.4.5
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-14 13:22.57 ---> saved as "5ab6b10402a6998b1a6595e8a9080621b0ad138213bf209ae3dde8d807db8b16"


/src: (copy (src .) (dst /src))
2024-05-14 13:22.57 ---> saved as "e8187abae552ac6a9bf1263dbbde8165a4f24e326b3497dddfa69c93b3100fe9"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "dune-project", line 1, characters 11-14:
Error: Version 1.3 of dune is not supported.
Supported versions:
- 0.0
- 1.0
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-14 13:22.58: Job failed: Failed: Build failed