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


Building on doris.caelum.ci.dev

(from ocaml/opam:debian-unstable)
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
7d65c3263564: Pulling fs layer
7d65c3263564: Verifying Checksum
7d65c3263564: Download complete
7d65c3263564: Pull complete
Digest: sha256:742be348c7717a09251c7326d0807ab1d17894caa77187ee3960026925debb21
Status: Downloaded newer image for ocaml/opam:debian-unstable
2024-05-01 08:05.10 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache

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

/: (env OPAMPRECISETRACKING 1)

/: (env OPAMUTF8 never)

/: (env OPAMEXTERNALSOLVER builtin-0install)

/: (env OPAMCRITERIA +removed)

/: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-05-01 08:05.10 ---> using "65c3237f501f7c75f3828458ecf2342bc41c98aaef8c6a7fd82bf46a58cb258c" from cache

/: (run (network host)
        (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 784f6c3aecb7d11609be51cc2e4a70a55abd2ddc"))
2024-05-01 08:05.10 ---> using "ab4752ec45f434bd31352caf567b49b876e433e96bd581f1632330cd2cbeaf1f" from cache

/: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.


<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised

User configuration:
  ~/.profile is already up-to-date.
[NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.

2024-05-01 08:05.10 ---> using "2ddb880cde074ccead15005b5d2c67e65df42d2504e6684f08378272ffa33857" from cache

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

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-base-compiler.4.14.1  (cached)
-> installed ocaml-base-compiler.4.14.1
-> installed ocaml-config.2
-> installed ocaml.4.14.1
Done.
# Run eval $(opam env --switch=4.14) to update the current shell environment
2024-05-01 08:05.10 ---> using "a3751be5f96e0647b8d5df0bee02962c32622b702b6ad1bf6c10556d32ed6c14" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [198 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-04-30-1407.27-F-2024-04-25-1406.51.pdiff [623 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-04-30-1407.27-F-2024-04-25-1406.51.pdiff [623 kB]
- Fetched 885 kB in 2s (573 kB/s)
- Reading package lists...
- 
2024-05-01 08:05.10 ---> using "eb826eac93dc8904b06a97698fc7cf51ed4e50f1c5338ffc0e181338362b0c6d" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell  "\
               \nopam remove -y \"freetds.0.7\"\
               \nopam install -vy \"freetds.0.7\"\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: \"freetds.0.7\" | grep -q '\"debian-unstable\"'; then\
               \n        echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\
               \n        exit 69\
               \n    fi\
               \nfi\
               \n\
               \n\
               \nexit $res\
               \n"))
[NOTE] freetds.0.7 is not installed.

Nothing to do.
The following actions will be performed:
=== install 5 packages
  - install cppo              1.6.9  [required by freetds]
  - install csexp             1.5.2  [required by dune-configurator]
  - install dune              3.15.2 [required by freetds]
  - install dune-configurator 3.15.2 [required by freetds]
  - install freetds           0.7

The following system packages will first need to be installed:
    freetds-dev

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

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "freetds-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package freetds-common.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 19394 files and directories currently installed.)
- Preparing to unpack .../freetds-common_1.3.17+ds-2_all.deb ...
- Unpacking freetds-common (1.3.17+ds-2) ...
- Selecting previously unselected package libct4:amd64.
- Preparing to unpack .../libct4_1.3.17+ds-2+b3_amd64.deb ...
- Unpacking libct4:amd64 (1.3.17+ds-2+b3) ...
- Selecting previously unselected package libsybdb5:amd64.
- Preparing to unpack .../libsybdb5_1.3.17+ds-2+b3_amd64.deb ...
- Unpacking libsybdb5:amd64 (1.3.17+ds-2+b3) ...
- Selecting previously unselected package freetds-dev.
- Preparing to unpack .../freetds-dev_1.3.17+ds-2+b3_amd64.deb ...
- Unpacking freetds-dev (1.3.17+ds-2+b3) ...
- Selecting previously unselected package freetds-doc.
- Preparing to unpack .../freetds-doc_1.3.17+ds-2_all.deb ...
- Unpacking freetds-doc (1.3.17+ds-2) ...
- Setting up freetds-doc (1.3.17+ds-2) ...
- Setting up freetds-common (1.3.17+ds-2) ...
- Setting up libsybdb5:amd64 (1.3.17+ds-2+b3) ...
- Setting up libct4:amd64 (1.3.17+ds-2+b3) ...
- Setting up freetds-dev (1.3.17+ds-2+b3) ...
- Processing triggers for libc-bin (2.37-18) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/14:
Processing  2/14:
Processing  3/14:
-> retrieved cppo.1.6.9  (cached)
Processing  4/14:
-> retrieved csexp.1.5.2  (cached)
-> retrieved freetds.0.7  (cached)
-> retrieved dune.3.15.2, dune-configurator.3.15.2  (cached)
Processing  5/14: [dune: ocaml 255]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "255" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune.3.15.2)
- ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml
- ./.duneboot.exe -j 255
- cd _boot && /home/opam/.opam/4.14/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +threads opamLocal.ml
- File "vendor/opam/src/repository/opamLocal.ml", lines 109-114, characters 46-34:
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- File "vendor/opam/src/repository/opamLocal.ml", lines 170-189, characters 44-56:
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- File "vendor/opam/src/repository/opamLocal.ml", lines 209-231, characters 8-44:
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- cd _boot && /home/opam/.opam/4.14/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +threads opamVCS.ml
- File "vendor/opam/src/repository/opamVCS.ml", lines 179-182, characters 11-40:
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- cd _boot && /home/opam/.opam/4.14/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +threads opamDownload.ml
- File "vendor/opam/src/repository/opamDownload.ml", lines 323-361, characters 42-41:
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- cd _boot && /home/opam/.opam/4.14/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +threads opamRepository.ml
- File "vendor/opam/src/repository/opamRepository.ml", lines 88-90, characters 45-77:
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- File "vendor/opam/src/repository/opamRepository.ml", lines 277-281, characters 38-17:
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- File "vendor/opam/src/repository/opamRepository.ml", lines 423-427, characters 12-42:
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- (_, Checksum_mismatch _)
- 

Processing  5/14: [dune: ./_boot/dune.exe build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./_boot/dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "255" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune.3.15.2)
-> compiled  dune.3.15.2
-> installed dune.3.15.2
Processing  7/14: [cppo: dune build]
Processing  8/14: [cppo: dune build] [csexp: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "255" "@install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/csexp.1.5.2)
-> compiled  csexp.1.5.2
Processing  8/14: [cppo: dune build]
-> installed csexp.1.5.2
Processing  9/14: [cppo: dune build]
Processing 10/14: [cppo: dune build] [dune-configurator: rm]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cppo" "-j" "255" (CWD=/home/opam/.opam/4.14/.opam-switch/build/cppo.1.6.9)
-> compiled  cppo.1.6.9
Processing 10/14: [dune-configurator: rm]
-> installed cppo.1.6.9
Processing 11/14: [dune-configurator: rm]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/csexp" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune-configurator.3.15.2)
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/pp" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune-configurator.3.15.2)
Processing 11/14: [dune-configurator: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "255" "@install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune-configurator.3.15.2)
-> compiled  dune-configurator.3.15.2
-> installed dune-configurator.3.15.2
Processing 13/14: [freetds: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "freetds" "-j" "255" (CWD=/home/opam/.opam/4.14/.opam-switch/build/freetds.0.7)
- (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/4.14/lib/ocaml -o ct_c.o -c ct_c.c)
- ct_c.c: In function 'retval_inspect':
- ct_c.c:76:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-    76 |         failwith(whichfunc);
-       |             ^~~~~~~~~~~~~~~~                                           
- ct_c.c:81:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-    81 |       failwith("Internal error - CS_NOMSG returned (This should never be possible)");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:85:13: warning: "raise_constant" is deprecated: use "caml_raise_constant" instead
-    85 |         raise_constant(*caml_named_value("cs_end_results"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                       
- ct_c.c:87:13: warning: "raise_constant" is deprecated: use "caml_raise_constant" instead
-    87 |         raise_constant(*caml_named_value("cs_end_data"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                          
- ct_c.c:89:13: warning: "raise_constant" is deprecated: use "caml_raise_constant" instead
-    89 |         raise_constant(*caml_named_value("cs_cancelled"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                         
- ct_c.c: In function 'conprop_of_value':
- ct_c.c:103:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   103 |     if (field == hash_variant("Username"))      CAMLreturn(CS_USERNAME);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       
- ct_c.c:104:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   104 |     else if (field == hash_variant("Password")) CAMLreturn(CS_PASSWORD);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       
- ct_c.c: In function 'cmdtype_of_value':
- ct_c.c:112:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   112 |     if ( cmdtype == hash_variant("Lang") )
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                     
- ct_c.c: In function 'datatype_of_value':
- ct_c.c:122:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   122 |     if ( datatype == hash_variant("Char") )             CAMLreturn(CS_CHAR_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:123:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   123 |     else if ( datatype == hash_variant("Int") )         CAMLreturn(CS_INT_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:124:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   124 |     else if ( datatype == hash_variant("SmallInt") )    CAMLreturn(CS_SMALLINT_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:125:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   125 |     else if ( datatype == hash_variant("TinyInt") )     CAMLreturn(CS_TINYINT_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:126:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   126 |     else if ( datatype == hash_variant("Money") )       CAMLreturn(CS_MONEY_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:127:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   127 |     else if ( datatype == hash_variant("DateTime") )    CAMLreturn(CS_DATETIME_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:128:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   128 |     else if ( datatype == hash_variant("Numeric") )     CAMLreturn(CS_NUMERIC_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:129:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   129 |     else if ( datatype == hash_variant("Decimal") )     CAMLreturn(CS_DECIMAL_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:130:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   130 |     else if ( datatype == hash_variant("DateTime4") )   CAMLreturn(CS_DATETIME4_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:131:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   131 |     else if ( datatype == hash_variant("Money4") )      CAMLreturn(CS_MONEY4_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:132:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   132 |     else if ( datatype == hash_variant("Image") )       CAMLreturn(CS_IMAGE_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:133:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   133 |     else if ( datatype == hash_variant("Binary") )      CAMLreturn(CS_BINARY_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:134:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   134 |     else if ( datatype == hash_variant("Bit") )         CAMLreturn(CS_BIT_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:135:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   135 |     else if ( datatype == hash_variant("Real") )        CAMLreturn(CS_REAL_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:136:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   136 |     else if ( datatype == hash_variant("Float") )       CAMLreturn(CS_FLOAT_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:137:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   137 |     else if ( datatype == hash_variant("Text") )        CAMLreturn(CS_TEXT_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:138:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   138 |     else if ( datatype == hash_variant("VarChar") )     CAMLreturn(CS_VARCHAR_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:139:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   139 |     else if ( datatype == hash_variant("VarBinary") )   CAMLreturn(CS_VARBINARY_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:140:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   140 |     else if ( datatype == hash_variant("LongChar") )    CAMLreturn(CS_LONGCHAR_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:141:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   141 |     else if ( datatype == hash_variant("LongBinary") )  CAMLreturn(CS_LONGBINARY_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:142:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   142 |     else if ( datatype == hash_variant("Long") )        CAMLreturn(CS_LONG_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:143:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   143 |     else if ( datatype == hash_variant("Illegal") )     CAMLreturn(CS_ILLEGAL_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:144:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   144 |     else if ( datatype == hash_variant("Sensitivity") ) CAMLreturn(CS_SENSITIVITY_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:145:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   145 |     else if ( datatype == hash_variant("Boundary") )    CAMLreturn(CS_BOUNDARY_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:146:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   146 |     else if ( datatype == hash_variant("Void") )        CAMLreturn(CS_VOID_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:147:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   147 |     else if ( datatype == hash_variant("UShort") )      CAMLreturn(CS_USHORT_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:151:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   151 |     else if ( datatype == hash_variant("Unique") )      CAMLreturn(CS_UNIQUE_TYPE);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c: In function 'value_of_indicator':
- ct_c.c:163:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   163 |         CAMLreturn(hash_variant("NullData"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  
- ct_c.c:166:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   166 |         CAMLreturn(hash_variant("GoodData"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  
- ct_c.c: In function 'value_of_datatype':
- ct_c.c:176:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   176 |     case CS_CHAR_TYPE:        CAMLreturn(hash_variant("Char"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                
- ct_c.c:177:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   177 |     case CS_INT_TYPE:         CAMLreturn(hash_variant("Int"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                 
- ct_c.c:178:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   178 |     case CS_SMALLINT_TYPE:    CAMLreturn(hash_variant("SmallInt"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            
- ct_c.c:179:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   179 |     case CS_TINYINT_TYPE:     CAMLreturn(hash_variant("TinyInt"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
- ct_c.c:180:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   180 |     case CS_MONEY_TYPE:       CAMLreturn(hash_variant("Money"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~               
- ct_c.c:181:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   181 |     case CS_DATETIME_TYPE:    CAMLreturn(hash_variant("DateTime"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            
- ct_c.c:182:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   182 |     case CS_NUMERIC_TYPE:     CAMLreturn(hash_variant("Numeric"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
- ct_c.c:183:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   183 |     case CS_DECIMAL_TYPE:     CAMLreturn(hash_variant("Decimal"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
- ct_c.c:184:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   184 |     case CS_DATETIME4_TYPE:   CAMLreturn(hash_variant("DateTime4"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~           
- ct_c.c:185:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   185 |     case CS_MONEY4_TYPE:      CAMLreturn(hash_variant("Money4"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              
- ct_c.c:186:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   186 |     case CS_IMAGE_TYPE:       CAMLreturn(hash_variant("Image"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~               
- ct_c.c:187:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   187 |     case CS_BINARY_TYPE:      CAMLreturn(hash_variant("Binary"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              
- ct_c.c:188:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   188 |     case CS_BIT_TYPE:         CAMLreturn(hash_variant("Bit"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                 
- ct_c.c:189:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   189 |     case CS_REAL_TYPE:        CAMLreturn(hash_variant("Real"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                
- ct_c.c:190:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   190 |     case CS_FLOAT_TYPE:       CAMLreturn(hash_variant("Float"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~               
- ct_c.c:191:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   191 |     case CS_TEXT_TYPE:        CAMLreturn(hash_variant("Text"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                
- ct_c.c:192:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   192 |     case CS_VARCHAR_TYPE:     CAMLreturn(hash_variant("VarChar"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
- ct_c.c:193:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   193 |     case CS_VARBINARY_TYPE:   CAMLreturn(hash_variant("VarBinary"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~           
- ct_c.c:194:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   194 |     case CS_LONGCHAR_TYPE:    CAMLreturn(hash_variant("LongChar"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            
- ct_c.c:195:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   195 |     case CS_LONGBINARY_TYPE:  CAMLreturn(hash_variant("LongBinary"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~          
- ct_c.c:196:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   196 |     case CS_LONG_TYPE:        CAMLreturn(hash_variant("Long"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                
- ct_c.c:197:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   197 |     case CS_ILLEGAL_TYPE:     CAMLreturn(hash_variant("Illegal"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
- ct_c.c:198:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   198 |     case CS_SENSITIVITY_TYPE: CAMLreturn(hash_variant("Sensitivity"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~         
- ct_c.c:199:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   199 |     case CS_BOUNDARY_TYPE:    CAMLreturn(hash_variant("Boundary"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            
- ct_c.c:200:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   200 |     case CS_VOID_TYPE:        CAMLreturn(hash_variant("Void"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                
- ct_c.c:201:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   201 |     case CS_USHORT_TYPE:      CAMLreturn(hash_variant("UShort"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              
- ct_c.c:205:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   205 |     case CS_UNIQUE_TYPE:      CAMLreturn(hash_variant("Unique"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              
- ct_c.c:208:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   208 |     CAMLreturn(hash_variant("Illegal"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~                                       
- ct_c.c: In function 'value_of_restype':
- ct_c.c:230:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   230 |         CAMLreturn( hash_variant("Row") );
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                     
- ct_c.c:233:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   233 |         CAMLreturn( hash_variant("Param") );
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                   
- ct_c.c:236:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   236 |         CAMLreturn( hash_variant("Status") );
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  
- ct_c.c:239:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   239 |         CAMLreturn( hash_variant("Cmd_done") );
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                
- ct_c.c:242:13: warning: "raise_constant" is deprecated: use "caml_raise_constant" instead
-   242 |         raise_constant(*caml_named_value("cs_cmd_fail"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                          
- ct_c.c:244:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   244 |     CAMLreturn(hash_variant("Cmd_succeed"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                   
- ct_c.c: In function 'resinfo_type_of_value':
- ct_c.c:251:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   251 |     if ( resinfo == hash_variant("Row_count") )
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                
- ct_c.c:253:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   253 |     else if ( resinfo == hash_variant("Cmd_number") )
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                          
- ct_c.c: In function 'cons':
- ct_c.c:265:13: warning: "alloc" is deprecated: use "caml_alloc" instead
-   265 |     result = alloc(2, Tag_cons);
-       |             ^~~~~~~~~~~~~~~~~~~~                                 
- ct_c.c: In function 'value_of_status_bitmask':
- ct_c.c:323:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   323 |         result = cons(hash_variant("CanBeNull"), result);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                      
- ct_c.c:326:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   326 |         result = cons(hash_variant("NoData"), result);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                         
- ct_c.c:329:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   329 |         result = cons(hash_variant("Identity"), result);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                       
- ct_c.c:332:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   332 |         result = cons(hash_variant("Return"), result);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                         
- ct_c.c: In function 'status_of_value':
- ct_c.c:347:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   347 |         if ( stat == hash_variant("CanBeNull") )
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                               
- ct_c.c:349:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   349 |         else if ( stat == hash_variant("NoData") )
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
- ct_c.c:351:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   351 |         else if ( stat == hash_variant("Identity") )
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                           
- ct_c.c:353:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   353 |         else if ( stat == hash_variant("Return") )
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
- ct_c.c: In function 'column_of_buffer':
- ct_c.c:371:13: warning: "alloc_custom" is deprecated: use "caml_alloc_custom" instead
-   371 |     buffer = alloc_custom(&binding_buffer_operations,
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                          
- ct_c.c:375:13: warning: "alloc" is deprecated: use "caml_alloc" instead
-   375 |     result = alloc(COL_SIZE, 0);
-       |             ^~~~~~~~~~~~~~~~~~~~                                 
- ct_c.c:376:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead
-   376 |     Store_field(result, COL_NAME, copy_string(buf->fmt.name));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~               
- ct_c.c: In function 'mltds_cs_ctx_create':
- ct_c.c:397:13: warning: "alloc_custom" is deprecated: use "caml_alloc_custom" instead
-   397 |     result = alloc_custom(&context_operations, sizeof(CS_CONTEXT*), 0, 1);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     
- ct_c.c: In function 'mltds_ct_con_alloc':
- ct_c.c:414:13: warning: "alloc_custom" is deprecated: use "caml_alloc_custom" instead
-   414 |     result = alloc_custom(&connection_operations, sizeof(CS_CONNECTION*), 0, 1);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c: In function 'mltds_ct_cmd_alloc':
- ct_c.c:429:13: warning: "alloc_custom" is deprecated: use "caml_alloc_custom" instead
-   429 |     result = alloc_custom(&command_operations, sizeof(CS_COMMAND*), 0, 1);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     
- ct_c.c: In function 'mltds_ct_con_setstring':
- ct_c.c:447:13: warning: "string_length" is deprecated: use "caml_string_length" instead
-   447 |                                  string_length(newval),
-       |             ^                    ~~~~~~~~~~~~~~~~~~~~~~                          
- In file included from /home/opam/.opam/4.14/lib/ocaml/caml/alloc.h:24,
-                  from ct_c.c:28:
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 4 of 'ct_con_props' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:446:34: note: in expansion of macro 'String_val'
-   446 |                                  String_val(newval),
-       |                                  ^~~~~~~~~~
- In file included from ct_c.c:24:
- /usr/include/ctpublic.h:98:88: note: expected 'CS_VOID *' {aka 'void *'} but argument is of type 'const char *'
-    98 | CS_RETCODE ct_con_props(CS_CONNECTION * con, CS_INT action, CS_INT property, CS_VOID * buffer, CS_INT buflen, CS_INT * out_len);
-       |                                                                              ~~~~~~~~~~^~~~~~
- ct_c.c: In function 'mltds_ct_connect':
- ct_c.c:460:13: warning: "string_length" is deprecated: use "caml_string_length" instead
-   460 |                                string_length(servername)));
-       |             ^                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~                      
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'ct_connect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:459:32: note: in expansion of macro 'String_val'
-   459 |                                String_val(servername),
-       |                                ^~~~~~~~~~
- /usr/include/ctpublic.h:99:54: note: expected 'CS_CHAR *' {aka 'char *'} but argument is of type 'const char *'
-    99 | CS_RETCODE ct_connect(CS_CONNECTION * con, CS_CHAR * servername, CS_INT snamelen);
-       |                                            ~~~~~~~~~~^~~~~~~~~~
- ct_c.c: In function 'mltds_ct_command':
- ct_c.c:475:13: warning: "string_length" is deprecated: use "caml_string_length" instead
-   475 |                                string_length(text),
-       |             ^                  ~~~~~~~~~~~~~~~~~~~~                              
- ct_c.c: In function 'mltds_buffer_contents':
- ct_c.c:592:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   592 |         CAMLreturn(hash_variant("Null"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                      
- ct_c.c:601:13: warning: "alloc" is deprecated: use "caml_alloc" instead
-   601 |         result = alloc(2, 0);
-       |             ^~~~~~~~~~~~~~~~~                                    
- ct_c.c:602:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   602 |         Store_field(result, 0, hash_variant("Bit"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                           
- ct_c.c:607:13: warning: "alloc" is deprecated: use "caml_alloc" instead
-   607 |         result = alloc(2, 0);
-       |             ^~~~~~~~~~~~~~~~~                                    
- ct_c.c:608:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   608 |         Store_field(result, 0, hash_variant("Tinyint"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                       
- ct_c.c:613:13: warning: "alloc" is deprecated: use "caml_alloc" instead
-   613 |         result = alloc(2, 0);
-       |             ^~~~~~~~~~~~~~~~~                                    
- ct_c.c:614:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   614 |         Store_field(result, 0, hash_variant("Smallint"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                      
- ct_c.c:619:13: warning: "alloc" is deprecated: use "caml_alloc" instead
-   619 |         result = alloc(2, 0);
-       |             ^~~~~~~~~~~~~~~~~                                    
- ct_c.c:620:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   620 |         Store_field(result, 0, hash_variant("Int"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                           
- ct_c.c:621:13: warning: "copy_int32" is deprecated: use "caml_copy_int32" instead
-   621 |         Store_field(result, 1, copy_int32((int) BUFFER_CONTENTS(buf, CS_INT)));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:626:13: warning: "alloc" is deprecated: use "caml_alloc" instead
-   626 |         result = alloc(2, 0);
-       |             ^~~~~~~~~~~~~~~~~                                    
- ct_c.c:627:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   627 |         Store_field(result, 0, hash_variant("Float"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                         
- ct_c.c:628:13: warning: "copy_double" is deprecated: use "caml_copy_double" instead
-   628 |         Store_field(result, 1, copy_double((double) BUFFER_CONTENTS(buf, CS_FLOAT)));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ct_c.c:645:13: warning: "alloc" is deprecated: use "caml_alloc" instead
-   645 |             result = alloc(2, 0);
-       |             ^~~~~~~~~~~~~~~~~~~~~                                
- ct_c.c:646:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   646 |             Store_field(result, 0, hash_variant("Decimal"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                   
- ct_c.c:656:13: warning: "alloc" is deprecated: use "caml_alloc" instead
-   656 |             result = alloc(2, 0);
-       |             ^~~~~~~~~~~~~~~~~~~~~                                
- ct_c.c:657:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   657 |             Store_field(result, 0, hash_variant("String"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                    
- ct_c.c:676:13: warning: "alloc" is deprecated: use "caml_alloc" instead
-   676 |         result = alloc(2, 0);
-       |             ^~~~~~~~~~~~~~~~~                                    
- ct_c.c:677:13: warning: "hash_variant" is deprecated: use "caml_hash_variant" instead
-   677 |         Store_field(result, 0, hash_variant("Binary"));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                        
- ct_c.c: In function 'get_client_message':
- ct_c.c:743:13: warning: "alloc" is deprecated: use "caml_alloc" instead
-   743 |     result = alloc(2, 0);
-       |             ^~~~~~~~~~~~~                                        
- ct_c.c: In function 'get_server_message':
- ct_c.c:761:13: warning: "alloc" is deprecated: use "caml_alloc" instead
-   761 |     result = alloc(2, 0);
-       |             ^~~~~~~~~~~~~                                        
- (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/4.14/lib/ocaml -o dblib_stubs.o -c dblib_stubs.c)
- dblib_stubs.c: In function 'make_dblib_error':
- dblib_stubs.c:145:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   145 |     exn = caml_named_value("Freetds.Dblib.Error");
-       |         ^
- dblib_stubs.c: In function 'msg_handler':
- dblib_stubs.c:192:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   192 |     handler = caml_named_value("Freetds.Dblib.msg_handler");
-       |             ^
- dblib_stubs.c: In function 'err_handler':
- dblib_stubs.c:239:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   239 |     handler = caml_named_value("Freetds.Dblib.err_handler");
-       |             ^
- dblib_stubs.c: In function 'ocaml_freetds_dbopen':
- dblib_stubs.c:396:13: warning: "alloc_custom" is deprecated: use "caml_alloc_custom" instead
-   396 |   vdbproc = DBPROCESS_ALLOC();
-       |             ^~~~~~~~~~~~~~~~~~                                                 
- In file included from dblib_stubs.c:28:
- dblib_stubs.c: In function 'ocaml_freetds_get_data':
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memmove' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- dblib_stubs.c:675:11: note: in expansion of macro 'String_val'
-   675 |   memmove(String_val(res), s, len_bytes);
-       |           ^~~~~~~~~~
- dblib_stubs.c:713:5: note: in expansion of macro 'COPY_STRING'
-   713 |     COPY_STRING(vres, data, len);
-       |     ^~~~~~~~~~~
- In file included from dblib_stubs.c:25:
- /usr/include/string.h:47:29: note: expected 'void *' but argument is of type 'const char *'
-    47 | extern void *memmove (void *__dest, const void *__src, size_t __n)
-       |                       ~~~~~~^~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memmove' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- dblib_stubs.c:675:11: note: in expansion of macro 'String_val'
-   675 |   memmove(String_val(res), s, len_bytes);
-       |           ^~~~~~~~~~
- dblib_stubs.c:719:5: note: in expansion of macro 'COPY_STRING'
-   719 |     COPY_STRING(vres, data, len);
-       |     ^~~~~~~~~~~
- /usr/include/string.h:47:29: note: expected 'void *' but argument is of type 'const char *'
-    47 | extern void *memmove (void *__dest, const void *__src, size_t __n)
-       |                       ~~~~~~^~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memmove' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- dblib_stubs.c:675:11: note: in expansion of macro 'String_val'
-   675 |   memmove(String_val(res), s, len_bytes);
-       |           ^~~~~~~~~~
- dblib_stubs.c:682:5: note: in expansion of macro 'COPY_STRING'
-   682 |     COPY_STRING(vres, (char *) data_byte, converted_len);               \
-       |     ^~~~~~~~~~~
- dblib_stubs.c:763:5: note: in expansion of macro 'CONVERT_STRING'
-   763 |     CONVERT_STRING(ceil(2.5 * len)); /* FIXME: max size ? */
-       |     ^~~~~~~~~~~~~~
- /usr/include/string.h:47:29: note: expected 'void *' but argument is of type 'const char *'
-    47 | extern void *memmove (void *__dest, const void *__src, size_t __n)
-       |                       ~~~~~~^~~~~~
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memmove' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- dblib_stubs.c:675:11: note: in expansion of macro 'String_val'
-   675 |   memmove(String_val(res), s, len_bytes);
-       |           ^~~~~~~~~~
- dblib_stubs.c:682:5: note: in expansion of macro 'COPY_STRING'
-   682 |     COPY_STRING(vres, (char *) data_byte, converted_len);               \
-       |     ^~~~~~~~~~~
- dblib_stubs.c:767:5: note: in expansion of macro 'CONVERT_STRING'
-   767 |     CONVERT_STRING(ceil(2.5 * len)); /* FIXME: max size ? */
-       |     ^~~~~~~~~~~~~~
- /usr/include/string.h:47:29: note: expected 'void *' but argument is of type 'const char *'
-    47 | extern void *memmove (void *__dest, const void *__src, size_t __n)
-       |                       ~~~~~~^~~~~~
-> compiled  freetds.0.7
-> installed freetds.0.7
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-01 08:05.42 ---> saved as "c150ff15e2f55482fd7b27ecdcb4cfaae1d2bca5b9f630e4e8d40b1acfec0d73"
Job succeeded