Organisationsinhabitedtypebigstringaf045094 ()ubuntu-20.04-4.14_opam-2.3

ubuntu-20.04-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-03-19 18:25.24: New job: test inhabitedtype/bigstringaf https://github.com/inhabitedtype/bigstringaf.git#refs/pull/57/head (045094d3edcc96c501d4220c4061e53e9613ffa1) (linux-x86_64:ubuntu-20.04-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:da6f4be3088a24fad01305b8f1319701833b83862ae7e598dda32c7e699c541b
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/inhabitedtype/bigstringaf.git" && cd "bigstringaf" && git fetch origin "refs/pull/57/head" && git reset --hard 045094d3
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:da6f4be3088a24fad01305b8f1319701833b83862ae7e598dda32c7e699c541b
# ubuntu-20.04-4.14_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 f92e43c2e4282b573967127440259031915a8fba || git fetch origin master) && git reset -q --hard f92e43c2e4282b573967127440259031915a8fba && 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.17.2 dune-configurator.3.17.2 fmt.0.10.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 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-03-19 18:25.24: Using cache hint "inhabitedtype/bigstringaf-ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:da6f4be3088a24fad01305b8f1319701833b83862ae7e598dda32c7e699c541b-ubuntu-20.04-4.14_opam-2.3-a6aa1268186e18198655d0ad707cda5d"
2025-03-19 18:25.24: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:da6f4be3088a24fad01305b8f1319701833b83862ae7e598dda32c7e699c541b)
(comment ubuntu-20.04-4.14_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 f92e43c2e4282b573967127440259031915a8fba || git fetch origin master) && git reset -q --hard f92e43c2e4282b573967127440259031915a8fba && 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.17.2 dune-configurator.3.17.2 fmt.0.10.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 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-03-19 18:25.24: Waiting for resource in pool OCluster
2025-03-19 18:38.19: Waiting for worker…
2025-03-19 18:42.00: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
HEAD is now at 045094d Wasm runtime file


(from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:da6f4be3088a24fad01305b8f1319701833b83862ae7e598dda32c7e699c541b)
2025-03-19 18:42.00 ---> using "e479fcdb9426ccfb1fa3ff35db07cb4926bf567823e69cbd95231f5b4c33ace0" from cache


/: (comment ubuntu-20.04-4.14_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-03-19 18:42.00 ---> using "163bbcb674cc280f273b1a553a03ed03e4911ca20e73500771c2c10a0a595d96" 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 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.


Continue? [y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-19 18:42.01 ---> saved as "1b02a020ef0e80e6d56913e9509d6b81cf872b70bdf65a2a0252fdd9d24f9c5b"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-03-19 18:42.02 ---> saved as "b7cc1526fefe8d85fa836822e5fd58786758ae4f528e6ae8765da3e6eb9d6335"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-03-19 18:42.02 ---> saved as "89aabe27126da5163cf8c2499cc78be06242d1f347ebadfc8e65db520b937323"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e f92e43c2e4282b573967127440259031915a8fba || git fetch origin master) && git reset -q --hard f92e43c2e4282b573967127440259031915a8fba && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
862a7640b1..6ccbe63dbf  master     -> origin/master
f92e43c2e4 Merge pull request #27617 from samoht/release-alcotest-1.9.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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.
# To update the current shell environment, run: eval $(opam env)
2025-03-19 18:43.13 ---> saved as "ddfbfc8654276b8893132af8daae047b66b1982e30b5cd665ce1352bb27d7aad"


/src: (copy (src bigstringaf.opam) (dst ./))
2025-03-19 18:43.13 ---> saved as "0bd4ecd7b94b23375dec193ca28c1f51c55245ba00ae1e129fdd6f6e8822d17c"


/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-03-19 18:43.16 ---> saved as "7eee05fabe955da27d3b219901f1044793dc8308a3901e26e80c484fd636fa01"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-19 18:43.16 ---> saved as "611496057cd8a9ee056c4e9292986aba706b6700a46aa62b6c114680119fe5aa"


/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.17.2 dune-configurator.3.17.2 fmt.0.10.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 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://archive.ubuntu.com/ubuntu focal InRelease
- Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
- Get:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
- Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
- Get:5 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [45.5 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4638 kB]
- Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4756 kB]
- Get:8 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1595 kB]
- Get:9 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4441 kB]
- Get:10 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [42.0 kB]
- Get:11 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4269 kB]
- Get:12 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1301 kB]
- Fetched 21.5 MB in 2s (12.9 MB/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.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).
2025-03-19 18:43.41 ---> saved as "b5fd411f520abcab895393c1738d08f7d9e454c24edf96cf870a7f9500d94d3f"


/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 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.17.2
- install dune-configurator  3.17.2
- 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.12.0
- 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 fmt.0.10.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved dune.3.17.2, dune-configurator.3.17.2  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved uutf.1.0.4  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed dune.3.17.2
-> installed csexp.1.5.2
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.12.0
-> installed stdlib-shims.0.3.0
-> installed alcotest.1.9.0
-> installed dune-configurator.3.17.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-19 18:44.46 ---> saved as "a76e24c8ea6a72d736b0d82155a0348fa3f7a13ed698a66454bd11105e315e80"


/src: (copy (src .) (dst /src))
2025-03-19 18:44.47 ---> saved as "fee9a5f53e40c9588abd993d08a9cd63022f442d4654ddc74421e2e9465244b3"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/lib_test && ./test_bigstringaf.exe)
Testing `test suite'.
This run has ID `WTEOCOHC'.


[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.002s. 19 tests run.
2025-03-19 18:44.48 ---> saved as "08f2fc7743420728a366be6211ca3d3d6bdf731f88842b4995d5744664e7c575"
Job succeeded
2025-03-19 18:44.48: Job succeeded