2024-05-14 12:40.03: New job: test mirage/ocaml-gmp https://github.com/mirage/ocaml-gmp.git#refs/heads/main (1d7f5ba1d5251987e59818239d512355efad1f3b) (linux-x86_64:debian-12-4.02_opam-2.1)
Base: ocaml/opam@sha256:35b5e3747440ffe0a1073d1f79222ce868497a689785b29ea7725612647c9c14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-gmp.git" -b "main" && cd "ocaml-gmp" && git reset --hard 1d7f5ba1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:35b5e3747440ffe0a1073d1f79222ce868497a689785b29ea7725612647c9c14
# debian-12-4.02_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 gmp.opam ./
RUN opam pin add -yn gmp.dev './'
ENV DEPS="base-bigarray.base base-ocamlbuild.base base-threads.base base-unix.base conf-m4.1 dune.3.15.2 ocaml.4.02.3 ocaml-base-compiler.4.02.3 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y gmp.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-05-14 12:40.03: Using cache hint "mirage/ocaml-gmp-ocaml/opam@sha256:35b5e3747440ffe0a1073d1f79222ce868497a689785b29ea7725612647c9c14-debian-12-4.02_opam-2.1-689c756b608f0a5b9a22ae7016827a99"
2024-05-14 12:40.03: Using OBuilder spec:
((from ocaml/opam@sha256:35b5e3747440ffe0a1073d1f79222ce868497a689785b29ea7725612647c9c14)
(comment debian-12-4.02_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src gmp.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn gmp.dev './'"))
(env DEPS "base-bigarray.base base-ocamlbuild.base base-threads.base base-unix.base conf-m4.1 dune.3.15.2 ocaml.4.02.3 ocaml-base-compiler.4.02.3 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.1 --depext-only -y gmp.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-05-14 12:40.03: Waiting for resource in pool OCluster
2024-05-14 12:40.04: Waiting for worker…
2024-05-14 12:40.04: Got resource from pool OCluster
Building on x86-bm-c12.sw.ocaml.org
All commits already cached
HEAD is now at 1d7f5ba Add a constraint with older ocaml-solo5 versions which does not include the --target value
(from ocaml/opam@sha256:35b5e3747440ffe0a1073d1f79222ce868497a689785b29ea7725612647c9c14)
Unable to find image 'ocaml/opam@sha256:35b5e3747440ffe0a1073d1f79222ce868497a689785b29ea7725612647c9c14' locally
docker.io/ocaml/opam@sha256:35b5e3747440ffe0a1073d1f79222ce868497a689785b29ea7725612647c9c14: Pulling from ocaml/opam
5c0ba4786982: Pulling fs layer
5c0ba4786982: Verifying Checksum
5c0ba4786982: Download complete
5c0ba4786982: Pull complete
Digest: sha256:35b5e3747440ffe0a1073d1f79222ce868497a689785b29ea7725612647c9c14
Status: Downloaded newer image for ocaml/opam@sha256:35b5e3747440ffe0a1073d1f79222ce868497a689785b29ea7725612647c9c14
2024-05-14 12:42.24 ---> saved as "b6dffe1cb2dc211fda01c1cd73a3d5db708702d4c8b2db8c126627d44ab1e60d"
/: (comment debian-12-4.02_opam-2.1)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-14 12:42.24 ---> saved as "9a452941799c622b15528ee7d1d1e16357d59ae5f0b17315ce12b21df449d5d8"
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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.
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-05-14 12:43.30 ---> saved as "717cf69f99a63acea8dbfcd7c3d9e8a9118482335247b96af9fab3d00fb86cd4"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.02.3
2.1.5
2024-05-14 12:43.30 ---> saved as "3f061a224fe8929c5ae9851fa3906aa433cef92fbe5109c50f2e63ac47c34a15"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-14 12:43.30 ---> saved as "513f4c319d309af7cd8980cb72d82648d7695750a908b72412f455135790947a"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u"))
2275b40053 @dra27 maintains ocaml-secondary-compiler
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-05-14 12:44.36 ---> saved as "b6425a60ee2ca7985fafb6f13ffb38f718548ab6bec76d6fe8b653f299212de5"
/src: (copy (src gmp.opam) (dst ./))
2024-05-14 12:44.36 ---> saved as "89d26963cded31ad63316288be68021929410709e7c6845ce8aa93f5885bb93e"
/src: (run (network host)
(shell "opam pin add -yn gmp.dev './'"))
[gmp.dev] synchronised (file:///src)
gmp is now pinned to file:///src (version dev)
2024-05-14 12:44.38 ---> saved as "13e16ef6482971d6ebc7bd170ace180415b6f17c3736d8c689860320a7eff4c0"
/src: (env DEPS "base-bigarray.base base-ocamlbuild.base base-threads.base base-unix.base conf-m4.1 dune.3.15.2 ocaml.4.02.3 ocaml-base-compiler.4.02.3 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.1 --depext-only -y gmp.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Fetched 103 kB in 0s (477 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[gmp.dev] synchronised (no changes)
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.02.3).
[NOTE] Package ocaml is already installed (current version is 4.02.3).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-ocamlbuild is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
2024-05-14 12:44.54 ---> saved as "311fd15d9544d4738a3a1f08c9958cd6bdbcbf540f3010a156e476966ab0c590"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.02.3).
[NOTE] Package ocaml is already installed (current version is 4.02.3).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-ocamlbuild is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
- install conf-m4 1
- install ocamlfind 1.9.6
- install ocamlfind-secondary 1.9.6
- install dune 3.15.2
===== 4 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.15.2 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocamlfind-secondary.1.9.6 (cached)
-> installed conf-m4.1
-> installed ocamlfind.1.9.6
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.15.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-14 12:45.55 ---> saved as "880c035c8ac9354a2479e599bf997e33a2bd11c0c2b18f3ddeee88cef437e7a9"
/src: (copy (src .) (dst /src))
2024-05-14 12:45.55 ---> saved as "df1570131c5e3e76f8593d026fa9075318adaaee58770c46eb9bf118adc9eda4"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src && /usr/bin/sh ./build.sh gcc x86_64-unknown-linux-gnu x86_64-unknown-linux-gnu '-O -fcommon -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O -fPIC' true -lm) > _build/default/src/build.log
./configure: line 14343: /usr/bin/file: No such file or directory
In file included from mod_1_3.c:41:
../longlong.h: In function '__gmpn_mod_1s_3p':
../longlong.h:1062:3: warning: 'rl' may be used uninitialized [-Wmaybe-uninitialized]
1062 | __asm__ ("mulq\t%3" \
| ^~~~~~~
mod_1_3.c:89:17: note: 'rl' was declared here
89 | mp_limb_t rh, rl, bi, ph, pl, ch, cl, r;
| ^~
../longlong.h:1062:3: warning: 'rh' may be used uninitialized [-Wmaybe-uninitialized]
1062 | __asm__ ("mulq\t%3" \
| ^~~~~~~
mod_1_3.c:89:13: note: 'rh' was declared here
89 | mp_limb_t rh, rl, bi, ph, pl, ch, cl, r;
| ^~
rootrem.c: In function 'mpn_rootrem_internal':
rootrem.c:514:10: warning: 'rn' may be used uninitialized [-Wmaybe-uninitialized]
514 | return rn;
| ^~
rootrem.c:211:17: note: 'rn' was declared here
211 | mp_size_t qn, rn, sn, wn, nl, bn;
| ^~
rootrem.c:410:20: warning: 'save2' may be used uninitialized [-Wmaybe-uninitialized]
410 | rp[bn + 1] = save2; /* the low b bits go in rp[0..bn] only, since
| ~~~~~~~~~~~^~~~~~~
rootrem.c:212:19: note: 'save2' was declared here
212 | mp_limb_t save, save2, cy, uh;
| ^~~~~
matrix22_mul1_inverse_vector.c: In function '__gmpn_matrix22_mul1_inverse_vector':
matrix22_mul1_inverse_vector.c:44:17: warning: variable 'h1' set but not used [-Wunused-but-set-variable]
44 | mp_limb_t h0, h1;
| ^~
matrix22_mul1_inverse_vector.c:44:13: warning: variable 'h0' set but not used [-Wunused-but-set-variable]
44 | mp_limb_t h0, h1;
| ^~
toom22_mul.c: In function '__gmpn_toom22_mul':
toom22_mul.c:93:13: warning: unused variable '__gmpn_cpuvec_initialized' [-Wunused-variable]
93 | const int __gmpn_cpuvec_initialized = 1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
toom33_mul.c: In function '__gmpn_toom33_mul':
toom33_mul.c:92:13: warning: unused variable '__gmpn_cpuvec_initialized' [-Wunused-variable]
92 | const int __gmpn_cpuvec_initialized = 1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
toom3_sqr.c: In function '__gmpn_toom3_sqr':
toom3_sqr.c:81:13: warning: unused variable '__gmpn_cpuvec_initialized' [-Wunused-variable]
81 | const int __gmpn_cpuvec_initialized = 1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
toom2_sqr.c: In function '__gmpn_toom2_sqr':
toom2_sqr.c:72:13: warning: unused variable '__gmpn_cpuvec_initialized' [-Wunused-variable]
72 | const int __gmpn_cpuvec_initialized = 1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from toom_interpolate_6pts.c:37:
toom_interpolate_6pts.c: In function '__gmpn_toom_interpolate_6pts':
../gmp-impl.h:1662:6: warning: value computed is not used [-Wunused-value]
1662 | (3 & mpn_bdiv_dbm1 (dst, src, size, __GMP_CAST (mp_limb_t, GMP_NUMB_MASK / 3)))
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
toom_interpolate_6pts.c:148:3: note: in expansion of macro 'mpn_divexact_by3'
148 | mpn_divexact_by3 (w2, w2, 2 * n + 1);
| ^~~~~~~~~~~~~~~~
../gmp-impl.h:1662:6: warning: value computed is not used [-Wunused-value]
1662 | (3 & mpn_bdiv_dbm1 (dst, src, size, __GMP_CAST (mp_limb_t, GMP_NUMB_MASK / 3)))
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
toom_interpolate_6pts.c:156:3: note: in expansion of macro 'mpn_divexact_by3'
156 | mpn_divexact_by3 (w1, w1, 2 * n + 1);
| ^~~~~~~~~~~~~~~~
In file included from toom_interpolate_8pts.c:37:
toom_interpolate_8pts.c: In function '__gmpn_toom_interpolate_8pts':
../gmp-impl.h:1662:6: warning: value computed is not used [-Wunused-value]
1662 | (3 & mpn_bdiv_dbm1 (dst, src, size, __GMP_CAST (mp_limb_t, GMP_NUMB_MASK / 3)))
| ^
../gmp-impl.h:2459:33: note: in definition of macro 'ASSERT_NOCARRY'
2459 | #define ASSERT_NOCARRY(expr) (expr)
| ^~~~
toom_interpolate_8pts.c:163:18: note: in expansion of macro 'mpn_divexact_by3'
163 | ASSERT_NOCARRY(mpn_divexact_by3 (r5, r5, 3 * n + 1));
| ^~~~~~~~~~~~~~~~
In file included from toom_interpolate_5pts.c:38:
toom_interpolate_5pts.c: In function '__gmpn_toom_interpolate_5pts':
../gmp-impl.h:1662:6: warning: value computed is not used [-Wunused-value]
1662 | (3 & mpn_bdiv_dbm1 (dst, src, size, __GMP_CAST (mp_limb_t, GMP_NUMB_MASK / 3)))
| ^
../gmp-impl.h:2459:33: note: in definition of macro 'ASSERT_NOCARRY'
2459 | #define ASSERT_NOCARRY(expr) (expr)
| ^~~~
toom_interpolate_5pts.c:70:19: note: in expansion of macro 'mpn_divexact_by3'
70 | ASSERT_NOCARRY (mpn_divexact_by3 (v2, v2, kk1)); /* v2 <- v2 / 3 */
| ^~~~~~~~~~~~~~~~
toom_interpolate_12pts.c: In function '__gmpn_toom_interpolate_12pts':
toom_interpolate_12pts.c:137:8: warning: value computed is not used [-Wunused-value]
137 | (255 & 1 * mpn_bdiv_dbm1 (dst, src, size, __GMP_CAST (mp_limb_t, GMP_NUMB_MASK / 255)))
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
toom_interpolate_12pts.c:268:3: note: in expansion of macro 'mpn_divexact_by255'
268 | mpn_divexact_by255(r5, r5, n3p1);
| ^~~~~~~~~~~~~~~~~~
In file included from toom_interpolate_7pts.c:38:
toom_interpolate_7pts.c: In function '__gmpn_toom_interpolate_7pts':
../gmp-impl.h:1662:6: warning: value computed is not used [-Wunused-value]
1662 | (3 & mpn_bdiv_dbm1 (dst, src, size, __GMP_CAST (mp_limb_t, GMP_NUMB_MASK / 3)))
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
toom_interpolate_7pts.c:203:3: note: in expansion of macro 'mpn_divexact_by3'
203 | mpn_divexact_by3 (w4, w4, m);
| ^~~~~~~~~~~~~~~~
../gmp-impl.h:1698:7: warning: value computed is not used [-Wunused-value]
1698 | (15 & 1 * mpn_bdiv_dbm1 (dst, src, size, __GMP_CAST (mp_limb_t, GMP_NUMB_MASK / 15)))
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
toom_interpolate_7pts.c:212:3: note: in expansion of macro 'mpn_divexact_by15'
212 | mpn_divexact_by15 (w1, w1, m);
| ^~~~~~~~~~~~~~~~~
invertappr.c: In function '__gmpn_ni_invertappr':
invertappr.c:230:21: warning: variable 'chk' set but not used [-Wunused-but-set-variable]
230 | mp_limb_t chk;
| ^~~
In function 'mpn_preinv_mu_divappr_q',
inlined from '__gmpn_mu_divappr_q' at mu_divappr_q.c:156:8:
mu_divappr_q.c:291:6: warning: 'cy' may be used uninitialized [-Wmaybe-uninitialized]
291 | cy += mpn_add_1 (qp, qp, qn, 3);
| ^~
mu_divappr_q.c: In function '__gmpn_mu_divappr_q':
mu_divappr_q.c:172:13: note: 'cy' was declared here
172 | mp_limb_t cy, cx, qh;
| ^~
sec_div_r.c: In function '__gmpn_sec_div_r':
sec_div_r.c:86:17: warning: unused variable 'qh' [-Wunused-variable]
86 | mp_limb_t qh, cy;
| ^~
remove.c: In function '__gmpn_remove':
remove.c:141:12: warning: 'np' may be used uninitialized [-Wmaybe-uninitialized]
141 | np += pn;
| ~~~^~~~~
remove.c:88:18: note: 'np' was declared here
88 | mp_ptr tp, qp, np, qp2;
| ^~
add_n_sub_n.c: In function '__gmpn_add_n_sub_n':
add_n_sub_n.c:53:13: warning: unused variable 'scyn' [-Wunused-variable]
53 | mp_limb_t scyn, scyo; /* carry for subtract */
| ^~~~
add_n_sub_n.c:52:13: warning: unused variable 'acyn' [-Wunused-variable]
52 | mp_limb_t acyn, acyo; /* carry for add */
| ^~~~
clear.c:35:18: warning: argument 1 of type '__mpq_struct[1]' with mismatched bound [-Warray-parameter=]
35 | mpq_clear (mpq_t x)
| ~~~~~~^
In file included from ../gmp-impl.h:145,
from clear.c:32:
../gmp.h:1147:32: note: previously declared as 'mpq_ptr' {aka '__mpq_struct *'}
1147 | __GMP_DECLSPEC void mpq_clear (mpq_ptr);
| ^~~~~~~
canonicalize.c:35:25: warning: argument 1 of type '__mpq_struct[1]' with mismatched bound [-Warray-parameter=]
35 | mpq_canonicalize (mpq_t op)
| ~~~~~~^~
In file included from ../gmp-impl.h:145,
from canonicalize.c:32:
../gmp.h:1144:39: note: previously declared as 'mpq_ptr' {aka '__mpq_struct *'}
1144 | __GMP_DECLSPEC void mpq_canonicalize (mpq_ptr);
| ^~~~~~~
init.c:35:17: warning: argument 1 of type '__mpq_struct[1]' with mismatched bound [-Warray-parameter=]
35 | mpq_init (mpq_t x)
| ~~~~~~^
In file included from ../gmp-impl.h:145,
from init.c:32:
../gmp.h:1186:31: note: previously declared as 'mpq_ptr' {aka '__mpq_struct *'}
1186 | __GMP_DECLSPEC void mpq_init (mpq_ptr);
| ^~~~~~~
set_ui.c:35:19: warning: argument 1 of type '__mpq_struct[1]' with mismatched bound [-Warray-parameter=]
35 | mpq_set_ui (mpq_t dest, unsigned long int num, unsigned long int den)
| ~~~~~~^~~~
In file included from ../gmp-impl.h:145,
from set_ui.c:32:
../gmp.h:1237:33: note: previously declared as 'mpq_ptr' {aka '__mpq_struct *'}
1237 | __GMP_DECLSPEC void mpq_set_ui (mpq_ptr, unsigned long int, unsigned long int);
| ^~~~~~~
set_si.c:35:19: warning: argument 1 of type '__mpq_struct[1]' with mismatched bound [-Warray-parameter=]
35 | mpq_set_si (mpq_t dest, signed long int num, unsigned long int den)
| ~~~~~~^~~~
In file included from ../gmp-impl.h:145,
from set_si.c:32:
../gmp.h:1231:33: note: previously declared as 'mpq_ptr' {aka '__mpq_struct *'}
1231 | __GMP_DECLSPEC void mpq_set_si (mpq_ptr, signed long int, unsigned long int);
| ^~~~~~~
set_q.c:54:18: warning: argument 1 of type '__mpf_struct[1]' with mismatched bound [-Warray-parameter=]
54 | mpf_set_q (mpf_t r, mpq_srcptr q)
| ~~~~~~^
In file included from ../gmp-impl.h:145,
from set_q.c:31:
../gmp.h:1414:32: note: previously declared as 'mpf_ptr' {aka '__mpf_struct *'}
1414 | __GMP_DECLSPEC void mpf_set_q (mpf_ptr, mpq_srcptr);
| ^~~~~~~
reldiff.c:39:20: warning: argument 1 of type '__mpf_struct[1]' with mismatched bound [-Warray-parameter=]
39 | mpf_reldiff (mpf_t rdiff, mpf_srcptr x, mpf_srcptr y)
| ~~~~~~^~~~~
In file included from ../gmp-impl.h:145,
from reldiff.c:31:
../gmp.h:1396:34: note: previously declared as 'mpf_ptr' {aka '__mpf_struct *'}
1396 | __GMP_DECLSPEC void mpf_reldiff (mpf_ptr, mpf_srcptr, mpf_srcptr);
| ^~~~~~~
extract-dbl.c: In function '__gmp_extract_double':
extract-dbl.c:53:21: warning: unused variable 'manh' [-Wunused-variable]
53 | unsigned long int manh, manl;
| ^~~~
rand/randbui.c:38:36: warning: argument 1 of type 'gmp_randstate_ptr' {aka '__gmp_randstate_struct *'} declared as a pointer [-Warray-parameter=]
38 | gmp_urandomb_ui (gmp_randstate_ptr rstate, unsigned long bits)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from ./gmp-impl.h:145,
from rand/randbui.c:31:
./gmp.h:527:47: note: previously declared as an array '__gmp_randstate_struct[1]'
527 | __GMP_DECLSPEC unsigned long gmp_urandomb_ui (gmp_randstate_t, unsigned long);
| ^~~~~~~~~~~~~~~
rand/randlc2x.c: In function 'lc':
rand/randlc2x.c:79:7: warning: variable 'cy' set but not used [-Wunused-but-set-variable]
79 | int cy;
| ^~
rand/randiset.c:35:37: warning: argument 1 of type 'gmp_randstate_ptr' {aka '__gmp_randstate_struct *'} declared as a pointer [-Warray-parameter=]
35 | gmp_randinit_set (gmp_randstate_ptr dst, gmp_randstate_srcptr src)
| ~~~~~~~~~~~~~~~~~~^~~
In file included from ./gmp-impl.h:145,
from rand/randiset.c:31:
./gmp.h:515:39: note: previously declared as an array '__gmp_randstate_struct[1]'
515 | __GMP_DECLSPEC void gmp_randinit_set (gmp_randstate_t, const __gmp_randstate_struct *);
| ^~~~~~~~~~~~~~~
rand/randmui.c:46:36: warning: argument 1 of type 'gmp_randstate_ptr' {aka '__gmp_randstate_struct *'} declared as a pointer [-Warray-parameter=]
46 | gmp_urandomm_ui (gmp_randstate_ptr rstate, unsigned long n)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from ./gmp-impl.h:145,
from rand/randmui.c:31:
./gmp.h:530:47: note: previously declared as an array '__gmp_randstate_struct[1]'
530 | __GMP_DECLSPEC unsigned long gmp_urandomm_ui (gmp_randstate_t, unsigned long);
| ^~~~~~~~~~~~~~~
rand/randmt.c:396:45: warning: argument 1 of type 'gmp_randstate_ptr' {aka '__gmp_randstate_struct *'} declared as a pointer [-Warray-parameter=]
396 | __gmp_randinit_mt_noseed (gmp_randstate_ptr dst)
| ~~~~~~~~~~~~~~~~~~^~~
In file included from rand/randmt.c:37:
./gmp-impl.h:1316:47: note: previously declared as an array '__gmp_randstate_struct[1]'
1316 | __GMP_DECLSPEC void __gmp_randinit_mt_noseed (gmp_randstate_t);
| ^~~~~~~~~~~~~~~
primesieve.c: In function 'first_block_primesieve':
primesieve.c:248:13: warning: 'i' may be used uninitialized [-Wmaybe-uninitialized]
248 | mp_limb_t i;
| ^
2024-05-14 12:46.22 ---> saved as "ef07f2a446f6e430e526cb1c3cb7437745cc50c787a450af48e3c4c3d1f09c1f"
Job succeeded
2024-05-14 12:46.23: Job succeeded