Building on odawa.caelum.ci.dev
(from ocaml/opam:debian-unstable)
2025-10-20 15:17.36 ---> 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-10-20 15:17.36 ---> 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 5bf570252bd9fee71938b828ca0b86573c1e3355"))
2025-10-20 15:17.36 ---> using "5d9060f4a091feeded40d31aa9202099f5985b23d65db7fc416d6b6624552bb7" 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-10-20 15:17.36 ---> using "7dfd67279a0b6c96fe3527b7ac492da4aa9f97941af43ad023e8984d8100dde1" 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-dune' '5.3.0'"))
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "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-dune)
2025-10-20 15:17.36 ---> using "6ba1779ff563f84aad6908d484bb6ae03fe7ffe694160991857360b2f3eaa64b" from cache
/: (run (network host)
(shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [207 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.2 MB]
- Fetched 10.5 MB in 4s (2740 kB/s)
- Reading package lists...
-
2025-10-20 15:17.36 ---> using "2f5f96d286f8e5dc01501845b1238607e5d9a37acd135d2ae2b154e667fe15ed" 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.20.2
The following actions will be performed:
=== install 1 package
- install dune 3.20.2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.20.2 (cached)
-> installed dune.3.20.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-20 15:17.36 ---> using "06f603b2fb01421741bd6845403aeb349b6e235f7d882db02b1c7bb9fdfa62c1" 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"))
#=#=#
####################################################### 77.0%
######################################################################## 100.0%
dune x86_64-unknown-linux-musl was installed successfully to ~/.local/bin/dune
#=#=#
##O#-#
##O=# #
0.0%
0.0%
0.1%
0.1%
0.1%
0.1%
0.2%
0.4%
0.8%
1.2%
1.3%
# 1.4%
# 1.5%
# 1.6%
# 1.8%
# 2.0%
# 2.1%
# 2.2%
# 2.3%
# 2.4%
# 2.5%
# 2.7%
# 2.8%
## 2.9%
## 2.9%
## 3.0%
## 3.1%
## 3.2%
## 3.4%
## 3.5%
## 3.6%
## 3.7%
## 3.9%
## 4.0%
## 4.1%
## 4.2%
### 4.3%
### 4.4%
### 4.5%
### 4.5%
### 4.6%
### 4.7%
### 4.7%
### 4.7%
### 4.9%
### 5.0%
### 5.1%
### 5.3%
### 5.4%
#### 5.6%
#### 6.2%
#### 6.8%
##### 7.4%
##### 8.1%
###### 9.0%
####### 9.8%
####### 10.3%
####### 10.5%
####### 10.8%
######## 11.7%
######## 12.1%
######### 12.6%
######### 12.9%
######### 13.4%
######### 13.7%
########## 14.1%
########## 14.4%
########## 14.6%
########## 15.2%
########### 16.0%
############ 16.8%
############ 17.8%
############# 18.6%
############# 18.8%
############# 19.4%
############## 19.9%
############## 20.2%
############### 21.1%
############### 21.2%
############### 21.4%
############### 21.8%
################ 22.4%
################ 22.6%
################ 23.1%
################ 23.6%
################# 24.0%
################# 24.3%
################# 24.8%
################## 25.1%
################## 25.6%
################## 25.8%
################## 26.3%
################### 26.9%
################### 27.1%
################### 27.4%
################### 27.6%
################### 27.7%
#################### 27.8%
#################### 27.9%
#################### 28.0%
#################### 28.1%
#################### 28.4%
#################### 28.8%
##################### 29.5%
##################### 30.0%
##################### 30.3%
###################### 31.3%
####################### 32.3%
######################## 33.5%
######################### 34.9%
########################## 36.3%
########################### 37.8%
############################ 39.3%
############################# 41.1%
############################## 42.8%
############################### 44.4%
################################# 46.1%
################################## 48.0%
################################### 49.6%
#################################### 51.4%
###################################### 53.3%
####################################### 55.2%
######################################## 56.8%
######################################### 58.2%
########################################### 59.8%
############################################ 61.3%
############################################# 62.6%
############################################# 63.9%
############################################## 64.7%
############################################### 65.8%
############################################### 66.2%
############################################### 66.4%
############################################### 66.6%
################################################ 66.8%
################################################ 66.9%
################################################ 67.0%
################################################ 67.1%
################################################ 67.2%
################################################ 67.2%
################################################ 67.3%
################################################ 67.3%
################################################ 67.5%
################################################ 67.8%
################################################# 68.4%
################################################# 68.9%
################################################## 69.6%
################################################## 70.4%
################################################### 71.3%
#################################################### 72.3%
#################################################### 73.5%
##################################################### 74.6%
###################################################### 75.8%
####################################################### 76.7%
####################################################### 77.5%
######################################################## 78.2%
######################################################## 79.0%
######################################################### 79.5%
######################################################### 80.2%
########################################################## 80.9%
########################################################## 81.8%
########################################################### 82.9%
############################################################ 83.9%
############################################################# 84.9%
############################################################# 85.8%
############################################################## 86.7%
############################################################### 87.6%
############################################################### 88.5%
################################################################ 89.3%
################################################################ 90.1%
################################################################# 90.8%
################################################################## 91.7%
################################################################## 92.4%
################################################################### 93.2%
################################################################### 93.9%
#################################################################### 94.5%
#################################################################### 94.7%
#################################################################### 94.9%
#################################################################### 95.0%
#################################################################### 95.1%
#################################################################### 95.1%
#################################################################### 95.2%
#################################################################### 95.3%
#################################################################### 95.5%
#################################################################### 95.8%
##################################################################### 96.1%
##################################################################### 96.5%
##################################################################### 97.1%
###################################################################### 97.9%
####################################################################### 98.8%
####################################################################### 99.7%
######################################################################## 100.0%
Revision cache was populated successfully
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-10-20 15:17.36 ---> using "d6e8a8aa6f1aaa7f42dab207addc01726271c7f23c8e6002e4b1bf2ea64105c2" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
(network host)
(shell "mkdir /tmp/sexp && cd /tmp/sexp && opam switch create ./ ocaml-base-compiler.5.2.1 --no-install && opam install -y sexp && cd -"))
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "5.2.1"}]
<><> 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-base-compiler.5.2.1 (cached)
-> installed ocaml-base-compiler.5.2.1
-> installed ocaml-config.3
-> installed ocaml.5.2.1
-> installed base-domains.base
-> installed base-nnp.base
Done.
# To update the current shell environment, run: eval $(opam env)
The following actions will be performed:
=== install 100 packages
- install angstrom 0.16.1 [required by jsonaf]
- install async v0.17.0 [required by sexp]
- install async_kernel v0.17.0 [required by async]
- install async_log v0.17.0 [required by async]
- install async_rpc_kernel v0.17.0 [required by async]
- install async_unix v0.17.0 [required by async]
- install base v0.17.3 [required by jsonaf, sexp_select]
- install base_bigstring v0.17.0 [required by core]
- install base_quickcheck v0.17.0 [required by core]
- install bigstringaf 0.10.0 [required by angstrom, faraday]
- install bin_prot v0.17.0-1 [required by core]
- install capitalization v0.17.0 [required by ppx_string_conv]
- install conf-g++ 1.0 [required by re2]
- install core v0.17.1 [required by sexp]
- install core_kernel v0.17.0 [required by sexp]
- install core_unix v0.17.1 [required by sexp]
- install csexp 1.5.2 [required by dune-configurator]
- install cstruct 6.2.0 [required by async_unix]
- install csvfields v0.17.0 [required by sexp]
- install dune 3.20.2 [required by sexp]
- install dune-configurator 3.20.2 [required by bigstringaf]
- install expect_test_helpers_core v0.17.0 [required by core_unix]
- install faraday 0.8.2 [required by jsonaf]
- install fieldslib v0.17.0 [required by core]
- install fmt 0.11.0 [required by cstruct]
- install gel v0.17.0 [required by async_rpc_kernel]
- install int_repr v0.17.0 [required by core_kernel]
- install jane-street-headers v0.17.0 [required by core]
- install jane_rope v0.17.0 [required by re2]
- install jsonaf v0.17.0 [required by sexp]
- install jst-config v0.17.0 [required by shell]
- install num 1.6 [required by csvfields]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocaml-syntax-shims 1.0.0 [required by angstrom]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install ocamlbuild 0.16.1 [required by uutf]
- install ocamlfind 1.9.8 [required by uutf]
- install parsexp v0.17.0 [required by sexplib]
- install ppx_assert v0.17.0 [required by core]
- install ppx_base v0.17.0 [required by core]
- install ppx_bench v0.17.0 [required by ppx_jane]
- install ppx_bin_prot v0.17.0 [required by ppx_jane]
- install ppx_cold v0.17.0 [required by ppx_base]
- install ppx_compare v0.17.0 [required by ppx_diff]
- install ppx_custom_printf v0.17.0 [required by ppx_jane]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_diff v0.17.0 [required by core]
- install ppx_disable_unused_warnings v0.17.0 [required by ppx_jane]
- install ppx_enumerate v0.17.0 [required by ppx_diff]
- install ppx_expect v0.17.2 [required by ppx_jane]
- install ppx_fields_conv v0.17.0 [required by ppx_jane]
- install ppx_fixed_literal v0.17.0 [required by ppx_jane]
- install ppx_globalize v0.17.0 [required by ppx_base]
- install ppx_hash v0.17.0 [required by core]
- install ppx_here v0.17.0 [required by ppx_jane]
- install ppx_ignore_instrumentation v0.17.0 [required by ppx_jane]
- install ppx_inline_test v0.17.0 [required by core]
- install ppx_jane v0.17.0 [required by sexp]
- install ppx_let v0.17.0 [required by ppx_jane]
- install ppx_log v0.17.0 [required by ppx_jane]
- install ppx_module_timer v0.17.0 [required by ppx_jane]
- install ppx_optcomp v0.17.0 [required by core_kernel, core, async_unix]
- install ppx_optional v0.17.0 [required by ppx_jane]
- install ppx_pipebang v0.17.0 [required by ppx_jane]
- install ppx_sexp_conv v0.17.0 [required by core]
- install ppx_sexp_message v0.17.0 [required by core]
- install ppx_sexp_value v0.17.0 [required by ppx_jane]
- install ppx_stable v0.17.0 [required by ppx_jane]
- install ppx_stable_witness v0.17.0 [required by ppx_jane]
- install ppx_string v0.17.0 [required by ppx_jane]
- install ppx_string_conv v0.17.0 [required by ppx_jane]
- install ppx_tydi v0.17.0 [required by ppx_jane]
- install ppx_typerep_conv v0.17.0 [required by ppx_jane]
- install ppx_variants_conv v0.17.0 [required by ppx_jane]
- install ppxlib 0.35.0 [required by ppx_diff]
- install ppxlib_jane v0.17.0 [required by ppx_diff]
- install protocol_version_header v0.17.0 [required by async_rpc_kernel]
- install re 1.14.0 [required by expect_test_helpers_core]
- install re2 v0.17.0 [required by sexp]
- install regex_parser_intf v0.17.0 [required by re2]
- install sexp v0.17.0
- install sexp_diff v0.17.0 [required by sexp]
- install sexp_macro v0.17.0 [required by sexp]
- install sexp_pretty v0.17.0 [required by sexp]
- install sexp_select v0.17.0 [required by sexp]
- install sexplib v0.17.0 [required by sexp]
- install sexplib0 v0.17.0 [required by base]
- install shell v0.17.0 [required by sexp]
- install spawn v0.17.0 [required by shell]
- install splittable_random v0.17.0 [required by core]
- install stdio v0.17.0 [required by core]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install textutils v0.17.0 [required by async, shell]
- install time_now v0.17.0 [required by core]
- install timezone v0.17.0 [required by async_log]
- install topkg 1.1.0 [required by uutf]
- install typerep v0.17.1 [required by core]
- install uopt v0.17.0 [required by core_kernel]
- install uutf 1.0.4 [required by textutils]
- install variantslib v0.17.0 [required by core]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1 (cached)
-> retrieved async.v0.17.0 (cached)
-> retrieved async_kernel.v0.17.0 (cached)
-> retrieved async_log.v0.17.0 (cached)
-> retrieved async_rpc_kernel.v0.17.0 (cached)
-> retrieved async_unix.v0.17.0 (cached)
-> retrieved base.v0.17.3 (cached)
-> retrieved base_bigstring.v0.17.0 (cached)
-> retrieved base_quickcheck.v0.17.0 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved bin_prot.v0.17.0-1 (cached)
-> retrieved capitalization.v0.17.0 (cached)
-> retrieved core.v0.17.1 (cached)
-> installed conf-g++.1.0
-> retrieved core_kernel.v0.17.0 (cached)
-> retrieved core_unix.v0.17.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0 (cached)
-> retrieved expect_test_helpers_core.v0.17.0 (cached)
-> retrieved faraday.0.8.2 (cached)
-> retrieved fieldslib.v0.17.0 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved gel.v0.17.0 (cached)
-> retrieved int_repr.v0.17.0 (cached)
-> retrieved jane-street-headers.v0.17.0 (cached)
-> retrieved jane_rope.v0.17.0 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved jst-config.v0.17.0 (cached)
-> retrieved csvfields.v0.17.0 (https://github.com/janestreet/csvfields/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved jsonaf.v0.17.0 (https://github.com/janestreet/jsonaf/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved num.1.6 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved parsexp.v0.17.0 (cached)
-> retrieved ppx_assert.v0.17.0 (cached)
-> retrieved ppx_base.v0.17.0 (cached)
-> retrieved ppx_bench.v0.17.0 (cached)
-> retrieved ppx_bin_prot.v0.17.0 (cached)
-> retrieved ppx_cold.v0.17.0 (cached)
-> retrieved ppx_compare.v0.17.0 (cached)
-> retrieved ppx_custom_printf.v0.17.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_disable_unused_warnings.v0.17.0 (cached)
-> retrieved ppx_diff.v0.17.0 (cached)
-> retrieved ppx_enumerate.v0.17.0 (cached)
-> retrieved ppx_expect.v0.17.2 (cached)
-> retrieved ppx_fields_conv.v0.17.0 (cached)
-> retrieved ppx_fixed_literal.v0.17.0 (cached)
-> retrieved ppx_globalize.v0.17.0 (cached)
-> retrieved ppx_hash.v0.17.0 (cached)
-> retrieved ppx_here.v0.17.0 (cached)
-> retrieved ppx_ignore_instrumentation.v0.17.0 (cached)
-> retrieved ppx_inline_test.v0.17.0 (cached)
-> retrieved ppx_jane.v0.17.0 (cached)
-> retrieved ppx_let.v0.17.0 (cached)
-> retrieved ppx_log.v0.17.0 (cached)
-> retrieved ppx_module_timer.v0.17.0 (cached)
-> retrieved ppx_optcomp.v0.17.0 (cached)
-> retrieved ppx_optional.v0.17.0 (cached)
-> retrieved ppx_pipebang.v0.17.0 (cached)
-> retrieved ppx_sexp_conv.v0.17.0 (cached)
-> retrieved ppx_sexp_message.v0.17.0 (cached)
-> retrieved ppx_sexp_value.v0.17.0 (cached)
-> retrieved ppx_stable.v0.17.0 (cached)
-> retrieved ppx_stable_witness.v0.17.0 (cached)
-> retrieved ppx_string.v0.17.0 (cached)
-> retrieved ppx_string_conv.v0.17.0 (cached)
-> retrieved ppx_tydi.v0.17.0 (cached)
-> retrieved ppx_typerep_conv.v0.17.0 (cached)
-> retrieved ppx_variants_conv.v0.17.0 (cached)
-> retrieved ppxlib_jane.v0.17.0 (cached)
-> retrieved protocol_version_header.v0.17.0 (cached)
-> retrieved re.1.14.0 (cached)
-> retrieved re2.v0.17.0 (cached)
-> retrieved regex_parser_intf.v0.17.0 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved sexp_diff.v0.17.0 (https://github.com/janestreet/sexp_diff/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved sexp_pretty.v0.17.0 (cached)
-> retrieved sexp.v0.17.0 (https://github.com/janestreet/sexp/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved sexplib.v0.17.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved sexp_macro.v0.17.0 (https://github.com/janestreet/sexp_macro/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved spawn.v0.17.0 (cached)
-> retrieved splittable_random.v0.17.0 (cached)
-> retrieved stdio.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved textutils.v0.17.0 (cached)
-> installed num.1.6
-> retrieved time_now.v0.17.0 (cached)
-> retrieved timezone.v0.17.0 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved typerep.v0.17.1 (cached)
-> retrieved uopt.v0.17.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved variantslib.v0.17.0 (cached)
-> retrieved sexp_select.v0.17.0 (https://github.com/janestreet/sexp_select/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved shell.v0.17.0 (https://github.com/janestreet/shell/archive/refs/tags/v0.17.0.tar.gz)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed dune.3.20.2
-> installed jane-street-headers.v0.17.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed re.1.14.0
-> installed sexplib0.v0.17.0
-> installed spawn.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed parsexp.v0.17.0
-> installed dune-configurator.3.20.2
-> installed bigstringaf.0.10.0
-> installed sexplib.v0.17.0
-> installed faraday.0.8.2
-> installed angstrom.0.16.1
-> installed base.v0.17.3
-> installed fieldslib.v0.17.0
-> installed variantslib.v0.17.0
-> installed regex_parser_intf.v0.17.0
-> installed stdio.v0.17.0
-> installed typerep.v0.17.1
-> installed ppxlib.0.35.0
-> installed ppxlib_jane.v0.17.0
-> installed ppx_optcomp.v0.17.0
-> installed ppx_tydi.v0.17.0
-> installed ppx_cold.v0.17.0
-> installed ppx_disable_unused_warnings.v0.17.0
-> installed ppx_here.v0.17.0
-> installed ppx_stable_witness.v0.17.0
-> installed ppx_typerep_conv.v0.17.0
-> installed ppx_variants_conv.v0.17.0
-> installed ppx_fields_conv.v0.17.0
-> installed ppx_stable.v0.17.0
-> installed ppx_ignore_instrumentation.v0.17.0
-> installed ppx_pipebang.v0.17.0
-> installed ppx_enumerate.v0.17.0
-> installed ppx_globalize.v0.17.0
-> installed ppx_fixed_literal.v0.17.0
-> installed ppx_compare.v0.17.0
-> installed ppx_optional.v0.17.0
-> installed ppx_sexp_conv.v0.17.0
-> installed ppx_let.v0.17.0
-> installed ppx_hash.v0.17.0
-> installed ppx_sexp_value.v0.17.0
-> installed ppx_assert.v0.17.0
-> installed ppx_sexp_message.v0.17.0
-> installed ppx_custom_printf.v0.17.0
-> installed ppx_base.v0.17.0
-> installed capitalization.v0.17.0
-> installed jst-config.v0.17.0
-> installed sexp_pretty.v0.17.0
-> installed bin_prot.v0.17.0-1
-> installed ppx_string.v0.17.0
-> installed time_now.v0.17.0
-> installed ppx_bin_prot.v0.17.0
-> installed ppx_string_conv.v0.17.0
-> installed ppx_module_timer.v0.17.0
-> installed ppx_inline_test.v0.17.0
-> installed ppx_bench.v0.17.0
-> installed ppx_expect.v0.17.2
-> installed splittable_random.v0.17.0
-> installed base_quickcheck.v0.17.0
-> installed ppx_log.v0.17.0
-> installed ppx_jane.v0.17.0
-> installed gel.v0.17.0
-> installed uopt.v0.17.0
-> installed jane_rope.v0.17.0
-> installed int_repr.v0.17.0
-> installed jsonaf.v0.17.0
-> installed base_bigstring.v0.17.0
-> installed ppx_diff.v0.17.0
-> installed core.v0.17.1
-> installed csvfields.v0.17.0
-> installed protocol_version_header.v0.17.0
-> installed sexp_diff.v0.17.0
-> installed timezone.v0.17.0
-> installed expect_test_helpers_core.v0.17.0
-> installed core_kernel.v0.17.0
-> installed sexp_select.v0.17.0
-> installed async_kernel.v0.17.0
-> installed core_unix.v0.17.1
-> installed textutils.v0.17.0
-> installed async_rpc_kernel.v0.17.0
-> installed shell.v0.17.0
-> installed async_unix.v0.17.0
-> installed async_log.v0.17.0
-> installed async.v0.17.0
-> installed sexp_macro.v0.17.0
-> installed re2.v0.17.0
-> installed sexp.v0.17.0
Done.
# To update the current shell environment, run: eval $(opam env)
/
2025-10-20 15:17.36 ---> using "ab9f08076a51aec1e8935e11ec2a804a5eb8b23e48dfa3db16c12cb1bcbc7dc3" 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:
- arch-x86_64.1
- conf-mingw-w64-gcc-i686.1
- conf-mingw-w64-gcc-x86_64.1
- flexdll.0.44
- ocaml.5.3.0
- ocaml-base-compiler.5.3.0
- ocaml-compiler.5.3.0
- ocaml-config.3
- ocaml-env-mingw32.1
- ocaml-env-mingw64.1
- system-mingw.1
Downloading ocaml-compiler.5.3.0
Building ocaml-compiler.5.3.0
Building ocaml-base-compiler.5.3.0
2025-10-20 15:17.36 ---> using "251babbeade7f62a9a538b3db400a86475f129e60601a281d0f84e14c02227d4" 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 lichess_api.1.0.1 && cd lichess_api.1.0.1 && if [ -f opam ]; then mv opam lichess_api.opam; fi && echo lichess_api >> /tmp/packages-in-repo && for opam in *.opam; do echo ${opam%.opam} >> /tmp/packages-in-repo; done && sed -n 's/(name \\(.*\\))/\\1/p' < dune-project | sed 's/^[[:blank:]]*//;s/[[:blank:]]*$//' >> /tmp/packages-in-repo && while read package ; do opam show --raw ${package}.1.0.1 > ${package}.opam; done < /tmp/packages-in-repo && opam install --dry-run --with-test ./lichess_api.opam | sed -nE 's/(.*)- install ([^[:blank:]]*)(.*)/\\2/p' > /tmp/packages-via-opam && for opam in *.opam; do rm $opam; echo ${opam%.opam} >> /tmp/packages-locally-available; done && opam show --raw lichess_api.1.0.1 > lichess_api.opam && /tmp/sexp/_opam/bin/sexp change '(try (rewrite (package @X) OPAM-HEALTH-CHECK-DROP))' < dune-project | grep -v OPAM-HEALTH-CHECK-DROP > dune-project-no-pkg && mv dune-project dune-project-pkg && mv dune-project-no-pkg dune-project && 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 && echo lichess_api >> /tmp/packages-to-build && while read package ; do if grep --quiet \"^${package}\\$\" /tmp/packages-via-opam ; then echo $package >> /tmp/packages-to-build ; fi ; done < /tmp/packages-locally-available && while read package ; do opam show --raw $package > $package.opam; done < /tmp/packages-to-build && while read package ; do if [ ! -f ${package}.opam ]; then echo \"opam-version: \\\"2.0\\\"\" > ${package}.opam; fi; done < /tmp/packages-locally-available && paste -s -d , /tmp/packages-to-build > /tmp/packages-for-dune && export DUNE_CONFIG__PORTABLE_LOCK_DIR=disabled && PATH=$HOME/.local/bin:$PATH dune pkg lock || (echo \"opam-health-check: Solve failed\" && exit 1) && PATH=$HOME/.local/bin:$PATH dune show depexts 2> /tmp/depexts-from-dune && paste -s -d \" \" /tmp/depexts-from-dune > /tmp/depexts-for-apt && sudo apt-get install -y $(cat /tmp/depexts-for-apt) && grep -v dependency_hash dune.lock/lock.dune > /tmp/lock.dune && mv /tmp/lock.dune dune.lock/lock.dune && mv dune-project-pkg dune-project && PATH=$HOME/.local/bin:$PATH dune build --release --only-packages $(cat /tmp/packages-for-dune) || (echo \"opam-health-check: Build failed\" && exit 1)"))
Successfully extracted to /home/opam/lichess_api.1.0.1
Solution for dune.lock:
- angstrom.0.16.1
- asn1-combinators.0.3.2
- astring.0.8.5
- base.v0.17.3
- base-bytes.base
- base-threads.base
- base-unix.base
- base64.3.5.2
- bigstringaf.0.10.0
- bos.0.2.1
- ca-certs.1.0.1
- cmdliner.2.0.0
- cohttp.6.1.1
- cohttp-lwt.6.1.1
- cohttp-lwt-unix.6.1.1
- conduit.8.0.0
- conduit-lwt.8.0.0
- conduit-lwt-unix.8.0.0
- conf-gmp.5
- conf-gmp-powm-sec.4
- conf-pkg-config.4
- cppo.1.8.0
- csexp.1.5.2
- digestif.1.3.0
- domain-name.0.5.0
- dune-configurator.3.20.2
- duration.0.2.1
- eqaf.0.10
- fmt.0.11.0
- fpath.0.7.3
- gmap.0.3.0
- http.6.1.1
- ipaddr.5.6.1
- ipaddr-sexp.5.6.1
- kdf.1.0.0
- logs.0.9.0
- lwt.5.9.2
- lwt_ppx.5.9.2
- macaddr.5.6.1
- magic-mime.1.3.1
- mirage-crypto.2.0.2
- mirage-crypto-ec.2.0.2
- mirage-crypto-pk.2.0.2
- mirage-crypto-rng.2.0.2
- ocaml.5.3.0
- ocaml-base-compiler.5.3.0
- ocaml-compiler.5.3.0
- ocaml-compiler-libs.v0.17.0
- ocaml-config.3
- ocaml-syntax-shims.1.0.0
- ocaml_intrinsics_kernel.v0.17.1
- ocamlbuild.0.16.1+dune
- ocamlfind.1.9.8+dune
- ocplib-endian.1.2
- ohex.0.2.0
- ounit2.2.2.7
- ppx_derivers.1.2.1
- ppx_sexp_conv.v0.17.1
- ppxlib.0.37.0
- ppxlib_jane.v0.17.4
- ptime.1.2.0
- qcheck.0.26
- qcheck-core.0.26
- qcheck-ounit.0.26
- re.1.14.0
- rresult.0.7.0
- seq.base
- sexplib0.v0.17.0
- stdlib-shims.0.3.0
- stringext.1.6.0
- topkg.1.1.0
- uri.4.4.0
- uri-sexp.4.4.0
- x509.1.0.6
- yojson.3.0.0
- zarith.1.14
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libgmpxx4ldbl libpkgconf3 pkgconf pkgconf-bin
Suggested packages:
gmp-doc libgmp10-doc libmpfr-dev
The following NEW packages will be installed:
libgmp-dev libgmpxx4ldbl libpkgconf3 pkg-config pkgconf pkgconf-bin
0 upgraded, 6 newly installed, 0 to remove and 49 not upgraded.
Need to get 1095 kB of archives.
After this operation, 2746 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian unstable/main amd64 libgmpxx4ldbl amd64 2:6.3.0+dfsg-5 [330 kB]
Get:2 http://deb.debian.org/debian unstable/main amd64 libgmp-dev amd64 2:6.3.0+dfsg-5 [658 kB]
Get:3 http://deb.debian.org/debian unstable/main amd64 libpkgconf3 amd64 1.8.1-4 [36.4 kB]
Get:4 http://deb.debian.org/debian unstable/main amd64 pkgconf-bin amd64 1.8.1-4 [30.2 kB]
Get:5 http://deb.debian.org/debian unstable/main amd64 pkgconf amd64 1.8.1-4 [26.2 kB]
Get:6 http://deb.debian.org/debian unstable/main amd64 pkg-config amd64 1.8.1-4 [14.0 kB]
Fetched 1095 kB in 0s (17.5 MB/s)
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 ... 20727 files and directories currently installed.)
Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-5_amd64.deb ...
Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-5) ...
Selecting previously unselected package libgmp-dev:amd64.
Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-5_amd64.deb ...
Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-5) ...
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) ...
Setting up libpkgconf3:amd64 (1.8.1-4) ...
Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-5) ...
Setting up pkgconf-bin (1.8.1-4) ...
Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-5) ...
Setting up pkgconf:amd64 (1.8.1-4) ...
Setting up pkg-config:amd64 (1.8.1-4) ...
Processing triggers for libc-bin (2.41-12) ...
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 yojson.3.0.0
Building yojson.3.0.0
Building base-unix.base
Building seq.base
Downloading stdlib-shims.0.3.0
Building stdlib-shims.0.3.0
Downloading qcheck-core.0.26
Downloading ounit2.2.2.7
Building qcheck-core.0.26
Building ounit2.2.2.7
Downloading qcheck-ounit.0.26
Building qcheck-ounit.0.26
Downloading qcheck.0.26
Building qcheck.0.26
Building base-threads.base
Downloading csexp.1.5.2
Building csexp.1.5.2
Downloading ocaml-compiler-libs.v0.17.0
Building ocaml-compiler-libs.v0.17.0
Downloading cppo.1.8.0
Building cppo.1.8.0
Downloading ocamlfind.1.9.8+dune
Downloading ppx_derivers.1.2.1
Downloading sexplib0.v0.17.0
Building ppx_derivers.1.2.1
Building ocamlfind.1.9.8+dune
Building sexplib0.v0.17.0
Downloading dune-configurator.3.20.2
Downloading ppxlib.0.37.0
Building ppxlib.0.37.0
Building dune-configurator.3.20.2
Building base-bytes.base
Downloading ocplib-endian.1.2
Building ocplib-endian.1.2
Downloading lwt.5.9.2
Building lwt.5.9.2
Downloading lwt_ppx.5.9.2
Building lwt_ppx.5.9.2
Building conf-pkg-config.4
Building conf-gmp.5
Downloading domain-name.0.5.0
Downloading ocaml-syntax-shims.1.0.0
Building domain-name.0.5.0
Downloading stringext.1.6.0
Building ocaml-syntax-shims.1.0.0
Downloading duration.0.2.1
Building stringext.1.6.0
Downloading base64.3.5.2
Building duration.0.2.1
Downloading macaddr.5.6.1
Building base64.3.5.2
Downloading ohex.0.2.0
Building macaddr.5.6.1
Downloading gmap.0.3.0
Building conf-gmp-powm-sec.4
Building ohex.0.2.0
Building gmap.0.3.0
Downloading bigstringaf.0.10.0
Downloading zarith.1.14
Building bigstringaf.0.10.0
Downloading cmdliner.2.0.0
Building zarith.1.14
Building cmdliner.2.0.0
Downloading ppxlib_jane.v0.17.4
Downloading ocaml_intrinsics_kernel.v0.17.1
Building ocaml_intrinsics_kernel.v0.17.1
Downloading eqaf.0.10
Building eqaf.0.10
Downloading magic-mime.1.3.1
Downloading http.6.1.1
Building magic-mime.1.3.1
Building ppxlib_jane.v0.17.4
Downloading ocamlbuild.0.16.1+dune
Building http.6.1.1
Downloading ipaddr.5.6.1
Downloading re.1.14.0
Building ipaddr.5.6.1
Building ocamlbuild.0.16.1+dune
Building re.1.14.0
Downloading base.v0.17.3
Building base.v0.17.3
Downloading angstrom.0.16.1
Building angstrom.0.16.1
Downloading mirage-crypto.2.0.2
Building mirage-crypto.2.0.2
Downloading digestif.1.3.0
Building digestif.1.3.0
Downloading uri.4.4.0
Building uri.4.4.0
Downloading kdf.1.0.0
Building kdf.1.0.0
Downloading topkg.1.1.0
Building topkg.1.1.0
Downloading ppx_sexp_conv.v0.17.1
Building ppx_sexp_conv.v0.17.1
Downloading uri-sexp.4.4.0
Downloading ipaddr-sexp.5.6.1
Building ipaddr-sexp.5.6.1
Building uri-sexp.4.4.0
Downloading rresult.0.7.0
Downloading fmt.0.11.0
Building rresult.0.7.0
Downloading ptime.1.2.0
Downloading astring.0.8.5
Building ptime.1.2.0
Building fmt.0.11.0
Building astring.0.8.5
Downloading asn1-combinators.0.3.2
Building asn1-combinators.0.3.2
Downloading logs.0.9.0
Building logs.0.9.0
Downloading fpath.0.7.3
Building fpath.0.7.3
Downloading cohttp.6.1.1
Downloading mirage-crypto-rng.2.0.2
Building mirage-crypto-rng.2.0.2
Downloading bos.0.2.1
Downloading conduit.8.0.0
Building bos.0.2.1
Building cohttp.6.1.1
Building conduit.8.0.0
Downloading mirage-crypto-pk.2.0.2
Downloading mirage-crypto-ec.2.0.2
Building mirage-crypto-pk.2.0.2
Building mirage-crypto-ec.2.0.2
Downloading conduit-lwt.8.0.0
Downloading cohttp-lwt.6.1.1
Building conduit-lwt.8.0.0
Building cohttp-lwt.6.1.1
Downloading x509.1.0.6
Building x509.1.0.6
Downloading ca-certs.1.0.1
Building ca-certs.1.0.1
Downloading conduit-lwt-unix.8.0.0
Building conduit-lwt-unix.8.0.0
Downloading cohttp-lwt-unix.6.1.1
Building cohttp-lwt-unix.6.1.1
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-25480d720eead8dc25fddbdded501496/target/bin/ocamlc.opt -w -40 -warn-error -A -g -bin-annot -bin-annot-occurrences -I lib/.lichess_api.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-25480d720eead8dc25fddbdded501496/target/lib/ocaml/threads -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-25480d720eead8dc25fddbdded501496/target/lib/ocaml/unix -I ../_private/default/.pkg/angstrom.0.16.1-70c76a1229829e1c96b1e409fc49cafd/target/lib/angstrom -I ../_private/default/.pkg/astring.0.8.5-8469346f99cb553e17c881cca2f1d631/target/lib/astring -I ../_private/default/.pkg/base64.3.5.2-fa5d844ac9242839a558db2dfde0cb9c/target/lib/base64 -I ../_private/default/.pkg/bigstringaf.0.10.0-e5d528a738a11eebf79b16a301f61ced/target/lib/bigstringaf -I ../_private/default/.pkg/cohttp-lwt-unix.6.1.1-942f583ce4b21ef5567c126ff89b6706/target/lib/cohttp-lwt-unix -I ../_private/default/.pkg/cohttp-lwt.6.1.1-298786892ad9390bc67b02daeb066c05/target/lib/cohttp-lwt -I ../_private/default/.pkg/cohttp.6.1.1-fb1b264c23a6d67ca0f4ed1b7c2fb2f6/target/lib/cohttp -I ../_private/default/.pkg/conduit-lwt-unix.8.0.0-64b5c6f925598d53fa02cc774c736629/target/lib/conduit-lwt-unix -I ../_private/default/.pkg/conduit-lwt.8.0.0-43a7ba03443108be0d575eba58920883/target/lib/conduit-lwt -I ../_private/default/.pkg/conduit.8.0.0-2c2243577f06eaf0906197359eb363ca/target/lib/conduit -I ../_private/default/.pkg/domain-name.0.5.0-d8a93ca0d65963bb27008f34592c5071/target/lib/domain-name -I ../_private/default/.pkg/fmt.0.11.0-88d02ba8b0b1f52a6d886a41de3819a6/target/lib/fmt -I ../_private/default/.pkg/http.6.1.1-4e840db8780899a8aa9e22e81a9929eb/target/lib/http -I ../_private/default/.pkg/ipaddr-sexp.5.6.1-6e1aaaca9f784a1f087e2a2f465e990c/target/lib/ipaddr-sexp -I ../_private/default/.pkg/ipaddr.5.6.1-3812d9b3c5720b28e7fa3cd604675af3/target/lib/ipaddr -I ../_private/default/.pkg/ipaddr.5.6.1-3812d9b3c5720b28e7fa3cd604675af3/target/lib/ipaddr/unix -I ../_private/default/.pkg/logs.0.9.0-beaf33755fd33bfa90cf0994bb64470b/target/lib/logs -I ../_private/default/.pkg/logs.0.9.0-beaf33755fd33bfa90cf0994bb64470b/target/lib/logs/fmt -I ../_private/default/.pkg/logs.0.9.0-beaf33755fd33bfa90cf0994bb64470b/target/lib/logs/lwt -I ../_private/default/.pkg/lwt.5.9.2-b998e32d7cd73fc5321a37ddc0678940/target/lib/lwt -I ../_private/default/.pkg/lwt.5.9.2-b998e32d7cd73fc5321a37ddc0678940/target/lib/lwt/unix -I ../_private/default/.pkg/macaddr.5.6.1-c193b6f757222ebb58a2e8f7ca73fbac/target/lib/macaddr -I ../_private/default/.pkg/magic-mime.1.3.1-fba494ab8b985c9c6bf62989b1a0a625/target/lib/magic-mime -I ../_private/default/.pkg/ocamlfind.1.9.8+dune-6858fd7f53ccd26977149ff91a54a86b/target/lib/bytes -I ../_private/default/.pkg/ocplib-endian.1.2-2c262ee6fc36ce78b42fce56a1c21867/target/lib/ocplib-endian -I ../_private/default/.pkg/ocplib-endian.1.2-2c262ee6fc36ce78b42fce56a1c21867/target/lib/ocplib-endian/bigstring -I ../_private/default/.pkg/ppx_sexp_conv.v0.17.1-7941f57dee261869ea540a7379c74136/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/re.1.14.0-8b73ddaffc4dd5bf3739f6d6fb57f778/target/lib/re -I ../_private/default/.pkg/sexplib0.v0.17.0-f0157de2c744655c846b864062134033/target/lib/sexplib0 -I ../_private/default/.pkg/stringext.1.6.0-f63c691cea206dfe395eaef0f3803607/target/lib/stringext -I ../_private/default/.pkg/uri-sexp.4.4.0-cec5460b22d474dc3f2e2cd9a3d3f239/target/lib/uri-sexp -I ../_private/default/.pkg/uri.4.4.0-e953b3331d8209b088d6bf5592826b48/target/lib/uri -I ../_private/default/.pkg/uri.4.4.0-e953b3331d8209b088d6bf5592826b48/target/lib/uri/services -I ../_private/default/.pkg/yojson.3.0.0-28dd4ab9aa727c58db36d1fac2dce995/target/lib/yojson -cmi-file lib/.lichess_api.objs/byte/lichess_api.cmi -no-alias-deps -o lib/.lichess_api.objs/byte/lichess_api.cmo -c -impl lib/lichess_api.ml)
File "lib/lichess_api.ml", lines 336-339, characters 33-29:
336 | .................................match List.assoc_opt "white" fields with
337 | | Some (`Assoc white_fields) ->
338 | match List.assoc_opt "name" white_fields with Some (`String s) -> s | _ -> "Unknown"
339 | | _ -> "Unknown"...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 340-343, characters 23-29:
340 | .......................match List.assoc_opt "black" fields with
341 | | Some (`Assoc black_fields) ->
342 | match List.assoc_opt "name" black_fields with Some (`String s) -> s | _ -> "Unknown"
343 | | _ -> "Unknown"...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 346-350, characters 40-24:
346 | ........................................match List.assoc_opt "clock" fields with
347 | | Some (`Assoc clock_fields) ->
348 | match List.assoc_opt "initial" clock_fields with Some (`Int i) -> Some (string_of_int i)
349 | | _ -> None
350 | | _ -> None...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 351-354, characters 30-24:
351 | ..............................match List.assoc_opt "white" fields with
352 | | Some (`Assoc white_fields) ->
353 | match List.assoc_opt "rating" white_fields with Some (`Int i) -> Some i | _ -> None
354 | | _ -> None...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 355-358, characters 30-24:
355 | ..............................match List.assoc_opt "black" fields with
356 | | Some (`Assoc black_fields) ->
357 | match List.assoc_opt "rating" black_fields with Some (`Int i) -> Some i | _ -> None
358 | | _ -> None...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 511-514, characters 43-23:
511 | ...........................................match List.assoc_opt "count" fields with
512 | | Some (`Assoc count_fields) ->
513 | match List.assoc_opt "all" count_fields with Some (`Int i) -> i | _ -> 0
514 | | _ -> 0...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 516-519, characters 24-23:
516 | ........................match List.assoc_opt "count" fields with
517 | | Some (`Assoc count_fields) ->
518 | match List.assoc_opt "win" count_fields with Some (`Int i) -> i | _ -> 0
519 | | _ -> 0...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 521-524, characters 26-23:
521 | ..........................match List.assoc_opt "count" fields with
522 | | Some (`Assoc count_fields) ->
523 | match List.assoc_opt "loss" count_fields with Some (`Int i) -> i | _ -> 0
524 | | _ -> 0...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 526-529, characters 25-23:
526 | .........................match List.assoc_opt "count" fields with
527 | | Some (`Assoc count_fields) ->
528 | match List.assoc_opt "draw" count_fields with Some (`Int i) -> i | _ -> 0
529 | | _ -> 0...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 535-544, characters 19-26:
535 | ...................match List.assoc_opt "classical" perfs_fields with
536 | | Some (`Assoc classical_fields) ->
537 | match List.assoc_opt "games" classical_fields with Some (`Int games) ->
538 | if games > 0 then
539 | match List.assoc_opt "rating" classical_fields with Some (`Int rating) -> rating
540 | | _ -> 1500
541 | else 1500
542 | | _ -> 1500
543 | | _ -> 1500
544 | | _ -> 1500...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 533-544, characters 46-26:
533 | ..............................................match List.assoc_opt "perfs" fields with
534 | | Some (`Assoc perfs_fields) ->
535 | match List.assoc_opt "classical" perfs_fields with
536 | | Some (`Assoc classical_fields) ->
537 | match List.assoc_opt "games" classical_fields with Some (`Int games) ->
...
541 | else 1500
542 | | _ -> 1500
543 | | _ -> 1500
544 | | _ -> 1500...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 550-556, characters 25-36:
550 | .........................match List.assoc_opt "best" classical_fields with
551 | | Some (`Assoc best_fields) ->
552 | match List.assoc_opt "rating" best_fields with Some (`Int rating) -> rating
553 | | _ -> current_rating
554 | | _ -> current_rating
555 | | _ -> current_rating
556 | | _ -> current_rating...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 548-556, characters 19-36:
548 | ...................match List.assoc_opt "classical" perfs_fields with
549 | | Some (`Assoc classical_fields) ->
550 | match List.assoc_opt "best" classical_fields with
551 | | Some (`Assoc best_fields) ->
552 | match List.assoc_opt "rating" best_fields with Some (`Int rating) -> rating
553 | | _ -> current_rating
554 | | _ -> current_rating
555 | | _ -> current_rating
556 | | _ -> current_rating...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 546-556, characters 31-36:
546 | ...............................match List.assoc_opt "perfs" fields with
547 | | Some (`Assoc perfs_fields) ->
548 | match List.assoc_opt "classical" perfs_fields with
549 | | Some (`Assoc classical_fields) ->
550 | match List.assoc_opt "best" classical_fields with
...
553 | | _ -> current_rating
554 | | _ -> current_rating
555 | | _ -> current_rating
556 | | _ -> current_rating...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", line 573, characters 4-5:
573 | | _ ->
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", lines 505-574, characters 2-21:
505 | ..match Cohttp.Response.status response with
506 | | `OK ->
507 | try
508 | let json = Yojson.Basic.from_string body_str in
509 | match json with
...
571 | | _ -> Lwt.return_none
572 | with _ -> Lwt.return_none
573 | | _ ->
574 | Lwt.return_none
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
(`Length_required|`Loop_detected|`Unprocessable_entity|`Method_not_allowed|
`Upgrade_required|`Unauthorized|`Gone|`Switch_proxy|`See_other|
`Not_acceptable|`Payment_required|`Temporary_redirect|`Not_modified|
`Permanent_redirect|`Retry_with|`Precondition_failed|`Code _|`Reset_content|
`Non_authoritative_information|`Already_reported|`Multi_status|
`Wrong_exchange_server|`Too_many_requests|`No_response|`Request_uri_too_long|
`Forbidden|`Network_authentication_required|`Created|
`Bandwidth_limit_exceeded|`Checkpoint|`Accepted|`No_content|
`Multiple_choices|`Service_unavailable|`Proxy_authentication_required|
`Client_closed_request|`Locked|`Not_extended|`Precondition_required|
`Gateway_timeout|`Requested_range_not_satisfiable|`Expectation_failed|
`Unsupported_media_type|`Request_header_fields_too_large|`Continue|
`Processing|`Partial_content|`Http_version_not_supported|`Request_timeout|
`Network_connect_timeout_error|`Request_entity_too_large|`Not_found|
`Switching_protocols|`Internal_server_error|`Bad_gateway|`Found|
`Variant_also_negotiates|`Blocked_by_windows_parental_controls|
`Enhance_your_calm|`Use_proxy|`Network_read_timeout_error|`Moved_permanently|
`Conflict|`Bad_request|`Not_implemented|`I_m_a_teapot|`Im_used|
`Insufficient_storage|`Failed_dependency)
File "lib/lichess_api.ml", line 339, characters 15-16:
339 | | _ -> "Unknown" in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 343, characters 15-16:
343 | | _ -> "Unknown" in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 350, characters 15-16:
350 | | _ -> None in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 354, characters 15-16:
354 | | _ -> None in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 358, characters 15-16:
358 | | _ -> None in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 514, characters 17-18:
514 | | _ -> 0 in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 519, characters 17-18:
519 | | _ -> 0 in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 524, characters 17-18:
524 | | _ -> 0 in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 529, characters 17-18:
529 | | _ -> 0 in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 543, characters 23-24:
543 | | _ -> 1500
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 544, characters 17-18:
544 | | _ -> 1500 in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 554, characters 29-30:
554 | | _ -> current_rating
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 555, characters 23-24:
555 | | _ -> current_rating
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 556, characters 17-18:
556 | | _ -> current_rating in
^
Warning 11 [redundant-case]: this match case is unused.
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-25480d720eead8dc25fddbdded501496/target/bin/ocamlopt.opt -w -40 -warn-error -A -g -I lib/.lichess_api.objs/byte -I lib/.lichess_api.objs/native -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-25480d720eead8dc25fddbdded501496/target/lib/ocaml/threads -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-25480d720eead8dc25fddbdded501496/target/lib/ocaml/unix -I ../_private/default/.pkg/angstrom.0.16.1-70c76a1229829e1c96b1e409fc49cafd/target/lib/angstrom -I ../_private/default/.pkg/astring.0.8.5-8469346f99cb553e17c881cca2f1d631/target/lib/astring -I ../_private/default/.pkg/base64.3.5.2-fa5d844ac9242839a558db2dfde0cb9c/target/lib/base64 -I ../_private/default/.pkg/bigstringaf.0.10.0-e5d528a738a11eebf79b16a301f61ced/target/lib/bigstringaf -I ../_private/default/.pkg/cohttp-lwt-unix.6.1.1-942f583ce4b21ef5567c126ff89b6706/target/lib/cohttp-lwt-unix -I ../_private/default/.pkg/cohttp-lwt.6.1.1-298786892ad9390bc67b02daeb066c05/target/lib/cohttp-lwt -I ../_private/default/.pkg/cohttp.6.1.1-fb1b264c23a6d67ca0f4ed1b7c2fb2f6/target/lib/cohttp -I ../_private/default/.pkg/conduit-lwt-unix.8.0.0-64b5c6f925598d53fa02cc774c736629/target/lib/conduit-lwt-unix -I ../_private/default/.pkg/conduit-lwt.8.0.0-43a7ba03443108be0d575eba58920883/target/lib/conduit-lwt -I ../_private/default/.pkg/conduit.8.0.0-2c2243577f06eaf0906197359eb363ca/target/lib/conduit -I ../_private/default/.pkg/domain-name.0.5.0-d8a93ca0d65963bb27008f34592c5071/target/lib/domain-name -I ../_private/default/.pkg/fmt.0.11.0-88d02ba8b0b1f52a6d886a41de3819a6/target/lib/fmt -I ../_private/default/.pkg/http.6.1.1-4e840db8780899a8aa9e22e81a9929eb/target/lib/http -I ../_private/default/.pkg/http.6.1.1-4e840db8780899a8aa9e22e81a9929eb/target/lib/http/__private__/http_bytebuffer -I ../_private/default/.pkg/ipaddr-sexp.5.6.1-6e1aaaca9f784a1f087e2a2f465e990c/target/lib/ipaddr-sexp -I ../_private/default/.pkg/ipaddr.5.6.1-3812d9b3c5720b28e7fa3cd604675af3/target/lib/ipaddr -I ../_private/default/.pkg/ipaddr.5.6.1-3812d9b3c5720b28e7fa3cd604675af3/target/lib/ipaddr/unix -I ../_private/default/.pkg/logs.0.9.0-beaf33755fd33bfa90cf0994bb64470b/target/lib/logs -I ../_private/default/.pkg/logs.0.9.0-beaf33755fd33bfa90cf0994bb64470b/target/lib/logs/fmt -I ../_private/default/.pkg/logs.0.9.0-beaf33755fd33bfa90cf0994bb64470b/target/lib/logs/lwt -I ../_private/default/.pkg/lwt.5.9.2-b998e32d7cd73fc5321a37ddc0678940/target/lib/lwt -I ../_private/default/.pkg/lwt.5.9.2-b998e32d7cd73fc5321a37ddc0678940/target/lib/lwt/unix -I ../_private/default/.pkg/macaddr.5.6.1-c193b6f757222ebb58a2e8f7ca73fbac/target/lib/macaddr -I ../_private/default/.pkg/magic-mime.1.3.1-fba494ab8b985c9c6bf62989b1a0a625/target/lib/magic-mime -I ../_private/default/.pkg/ocamlfind.1.9.8+dune-6858fd7f53ccd26977149ff91a54a86b/target/lib/bytes -I ../_private/default/.pkg/ocplib-endian.1.2-2c262ee6fc36ce78b42fce56a1c21867/target/lib/ocplib-endian -I ../_private/default/.pkg/ocplib-endian.1.2-2c262ee6fc36ce78b42fce56a1c21867/target/lib/ocplib-endian/bigstring -I ../_private/default/.pkg/ppx_sexp_conv.v0.17.1-7941f57dee261869ea540a7379c74136/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/re.1.14.0-8b73ddaffc4dd5bf3739f6d6fb57f778/target/lib/re -I ../_private/default/.pkg/sexplib0.v0.17.0-f0157de2c744655c846b864062134033/target/lib/sexplib0 -I ../_private/default/.pkg/stringext.1.6.0-f63c691cea206dfe395eaef0f3803607/target/lib/stringext -I ../_private/default/.pkg/uri-sexp.4.4.0-cec5460b22d474dc3f2e2cd9a3d3f239/target/lib/uri-sexp -I ../_private/default/.pkg/uri.4.4.0-e953b3331d8209b088d6bf5592826b48/target/lib/uri -I ../_private/default/.pkg/uri.4.4.0-e953b3331d8209b088d6bf5592826b48/target/lib/uri/services -I ../_private/default/.pkg/yojson.3.0.0-28dd4ab9aa727c58db36d1fac2dce995/target/lib/yojson -cmi-file lib/.lichess_api.objs/byte/lichess_api.cmi -no-alias-deps -o lib/.lichess_api.objs/native/lichess_api.cmx -c -impl lib/lichess_api.ml)
File "lib/lichess_api.ml", lines 336-339, characters 33-29:
336 | .................................match List.assoc_opt "white" fields with
337 | | Some (`Assoc white_fields) ->
338 | match List.assoc_opt "name" white_fields with Some (`String s) -> s | _ -> "Unknown"
339 | | _ -> "Unknown"...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 340-343, characters 23-29:
340 | .......................match List.assoc_opt "black" fields with
341 | | Some (`Assoc black_fields) ->
342 | match List.assoc_opt "name" black_fields with Some (`String s) -> s | _ -> "Unknown"
343 | | _ -> "Unknown"...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 346-350, characters 40-24:
346 | ........................................match List.assoc_opt "clock" fields with
347 | | Some (`Assoc clock_fields) ->
348 | match List.assoc_opt "initial" clock_fields with Some (`Int i) -> Some (string_of_int i)
349 | | _ -> None
350 | | _ -> None...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 351-354, characters 30-24:
351 | ..............................match List.assoc_opt "white" fields with
352 | | Some (`Assoc white_fields) ->
353 | match List.assoc_opt "rating" white_fields with Some (`Int i) -> Some i | _ -> None
354 | | _ -> None...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 355-358, characters 30-24:
355 | ..............................match List.assoc_opt "black" fields with
356 | | Some (`Assoc black_fields) ->
357 | match List.assoc_opt "rating" black_fields with Some (`Int i) -> Some i | _ -> None
358 | | _ -> None...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 511-514, characters 43-23:
511 | ...........................................match List.assoc_opt "count" fields with
512 | | Some (`Assoc count_fields) ->
513 | match List.assoc_opt "all" count_fields with Some (`Int i) -> i | _ -> 0
514 | | _ -> 0...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 516-519, characters 24-23:
516 | ........................match List.assoc_opt "count" fields with
517 | | Some (`Assoc count_fields) ->
518 | match List.assoc_opt "win" count_fields with Some (`Int i) -> i | _ -> 0
519 | | _ -> 0...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 521-524, characters 26-23:
521 | ..........................match List.assoc_opt "count" fields with
522 | | Some (`Assoc count_fields) ->
523 | match List.assoc_opt "loss" count_fields with Some (`Int i) -> i | _ -> 0
524 | | _ -> 0...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 526-529, characters 25-23:
526 | .........................match List.assoc_opt "count" fields with
527 | | Some (`Assoc count_fields) ->
528 | match List.assoc_opt "draw" count_fields with Some (`Int i) -> i | _ -> 0
529 | | _ -> 0...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 535-544, characters 19-26:
535 | ...................match List.assoc_opt "classical" perfs_fields with
536 | | Some (`Assoc classical_fields) ->
537 | match List.assoc_opt "games" classical_fields with Some (`Int games) ->
538 | if games > 0 then
539 | match List.assoc_opt "rating" classical_fields with Some (`Int rating) -> rating
540 | | _ -> 1500
541 | else 1500
542 | | _ -> 1500
543 | | _ -> 1500
544 | | _ -> 1500...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 533-544, characters 46-26:
533 | ..............................................match List.assoc_opt "perfs" fields with
534 | | Some (`Assoc perfs_fields) ->
535 | match List.assoc_opt "classical" perfs_fields with
536 | | Some (`Assoc classical_fields) ->
537 | match List.assoc_opt "games" classical_fields with Some (`Int games) ->
...
541 | else 1500
542 | | _ -> 1500
543 | | _ -> 1500
544 | | _ -> 1500...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 550-556, characters 25-36:
550 | .........................match List.assoc_opt "best" classical_fields with
551 | | Some (`Assoc best_fields) ->
552 | match List.assoc_opt "rating" best_fields with Some (`Int rating) -> rating
553 | | _ -> current_rating
554 | | _ -> current_rating
555 | | _ -> current_rating
556 | | _ -> current_rating...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 548-556, characters 19-36:
548 | ...................match List.assoc_opt "classical" perfs_fields with
549 | | Some (`Assoc classical_fields) ->
550 | match List.assoc_opt "best" classical_fields with
551 | | Some (`Assoc best_fields) ->
552 | match List.assoc_opt "rating" best_fields with Some (`Int rating) -> rating
553 | | _ -> current_rating
554 | | _ -> current_rating
555 | | _ -> current_rating
556 | | _ -> current_rating...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", lines 546-556, characters 31-36:
546 | ...............................match List.assoc_opt "perfs" fields with
547 | | Some (`Assoc perfs_fields) ->
548 | match List.assoc_opt "classical" perfs_fields with
549 | | Some (`Assoc classical_fields) ->
550 | match List.assoc_opt "best" classical_fields with
...
553 | | _ -> current_rating
554 | | _ -> current_rating
555 | | _ -> current_rating
556 | | _ -> current_rating...
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
Some (`Bool _|`Null|`List _|`Float _|`String _|`Int _)
File "lib/lichess_api.ml", line 573, characters 4-5:
573 | | _ ->
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", lines 505-574, characters 2-21:
505 | ..match Cohttp.Response.status response with
506 | | `OK ->
507 | try
508 | let json = Yojson.Basic.from_string body_str in
509 | match json with
...
571 | | _ -> Lwt.return_none
572 | with _ -> Lwt.return_none
573 | | _ ->
574 | Lwt.return_none
Warning 8 [partial-match]: this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
(`Length_required|`Loop_detected|`Unprocessable_entity|`Method_not_allowed|
`Upgrade_required|`Unauthorized|`Gone|`Switch_proxy|`See_other|
`Not_acceptable|`Payment_required|`Temporary_redirect|`Not_modified|
`Permanent_redirect|`Retry_with|`Precondition_failed|`Code _|`Reset_content|
`Non_authoritative_information|`Already_reported|`Multi_status|
`Wrong_exchange_server|`Too_many_requests|`No_response|`Request_uri_too_long|
`Forbidden|`Network_authentication_required|`Created|
`Bandwidth_limit_exceeded|`Checkpoint|`Accepted|`No_content|
`Multiple_choices|`Service_unavailable|`Proxy_authentication_required|
`Client_closed_request|`Locked|`Not_extended|`Precondition_required|
`Gateway_timeout|`Requested_range_not_satisfiable|`Expectation_failed|
`Unsupported_media_type|`Request_header_fields_too_large|`Continue|
`Processing|`Partial_content|`Http_version_not_supported|`Request_timeout|
`Network_connect_timeout_error|`Request_entity_too_large|`Not_found|
`Switching_protocols|`Internal_server_error|`Bad_gateway|`Found|
`Variant_also_negotiates|`Blocked_by_windows_parental_controls|
`Enhance_your_calm|`Use_proxy|`Network_read_timeout_error|`Moved_permanently|
`Conflict|`Bad_request|`Not_implemented|`I_m_a_teapot|`Im_used|
`Insufficient_storage|`Failed_dependency)
File "lib/lichess_api.ml", line 339, characters 15-16:
339 | | _ -> "Unknown" in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 343, characters 15-16:
343 | | _ -> "Unknown" in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 350, characters 15-16:
350 | | _ -> None in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 354, characters 15-16:
354 | | _ -> None in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 358, characters 15-16:
358 | | _ -> None in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 514, characters 17-18:
514 | | _ -> 0 in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 519, characters 17-18:
519 | | _ -> 0 in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 524, characters 17-18:
524 | | _ -> 0 in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 529, characters 17-18:
529 | | _ -> 0 in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 543, characters 23-24:
543 | | _ -> 1500
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 544, characters 17-18:
544 | | _ -> 1500 in
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 554, characters 29-30:
554 | | _ -> current_rating
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 555, characters 23-24:
555 | | _ -> current_rating
^
Warning 11 [redundant-case]: this match case is unused.
File "lib/lichess_api.ml", line 556, characters 17-18:
556 | | _ -> current_rating in
^
Warning 11 [redundant-case]: this match case is unused.
2025-10-20 15:20.17 ---> saved as "ae407836ed0f5ee3450cf18f6bb4270f8f7486a5737682cf704f9534b55bb333"
Job succeeded