Organisationsinhabitedtypebigstringafe1bc16 ()debian-12-4.13_opam-2.3

debian-12-4.13_opam-2.3

Link Copied
Code Copied

Logs

2025-07-17 18:23.53: New job: test inhabitedtype/bigstringaf https://github.com/inhabitedtype/bigstringaf.git#refs/pull/58/head (e1bc165ec4e1af274fb03c04c4a0cd57b111dbcc) (linux-x86_64:debian-12-4.13_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.13@sha256:0f0b8b195536f748da3227ae88106b28ec048ba67e2d544a652b5851b968e9e1
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/inhabitedtype/bigstringaf.git" && cd "bigstringaf" && git fetch origin "refs/pull/58/head" && git reset --hard e1bc165e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.13@sha256:0f0b8b195536f748da3227ae88106b28ec048ba67e2d544a652b5851b968e9e1
# debian-12-4.13_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 bigstringaf.opam ./
RUN opam pin add -yn bigstringaf.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 fmt.0.10.0 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.13.2 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y bigstringaf.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


2025-07-17 18:23.53: Using cache hint "inhabitedtype/bigstringaf-ocaml/opam:debian-12-ocaml-4.13@sha256:0f0b8b195536f748da3227ae88106b28ec048ba67e2d544a652b5851b968e9e1-debian-12-4.13_opam-2.3-d99c7e237a282602464510adb7c22dac"
2025-07-17 18:23.53: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.13@sha256:0f0b8b195536f748da3227ae88106b28ec048ba67e2d544a652b5851b968e9e1)
(comment debian-12-4.13_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src bigstringaf.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn bigstringaf.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 fmt.0.10.0 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.13.2 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4")
(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.3 --depext-only -y bigstringaf.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"))
)


2025-07-17 18:23.53: Waiting for resource in pool OCluster
2025-07-17 18:33.49: Waiting for worker…
2025-07-17 18:36.15: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at e1bc165 Adds an example


(from ocaml/opam:debian-12-ocaml-4.13@sha256:0f0b8b195536f748da3227ae88106b28ec048ba67e2d544a652b5851b968e9e1)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.13@sha256:0f0b8b195536f748da3227ae88106b28ec048ba67e2d544a652b5851b968e9e1' locally
docker.io/ocaml/opam@sha256:0f0b8b195536f748da3227ae88106b28ec048ba67e2d544a652b5851b968e9e1: Pulling from ocaml/opam
f64e19a8ba9f: Already exists
7b160909d531: Pulling fs layer
2b986a5d4288: Pulling fs layer
03dbbf69fc0c: Pulling fs layer
a55e43d71590: Pulling fs layer
a55e43d71590: Waiting
2b986a5d4288: Verifying Checksum
2b986a5d4288: Download complete
03dbbf69fc0c: Download complete
a55e43d71590: Verifying Checksum
a55e43d71590: Download complete
7b160909d531: Verifying Checksum
7b160909d531: Download complete
7b160909d531: Pull complete
2b986a5d4288: Pull complete
03dbbf69fc0c: Pull complete
a55e43d71590: Pull complete
Digest: sha256:0f0b8b195536f748da3227ae88106b28ec048ba67e2d544a652b5851b968e9e1
Status: Downloaded newer image for ocaml/opam@sha256:0f0b8b195536f748da3227ae88106b28ec048ba67e2d544a652b5851b968e9e1
2025-07-17 18:36.15 ---> using "05e76a1c8901e65cbbb9d40e9d234b2afc933895e765d9070afabc2eb5b679b9" from cache


/: (comment debian-12-4.13_opam-2.3)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-17 18:36.15 ---> using "27690da7889caeaac66a5c59b86f5103b605674cb514e78d836168e1ad7cacf6" 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 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.


Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-17 18:36.15 ---> using "bb6eb17860828279164dff7c36faf53cb097cda05ca34b6a0201683c1b36b8e1" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.13.1
2.3.0
2025-07-17 18:36.15 ---> using "a1e6f69d735d67117c7bb1baf45d93b8acc5ac8b06ac797a9d22c4aec78a8a0d" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-17 18:36.15 ---> using "564ef4971ba630e21444317a3b0c66feaa7ab615937d6cc95bf5cdd6d13136db" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u"))
382e02b4c1 Merge pull request #28124 from kit-ty-kate/opam-publish-re.1.13.2


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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.
# To update the current shell environment, run: eval $(opam env)
2025-07-17 18:36.15 ---> using "16fac33bfd4dab087b98609e14963ad41e9a95b0c2691161721ace8b236882e1" from cache


/src: (copy (src bigstringaf.opam) (dst ./))
2025-07-17 18:36.15 ---> saved as "5750bf228133fa5653ee2babf67136a81ab70e2efbc2d3deda5aaf9be48440f4"


/src: (run (network host)
(shell "opam pin add -yn bigstringaf.dev './'"))
[bigstringaf.dev] synchronised (file:///src)
bigstringaf is now pinned to file:///src (version dev)
2025-07-17 18:36.18 ---> saved as "dce394755cb5782cb5888f3bbac36a208c1c2c7f9b52502aa470198c383ed222"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-17 18:36.18 ---> saved as "c354192bbd33d9d3bacfe68299427f748b9fbf976e5acc6040752adeff4436fd"


/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 fmt.0.10.0 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.13.2 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4")


/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.3 --depext-only -y bigstringaf.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 [272 kB]
- Fetched 375 kB in 0s (865 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[bigstringaf.dev] synchronised (file:///src)


[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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.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).
2025-07-17 18:36.35 ---> saved as "8ddbc3bb4b7979f74cfcad58d0f404a6dcc881d1ee7473c4fccf4ca4e00c437e"


/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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.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 15 packages
- install alcotest           1.9.0
- install astring            0.8.5
- install cmdliner           1.3.0
- install csexp              1.5.2
- install dune               3.19.1
- install dune-configurator  3.19.1
- install fmt                0.10.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install re                 1.13.2
- install seq                base
- install stdlib-shims       0.3.0
- install topkg              1.0.8
- install uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved alcotest.1.9.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.13.2  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed ocaml-syntax-shims.1.0.0
-> installed stdlib-shims.0.3.0
-> installed re.1.13.2
-> installed alcotest.1.9.0
-> installed dune-configurator.3.19.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-17 18:37.50 ---> saved as "8e5c619e5f8fc46adfdd006b52efa58c16e3e511ac9c0847c5a542ef40c7254c"


/src: (copy (src .) (dst /src))
2025-07-17 18:37.51 ---> saved as "0c3384edffbdb56eafbc383aaaddfaeef85741fa3ee04cc77493ceda17c9c357"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.13/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I examples/bin/.main.eobjs/byte -I lib/.bigstringaf.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o examples/bin/.main.eobjs/byte/dune__exe__Main.cmo -c -impl examples/bin/main.ml)
File "examples/bin/main.ml", line 7, characters 6-8:
7 |   let b3 = Bigstringaf.sub ~off:0 ~len:(1024 * 1024) in
^^
Error (warning 26 [unused-var]): unused variable b3.
File "examples/bin/main.ml", line 11, characters 6-9:
11 |   let i64 = Bigstringaf.get_int64_be b 0 in
^^^
Error (warning 26 [unused-var]): unused variable i64.
File "examples/bin/main.ml", line 15, characters 6-9:
15 |   let cmp = Bigstringaf.memcmp b 0 b2 0 (1024 * 1024) in
^^^
Error (warning 26 [unused-var]): unused variable cmp.
(cd _build/default/lib_test && ./test_bigstringaf.exe)
Testing `test suite'.
This run has ID `6PSZTA2J'.


[OK]          constructors               0   of_string.
[OK]          safe operations            0   index out of bounds.
[OK]          safe operations            1   getters.
[OK]          safe operations            2   setters.
[OK]          safe operations            3   blit.
[OK]          safe operations            4   blit_to_bytes.
[OK]          safe operations            5   blit_from_bytes.
[OK]          safe operations            6   memcmp.
[OK]          safe operations            7   memcmp_string.
[OK]          safe operations            8   negative length.
[OK]          safe operations            9   memchr.
[OK]          unsafe operations          0   getters.
[OK]          unsafe operations          1   setters.
[OK]          unsafe operations          2   blit.
[OK]          unsafe operations          3   blit_to_bytes.
[OK]          unsafe operations          4   blit_from_bytes.
[OK]          unsafe operations          5   memcmp.
[OK]          unsafe operations          6   memcmp_string.
[OK]          unsafe operations          7   memchr.


Full test results in `/src/_build/default/lib_test/_build/_tests/test suite'.
Test Successful in 0.003s. 19 tests run.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-07-17 18:37.52: Job failed: Failed: Build failed