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-03-03 16:34.41 ---> 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-03-03 16:34.41 ---> 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 ef90a2b03158d292539672d3f7cbaadbc9686e00"))
2025-03-03 16:34.41 ---> using "f8a7eaeb9f5c92be7084e0f999dd7e7e4a1eefb297e66373751e952159afda2d" 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-03-03 16:34.41 ---> using "1ebcf8e3761a93ad88b5037369014c0e29617030bb8dd94d78d6dedd98943762" 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-03-03 16:34.41 ---> using "f3fc5dd5dfcbe8e5493a4563bca5034ac862b7842eb9f16d453e6549334b9a79" 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]
- Err:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index
-   Couldn't find the start of the patch series
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Ign:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [10.1 MB]
- Fetched 10.4 MB in 2s (4667 kB/s)
- Reading package lists...
- 
2025-03-03 16:34.41 ---> using "9a78c93989d5550bb49e48632a1de75ead785056e5e8a108c010951463436220" 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-03-03 16:34.41 ---> using "8c970a2b6e083fc728908364a8d3768a0f4ede73a1fdaf0ff7dd6771a2ecdd96" 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.4%
########                                                                  12.5%
##################                                                        26.1%
##################################################################        92.1%
######################################################################## 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-03-03 16:34.41 ---> using "14aa2861c13f12cb4ee28b98952b1839ff48cfaf20d65aa237f68c77954270eb" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
        (network host)
        (shell  "sudo apt-get install -y python3-sexpdata && echo 'import sexpdata\
               \nwith open(\"dune-project\", \"r\") as f:\
               \n    content = [i for i in sexpdata.loads(\"(\" + f.read() + \")\") if not i[0] == sexpdata.Symbol(\"package\")]\
               \n    print(sexpdata.dumps(content[0]))\
               \n    for i in content[1:]:\
               \n        print(sexpdata.dumps(i))' > /tmp/opam-health-check-remove-package.py"))
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libpython3-stdlib libpython3.13-minimal libpython3.13-stdlib media-types
  python3 python3-minimal python3.13 python3.13-minimal
Suggested packages:
  python3-doc python3-tk python3-venv python3.13-venv python3.13-doc
  binfmt-support
The following NEW packages will be installed:
  libpython3-stdlib libpython3.13-minimal libpython3.13-stdlib media-types
  python3 python3-minimal python3-sexpdata python3.13 python3.13-minimal
0 upgraded, 9 newly installed, 0 to remove and 70 not upgraded.
Need to get 5893 kB of archives.
After this operation, 23.1 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian unstable/main amd64 libpython3.13-minimal amd64 3.13.2-1 [859 kB]
Get:2 http://deb.debian.org/debian unstable/main amd64 python3.13-minimal amd64 3.13.2-1 [2205 kB]
Get:3 http://deb.debian.org/debian unstable/main amd64 python3-minimal amd64 3.13.2-1 [27.1 kB]
Get:4 http://deb.debian.org/debian unstable/main amd64 media-types all 12.0.0 [28.9 kB]
Get:5 http://deb.debian.org/debian unstable/main amd64 libpython3.13-stdlib amd64 3.13.2-1 [1979 kB]
Get:6 http://deb.debian.org/debian unstable/main amd64 python3.13 amd64 3.13.2-1 [745 kB]
Get:7 http://deb.debian.org/debian unstable/main amd64 libpython3-stdlib amd64 3.13.2-1 [10.0 kB]
Get:8 http://deb.debian.org/debian unstable/main amd64 python3 amd64 3.13.2-1 [28.1 kB]
Get:9 http://deb.debian.org/debian unstable/main amd64 python3-sexpdata all 1.0.2-1 [9940 B]
Fetched 5893 kB in 0s (79.7 MB/s)
Selecting previously unselected package libpython3.13-minimal: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 ... 19826 files and directories currently installed.)
Preparing to unpack .../libpython3.13-minimal_3.13.2-1_amd64.deb ...
Unpacking libpython3.13-minimal:amd64 (3.13.2-1) ...
Selecting previously unselected package python3.13-minimal.
Preparing to unpack .../python3.13-minimal_3.13.2-1_amd64.deb ...
Unpacking python3.13-minimal (3.13.2-1) ...
Setting up libpython3.13-minimal:amd64 (3.13.2-1) ...
Setting up python3.13-minimal (3.13.2-1) ...
Selecting previously unselected package python3-minimal.
(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 ... 20151 files and directories currently installed.)
Preparing to unpack .../python3-minimal_3.13.2-1_amd64.deb ...
Unpacking python3-minimal (3.13.2-1) ...
Selecting previously unselected package media-types.
Preparing to unpack .../media-types_12.0.0_all.deb ...
Unpacking media-types (12.0.0) ...
Selecting previously unselected package libpython3.13-stdlib:amd64.
Preparing to unpack .../libpython3.13-stdlib_3.13.2-1_amd64.deb ...
Unpacking libpython3.13-stdlib:amd64 (3.13.2-1) ...
Selecting previously unselected package python3.13.
Preparing to unpack .../python3.13_3.13.2-1_amd64.deb ...
Unpacking python3.13 (3.13.2-1) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.13.2-1_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.13.2-1) ...
Setting up python3-minimal (3.13.2-1) ...
Selecting previously unselected package python3.
(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 ... 20601 files and directories currently installed.)
Preparing to unpack .../python3_3.13.2-1_amd64.deb ...
Unpacking python3 (3.13.2-1) ...
Selecting previously unselected package python3-sexpdata.
Preparing to unpack .../python3-sexpdata_1.0.2-1_all.deb ...
Unpacking python3-sexpdata (1.0.2-1) ...
Setting up media-types (12.0.0) ...
Setting up libpython3.13-stdlib:amd64 (3.13.2-1) ...
Setting up libpython3-stdlib:amd64 (3.13.2-1) ...
Setting up python3.13 (3.13.2-1) ...
Setting up python3 (3.13.2-1) ...
running python rtupdate hooks for python3.13...
running python post-rtupdate hooks for python3.13...
Setting up python3-sexpdata (1.0.2-1) ...
2025-03-03 16:34.41 ---> using "8c20028a802cbf97b7848eb86323ea18fc654d771517c3a444280a798b3cba6f" 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-03-03 16:34.41 ---> using "ed5574b30d6a55598c49402afe63541d40e6d3df78b5f1b3d250ee114712f692" 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 mysql_protocol.3.0.3 && cd mysql_protocol.3.0.3 && for opam in *.opam; do opam show --raw ${opam%.opam} > $opam; done && python3 /tmp/opam-health-check-remove-package.py > dune-project-new && mv dune-project-new dune-project && sudo apt-get remove -y python3-sexpdata && sudo apt-get autoremove -y && opam install ./ --depext-only --with-test --with-doc && echo '(lang dune 3.17)\
               \n(lock_dir\
               \n (repositories overlay  default))\
               \n\
               \n(repository\
               \n (name default)\
               \n (url \"file:///home/opam/opam-repository\"))\
               \n\
               \n\
               \n' > dune-workspace && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build --profile=release || (echo \"opam-health-check: Build failed\" && exit 1)"))
Successfully extracted to /home/opam/mysql_protocol.3.0.3
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  libpython3-stdlib libpython3.13-minimal libpython3.13-stdlib media-types
  python3 python3-minimal python3.13 python3.13-minimal
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  python3-sexpdata
0 upgraded, 0 newly installed, 1 to remove and 70 not upgraded.
After this operation, 46.1 kB disk space will be freed.
(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 ... 20630 files and directories currently installed.)
Removing python3-sexpdata (1.0.2-1) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
  libpython3-stdlib libpython3.13-minimal libpython3.13-stdlib media-types
  python3 python3-minimal python3.13 python3.13-minimal
0 upgraded, 0 newly installed, 8 to remove and 70 not upgraded.
After this operation, 23.0 MB disk space will be freed.
(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 ... 20622 files and directories currently installed.)
Removing python3 (3.13.2-1) ...
Removing libpython3-stdlib:amd64 (3.13.2-1) ...
Removing python3.13 (3.13.2-1) ...
Removing libpython3.13-stdlib:amd64 (3.13.2-1) ...
find: '/usr/lib/python3': No such file or directory
Removing python3-minimal (3.13.2-1) ...
Removing python3.13-minimal (3.13.2-1) ...
Unlinking and removing bytecode for runtime python3.13
Removing libpython3.13-minimal:amd64 (3.13.2-1) ...
find: '/usr/lib/python3': No such file or directory
Removing media-types (12.0.0) ...

The following system packages will first need to be installed:
    libgmp-dev pkg-config zlib1g-dev

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

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "pkg-config" "zlib1g-dev"
- Selecting previously unselected package libgmpxx4ldbl: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 ... 19829 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../6-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.40-7) ...
Solution for dune.lock:
- base-unix.base
- bitstring.4.1.0
- conf-gmp.4
- conf-gmp-powm-sec.3
- conf-pkg-config.4
- conf-zlib.1
- cryptokit.1.20
- csexp.1.5.2
- dune-configurator.3.17.2
- num.1.5-1
- ocaml.5.3.0
- ocaml-base-compiler.5.3.0
- ocaml-compiler.5.3.0
- ocaml-compiler-libs.v0.17.0
- ocaml-config.3
- ocamlfind.1.9.8+dune
- ounit2.2.2.7
- ppx_bitstring.4.1.0
- ppx_derivers.1.2.1
- ppxlib.0.35.0
- seq.base
- sexplib0.v0.17.0
- stdlib-shims.0.3.0
- zarith.1.14
 Downloading ocaml-compiler.5.3.0
    Building ocaml-compiler.5.3.0
    Building ocaml-base-compiler.5.3.0
    Building ocaml-config.3
    Building ocaml.5.3.0
 Downloading ppx_derivers.1.2.1
    Building ppx_derivers.1.2.1
 Downloading ocaml-compiler-libs.v0.17.0
    Building ocaml-compiler-libs.v0.17.0
 Downloading sexplib0.v0.17.0
    Building sexplib0.v0.17.0
 Downloading stdlib-shims.0.3.0
    Building stdlib-shims.0.3.0
 Downloading bitstring.4.1.0
    Building bitstring.4.1.0
 Downloading ppxlib.0.35.0
    Building ppxlib.0.35.0
 Downloading ppx_bitstring.4.1.0
    Building ppx_bitstring.4.1.0
    Building base-unix.base
    Building seq.base
 Downloading ounit2.2.2.7
    Building ounit2.2.2.7
 Downloading num.1.5-1
    Building num.1.5-1
    Building conf-pkg-config.4
    Building conf-zlib.1
    Building conf-gmp.4
 Downloading ocamlfind.1.9.8+dune
    Building ocamlfind.1.9.8+dune
    Building conf-gmp-powm-sec.3
 Downloading zarith.1.14
 Downloading csexp.1.5.2
    Building csexp.1.5.2
 Downloading dune-configurator.3.17.2
    Building dune-configurator.3.17.2
    Building zarith.1.14
 Downloading cryptokit.1.20
    Building cryptokit.1.20
File "benchmarks/dune", line 3, characters 27-32:
3 |  (libraries mysql_protocol mysql))
                               ^^^^^
Error: Library "mysql" not found.
-> required by _build/default/benchmarks/bench.exe
-> required by alias benchmarks/all
-> required by alias default
File "test/dune", line 4, characters 12-17:
4 |  (libraries oUnit mysql_protocol))
                ^^^^^
Error: Library "oUnit" not found.
-> required by _build/default/test/test.exe
-> required by alias test/all
-> required by alias default
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.mysql_protocol.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/lib/ocaml/unix -I ../_private/default/.pkg/bitstring/target/lib/bitstring -I ../_private/default/.pkg/cryptokit/target/lib/cryptokit -I ../_private/default/.pkg/num/target/lib/num -I ../_private/default/.pkg/stdlib-shims/target/lib/stdlib-shims -I ../_private/default/.pkg/zarith/target/lib/zarith -no-alias-deps -open Mysql_protocol -o src/.mysql_protocol.objs/byte/mysql_protocol__Mp_authentication.cmo -c -impl src/mp_authentication.pp.ml)
File "src/mp_authentication.ml", line 16, characters 38-57:
16 |   let hash s = Cryptokit.hash_string (Cryptokit.Hash.sha1()) s in
                                           ^^^^^^^^^^^^^^^^^^^
Alert crypto: Cryptokit.Hash.sha1
SHA1 is broken
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.mysql_protocol.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/lib/ocaml/unix -I ../_private/default/.pkg/bitstring/target/lib/bitstring -I ../_private/default/.pkg/cryptokit/target/lib/cryptokit -I ../_private/default/.pkg/num/target/lib/num -I ../_private/default/.pkg/stdlib-shims/target/lib/stdlib-shims -I ../_private/default/.pkg/zarith/target/lib/zarith -no-alias-deps -open Mysql_protocol -o src/.mysql_protocol.objs/byte/mysql_protocol__Mp_data_binary.cmo -c -impl src/mp_data_binary.pp.ml)
File "src/mp_data_binary.ml", lines 99-268, characters 2-58:
 99 | ..match field_type with
100 |   (* /!\ : should not happen because null values are sent with the null bitfield *)
101 |   | Mp_field_packet.Field_type_null -> Mp_data.data_null
102 |   | Mp_field_packet.Field_type_longlong -> (
103 |       match%bitstring v with
...
265 |   | Mp_field_packet.Field_type_timestamp 
266 |   | Mp_field_packet.Field_type_date 
267 |   | Mp_field_packet.Field_type_time ->
268 |       data_value_to_sql_value_date_time_types field_type v
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
(Field_type_decimal|Field_type_newdate)
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/bin/ocamlopt.opt -w -40 -g -I src/.mysql_protocol.objs/byte -I src/.mysql_protocol.objs/native -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/lib/ocaml/unix -I ../_private/default/.pkg/bitstring/target/lib/bitstring -I ../_private/default/.pkg/cryptokit/target/lib/cryptokit -I ../_private/default/.pkg/num/target/lib/num -I ../_private/default/.pkg/stdlib-shims/target/lib/stdlib-shims -I ../_private/default/.pkg/zarith/target/lib/zarith -intf-suffix .ml -no-alias-deps -open Mysql_protocol -o src/.mysql_protocol.objs/native/mysql_protocol__Mp_authentication.cmx -c -impl src/mp_authentication.pp.ml)
File "src/mp_authentication.ml", line 16, characters 38-57:
16 |   let hash s = Cryptokit.hash_string (Cryptokit.Hash.sha1()) s in
                                           ^^^^^^^^^^^^^^^^^^^
Alert crypto: Cryptokit.Hash.sha1
SHA1 is broken
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/bin/ocamlopt.opt -w -40 -g -I src/.mysql_protocol.objs/byte -I src/.mysql_protocol.objs/native -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-23da502d9f7a35404ba47aaa0ec40e91/target/lib/ocaml/unix -I ../_private/default/.pkg/bitstring/target/lib/bitstring -I ../_private/default/.pkg/cryptokit/target/lib/cryptokit -I ../_private/default/.pkg/num/target/lib/num -I ../_private/default/.pkg/stdlib-shims/target/lib/stdlib-shims -I ../_private/default/.pkg/zarith/target/lib/zarith -intf-suffix .ml -no-alias-deps -open Mysql_protocol -o src/.mysql_protocol.objs/native/mysql_protocol__Mp_data_binary.cmx -c -impl src/mp_data_binary.pp.ml)
File "src/mp_data_binary.ml", lines 99-268, characters 2-58:
 99 | ..match field_type with
100 |   (* /!\ : should not happen because null values are sent with the null bitfield *)
101 |   | Mp_field_packet.Field_type_null -> Mp_data.data_null
102 |   | Mp_field_packet.Field_type_longlong -> (
103 |       match%bitstring v with
...
265 |   | Mp_field_packet.Field_type_timestamp 
266 |   | Mp_field_packet.Field_type_date 
267 |   | Mp_field_packet.Field_type_time ->
268 |       data_value_to_sql_value_date_time_types field_type v
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
(Field_type_decimal|Field_type_newdate)
opam-health-check: Build failed
"/usr/bin/env" "bash" "-c" "cd $HOME && opam source mysql_protocol.3.0.3 && cd mysql_protocol.3.0.3 && for opam in *.opam; do opam show --raw ${opam%.opam} > $opam; done && python3 /tmp/opam-health-check-remove-package.py > dune-project-new && mv dune-project-new dune-project && sudo apt-get remove -y python3-sexpdata && sudo apt-get autoremove -y && opam install ./ --depext-only --with-test --with-doc && echo '(lang dune 3.17)
(lock_dir
 (repositories overlay  default))

(repository
 (name default)
 (url "file:///home/opam/opam-repository"))


' > dune-workspace && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build --profile=release || (echo "opam-health-check: Build failed" && exit 1)" failed with exit status 1
Failed: Build failed