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


Building on x86-bm-c9.sw.ocaml.org

(from ocaml/opam:debian-unstable)
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
63563b31af74: Pulling fs layer
63563b31af74: Verifying Checksum
63563b31af74: Download complete
63563b31af74: Pull complete
Digest: sha256:8f6038a9795a3c7cc61b90b742e29558b247d69f92f73dea67cb146602ff83f6
Status: Downloaded newer image for ocaml/opam:debian-unstable
2025-02-24 01:39.53 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache

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

/: (env OPAMPRECISETRACKING 1)

/: (env OPAMUTF8 never)

/: (env OPAMEXTERNALSOLVER builtin-0install)

/: (env OPAMCRITERIA +removed)

/: (env CI true)

/: (env OPAM_HEALTH_CHECK_CI true)

/: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-02-24 01:39.53 ---> using "40df4fa4cdfc68a5fa7a326047e82a7adc5df52b8059d4a7b745bdd50aad56e7" 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 4022a684b64be8161a05cf897f492f8680792469"))
2025-02-24 01:39.53 ---> using "ced9ab1d6bac3c5f95cfdac2696c8d9202989b3f52ba62400bb20a10ac63d439" 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.

2025-02-24 01:39.53 ---> using "69f716af23f9139c4566fb0532f54e56ee4f6773c11e689dc47229d6a744c7e1" from cache

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

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3  (cached)
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-compiler.5.3.0  (cached)
-> installed ocaml-compiler.5.3.0
-> installed ocaml-base-compiler.5.3.0
-> installed ocaml-config.3
-> installed ocaml.5.3.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
Done.
# To update the current shell environment, run: eval $(opam env --switch=5.3)
2025-02-24 01:39.53 ---> using "8cb80bdf8c98b441ca1a62ad13717befd2e70e905b796cad3ff69df4d26bf351" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [205 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-2025-02-21-0817.39-F-2025-02-16-2015.54.pdiff [385 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-02-21-0817.39-F-2025-02-16-2015.54.pdiff [385 kB]
- Fetched 654 kB in 3s (260 kB/s)
- Reading package lists...
- 
2025-02-24 01:39.53 ---> using "aab064613a33ea1c8e4184107fb782b7e34e02d2710ba539b18cbd20a9d40c72" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
        (network host)
        (shell "opam pin add -k version dune $(opam show -f version dune)"))
dune is now pinned to version 3.17.2

The following actions will be performed:
=== install 1 package
  - install dune 3.17.2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.17.2  (cached)
-> installed dune.3.17.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 01:39.53 ---> using "ab68111ecaec8e96a659d3801d58f9f48b56993ae57778afc853e701c3286214" from cache

/: (env DUNE_CACHE enabled)

/: (env DUNE_CACHE_TRANSPORT direct)

/: (env DUNE_CACHE_DUPLICATION copy)

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
        (network host)
        (shell "curl -fsSL https://get.dune.build/install | sh"))

#=#=#                                                                          
##O#-#                                                                         
                                                                           0.1%
                                                                           1.2%
##                                                                         3.1%
#########                                                                 12.7%
##################                                                        26.1%
##################################################################        92.4%
######################################################################## 100.0%
dune x86_64-unknown-linux-musl was installed successfully to ~/.local/bin/dune 

To use dune you will need to source the file "$HOME/.local/share/dune/env/env.bash" (or similar as appropriate for your shell)
  export PATH="/home/opam/.local/bin:$PATH" 

To get started, run: 
  dune --help 
2025-02-24 01:39.53 ---> using "91706ab83e18623d5f5c55809c19ede302298d1fa58d418458556ddcfa9179ed" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
        (network host)
        (shell  "PLACE=$(mktemp -d) && cd $PLACE && echo '(lang dune 3.17)\
               \n(package\
               \n  (name dummy)\
               \n  (allow_empty true)\
               \n  (depends (ocaml (= 5.3.0))))' > dune-project && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build"))
Solution for dune.lock:
- ocaml.5.3.0
- ocaml-base-compiler.5.3.0
- ocaml-compiler.5.3.0
- ocaml-config.3
 Downloading ocaml-compiler.5.3.0
    Building ocaml-compiler.5.3.0
    Building ocaml-base-compiler.5.3.0
2025-02-24 01:39.53 ---> using "23d3c9485a3a95dd6f64bf73b0bd06b36016919a287108bba74001e847c99f7d" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
        (network host)
        (shell  "cd $HOME && opam source portaudio_c_bindings.19.6.0 && cd portaudio_c_bindings.19.6.0 && opam install ./ --depext-only --with-test && echo '(lang dune 3.17)\
               \n(lock_dir\
               \n (repositories overlay default ))\
               \n\
               \n(repository\
               \n (name default)\
               \n (url \"git+https://github.com/ocaml/opam-repository.git\"))\
               \n\
               \n\
               \n' > dune-workspace && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build"))
Successfully extracted to /home/opam/portaudio_c_bindings.19.6.0

The following system packages will first need to be installed:
    libffi-dev pkg-config portaudio19-dev

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

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "pkg-config" "portaudio19-dev"
- Selecting previously unselected package alsa-topology-conf.
- (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 ... 19826 files and directories currently installed.)
- Preparing to unpack .../00-alsa-topology-conf_1.2.5.1-3_all.deb ...
- Unpacking alsa-topology-conf (1.2.5.1-3) ...
- Selecting previously unselected package libasound2-data.
- Preparing to unpack .../01-libasound2-data_1.2.13-1_all.deb ...
- Unpacking libasound2-data (1.2.13-1) ...
- Selecting previously unselected package libasound2t64:amd64.
- Preparing to unpack .../02-libasound2t64_1.2.13-1+b1_amd64.deb ...
- Unpacking libasound2t64:amd64 (1.2.13-1+b1) ...
- Selecting previously unselected package alsa-ucm-conf.
- Preparing to unpack .../03-alsa-ucm-conf_1.2.13-2_all.deb ...
- Unpacking alsa-ucm-conf (1.2.13-2) ...
- Selecting previously unselected package libasound2-dev:amd64.
- Preparing to unpack .../04-libasound2-dev_1.2.13-1+b1_amd64.deb ...
- Unpacking libasound2-dev:amd64 (1.2.13-1+b1) ...
- Selecting previously unselected package libffi-dev:amd64.
- Preparing to unpack .../05-libffi-dev_3.4.7-1_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.7-1) ...
- Selecting previously unselected package libopus0:amd64.
- Preparing to unpack .../06-libopus0_1.5.2-2_amd64.deb ...
- Unpacking libopus0:amd64 (1.5.2-2) ...
- Selecting previously unselected package libsamplerate0:amd64.
- Preparing to unpack .../07-libsamplerate0_0.2.2-4+b2_amd64.deb ...
- Unpacking libsamplerate0:amd64 (0.2.2-4+b2) ...
- Selecting previously unselected package libjack-jackd2-0:amd64.
- Preparing to unpack .../08-libjack-jackd2-0_1.9.22~dfsg-4_amd64.deb ...
- Unpacking libjack-jackd2-0:amd64 (1.9.22~dfsg-4) ...
- Selecting previously unselected package libjack-jackd2-dev:amd64.
- Preparing to unpack .../09-libjack-jackd2-dev_1.9.22~dfsg-4_amd64.deb ...
- Unpacking libjack-jackd2-dev:amd64 (1.9.22~dfsg-4) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../10-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package libportaudio2:amd64.
- Preparing to unpack .../11-libportaudio2_19.6.0-1.2+b3_amd64.deb ...
- Unpacking libportaudio2:amd64 (19.6.0-1.2+b3) ...
- Selecting previously unselected package libportaudiocpp0:amd64.
- Preparing to unpack .../12-libportaudiocpp0_19.6.0-1.2+b3_amd64.deb ...
- Unpacking libportaudiocpp0:amd64 (19.6.0-1.2+b3) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../13-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../14-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../15-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Selecting previously unselected package portaudio19-dev:amd64.
- Preparing to unpack .../16-portaudio19-dev_19.6.0-1.2+b3_amd64.deb ...
- Unpacking portaudio19-dev:amd64 (19.6.0-1.2+b3) ...
- Setting up libffi-dev:amd64 (3.4.7-1) ...
- Setting up libasound2-data (1.2.13-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libasound2t64:amd64 (1.2.13-1+b1) ...
- Setting up libopus0:amd64 (1.5.2-2) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up alsa-topology-conf (1.2.5.1-3) ...
- Setting up libasound2-dev:amd64 (1.2.13-1+b1) ...
- Setting up libsamplerate0:amd64 (0.2.2-4+b2) ...
- Setting up alsa-ucm-conf (1.2.13-2) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Setting up libjack-jackd2-0:amd64 (1.9.22~dfsg-4) ...
- Setting up libportaudio2:amd64 (19.6.0-1.2+b3) ...
- Setting up libjack-jackd2-dev:amd64 (1.9.22~dfsg-4) ...
- Setting up libportaudiocpp0:amd64 (19.6.0-1.2+b3) ...
- Setting up portaudio19-dev:amd64 (19.6.0-1.2+b3) ...
- Processing triggers for libc-bin (2.40-7) ...
Solution for dune.lock:
- base-unix.base
- bigarray-compat.1.1.0
- conf-libffi.2.0.0
- conf-pkg-config.4
- conf-portaudio.1
- csexp.1.5.2
- ctypes.0.23.0
- ctypes-foreign.0.23.0
- dune-configurator.3.17.2
- integers.0.7.0
- ocaml.5.3.0
- ocaml-base-compiler.5.3.0
- ocaml-compiler.5.3.0
- ocaml-config.3
- stdlib-shims.0.3.0
 Downloading ocaml-compiler.5.3.0
    Building ocaml-compiler.5.3.0
    Building ocaml-base-compiler.5.3.0
    Building base-unix.base
    Building conf-pkg-config.4
    Building conf-libffi.2.0.0
    Building ocaml-config.3
    Building ocaml.5.3.0
 Downloading stdlib-shims.0.3.0
    Building stdlib-shims.0.3.0
 Downloading bigarray-compat.1.1.0
    Building bigarray-compat.1.1.0
 Downloading csexp.1.5.2
    Building csexp.1.5.2
 Downloading integers.0.7.0
    Building integers.0.7.0
 Downloading dune-configurator.3.17.2
    Building dune-configurator.3.17.2
 Downloading ctypes.0.23.0
    Building ctypes.0.23.0
 Downloading ctypes-foreign.0.23.0
    Building ctypes-foreign.0.23.0
    Building conf-portaudio.1
File "bindings/ffi/dune", line 26, characters 36-43:
26 |  (foreign_stubs (language c) (names c_stubs))
                                         ^^^^^^^
(cd _build/default/bindings/ffi && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -g -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/threads -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/unix -I ../../../_private/default/.pkg/bigarray-compat/target/lib/bigarray-compat -I ../../../_private/default/.pkg/ctypes-foreign/target/lib/ctypes-foreign -I ../../../_private/default/.pkg/ctypes/target/lib/ctypes -I ../../../_private/default/.pkg/ctypes/target/lib/ctypes/stubs -I ../../../_private/default/.pkg/integers/target/lib/integers -I ../../../_private/default/.pkg/stdlib-shims/target/lib/stdlib-shims -I . -I ../types -o c_stubs.o -c c_stubs.c)
c_stubs.c: In function 'caml_portaudio_3_Pa_GetVersionInfo':
c_stubs.c:28:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   28 |    struct PaVersionInfo* x12 = Pa_GetVersionInfo();
      |                                ^~~~~~~~~~~~~~~~~
c_stubs.c: In function 'caml_portaudio_9_Pa_GetHostApiInfo':
c_stubs.c:84:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   84 |    struct PaHostApiInfo* x48 = Pa_GetHostApiInfo(x45);
      |                                ^~~~~~~~~~~~~~~~~
c_stubs.c: In function 'caml_portaudio_11_Pa_GetLastHostErrorInfo':
c_stubs.c:103:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  103 |    struct PaHostErrorInfo* x61 = Pa_GetLastHostErrorInfo();
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~
c_stubs.c: In function 'caml_portaudio_15_Pa_GetDeviceInfo':
c_stubs.c:140:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  140 |    struct PaDeviceInfo* x84 = Pa_GetDeviceInfo(x81);
      |                               ^~~~~~~~~~~~~~~~
c_stubs.c: In function 'caml_portaudio_17_Pa_OpenStream':
c_stubs.c:174:61: error: passing argument 7 of 'Pa_OpenStream' from incompatible pointer type [-Wincompatible-pointer-types]
  174 |    Pa_OpenStream(x108, x109, x110, (float)x111, x114, x117, x120, x121);
      |                                                             ^~~~
      |                                                             |
      |                                                             PaStreamCallbackResult (*)(void *, void *, long unsigned int,  struct PaStreamCallbackTimeInfo *, long unsigned int,  void *)
In file included from c_stubs.c:2:
/usr/include/portaudio.h:898:42: note: expected 'int (*)(const void *, void *, long unsigned int,  const PaStreamCallbackTimeInfo *, PaStreamCallbackFlags,  void *)' {aka 'int (*)(const void *, void *, long unsigned int,  const PaStreamCallbackTimeInfo *, long unsigned int,  void *)'} but argument is of type 'PaStreamCallbackResult (*)(void *, void *, long unsigned int,  struct PaStreamCallbackTimeInfo *, long unsigned int,  void *)'
  898 |                        PaStreamCallback *streamCallback,
      |                        ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
c_stubs.c: In function 'caml_portaudio_18_Pa_OpenDefaultStream':
c_stubs.c:211:68: error: passing argument 7 of 'Pa_OpenDefaultStream' from incompatible pointer type [-Wincompatible-pointer-types]
  211 |    Pa_OpenDefaultStream(x142, x143, x146, x149, (float)x152, x155, x158,
      |                                                                    ^~~~
      |                                                                    |
      |                                                                    PaStreamCallbackResult (*)(void *, void *, long unsigned int,  struct PaStreamCallbackTimeInfo *, long unsigned int,  void *)
/usr/include/portaudio.h:938:49: note: expected 'int (*)(const void *, void *, long unsigned int,  const PaStreamCallbackTimeInfo *, PaStreamCallbackFlags,  void *)' {aka 'int (*)(const void *, void *, long unsigned int,  const PaStreamCallbackTimeInfo *, long unsigned int,  void *)'} but argument is of type 'PaStreamCallbackResult (*)(void *, void *, long unsigned int,  struct PaStreamCallbackTimeInfo *, long unsigned int,  void *)'
  938 |                               PaStreamCallback *streamCallback,
      |                               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
c_stubs.c: In function 'caml_portaudio_26_Pa_GetStreamInfo':
c_stubs.c:307:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  307 |    struct PaStreamInfo* x218 = Pa_GetStreamInfo(x217);
      |                                ^~~~~~~~~~~~~~~~
"/usr/bin/env" "bash" "-c" "cd $HOME && opam source portaudio_c_bindings.19.6.0 && cd portaudio_c_bindings.19.6.0 && opam install ./ --depext-only --with-test && echo '(lang dune 3.17)
(lock_dir
 (repositories overlay default ))

(repository
 (name default)
 (url "git+https://github.com/ocaml/opam-repository.git"))


' > dune-workspace && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build" failed with exit status 1
Failed: Build failed