Build:
  1. 0
2026-06-20 20:21.28: New job: build chess_com_api.1.0.1 (de6c965b9126)
2026-06-20 20:21.28: Waiting for resource in pool day11-builds
2026-06-20 20:31.14: Got resource from pool day11-builds
2026-06-20 20:31.14: [profile full] build chess_com_api.1.0.1
2026-06-20 20:31.14: build chess_com_api.1.0.1 (de6c965b9126)
=== DEPENDENCIES (77 transitive) ===
  angstrom.0.16.1                                    9dba91b01df8
  asn1-combinators.0.3.2                             48a1236afcf8
  astring.0.8.5                                      c9b7741b1ba7
  base.v0.17.3                                       ed6c283aa9a9
  base-bytes.base                                    ec2393fe4c6d
  base-threads.base                                  b7164ff76afe
  base-unix.base                                     839dc585f12d
  base64.3.5.2                                       7d4a72292fa4
  bigstringaf.0.10.0                                 ada01208baf7
  bos.0.3.0                                          ff305fb27ad4
  ca-certs.1.0.3                                     4fa3b2f4fffb
  cmdliner.2.1.1                                     c4607a09ecef
  cohttp.6.2.1                                       1b18e132ae8a
  cohttp-lwt.6.2.1                                   183617a41b05
  cohttp-lwt-unix.6.2.1                              4847b083853b
  compiler-cloning.enabled                           0d2606125f88
  conduit.8.0.0                                      e7a6e83106c1
  conduit-lwt.8.0.0                                  5b4b69a632dd
  conduit-lwt-unix.8.0.0                             0eb7f9cb88ca
  conf-gmp.5                                         61e3c79e0ddf
  conf-gmp-powm-sec.4                                ceb17ad6499b
  conf-pkg-config.5                                  64c6b37d622b
  cppo.1.8.0                                         2299340fea15
  csexp.1.5.2                                        315ecef51574
  digestif.1.3.0                                     8774fc1fcba3
  domain-name.0.5.0                                  e97e12c680b8
  dune.3.23.1                                        dbfeecb5ca10
  dune-configurator.3.23.1                           8afe79196456
  duration.0.3.1                                     5f56d26b47cd
  eqaf.0.10                                          13f4586b79bb
  fmt.0.11.0                                         1a2e11cf0823
  fpath.0.7.3                                        5652a682081f
  gmap.0.3.0                                         ef83cf55aea1
  http.6.2.1                                         a5320e20e5c0
  ipaddr.5.6.2                                       ad5d20f2f901
  ipaddr-sexp.5.6.2                                  5dccf4d61bd7
  kdf.1.0.0                                          b51831574aaa
  logs.0.10.0                                        1d85b8688805
  lwt.6.1.2                                          ed1e822009bb
  lwt_ppx.6.1.0                                      4171825824fe
  macaddr.5.6.2                                      f0cb010d836e
  magic-mime.1.3.1                                   600d31be6385
  mirage-crypto.2.1.0                                1f5372c422de
  mirage-crypto-ec.2.1.0                             c74f15dfbd82
  mirage-crypto-pk.2.1.0                             de9a62be46d0
  mirage-crypto-rng.2.1.0                            c06f112a955b
  ocaml.5.5.0                                        1b4132bddf48
  ocaml-base-compiler.5.5.0                          1901c3a760c1
  ocaml-compiler.5.5.0                               5f593a0b4a8c
  ocaml-compiler-libs.v0.17.0                        6373bfde8e91
  ocaml-syntax-shims.1.0.0                           ab53fc8c6e2d
  ocaml_intrinsics_kernel.v0.17.2                    1db91ca91065
  ocamlbuild.0.16.1                                  b485a4f69c01
  ocamlfind.1.9.8                                    5b46f9d92bbd
  ocplib-endian.1.2                                  e43423130776
  ohex.0.2.0                                         4fdfdb21b8e3
  ounit2.2.2.7                                       23962b077f73
  ppx_derivers.1.2.1                                 2a3f00c1f6d2
  ppx_sexp_conv.v0.17.1                              46278ff8ffcb
  ppxlib.0.38.0                                      c01fe47fa7a4
  ppxlib_jane.v0.17.4                                8a4c4328ddf0
  ptime.1.2.0                                        e003e9829314
  qcheck.0.91                                        aa8a4d0e052f
  qcheck-core.0.91                                   ec429e3dbb1f
  qcheck-ounit.0.91                                  8f32dc36f045
  re.1.14.0                                          a474ef408490
  rresult.0.7.0                                      673600dffe08
  seq.base                                           1fbc0454e0be
  sexplib0.v0.17.0                                   313244870034
  stdlib-shims.0.3.0                                 9047e6396dc4
  stringext.1.6.0                                    2d737b0d4e97
  topkg.1.1.1                                        8e3718e4cf5c
  uri.4.4.0                                          58822d5a1675
  uri-sexp.4.4.0                                     47ea69436bd7
  x509.1.0.6                                         dae6bb1e19e5
  yojson.3.0.0                                       32381b219f5f
  zarith.1.14                                        f91322a5735e
=== STDOUT ===
Processing: [default: loading data]
[chess_com_api.1.0.1: dl]
[chess_com_api.1.0.1: extract]
-> retrieved chess_com_api.1.0.1  (https://opam.ocaml.org/cache)
[chess_com_api: dune build]
+ /home/opam/.opam/default/bin/dune "build" "-p" "chess_com_api" "-j" "39" "@install" (CWD=/home/opam/.opam/default/.opam-switch/build/chess_com_api.1.0.1)
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -warn-error -A -g -bin-annot -bin-annot-occurrences -I lib/.chess_com_api.objs/byte -I /home/opam/.opam/default/lib/angstrom -I /home/opam/.opam/default/lib/astring -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigstringaf -I /home/opam/.opam/default/lib/bytes -I /home/opam/.opam/default/lib/cohttp -I /home/opam/.opam/default/lib/cohttp-lwt -I /home/opam/.opam/default/lib/cohttp-lwt-unix -I /home/opam/.opam/default/lib/conduit -I /home/opam/.opam/default/lib/conduit-lwt -I /home/opam/.opam/default/lib/conduit-lwt-unix -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/http -H /home/opam/.opam/default/lib/http/__private__/http_bytebuffer -H /home/opam/.opam/default/lib/http/__private__/http_bytebuffer/.public_cmi -I /home/opam/.opam/default/lib/ipaddr -I /home/opam/.opam/default/lib/ipaddr-sexp -I /home/opam/.opam/default/lib/ipaddr/unix -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/logs/fmt -I /home/opam/.opam/default/lib/logs/lwt -I /home/opam/.opam/default/lib/lwt -I /home/opam/.opam/default/lib/lwt/unix -I /home/opam/.opam/default/lib/macaddr -I /home/opam/.opam/default/lib/magic-mime -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/ocplib-endian -I /home/opam/.opam/default/lib/ocplib-endian/bigstring -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/re -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stringext -I /home/opam/.opam/default/lib/uri -I /home/opam/.opam/default/lib/uri-sexp -I /home/opam/.opam/default/lib/uri/services -I /home/opam/.opam/default/lib/yojson -cmi-file lib/.chess_com_api.objs/byte/chess_com_api.cmi -no-alias-deps -o lib/.chess_com_api.objs/byte/chess_com_api.cmo -c -impl lib/chess_com_api.ml)
- File "lib/chess_com_api.ml", line 207, characters 4-5:
- 207 |   | _ -> Lwt.return []
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 119-207, characters 2-22:
- 119 | ..match Cohttp.Response.status response with
- 120 |   | `OK ->
- 121 |       try
- 122 |         let json = Yojson.Basic.from_string body_str in
- 123 |         match json with
- ...
- 204 |             Lwt.return games
- 205 |         | _ -> Lwt.return []
- 206 |       with _ -> Lwt.return []
- 207 |   | _ -> Lwt.return []
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 304, characters 4-5:
- 304 |   | _ ->
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 221-305, characters 2-21:
- 221 | ..match Cohttp.Response.status http_response with
- 222 |   | `OK ->
- 223 |       try
- 224 |         let json = Yojson.Basic.from_string body_str in
- 225 |         match json with
- ...
- 302 |         | _ -> Lwt.return_none
- 303 |       with _ -> Lwt.return_none
- 304 |   | _ ->
- 305 |       Lwt.return_none
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 357, characters 4-5:
- 357 |   | _ -> Lwt.return_none
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 327-357, characters 2-24:
- 327 | ..match Cohttp.Response.status response with
- 328 |   | `OK ->
- 329 |       try
- 330 |         let json = Yojson.Basic.from_string body_str in
- 331 |         match json with
- ...
- 354 |             Lwt.return (Some player)
- 355 |         | _ -> Lwt.return_none
- 356 |       with _ -> Lwt.return_none
- 357 |   | _ -> Lwt.return_none
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 381, characters 4-5:
- 381 |   | _ -> Lwt.return []
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 364-381, characters 2-22:
- 364 | ..match Cohttp.Response.status response with
- 365 |   | `OK ->
- 366 |       try
- 367 |         let json = Yojson.Basic.from_string _body_str in
- 368 |         match json with
- ...
- 378 |             Lwt.return archives
- 379 |         | _ -> Lwt.return []
- 380 |       with _ -> Lwt.return []
- 381 |   | _ -> Lwt.return []
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 480, characters 4-5:
- 480 |   | _ -> Lwt.return_none
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 399-480, characters 2-24:
- 399 | ..match Cohttp.Response.status response with
- 400 |   | `OK ->
- 401 |       try
- 402 |         let json = Yojson.Basic.from_string body_str in
- 403 |         match json with
- ...
- 477 |             Lwt.return (Some game)
- 478 |         | _ -> Lwt.return_none
- 479 |       with _ -> Lwt.return_none
- 480 |   | _ -> Lwt.return_none
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 518, characters 4-5:
- 518 |   | _ -> Lwt.return []
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 487-518, characters 2-22:
- 487 | ..match Cohttp.Response.status response with
- 488 |   | `OK ->
- 489 |       try
- 490 |         let json = Yojson.Basic.from_string body_str in
- 491 |         match json with
- ...
- 515 |             Lwt.return ongoing_games
- 516 |         | _ -> Lwt.return []
- 517 |       with _ -> Lwt.return []
- 518 |   | _ -> Lwt.return []
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 625, characters 4-5:
- 625 |   | _ -> Lwt.return []
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 525-625, characters 2-22:
- 525 | ..match Cohttp.Response.status response with
- 526 |   | `OK ->
- 527 |       try
- 528 |         let json = Yojson.Basic.from_string body_str in
- 529 |         match json with
- ...
- 622 |             Lwt.return games
- 623 |         | _ -> Lwt.return []
- 624 |       with _ -> Lwt.return []
- 625 |   | _ -> Lwt.return []
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 698, characters 4-5:
- 698 |   | _ -> Lwt.return_none
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 632-698, characters 2-24:
- 632 | ..match Cohttp.Response.status response with
- 633 |   | `OK ->
- 634 |       try
- 635 |         let json = Yojson.Basic.from_string _body_str in
- 636 |         match json with
- ...
- 695 |             Lwt.return (Some stats)
- 696 |         | _ -> Lwt.return_none
- 697 |       with _ -> Lwt.return_none
- 698 |   | _ -> Lwt.return_none
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 794, characters 4-5:
- 794 |   | _ -> Lwt.return []
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 706-794, characters 2-22:
- 706 | ..match Cohttp.Response.status response with
- 707 |   | `OK ->
- 708 |       try
- 709 |         let json = Yojson.Basic.from_string _body_str in
- 710 |         match json with
- ...
- 791 |             Lwt.return games
- 792 |         | _ -> Lwt.return []
- 793 |       with _ -> Lwt.return []
- 794 |   | _ -> Lwt.return []
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 820, characters 4-5:
- 820 |   | _ -> Lwt.return_none
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 803-820, characters 2-24:
- 803 | ..match Cohttp.Response.status response with
- 804 |   | `OK ->
- 805 |       try
- 806 |         let json = Yojson.Basic.from_string _body_str in
- 807 |         match json with
- ...
- 817 |             Lwt.return (Some puzzle)
- 818 |         | _ -> Lwt.return_none
- 819 |       with _ -> Lwt.return_none
- 820 |   | _ -> Lwt.return_none
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 850, characters 4-5:
- 850 |   | _ ->
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 829-851, characters 2-19:
- 829 | ..match Cohttp.Response.status response with
- 830 |   | `OK ->
- 831 |       try
- 832 |         let json = Yojson.Basic.from_string body_str in
- 833 |         match json with
- ...
- 848 |         | _ -> Lwt.return []
- 849 |       with _ -> Lwt.return []
- 850 |   | _ ->
- 851 |       Lwt.return []
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 638, characters 16-27:
- 638 |             let chess_daily = match List.assoc_opt "chess_daily" fields with
-                       ^^^^^^^^^^^
- Warning 26 [unused-var]: unused variable chess_daily.
- 
- File "lib/chess_com_api.ml", line 650, characters 22-23:
- 650 |                     | _ -> { rating = 0; date = 0 } in
-                             ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", line 661, characters 22-23:
- 661 |                     | _ -> { rating = 0; date = 0 } in
-                             ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", line 675, characters 22-23:
- 675 |                     | _ -> { win = 0; loss = 0; draw = 0 } in
-                             ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", line 678, characters 16-17:
- 678 |               | _ -> { last = { rating = 0; date = 0 }; best = { rating = 0; date = 0 }; record = { win = 0; loss = 0; draw = 0 } } in
-                       ^
- Warning 11 [redundant-case]: this match case is unused.
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -warn-error -A -g -I lib/.chess_com_api.objs/byte -I lib/.chess_com_api.objs/native -I /home/opam/.opam/default/lib/angstrom -I /home/opam/.opam/default/lib/astring -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigstringaf -I /home/opam/.opam/default/lib/bytes -I /home/opam/.opam/default/lib/cohttp -I /home/opam/.opam/default/lib/cohttp-lwt -I /home/opam/.opam/default/lib/cohttp-lwt-unix -I /home/opam/.opam/default/lib/conduit -I /home/opam/.opam/default/lib/conduit-lwt -I /home/opam/.opam/default/lib/conduit-lwt-unix -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/http -I /home/opam/.opam/default/lib/http/__private__/http_bytebuffer -H /home/opam/.opam/default/lib/http/__private__/http_bytebuffer/.public_cmi -I /home/opam/.opam/default/lib/ipaddr -I /home/opam/.opam/default/lib/ipaddr-sexp -I /home/opam/.opam/default/lib/ipaddr/unix -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/logs/fmt -I /home/opam/.opam/default/lib/logs/lwt -I /home/opam/.opam/default/lib/lwt -I /home/opam/.opam/default/lib/lwt/unix -I /home/opam/.opam/default/lib/macaddr -I /home/opam/.opam/default/lib/magic-mime -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/ocplib-endian -I /home/opam/.opam/default/lib/ocplib-endian/bigstring -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/re -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stringext -I /home/opam/.opam/default/lib/uri -I /home/opam/.opam/default/lib/uri-sexp -I /home/opam/.opam/default/lib/uri/services -I /home/opam/.opam/default/lib/yojson -cmi-file lib/.chess_com_api.objs/byte/chess_com_api.cmi -no-alias-deps -o lib/.chess_com_api.objs/native/chess_com_api.cmx -c -impl lib/chess_com_api.ml)
- File "lib/chess_com_api.ml", line 207, characters 4-5:
- 207 |   | _ -> Lwt.return []
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 119-207, characters 2-22:
- 119 | ..match Cohttp.Response.status response with
- 120 |   | `OK ->
- 121 |       try
- 122 |         let json = Yojson.Basic.from_string body_str in
- 123 |         match json with
- ...
- 204 |             Lwt.return games
- 205 |         | _ -> Lwt.return []
- 206 |       with _ -> Lwt.return []
- 207 |   | _ -> Lwt.return []
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 304, characters 4-5:
- 304 |   | _ ->
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 221-305, characters 2-21:
- 221 | ..match Cohttp.Response.status http_response with
- 222 |   | `OK ->
- 223 |       try
- 224 |         let json = Yojson.Basic.from_string body_str in
- 225 |         match json with
- ...
- 302 |         | _ -> Lwt.return_none
- 303 |       with _ -> Lwt.return_none
- 304 |   | _ ->
- 305 |       Lwt.return_none
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 357, characters 4-5:
- 357 |   | _ -> Lwt.return_none
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 327-357, characters 2-24:
- 327 | ..match Cohttp.Response.status response with
- 328 |   | `OK ->
- 329 |       try
- 330 |         let json = Yojson.Basic.from_string body_str in
- 331 |         match json with
- ...
- 354 |             Lwt.return (Some player)
- 355 |         | _ -> Lwt.return_none
- 356 |       with _ -> Lwt.return_none
- 357 |   | _ -> Lwt.return_none
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 381, characters 4-5:
- 381 |   | _ -> Lwt.return []
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 364-381, characters 2-22:
- 364 | ..match Cohttp.Response.status response with
- 365 |   | `OK ->
- 366 |       try
- 367 |         let json = Yojson.Basic.from_string _body_str in
- 368 |         match json with
- ...
- 378 |             Lwt.return archives
- 379 |         | _ -> Lwt.return []
- 380 |       with _ -> Lwt.return []
- 381 |   | _ -> Lwt.return []
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 480, characters 4-5:
- 480 |   | _ -> Lwt.return_none
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 399-480, characters 2-24:
- 399 | ..match Cohttp.Response.status response with
- 400 |   | `OK ->
- 401 |       try
- 402 |         let json = Yojson.Basic.from_string body_str in
- 403 |         match json with
- ...
- 477 |             Lwt.return (Some game)
- 478 |         | _ -> Lwt.return_none
- 479 |       with _ -> Lwt.return_none
- 480 |   | _ -> Lwt.return_none
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 518, characters 4-5:
- 518 |   | _ -> Lwt.return []
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 487-518, characters 2-22:
- 487 | ..match Cohttp.Response.status response with
- 488 |   | `OK ->
- 489 |       try
- 490 |         let json = Yojson.Basic.from_string body_str in
- 491 |         match json with
- ...
- 515 |             Lwt.return ongoing_games
- 516 |         | _ -> Lwt.return []
- 517 |       with _ -> Lwt.return []
- 518 |   | _ -> Lwt.return []
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 625, characters 4-5:
- 625 |   | _ -> Lwt.return []
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 525-625, characters 2-22:
- 525 | ..match Cohttp.Response.status response with
- 526 |   | `OK ->
- 527 |       try
- 528 |         let json = Yojson.Basic.from_string body_str in
- 529 |         match json with
- ...
- 622 |             Lwt.return games
- 623 |         | _ -> Lwt.return []
- 624 |       with _ -> Lwt.return []
- 625 |   | _ -> Lwt.return []
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 698, characters 4-5:
- 698 |   | _ -> Lwt.return_none
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 632-698, characters 2-24:
- 632 | ..match Cohttp.Response.status response with
- 633 |   | `OK ->
- 634 |       try
- 635 |         let json = Yojson.Basic.from_string _body_str in
- 636 |         match json with
- ...
- 695 |             Lwt.return (Some stats)
- 696 |         | _ -> Lwt.return_none
- 697 |       with _ -> Lwt.return_none
- 698 |   | _ -> Lwt.return_none
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 794, characters 4-5:
- 794 |   | _ -> Lwt.return []
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 706-794, characters 2-22:
- 706 | ..match Cohttp.Response.status response with
- 707 |   | `OK ->
- 708 |       try
- 709 |         let json = Yojson.Basic.from_string _body_str in
- 710 |         match json with
- ...
- 791 |             Lwt.return games
- 792 |         | _ -> Lwt.return []
- 793 |       with _ -> Lwt.return []
- 794 |   | _ -> Lwt.return []
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 820, characters 4-5:
- 820 |   | _ -> Lwt.return_none
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 803-820, characters 2-24:
- 803 | ..match Cohttp.Response.status response with
- 804 |   | `OK ->
- 805 |       try
- 806 |         let json = Yojson.Basic.from_string _body_str in
- 807 |         match json with
- ...
- 817 |             Lwt.return (Some puzzle)
- 818 |         | _ -> Lwt.return_none
- 819 |       with _ -> Lwt.return_none
- 820 |   | _ -> Lwt.return_none
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 850, characters 4-5:
- 850 |   | _ ->
-           ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", lines 829-851, characters 2-19:
- 829 | ..match Cohttp.Response.status response with
- 830 |   | `OK ->
- 831 |       try
- 832 |         let json = Yojson.Basic.from_string body_str in
- 833 |         match json with
- ...
- 848 |         | _ -> Lwt.return []
- 849 |       with _ -> Lwt.return []
- 850 |   | _ ->
- 851 |       Lwt.return []
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
-   Here is an example of a case that is not matched:
-     (`Request_timeout|`Temporary_redirect|`Checkpoint|`Expectation_failed|
-     `Partial_content|`Client_closed_request|`Not_extended|
-     `Precondition_required|`Bandwidth_limit_exceeded|`Gone|
-     `Network_connect_timeout_error|`Code _|`Gateway_timeout|
-     `Wrong_exchange_server|`Retry_with|`Unprocessable_entity|`Accepted|
-     `Failed_dependency|`Permanent_redirect|`I_m_a_teapot|`Found|
-     `Moved_permanently|`Requested_range_not_satisfiable|`Unauthorized|
-     `Precondition_failed|`See_other|`Locked|`No_response|`Continue|
-     `Loop_detected|`Insufficient_storage|`Non_authoritative_information|
-     `Too_many_requests|`Request_entity_too_large|`Multiple_choices|
-     `Method_not_allowed|`Proxy_authentication_required|
-     `Network_authentication_required|`Conflict|`Network_read_timeout_error|
-     `Bad_request|`Not_acceptable|`Switch_proxy|`Length_required|
-     `Reset_content|`Im_used|`Already_reported|`Not_found|`Not_modified|
-     `Use_proxy|`Forbidden|`Unsupported_media_type|`Not_implemented|
-     `No_content|`Created|`Variant_also_negotiates|`Payment_required|
-     `Internal_server_error|`Service_unavailable|`Enhance_your_calm|
-     `Processing|`Upgrade_required|`Multi_status|`Bad_gateway|
-     `Http_version_not_supported|`Switching_protocols|`Request_uri_too_long|
-     `Blocked_by_windows_parental_controls|`Request_header_fields_too_large)
- 
- File "lib/chess_com_api.ml", line 638, characters 16-27:
- 638 |             let chess_daily = match List.assoc_opt "chess_daily" fields with
-                       ^^^^^^^^^^^
- Warning 26 [unused-var]: unused variable chess_daily.
- 
- File "lib/chess_com_api.ml", line 650, characters 22-23:
- 650 |                     | _ -> { rating = 0; date = 0 } in
-                             ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", line 661, characters 22-23:
- 661 |                     | _ -> { rating = 0; date = 0 } in
-                             ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", line 675, characters 22-23:
- 675 |                     | _ -> { win = 0; loss = 0; draw = 0 } in
-                             ^
- Warning 11 [redundant-case]: this match case is unused.
- 
- File "lib/chess_com_api.ml", line 678, characters 16-17:
- 678 |               | _ -> { last = { rating = 0; date = 0 }; best = { rating = 0; date = 0 }; record = { win = 0; loss = 0; draw = 0 } } in
-                       ^
- Warning 11 [redundant-case]: this match case is unused.
-> compiled  chess_com_api.1.0.1
-> installed chess_com_api.1.0.1
[WARNING] Opam package conf-pkg-config.5 depends on the following system package that can no longer be found: pkg-config

=== STDERR ===

2026-06-20 20:31.54: OK: build chess_com_api.1.0.1 (runc: 3.6s, disk: 64KB)
2026-06-20 20:31.54: Job succeeded