2024-05-14 13:15.13: New job: test mirage/ocaml-gmp https://github.com/mirage/ocaml-gmp.git#refs/heads/main (1d7f5ba1d5251987e59818239d512355efad1f3b) (linux-x86_64:debian-12-4.04_opam-2.1)
Base: ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
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:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
# debian-12-4.04_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-threads.base base-unix.base conf-m4.1 dune.3.15.2 ocaml.4.04.2 ocaml-base-compiler.4.04.2 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 13:15.13: Using cache hint "mirage/ocaml-gmp-ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8-debian-12-4.04_opam-2.1-4ce85ad22873137190f87309a2cfdb66"
2024-05-14 13:15.13: Using OBuilder spec:
((from ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8)
(comment debian-12-4.04_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-threads.base base-unix.base conf-m4.1 dune.3.15.2 ocaml.4.04.2 ocaml-base-compiler.4.04.2 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 13:15.13: Waiting for resource in pool OCluster
2024-05-14 13:15.15: Waiting for worker…
2024-05-14 13:15.15: Got resource from pool OCluster
Building on x86-bm-c2.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:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8)
Unable to find image 'ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8' locally
docker.io/ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8: Pulling from ocaml/opam
e58cd26576ff: Pulling fs layer
e58cd26576ff: Verifying Checksum
e58cd26576ff: Download complete
e58cd26576ff: Pull complete
Digest: sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
Status: Downloaded newer image for ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
2024-05-14 13:17.11 ---> saved as "f8cc879b8fa41146f4d68824f571af48d0fc242fa563e6c44aad42da2480e773"
/: (comment debian-12-4.04_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 13:17.11 ---> saved as "7acf9c20e3a294f65eec146d2b0278d86ac3011a3aaf14f981174ab68667921e"
/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 13:18.55 ---> saved as "eb9e02ecfcb5ba37a004cedecf7a30bca11d30398ed5232984b27dff3d577897"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.04.2
2.1.5
2024-05-14 13:18.55 ---> saved as "1c1947f6600fe344049c423f5d475e2bbcf469ba4d40ccfe151b45e81f7382fc"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-14 13:18.55 ---> saved as "cac506b2ad2021f1ddbd68db7b37261e0a93bd2be740791bb6297e219b96903b"
/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 13:20.20 ---> saved as "800b17a660229cc976f7d4526dcf0ee91522b2e21a3a24f393a8935cca2d7e93"
/src: (copy (src gmp.opam) (dst ./))
2024-05-14 13:20.20 ---> saved as "c842484db5d30bc0970ef29a855425ea43cb70cd19a6fd4b2ee0aae5a2eb6844"
/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 13:20.22 ---> saved as "a465dbb735e4b503b11515760578af4c3fd1aa2d2755049d69464ba79e06ded7"
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.15.2 ocaml.4.04.2 ocaml-base-compiler.4.04.2 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 (501 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.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.2).
[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-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 13:20.47 ---> saved as "ad0b1ecb8937681689a066bb5921606c6369f3be7128e1bbcbe277371113af83"
/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.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.2).
[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-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 13:21.59 ---> saved as "d753547b039681ea434d2d37040171151cf9c971cf555d5693a854c9b8830f56"
/src: (copy (src .) (dst /src))
2024-05-14 13:22.00 ---> saved as "17893d8bcd011e662ca282ca3fcbaded11031d221f03f3847e68e756b4922ccd"
/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 '-std=gnu99 -O2 -fno-strict-aliasing -fwrapv -fcommon -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -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;
| ^~
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;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
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;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
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;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
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_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);
| ^~~~~~~~~~~~~~~~~
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 */
| ^~~~~~~~~~~~~~~~
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);
| ^~~~~~~~~~~~~~~~
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);
| ^~~~~~~~~~~~~~~~~~
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:292:6: warning: 'cy' may be used uninitialized [-Wmaybe-uninitialized]
292 | if (cy != 0)
| ^
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);
| ^~~~~~~
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);
| ^~~~~~~
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);
| ^~~~~~~
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/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/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/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);
| ^~~~~~~~~~~~~~~
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);
| ^~~~~~~~~~~~~~~
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 13:22.31 ---> saved as "c711863ffe2dee66e924e50e18d930f45a8de2698dc431d46033c6dbac75f006"
Job succeeded
2024-05-14 13:22.32: Job succeeded