Build:
  1. 0
2026-06-19 21:45.59: New job: build chess_com_api.1.0.1 (2448a44616ce)
2026-06-19 21:45.59: Waiting for resource in pool day11-builds
2026-06-19 21:56.39: Got resource from pool day11-builds
2026-06-19 21:56.39: [profile full] build chess_com_api.1.0.1
2026-06-19 21:56.39: build chess_com_api.1.0.1 (2448a44616ce)
=== DEPENDENCIES (76 transitive) ===
  angstrom.0.16.1                                    bd7754fc8841
  asn1-combinators.0.3.2                             f8a725fd57ea
  astring.0.8.5                                      a4f99eb8200d
  base.v0.17.3                                       c7e5188298bb
  base-bytes.base                                    38023b842165
  base-threads.base                                  b7164ff76afe
  base-unix.base                                     839dc585f12d
  base64.3.5.2                                       53d1197204e9
  bigstringaf.0.10.0                                 040f808ac005
  bos.0.3.0                                          8a27a104c706
  ca-certs.1.0.3                                     13965e35dbe3
  cmdliner.2.1.1                                     a613b65b3997
  cohttp.6.2.1                                       9e42e2bd200c
  cohttp-lwt.6.2.1                                   736129e6a17f
  cohttp-lwt-unix.6.2.1                              9ac7f4795d83
  conduit.8.0.0                                      2b6225ee62c8
  conduit-lwt.8.0.0                                  82621565c3d6
  conduit-lwt-unix.8.0.0                             570618643984
  conf-gmp.5                                         61e3c79e0ddf
  conf-gmp-powm-sec.4                                ceb17ad6499b
  conf-pkg-config.5                                  64c6b37d622b
  cppo.1.8.0                                         58ff60202126
  csexp.1.5.2                                        6a11fd34e537
  digestif.1.3.0                                     60d0324b88f4
  domain-name.0.5.0                                  291a718ce0c7
  dune.3.23.1                                        b9e31df96092
  dune-configurator.3.23.1                           cdae849f232e
  duration.0.3.1                                     b70ab2cee18c
  eqaf.0.10                                          dafd1ef4414c
  fmt.0.11.0                                         f12954c86045
  fpath.0.7.3                                        be339ea77a17
  gmap.0.3.0                                         5d1581b7a76d
  http.6.2.1                                         638baafff927
  ipaddr.5.6.2                                       ed9fed45ab0e
  ipaddr-sexp.5.6.2                                  05e9bbd77da6
  kdf.1.0.0                                          4e5edeb7fd62
  logs.0.10.0                                        a0f79bcaec70
  lwt.6.1.2                                          f9825635bd29
  lwt_ppx.6.1.0                                      b1fabd3659a0
  macaddr.5.6.2                                      1208146b6eec
  magic-mime.1.3.1                                   019bf9d0ac75
  mirage-crypto.2.1.0                                74417f66b80b
  mirage-crypto-ec.2.1.0                             c88ea3f968dc
  mirage-crypto-pk.2.1.0                             96270ef79085
  mirage-crypto-rng.2.1.0                            e430a8b8ffd6
  ocaml.5.5.0                                        7bdffd2f55d9
  ocaml-base-compiler.5.5.0                          88ac983b1a28
  ocaml-compiler.5.5.0                               8d77bbea3746
  ocaml-compiler-libs.v0.17.0                        6bb2fe976db3
  ocaml-syntax-shims.1.0.0                           183301050163
  ocaml_intrinsics_kernel.v0.17.2                    f1834f130868
  ocamlbuild.0.16.1                                  b61d8be21b8c
  ocamlfind.1.9.8                                    1872268d1aec
  ocplib-endian.1.2                                  2e63c292ed3b
  ohex.0.2.0                                         77d98e0df63a
  ounit2.2.2.7                                       df7f74ed0eed
  ppx_derivers.1.2.1                                 e49491a38353
  ppx_sexp_conv.v0.17.1                              506aaee9061f
  ppxlib.0.38.0                                      495045ef7a3c
  ppxlib_jane.v0.17.4                                fa1edbbc41e8
  ptime.1.2.0                                        501cd1c732e7
  qcheck.0.91                                        181f064e7e5e
  qcheck-core.0.91                                   0cd8340b8e1c
  qcheck-ounit.0.91                                  efb5df584b7b
  re.1.14.0                                          2d433517858b
  rresult.0.7.0                                      bcecdf850d77
  seq.base                                           0653332756aa
  sexplib0.v0.17.0                                   4906aac5ee08
  stdlib-shims.0.3.0                                 4aecff888649
  stringext.1.6.0                                    4bc113535e6e
  topkg.1.1.1                                        ecfbf436618b
  uri.4.4.0                                          5f1b97d6ac3b
  uri-sexp.4.4.0                                     9f782f7f7e0c
  x509.1.0.6                                         e8917c508d0c
  yojson.3.0.0                                       c8e1db26d309
  zarith.1.14                                        288b4b675a74
=== 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/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.
- (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.
-> 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-19 21:59.09: OK: build chess_com_api.1.0.1 (runc: 4.6s, disk: 64KB)
2026-06-19 21:59.09: Job succeeded