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

ubuntu-20.04-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-03-27 16:24.13: 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-4.14_opam-2.1)
Base: ocaml/opam@sha256:7e5727778c3755a2f213cbd97a0f169b604bfb58a2033c991d16476f3607c96b
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:7e5727778c3755a2f213cbd97a0f169b604bfb58a2033c991d16476f3607c96b
# ubuntu-20.04-4.14_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 cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && 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-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.3 csexp.1.5.2 dune.3.14.2 dune-configurator.3.14.2 ocaml.4.14.1 ocaml-base-compiler.4.14.1 ocaml-config.2 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-03-27 16:24.13: Using cache hint "kit-ty-kate/camllzma-ocaml/opam@sha256:7e5727778c3755a2f213cbd97a0f169b604bfb58a2033c991d16476f3607c96b-ubuntu-20.04-4.14_opam-2.1-f461db7a6f174045e1536c5e3e85bb1d"
2024-03-27 16:24.13: Using OBuilder spec:
((from ocaml/opam@sha256:7e5727778c3755a2f213cbd97a0f169b604bfb58a2033c991d16476f3607c96b)
 (comment ubuntu-20.04-4.14_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 cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && 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-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.3 csexp.1.5.2 dune.3.14.2 dune-configurator.3.14.2 ocaml.4.14.1 ocaml-base-compiler.4.14.1 ocaml-config.2 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-03-27 16:24.13: Waiting for resource in pool OCluster
2024-03-27 22:27.02: Waiting for worker…
2024-03-27 22:30.51: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 39b1d49 Improve the interface


(from ocaml/opam@sha256:7e5727778c3755a2f213cbd97a0f169b604bfb58a2033c991d16476f3607c96b)
2024-03-27 22:30.52 ---> using "d7cdd0f0d8ca9f2169cd5496debe632b5dcb534c8656d9dc42f6791d222cfe2a" from cache


/: (comment ubuntu-20.04-4.14_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-27 22:30.52 ---> using "4a1ac98d04cd314a46cbf71f3f8301d48411418316f9d5010eee65a8433008ac" 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-27 22:30.52 ---> using "454defafeb8c5fc811350ec0641d812d3c1c19927cf39cb40a08032c8b55319b" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-100-generic
The OCaml toplevel, version 4.14.1
2.1.5
2024-03-27 22:30.52 ---> using "9d4ed8f94865d7e275846194efbe4849533665eecf2664fb4200895e6af29087" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-03-27 22:30.52 ---> using "ce7f3f1d93e9eabbda30010b2edf60e94b068c385c382b4d2f4e82b9fa7df390" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   a6ba98231d..fe00df86c9  master     -> origin/master
cbb8cd94c3 conf-pkg-config: rename nixos pkgconfig -> pkg-config


<><> 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-27 22:30.52 ---> using "a3d8565507ad41805a947c91efc9ac28b66f36aa24541eeec39b5e15b23abf90" from cache


/src: (copy (src camllzma.opam) (dst ./))
2024-03-27 22:30.52 ---> saved as "c50181fa85e4ca4c7a43074fdb77a68d48673eee1fa641bc807738342fd8b6a3"


/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-03-27 22:30.54 ---> saved as "b43d49a4d136eb496ffcdb5d294a5f6007e47596225c10beb86ada9a6bd006e2"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.3 csexp.1.5.2 dune.3.14.2 dune-configurator.3.14.2 ocaml.4.14.1 ocaml-base-compiler.4.14.1 ocaml-config.2 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"
- Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
- Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
- Get:4 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1194 kB]
- Hit:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1489 kB]
- Get:7 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3438 kB]
- Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3979 kB]
- Get:9 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3501 kB]
- Get:10 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [3593 kB]
- Fetched 17.4 MB in 2s (7464 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.1).
[NOTE] Package ocaml is already installed (current version is 4.14.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 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


2024-03-27 22:31.13 ---> saved as "c8d7fc0b9edf0e536fdc25d7df016f2894a3ed9c7704f9fe221a7dff4f073c05"


/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.1).
[NOTE] Package ocaml is already installed (current version is 4.14.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 dune              3.14.2
  - install conf-pkg-config   3
  - install csexp             1.5.2
  - install conf-liblzma      1
  - install dune-configurator 3.14.2
===== 5 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.14.2  (cached)
-> retrieved dune-configurator.3.14.2  (cached)
-> installed conf-pkg-config.3
-> installed conf-liblzma.1
-> installed dune.3.14.2
-> installed csexp.1.5.2
-> installed dune-configurator.3.14.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-03-27 22:31.47 ---> saved as "a7b3af0b744abf4759ba40f9010ba435b992554c8c94b678923ee9a88372fc95"


/src: (copy (src .) (dst /src))
2024-03-27 22:31.47 ---> saved as "c496acb85a66b615121234577741860d1af69e7fb53aa652bd6e9ba2416ff229"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.14/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-03-27 22:31.48: Job failed: Failed: Build failed