Organisationskit-ty-katecamllzma39b1d4 (main)ubuntu-20.04-5.1_opam-2.1

ubuntu-20.04-5.1_opam-2.1

Logs

Show full logs
2024-05-10 15:58.05: New job: test kit-ty-kate/camllzma https://github.com/kit-ty-kate/camllzma.git#refs/heads/main (39b1d49cd26494654efc753be2728a9d86a2c6b4) (linux-x86_64:ubuntu-20.04-5.1_opam-2.1)
Base: ocaml/opam@sha256:641f00c71955cec0f5a54bbafecea0b2b6717317edf326a61275767e9e89d918
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/kit-ty-kate/camllzma.git" -b "main" && cd "camllzma" && git reset --hard 39b1d49c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:641f00c71955cec0f5a54bbafecea0b2b6717317edf326a61275767e9e89d918
# ubuntu-20.04-5.1_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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 camllzma.opam ./
RUN opam pin add -yn camllzma.dev './'
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.3 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y camllzma.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-10 15:58.05: Using cache hint "kit-ty-kate/camllzma-ocaml/opam@sha256:641f00c71955cec0f5a54bbafecea0b2b6717317edf326a61275767e9e89d918-ubuntu-20.04-5.1_opam-2.1-c7b148cd56475b3539e5c47d84387bfa"
2024-05-10 15:58.05: Using OBuilder spec:
((from ocaml/opam@sha256:641f00c71955cec0f5a54bbafecea0b2b6717317edf326a61275767e9e89d918)
 (comment ubuntu-20.04-5.1_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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src camllzma.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn camllzma.dev './'"))
 (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.3 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1")
 (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 camllzma.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-10 15:58.05: Waiting for resource in pool OCluster
2024-05-11 05:06.31: Waiting for worker…
2024-05-11 05:25.56: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 39b1d49 Improve the interface

(from ocaml/opam@sha256:641f00c71955cec0f5a54bbafecea0b2b6717317edf326a61275767e9e89d918)
2024-05-11 05:25.56 ---> using "9190ca00075b9643ef0c8afbacd343b81a9634459144143e47c42afe8fec5daf" from cache

/: (comment ubuntu-20.04-5.1_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-11 05:25.56 ---> using "0984735f6818b99497ffb1c00e1f54edbd667115c04890a48c4f7dc889ae1c24" 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.

Continue? [Y/n] y
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.

Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-05-11 05:25.56 ---> using "fc9fd08490b3b706da9392db866b23ec4879e7db775a18968dbcbb6037f27763" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-106-generic
The OCaml toplevel, version 5.1.1
2.1.5
2024-05-11 05:25.56 ---> using "fe644ced371ec95ba874e9fab21bb1d621470b9cdb371ca039312d719cb40c3f" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-05-11 05:25.56 ---> using "8097eb17a922bf502e71e7bfddca45b92e851c2902d786bfffb5d259b082b713" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   eb2dcab0d8..2ae169d7d0  master     -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages

<><> 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-11 05:25.56 ---> using "ddba960bcc60b418077e10905141bf57891d4fd0473a98e80d51c6dc15698d64" from cache

/src: (copy (src camllzma.opam) (dst ./))
2024-05-11 05:25.57 ---> saved as "ed7d2444f245d843117a344d6746e2f2fe5a87e8cfc70f78fb3f2cebfc952d0c"

/src: (run (network host)
           (shell "opam pin add -yn camllzma.dev './'"))
Package camllzma does not exist, create as a NEW package? [Y/n] y
[camllzma.dev] synchronised (file:///src)
camllzma is now pinned to file:///src (version dev)
2024-05-11 05:25.59 ---> saved as "7dc3805a63e46f12b3c6117c7d4b1b35555a93bec81d3252e419596d14dd9407"

/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.3 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1")

/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 camllzma.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:3 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1203 kB]
- Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
- Hit:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4104 kB]
- Get:7 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1500 kB]
- Fetched 7035 kB in 2s (3989 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[camllzma.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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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:
    liblzma-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "liblzma-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 14718 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.64.6-1~ubuntu20.04.7_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.7) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.64.6-1~ubuntu20.04.7_all.deb ...
- Unpacking libglib2.0-data (2.64.6-1~ubuntu20.04.7) ...
- Selecting previously unselected package tzdata.
- Preparing to unpack .../2-tzdata_2024a-0ubuntu0.20.04_all.deb ...
- Unpacking tzdata (2024a-0ubuntu0.20.04) ...
- Selecting previously unselected package libicu66:amd64.
- Preparing to unpack .../3-libicu66_66.1-2ubuntu2.1_amd64.deb ...
- Unpacking libicu66:amd64 (66.1-2ubuntu2.1) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../4-libxml2_2.9.10+dfsg-5ubuntu0.20.04.7_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.7) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../5-shared-mime-info_1.15-1_amd64.deb ...
- Unpacking shared-mime-info (1.15-1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../6-xdg-user-dirs_0.17-2ubuntu1_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2ubuntu1) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../7-pkg-config_0.29.1-0ubuntu4_amd64.deb ...
- Unpacking pkg-config (0.29.1-0ubuntu4) ...
- Selecting previously unselected package liblzma-dev:amd64.
- Preparing to unpack .../8-liblzma-dev_5.2.4-1ubuntu1.1_amd64.deb ...
- Unpacking liblzma-dev:amd64 (5.2.4-1ubuntu1.1) ...
- Setting up xdg-user-dirs (0.17-2ubuntu1) ...
- Setting up libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.7) ...
- No schema files found: doing nothing.
- Setting up tzdata (2024a-0ubuntu0.20.04) ...
- 
- Current default time zone: 'Europe/London'
- Local time is now:      Sat May 11 06:26:22 BST 2024.
- Universal Time is now:  Sat May 11 05:26:22 UTC 2024.
- Run 'dpkg-reconfigure tzdata' if you wish to change it.
- 
- Setting up libglib2.0-data (2.64.6-1~ubuntu20.04.7) ...
- Setting up pkg-config (0.29.1-0ubuntu4) ...
- Setting up liblzma-dev:amd64 (5.2.4-1ubuntu1.1) ...
- Setting up libicu66:amd64 (66.1-2ubuntu2.1) ...
- Setting up libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.7) ...
- Setting up shared-mime-info (1.15-1) ...
- Processing triggers for libc-bin (2.31-0ubuntu9.15) ...
2024-05-11 05:26.24 ---> saved as "3680a8b03b12cb5d13315f95e6e3487cb22c64d0ce35ca2815a5382c846a8776"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 dune              3.15.2
  - install conf-pkg-config   3
  - install csexp             1.5.2
  - install conf-liblzma      1
  - install dune-configurator 3.15.2
===== 5 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.15.2  (cached)
-> retrieved dune-configurator.3.15.2  (cached)
-> installed conf-pkg-config.3
-> installed conf-liblzma.1
-> installed dune.3.15.2
-> installed csexp.1.5.2
-> installed dune-configurator.3.15.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-11 05:27.14 ---> saved as "293bc691179503d1ad557befac328f7818d9edce08001dfe3104ef91b8090623"

/src: (copy (src .) (dst /src))
2024-05-11 05:27.14 ---> saved as "24269ccf91f2df8341e1dc7c7ec398520c240ca0ed4c553cb103b5122162143c"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.1/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/.test.eobjs/byte -I src/.camllzma.objs/byte -no-alias-deps -opaque -o tests/.test.eobjs/byte/dune__exe__Test.cmo -c -impl tests/test.ml)
File "tests/test.ml", line 29, characters 10-23:
29 |   let e = Lzma2.encoder ~bufsize:1024 Lzma2.PRESET_DEFAULT Lzma2.CHECK_CRC64 in
               ^^^^^^^^^^^^^
Error: Unbound value Lzma2.encoder
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-11 05:27.15: Job failed: Failed: Build failed