Building on x86-bm-c7.sw.ocaml.org
(from ocaml/opam:debian-unstable)
2024-06-30 23:36.21 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache
/: (user (uid 1000) (gid 1000))
/: (env OPAMPRECISETRACKING 1)
/: (env OPAMUTF8 never)
/: (env OPAMEXTERNALSOLVER builtin-0install)
/: (env OPAMCRITERIA +removed)
/: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-06-30 23:36.21 ---> using "65c3237f501f7c75f3828458ecf2342bc41c98aaef8c6a7fd82bf46a58cb258c" from cache
/: (run (network host)
(shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 3bcb45c36ed254e850b498bff678e3e5848b23e1"))
2024-06-30 23:36.21 ---> using "3d0bfbfa177ca2531fcfa9e2869627278a2c31cf290ac589bbf0639aba3b017c" from cache
/: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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.
<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
User configuration:
~/.profile is already up-to-date.
[NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.
2024-06-30 23:36.21 ---> using "5dff26d510618c1d48fe6b00f268416e83e2cb4c80c378ed525d97eb709030a0" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam switch create --repositories=default '5.1' '5.1.0'"))
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "5.1.0"} | "ocaml-system" {= "5.1.0"}]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3 (cached)
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-base-compiler.5.1.0 (cached)
-> installed ocaml-base-compiler.5.1.0
-> installed ocaml-config.3
-> installed ocaml.5.1.0
-> installed base-domains.base
-> installed base-nnp.base
Done.
# Run eval $(opam env --switch=5.1) to update the current shell environment
2024-06-30 23:36.21 ---> using "8a93669f3e8a67057deaedf7e59b8da5864042c6fdc911a2df04a6afa5192628" from cache
/: (run (network host)
(shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [198 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-06-30-1411.31-F-2024-06-27-0211.32.pdiff [248 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-06-30-1411.31-F-2024-06-27-0211.32.pdiff [248 kB]
- Fetched 510 kB in 3s (170 kB/s)
- Reading package lists...
-
2024-06-30 23:36.21 ---> using "21e54cc878f98c6240533375fd5c595a5c21b6ab2646f68e020905f2a4a529d0" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "\
\nopam remove -y \"cstruct-unix.5.2.0\"\
\nopam install -vy \"cstruct-unix.5.2.0\"\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: \"cstruct-unix.5.2.0\" | grep -q '\"debian-unstable\"'; then\
\n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\
\n exit 69\
\n fi\
\nfi\
\n\
\n\
\nexit $res\
\n"))
[NOTE] cstruct-unix.5.2.0 is not installed.
Nothing to do.
The following actions will be performed:
=== install 4 packages
- install bigarray-compat 1.1.0 [required by cstruct]
- install cstruct 5.2.0 [required by cstruct-unix]
- install cstruct-unix 5.2.0
- install dune 3.16.0 [required by cstruct-unix]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/11: [bigarray-compat.1.1.0: extract]
Processing 2/11: [bigarray-compat.1.1.0: extract] [cstruct.5.2.0, cstruct-unix.5.2.0: extract]
Processing 3/11: [bigarray-compat.1.1.0: extract] [cstruct.5.2.0, cstruct-unix.5.2.0: extract] [dune.3.16.0: extract]
-> retrieved bigarray-compat.1.1.0 (cached)
Processing 3/11: [cstruct.5.2.0, cstruct-unix.5.2.0: extract] [dune.3.16.0: extract]
-> retrieved cstruct.5.2.0, cstruct-unix.5.2.0 (cached)
Processing 3/11: [dune.3.16.0: extract]
-> retrieved dune.3.16.0 (cached)
Processing 4/11: [dune: ocaml 31]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "31" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune.3.16.0)
- ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot -I +unix unix.cma boot/libs.ml boot/duneboot.ml
- ./.duneboot.exe -j 31
-
Processing 4/11: [dune: ./_boot/dune.exe build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./_boot/dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "31" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune.3.16.0)
-> compiled dune.3.16.0
-> installed dune.3.16.0
Processing 6/11: [bigarray-compat: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "bigarray-compat" "-j" "31" (CWD=/home/opam/.opam/5.1/.opam-switch/build/bigarray-compat.1.1.0)
-> compiled bigarray-compat.1.1.0
-> installed bigarray-compat.1.1.0
Processing 8/11: [cstruct: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cstruct" "-j" "31" (CWD=/home/opam/.opam/5.1/.opam-switch/build/cstruct.5.2.0)
- (cd _build/default/lib && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/5.1/lib/ocaml -I /home/opam/.opam/5.1/lib/bigarray-compat -o cstruct_stubs.o -c cstruct_stubs.c)
- cstruct_stubs.c: In function 'caml_blit_bigstring_to_string':
- cstruct_stubs.c:29:31: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 29 | memcpy(String_val(val_buf2) + Long_val(val_ofs2),
- In file included from cstruct_stubs.c:18:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
-> compiled cstruct.5.2.0
-> installed cstruct.5.2.0
Processing 10/11: [cstruct-unix: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cstruct-unix" "-j" "31" (CWD=/home/opam/.opam/5.1/.opam-switch/build/cstruct-unix.5.2.0)
-> compiled cstruct-unix.5.2.0
-> installed cstruct-unix.5.2.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-30 23:37.17 ---> saved as "857909223c0f6753e18de99a5dd2fdbbbe954db1bd523b6566ee252528a48563"
Job succeeded