OCamllabs icon Home|Differences with the last checks|Previous runs


Building on doris.caelum.ci.dev

(from ocaml/opam:debian-unstable)
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
6244f700724e: Pulling fs layer
6244f700724e: Download complete
6244f700724e: Pull complete
Digest: sha256:35955c73858a160861a4c163059ac175d08b4130fa60e218e4e334edc9aaf57e
Status: Downloaded newer image for ocaml/opam:debian-unstable
2024-03-17 02:20.44 ---> 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-03-17 02:20.44 ---> 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 ac9a846c007d1cde3764459aeae5b75c2f8b7aa8"))
2024-03-17 02:20.44 ---> using "f6daa5a185e151575958bea1bc7ebf168b134457b47fd2bceccea664c8ac3953" 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-03-17 02:20.44 ---> using "18a4f9bae2d8e0b81b324227a340acbc6fb6adc121711142b1a69c92072eb64b" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=default '5.0' '5.0.0'"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "5.0.0"} | "ocaml-system" {= "5.0.0"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-base-compiler.5.0.0  (cached)
-> installed ocaml-base-compiler.5.0.0
-> installed ocaml-config.3
-> installed ocaml.5.0.0
-> installed base-domains.base
-> installed base-nnp.base
Done.
# Run eval $(opam env --switch=5.0) to update the current shell environment
2024-03-17 02:20.44 ---> using "5d11e26b54cd8d53a366092f138bac1d66998e7c9c071436c2e49483e197a936" 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-03-15-1419.03-F-2024-03-15-1419.03.pdiff [14.0 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-03-15-1419.03-F-2024-03-15-1419.03.pdiff [14.0 kB]
- Fetched 275 kB in 1s (247 kB/s)
- Reading package lists...
2024-03-17 02:20.44 ---> using "6b85e139d472f2a5d3bc623d507cd520c18ded34e93922816e31990890666680" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell  "\
               \nopam remove -y \"papi.0.1.1\"\
               \nopam install -vy \"papi.0.1.1\"\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: \"papi.0.1.1\" | 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] papi.0.1.1 is not installed.

Nothing to do.
The following actions will be performed:
=== install 2 packages
  - install dune 3.14.2 [required by papi]
  - install papi 0.1.1

The following system packages will first need to be installed:
    libpapi-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libpapi-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpfm4:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 19678 files and directories currently installed.)
- Preparing to unpack .../libpfm4_4.13.0+git32-g0d4ed0e-1_amd64.deb ...
- Unpacking libpfm4:amd64 (4.13.0+git32-g0d4ed0e-1) ...
- Selecting previously unselected package libpapi7.1t64:amd64.
- Preparing to unpack .../libpapi7.1t64_7.1.0-5_amd64.deb ...
- Unpacking libpapi7.1t64:amd64 (7.1.0-5) ...
- Selecting previously unselected package libsde1t64:amd64.
- Preparing to unpack .../libsde1t64_7.1.0-5_amd64.deb ...
- Unpacking libsde1t64:amd64 (7.1.0-5) ...
- Selecting previously unselected package libpapi-dev:amd64.
- Preparing to unpack .../libpapi-dev_7.1.0-5_amd64.deb ...
- Unpacking libpapi-dev:amd64 (7.1.0-5) ...
- Setting up libpfm4:amd64 (4.13.0+git32-g0d4ed0e-1) ...
- Setting up libsde1t64:amd64 (7.1.0-5) ...
- Setting up libpapi7.1t64:amd64 (7.1.0-5) ...
- Setting up libpapi-dev:amd64 (7.1.0-5) ...
- Processing triggers for libc-bin (2.37-15.1) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/6:
Processing  2/6:
-> retrieved papi.0.1.1  (cached)
-> retrieved dune.3.14.2  (cached)
Processing  3/6: [dune: ocaml 255]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "255" (CWD=/home/opam/.opam/5.0/.opam-switch/build/dune.3.14.2)
- 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 255
- cd _boot && /home/opam/.opam/5.0/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads opamLocal.ml
- File "vendor/opam/src/repository/opamLocal.ml", lines 109-114, characters 46-34:
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- File "vendor/opam/src/repository/opamLocal.ml", lines 170-189, characters 44-56:
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- File "vendor/opam/src/repository/opamLocal.ml", lines 209-231, characters 8-44:
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- cd _boot && /home/opam/.opam/5.0/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads opamVCS.ml
- File "vendor/opam/src/repository/opamVCS.ml", lines 179-182, characters 11-40:
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- cd _boot && /home/opam/.opam/5.0/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads opamDownload.ml
- File "vendor/opam/src/repository/opamDownload.ml", lines 323-361, characters 42-41:
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- cd _boot && /home/opam/.opam/5.0/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads opamRepository.ml
- File "vendor/opam/src/repository/opamRepository.ml", lines 88-90, characters 45-77:
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- File "vendor/opam/src/repository/opamRepository.ml", lines 277-281, characters 38-17:
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- File "vendor/opam/src/repository/opamRepository.ml", lines 423-427, characters 12-42:
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- (_, Checksum_mismatch _)
- 

Processing  3/6: [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" "255" (CWD=/home/opam/.opam/5.0/.opam-switch/build/dune.3.14.2)
-> compiled  dune.3.14.2
-> installed dune.3.14.2
Processing  5/6: [papi: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "papi" "-j" "255" (CWD=/home/opam/.opam/5.0/.opam-switch/build/papi.0.1.1)
- (cd _build/default && /home/opam/.opam/5.0/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.papi_top.objs/byte -I /home/opam/.opam/5.0/lib/ocaml/compiler-libs -I src/.papi.objs/byte -no-alias-deps -o src/.papi_top.objs/byte/papi_top.cmo -c -impl src/papi_top.ml)
- File "src/papi_top.ml", line 4, characters 50-68:
- 4 | let _ = Toploop.use_silently Format.err_formatter "papi_top_init.ml"
-                                                       ^^^^^^^^^^^^^^^^^^
- Error: This expression has type string but an expression was expected of type
-          Toploop.input
- (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -Wno-implicit-fallthrough -g -I /home/opam/.opam/5.0/lib/ocaml -o stubs.o -c native/stubs.c)
- native/stubs.c: In function '__raise_papi':
- native/stubs.c:83:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-    83 |     exn = caml_named_value ("PAPI_EXCEPTION_CTOR");
-       |         ^
- In file included from native/stubs.c:8:
- /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:283:29: warning: unused variable 'caml__frame' [-Wunused-variable]
-   283 |   struct caml__roots_block *caml__frame = *caml_local_roots_ptr
-       |                             ^~~~~~~~~~~
- native/stubs.c:79:3: note: in expansion of macro 'CAMLparam0'
-    79 |   CAMLparam0();
-       |   ^~~~~~~~~~
[ERROR] The compilation of papi.0.1.1 failed at "dune build -p papi -j 255".

#=== ERROR while compiling papi.0.1.1 =========================================#
# context              2.2.0~beta2~dev | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/opam/opam-repository
# path                 ~/.opam/5.0/.opam-switch/build/papi.0.1.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p papi -j 255
# exit-code            1
# env-file             ~/.opam/log/papi-8-2aebf2.env
# output-file          ~/.opam/log/papi-8-2aebf2.out
### output ###
# (cd _build/default && /home/opam/.opam/5.0/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.papi_top.objs/byte -I /home/opam/.opam/5.0/lib/ocaml/compiler-libs -I src/.papi.objs/byte -no-alias-deps -o src/.papi_top.objs/byte/papi_top.cmo -c -impl src/papi_top.ml)
# File "src/papi_top.ml", line 4, characters 50-68:
# 4 | let _ = Toploop.use_silently Format.err_formatter "papi_top_init.ml"
#                                                       ^^^^^^^^^^^^^^^^^^
# Error: This expression has type string but an expression was expected of type
#          Toploop.input
# (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -Wno-implicit-fallthrough -g -I /home/opam/.opam/5.0/lib/ocaml -o stubs.o -c native/stubs.c)
# native/stubs.c: In function '__raise_papi':
# native/stubs.c:83:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#    83 |     exn = caml_named_value ("PAPI_EXCEPTION_CTOR");
#       |         ^
# In file included from native/stubs.c:8:
# /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:283:29: warning: unused variable 'caml__frame' [-Wunused-variable]
#   283 |   struct caml__roots_block *caml__frame = *caml_local_roots_ptr
#       |                             ^~~~~~~~~~~
# native/stubs.c:79:3: note: in expansion of macro 'CAMLparam0'
#    79 |   CAMLparam0();
#       |   ^~~~~~~~~~



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build papi 0.1.1
+- 
+- The following changes have been performed
| - install dune 3.14.2
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.0/.opam-switch/backup/state-20240317022046.export"
'opam install -vy papi.0.1.1' failed.
"/usr/bin/env" "bash" "-c" "
opam remove -y "papi.0.1.1"
opam install -vy "papi.0.1.1"
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: "papi.0.1.1" | grep -q '"debian-unstable"'; then
        echo "This package failed and has been disabled for CI using the 'x-ci-accept-failures' field."
        exit 69
    fi
fi


exit $res
" failed with exit status 31
Failed: Build failed