Organisationsygrekocaml-snappy329a58 (master)debian-10-4.14_opam-2.1

debian-10-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-05-12 07:44.08: New job: test ygrek/ocaml-snappy https://github.com/ygrek/ocaml-snappy.git#refs/heads/master (329a58d03ad5b3d6fa131cafbb8de0eb83d22a81) (linux-x86_64:debian-10-4.14_opam-2.1)
Base: ocaml/opam@sha256:27c18897a521ef159dea7435d793b8409a781d240952acbd322cba27020bf86f
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/ocaml-snappy.git" -b "master" && cd "ocaml-snappy" && git reset --hard 329a58d0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:27c18897a521ef159dea7435d793b8409a781d240952acbd322cba27020bf86f
# debian-10-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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 snappy.opam ./
RUN opam pin add -yn snappy.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-snappy.1 dune.3.15.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 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 snappy.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-12 07:44.08: Using cache hint "ygrek/ocaml-snappy-ocaml/opam@sha256:27c18897a521ef159dea7435d793b8409a781d240952acbd322cba27020bf86f-debian-10-4.14_opam-2.1-ad391f04b31c465890a5963b21953154"
2024-05-12 07:44.08: Using OBuilder spec:
((from ocaml/opam@sha256:27c18897a521ef159dea7435d793b8409a781d240952acbd322cba27020bf86f)
 (comment debian-10-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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src snappy.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn snappy.dev './'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-snappy.1 dune.3.15.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 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 snappy.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-12 07:44.08: Waiting for resource in pool OCluster
2024-05-12 07:44.08: Waiting for worker…
2024-05-12 07:44.08: Got resource from pool OCluster
Building on x86-bm-c12.sw.ocaml.org
All commits already cached
HEAD is now at 329a58d release 0.1.2


(from ocaml/opam@sha256:27c18897a521ef159dea7435d793b8409a781d240952acbd322cba27020bf86f)
2024-05-12 07:44.09 ---> using "475f54aefad2f2dc70da95751d4f9e5faea57042851efc6122783ad4185f6de6" from cache


/: (comment debian-10-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-05-12 07:44.09 ---> using "cc2899cc08be5d27f21b207d2b5e0093d8e8bca1f06a7db4b31490afbdd11c25" 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-05-12 07:44.09 ---> using "74c2d2421e9ad373180d09742dcc14b44eb0499e5bcdf7f3cb3acdbf685fa6f0" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.14.2
2.1.5
2024-05-12 07:44.09 ---> using "e16b0d9e75de6711e3c04d90f8d2b1a778fd84372412401c801e6ccb826ec033" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-12 07:44.09 ---> using "49708b2c07514a880edbf2e0dc67f99079713f9fd58ccd9630304b866a927f21" 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
   fa727ddb20..739cf1c21c  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-12 07:44.09 ---> using "616fde3ce7fb10739f4c1c1752b810f9499888d0f92f22e08998cfba77d1f0a1" from cache


/src: (copy (src snappy.opam) (dst ./))
2024-05-12 07:44.09 ---> saved as "72172a63c285b594ee2c80e3f31f6e86412e66b39c028693bf54769da7d15bec"


/src: (run (network host)
           (shell "opam pin add -yn snappy.dev './'"))
[snappy.dev] synchronised (file:///src)
snappy is now pinned to file:///src (version dev)
2024-05-12 07:44.16 ---> saved as "58a165cf7039a559d0586c757f32dd09aad5781e446e6fdb82cd5b666ff3f90e"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-snappy.1 dune.3.15.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 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 snappy.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian buster InRelease
- Get:2 http://deb.debian.org/debian-security buster/updates InRelease [34.8 kB]
- Hit:3 http://deb.debian.org/debian buster-updates InRelease
- Get:4 http://deb.debian.org/debian-security buster/updates/main amd64 Packages [598 kB]
- Fetched 632 kB in 1s (870 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[snappy.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.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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:
    libsnappy-dev


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


2024-05-12 07:44.42 ---> saved as "3f584859c179cef00345401992550d69ed2e93a72f6b8a24d5c51c2c69e0bd5d"


/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.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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 dune        3.15.2
  - install conf-snappy 1
===== 2 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.15.2  (cached)
-> installed conf-snappy.1
-> installed dune.3.15.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-12 07:45.51 ---> saved as "2653aac5f78a28086e7d833f2aba2c33f6c608480c4aca93f7d2391d1b909e93"


/src: (copy (src .) (dst /src))
2024-05-12 07:45.51 ---> saved as "772ce24d5f630c700f46db757023521e57edc578d99e5a36e3f3dc1df0ec8d93"


/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 .test.eobjs/byte -I src/.snappy.objs/byte -no-alias-deps -opaque -o .test.eobjs/byte/test.cmo -c -impl test.ml)
File "test.ml", line 7, characters 6-79:
7 |       for i = 0 to pred n do Buffer.add_char b (Char.chr (Random.int 256)) done;
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error (warning 35 [unused-for-index]): unused for-loop index i.
File "test.ml", line 18, characters 2-60:
18 |   for n = 0 to 1024 do check (Random.int 16384 + 16384) done;
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error (warning 35 [unused-for-index]): unused for-loop index n.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-12 07:45.52: Job failed: Failed: Build failed