2024-05-10 22:07.09: New job: test emillon/js-monorepo https://github.com/emillon/js-monorepo.git#refs/heads/main (95bd8558ddf3cda662a3d054ccffd6315363c037) (linux-x86_64:js-monorepo.opam.locked)
Base: ocaml/opam@sha256:838ba1f7aeca547a81ebdab904e71fbb88618057229a64f89f92fd54b9bbb955
opam-monorepo build
To reproduce locally:
git clone --recursive "https://github.com/emillon/js-monorepo.git" -b "main" && cd "js-monorepo" && git reset --hard 95bd8558
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:838ba1f7aeca547a81ebdab904e71fbb88618057229a64f89f92fd54b9bbb955
# debian-12-4.12_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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-pkg-config.3 dune.2.9.3 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 opam-monorepo.0.2.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y $DEPS
RUN opam install $DEPS
WORKDIR /src
RUN sudo chown opam /src
COPY --chown=1000:1000 dune-project js-monorepo.opam.locked /src/
RUN opam monorepo depext --yes --lock ./js-monorepo.opam.locked
RUN opam exec -- opam monorepo pull
COPY --chown=1000:1000 . /src/
RUN opam exec -- dune build @install
RUN opam exec -- dune runtest
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-05-10 22:07.09: Using cache hint "emillon/js-monorepo-ocaml/opam@sha256:838ba1f7aeca547a81ebdab904e71fbb88618057229a64f89f92fd54b9bbb955-debian-12-4.12_opam-2.1-opam-monorepo-debian-12-4.12_opam-2.1"
2024-05-10 22:07.09: Using OBuilder spec:
((from ocaml/opam@sha256:838ba1f7aeca547a81ebdab904e71fbb88618057229a64f89f92fd54b9bbb955)
(comment debian-12-4.12_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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base conf-pkg-config.3 dune.2.9.3 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 opam-monorepo.0.2.7")
(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 $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(copy (src dune-project js-monorepo.opam.locked) (dst /src/))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam monorepo depext --yes --lock ./js-monorepo.opam.locked"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam exec -- opam monorepo pull"))
(copy (src .) (dst /src/))
(run (cache (dune:emillon:js-monorepo (target /src/_build) (buildkit_options ((sharing private)))))
(shell "opam exec -- dune build @install"))
(run (cache (dune:emillon:js-monorepo (target /src/_build) (buildkit_options ((sharing private)))))
(shell "opam exec -- dune runtest"))
)
2024-05-10 22:07.09: Waiting for resource in pool OCluster
2024-05-11 13:06.36: Waiting for worker…
2024-05-11 13:11.55: Got resource from pool OCluster
Building on x86-bm-c10.sw.ocaml.org
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/js-monorepo.git-868cd363e54099f2416ea347fe792b89505dbd3d/.git/
HEAD is now at 95bd855 Merge pull request #6 from emillon/lock-413
(from ocaml/opam@sha256:838ba1f7aeca547a81ebdab904e71fbb88618057229a64f89f92fd54b9bbb955)
2024-05-11 13:11.57 ---> using "7691599c3842a186f32c96bd3f64e2958205364d660afeca8f960ca438908d43" from cache
/: (comment debian-12-4.12_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-11 13:11.57 ---> using "5377e64c1dc39ca1a43c8ae5a941f55df6714685285df7bdeaf7f34fcb274434" from cache
/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-11 13:11.57 ---> using "ad3f804af701dcea352ca9aded800a725e18f9ac799fb4a1d5bfb6bb52a7d9ed" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-106-generic
The OCaml toplevel, version 4.12.1
2.1.5
2024-05-11 13:11.57 ---> using "e355ea3d9b294d1e727ee9241d9217b5458bf1b3b9ce57a201f41e13c4db65b5" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-11 13:11.57 ---> using "8d0600802d9765bf6213fb7c5e04c1b69cf95977c0060c9e97adf2a7f53bcd78" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
eb2dcab0d8..2ae169d7d0 master -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages
<><> 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-11 13:11.57 ---> using "4829ae3f3426b7522a3e81a0a7a2805661c3e74d1e9f3f45bddcbb0515b1949e" from cache
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-pkg-config.3 dune.2.9.3 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 opam-monorepo.0.2.7")
/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 $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]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [155 kB]
- Fetched 258 kB in 0s (527 kB/s)
- Reading package lists...
-
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.12.1).
[NOTE] Package ocaml is already installed (current version is 4.12.1).
[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:
pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
2024-05-11 13:12.23 ---> saved as "61b51ca8f2b79bdd45ec2c9b92221ab0cbb36983c95570205fd82ae69f55bb32"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.12.1).
[NOTE] Package ocaml is already installed (current version is 4.12.1).
[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-pkg-config 3
- install dune 2.9.3
- install opam-monorepo 0.2.7
===== 3 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.2.9.3 (cached)
-> retrieved opam-monorepo.0.2.7 (cached)
-> installed conf-pkg-config.3
-> installed dune.2.9.3
-> installed opam-monorepo.0.2.7
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-11 13:13.44 ---> saved as "14d6cff02e5acbeb195169484ecb049c194ad106d5cc2d6c5d71cd48a41a94e5"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-11 13:13.44 ---> saved as "ad8176f04bf15691e462e0639fb773c609154f00d3689380043874e1725da01d"
/src: (copy (src dune-project js-monorepo.opam.locked) (dst /src/))
2024-05-11 13:13.44 ---> saved as "f26c326d4c6774ebb9d93a586f5cf19d4df8ff8553f32f3bd6819831ca894cc2"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam monorepo depext --yes --lock ./js-monorepo.opam.locked"))
==> Using lockfile js-monorepo.opam.locked
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "libpcre3-dev"
- debconf: delaying package configuration, since apt-utils is not installed
2024-05-11 13:13.48 ---> saved as "65b9ee400086137073e96864c0dc3c4d124341838395c799c1fcfad0fd556196"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam exec -- opam monorepo pull"))
==> Using lockfile /src/js-monorepo.opam.locked
Successfully pulled 26/26 repositories
2024-05-11 13:13.52 ---> saved as "c9514ef462582109b2a0ec7b873fcaada4631752882c50156189ba50e58b1b33"
/src: (copy (src .) (dst /src/))
2024-05-11 13:13.54 ---> saved as "d5b2f5439063bd2043016f72a1ac1093b61820952def93e249bbfe59ed9017a3"
/src: (run (cache (dune:emillon:js-monorepo (target /src/_build) (buildkit_options ((sharing private)))))
(shell "opam exec -- dune build @install"))
sh lib/ocaml-afl-persistent/afl-persistent.config,lib/ocaml-afl-persistent/aflPersistent.ml
+ ocamlc=ocamlc -g -bin-annot
+ ocamlopt=ocamlopt -g -bin-annot
+ echo print_string "hello"
+ ocamlopt -dcmm -c afl_check.ml
+ grep -q caml_afl
+ afl_always=false
+ ocamlopt -afl-instrument afl_check.ml -o test
+ ./test
+ [ hello = hello ]
+ ocamlopt=ocamlopt -g -bin-annot -afl-inst-ratio 0
+ afl_available=true
+ cat
+ [ true = true ]
+ cp aflPersistent.available.ml aflPersistent.ml
+ exit 0
ocamlopt lib/notty/src/.notty_top.objs/native/notty_top.{cmx,o}
File "_none_", line 1:
Warning 58 [no-cmx-file]: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque
z_pp duniverse/Zarith/z.{ml,mli},duniverse/Zarith/z_features.h
found assembly file caml_z_x86_64.S
found neg
found abs
found succ
found pred
found add
found sub
found mul
found div
found divexact
found rem
found lognot
found logand
found logor
found logxor
found shift_left
found shift_right
gcc core.v0.14.1/src/ocaml_utils_stubs.o
In file included from ocaml_utils_stubs.c:17:
ocaml_utils_macros.h:11: warning: "Is_none" redefined
11 | #define Is_none(v) (Is_long(v) && Long_val(v) == 0)
|
In file included from ../../jane-street-headers.v0.14.0/include/ocaml_utils.h:6,
from ocaml_utils_stubs.c:16:
/home/opam/.opam/4.12/lib/ocaml/caml/mlvalues.h:398: note: this is the location of the previous definition
398 | #define Is_none(v) ((v) == Val_none)
|
ocaml_utils_macros.h:12: warning: "Is_some" redefined
12 | #define Is_some(v) (Is_block(v) && Tag_val(v) == 0 && Wosize_val(v) == 1)
|
/home/opam/.opam/4.12/lib/ocaml/caml/mlvalues.h:399: note: this is the location of the previous definition
399 | #define Is_some(v) Is_block(v)
|
gcc core_kernel.v0.14.2/src/md5_stubs.o
md5_stubs.c:11:32: warning: '-pedantic' is not an option that controls warnings [-Wpragmas]
11 | #pragma GCC diagnostic ignored "-pedantic"
| ^~~~~~~~~~~
gcc re2.v0.14.0/src/stubs.o
In file included from stubs.cpp:64:
util.h:6: warning: "Val_none" redefined
6 | #define Val_none (Val_int(0))
|
In file included from stubs.h:6,
from stubs.cpp:8:
/home/opam/.opam/4.12/lib/ocaml/caml/mlvalues.h:395: note: this is the location of the previous definition
395 | #define Val_none Val_int(0)
|
bash re2.v0.14.0/src/re2_c/dllre2_c_stubs.so,re2.v0.14.0/src/re2_c/libre2_c_stubs.a
re2/compile.cc: In member function 'int re2::Compiler::AllocInst(int)':
re2/compile.cc:268:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class re2::Prog::Inst' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
268 | memmove(ip, inst_, inst_len_ * sizeof ip[0]);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from re2/compile.cc:11:
./re2/prog.h:84:9: note: 'class re2::Prog::Inst' declared here
84 | class Inst {
| ^~~~
re2/compile.cc:269:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class re2::Prog::Inst' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
269 | memset(ip + inst_len_, 0, (inst_cap_ - inst_len_) * sizeof ip[0]);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./re2/prog.h:84:9: note: 'class re2::Prog::Inst' declared here
84 | class Inst {
| ^~~~
re2/compile.cc: In member function 'void re2::Compiler::Trim()':
re2/compile.cc:281:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class re2::Prog::Inst' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
281 | memmove(ip, inst_, inst_len_ * sizeof ip[0]);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./re2/prog.h:84:9: note: 'class re2::Prog::Inst' declared here
84 | class Inst {
| ^~~~
In file included from ./util/util.h:139,
from re2/re2.cc:17:
./util/mutex.h:192:32: warning: unnecessary parentheses in declaration of 'empty_mutex' [-Wparentheses]
192 | static pthread_mutex_t (name) = PTHREAD_MUTEX_INITIALIZER
| ^~~~~~
re2/re2.cc:58:1: note: in expansion of macro 'GLOBAL_MUTEX'
58 | GLOBAL_MUTEX(empty_mutex);
| ^~~~~~~~~~~~
./util/mutex.h:192:32: note: remove parentheses
192 | static pthread_mutex_t (name) = PTHREAD_MUTEX_INITIALIZER
| ^~~~~~
re2/re2.cc:58:1: note: in expansion of macro 'GLOBAL_MUTEX'
58 | GLOBAL_MUTEX(empty_mutex);
| ^~~~~~~~~~~~
In file included from ./util/util.h:139,
from re2/regexp.cc:8:
./util/mutex.h:192:32: warning: unnecessary parentheses in declaration of 'ref_mutex' [-Wparentheses]
192 | static pthread_mutex_t (name) = PTHREAD_MUTEX_INITIALIZER
| ^~~~~~
re2/regexp.cc:64:1: note: in expansion of macro 'GLOBAL_MUTEX'
64 | GLOBAL_MUTEX(ref_mutex);
| ^~~~~~~~~~~~
./util/mutex.h:192:32: note: remove parentheses
192 | static pthread_mutex_t (name) = PTHREAD_MUTEX_INITIALIZER
| ^~~~~~
re2/regexp.cc:64:1: note: in expansion of macro 'GLOBAL_MUTEX'
64 | GLOBAL_MUTEX(ref_mutex);
| ^~~~~~~~~~~~
re2/regexp.cc: In member function 'void re2::Regexp::Swap(re2::Regexp*)':
re2/regexp.cc:319:10: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class re2::Regexp' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
319 | memmove(this, that, sizeof tmp);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In file included from re2/regexp.cc:9:
./re2/regexp.h:267:7: note: 'class re2::Regexp' declared here
267 | class Regexp {
| ^~~~~~
re2/regexp.cc:320:10: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class re2::Regexp' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
320 | memmove(that, tmp, sizeof tmp);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
./re2/regexp.h:267:7: note: 'class re2::Regexp' declared here
267 | class Regexp {
| ^~~~~~
re2/compile.cc: In member function 'int re2::Compiler::AllocInst(int)':
re2/compile.cc:268:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class re2::Prog::Inst' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
268 | memmove(ip, inst_, inst_len_ * sizeof ip[0]);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from re2/compile.cc:11:
./re2/prog.h:84:9: note: 'class re2::Prog::Inst' declared here
84 | class Inst {
| ^~~~
re2/compile.cc:269:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class re2::Prog::Inst' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
269 | memset(ip + inst_len_, 0, (inst_cap_ - inst_len_) * sizeof ip[0]);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./re2/prog.h:84:9: note: 'class re2::Prog::Inst' declared here
84 | class Inst {
| ^~~~
re2/compile.cc: In member function 'void re2::Compiler::Trim()':
re2/compile.cc:281:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class re2::Prog::Inst' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
281 | memmove(ip, inst_, inst_len_ * sizeof ip[0]);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./re2/prog.h:84:9: note: 'class re2::Prog::Inst' declared here
84 | class Inst {
| ^~~~
In file included from ./util/util.h:139,
from re2/re2.cc:17:
./util/mutex.h:192:32: warning: unnecessary parentheses in declaration of 'empty_mutex' [-Wparentheses]
192 | static pthread_mutex_t (name) = PTHREAD_MUTEX_INITIALIZER
| ^~~~~~
re2/re2.cc:58:1: note: in expansion of macro 'GLOBAL_MUTEX'
58 | GLOBAL_MUTEX(empty_mutex);
| ^~~~~~~~~~~~
./util/mutex.h:192:32: note: remove parentheses
192 | static pthread_mutex_t (name) = PTHREAD_MUTEX_INITIALIZER
| ^~~~~~
re2/re2.cc:58:1: note: in expansion of macro 'GLOBAL_MUTEX'
58 | GLOBAL_MUTEX(empty_mutex);
| ^~~~~~~~~~~~
In file included from ./util/util.h:139,
from re2/regexp.cc:8:
./util/mutex.h:192:32: warning: unnecessary parentheses in declaration of 'ref_mutex' [-Wparentheses]
192 | static pthread_mutex_t (name) = PTHREAD_MUTEX_INITIALIZER
| ^~~~~~
re2/regexp.cc:64:1: note: in expansion of macro 'GLOBAL_MUTEX'
64 | GLOBAL_MUTEX(ref_mutex);
| ^~~~~~~~~~~~
./util/mutex.h:192:32: note: remove parentheses
192 | static pthread_mutex_t (name) = PTHREAD_MUTEX_INITIALIZER
| ^~~~~~
re2/regexp.cc:64:1: note: in expansion of macro 'GLOBAL_MUTEX'
64 | GLOBAL_MUTEX(ref_mutex);
| ^~~~~~~~~~~~
re2/regexp.cc: In member function 'void re2::Regexp::Swap(re2::Regexp*)':
re2/regexp.cc:319:10: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class re2::Regexp' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
319 | memmove(this, that, sizeof tmp);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In file included from re2/regexp.cc:9:
./re2/regexp.h:267:7: note: 'class re2::Regexp' declared here
267 | class Regexp {
| ^~~~~~
re2/regexp.cc:320:10: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class re2::Regexp' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
320 | memmove(that, tmp, sizeof tmp);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
./re2/regexp.h:267:7: note: 'class re2::Regexp' declared here
267 | class Regexp {
| ^~~~~~
2024-05-11 13:16.48 ---> saved as "e007987b43d031b9d221c50a68ca56b25bfa259792c5f46fcde32d967196d3e8"
/src: (run (cache (dune:emillon:js-monorepo (target /src/_build) (buildkit_options ((sharing private)))))
(shell "opam exec -- dune runtest"))
gcc duniverse/Zarith/caml_z.o
In file included from zarith.h:29,
from caml_z.c:39:
caml_z.c: In function 'ml_z_of_substring_base':
/home/opam/.opam/4.12/lib/ocaml/caml/mlvalues.h:282:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
282 | #define String_val(x) ((const char *) Bp_val(x))
| ^
caml_z.c:585:13: note: in expansion of macro 'String_val'
585 | char *d = String_val(v) + ofs;
| ^~~~~~~~~~
caml_z.c: In function 'ml_z_format':
/home/opam/.opam/4.12/lib/ocaml/caml/mlvalues.h:282:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
282 | #define String_val(x) ((const char *) Bp_val(x))
| ^
caml_z.c:781:15: note: in expansion of macro 'String_val'
781 | char* fmt = String_val(f);
| ^~~~~~~~~~
bash alias async.v0.14.0/unpack_sequence/test-bin/runtest
Unpack_Sequence_test
File "core.v0.14.1/linux_ext/test/test_linux_ext.ml", line 1, characters 0-0:
git (internal) (exit 1)
(cd _build/default && /usr/bin/git --no-pager diff --no-index --color=always -u core.v0.14.1/linux_ext/test/test_linux_ext.ml core.v0.14.1/linux_ext/test/test_linux_ext.ml.corrected)
diff --git a/core.v0.14.1/linux_ext/test/test_linux_ext.ml b/core.v0.14.1/linux_ext/test/test_linux_ext.ml.corrected
index 4cb3707..55b6238 100644
--- a/core.v0.14.1/linux_ext/test/test_linux_ext.ml
+++ b/core.v0.14.1/linux_ext/test/test_linux_ext.ml.corrected
@@ -385,11 +385,11 @@ let%test_module "getxattr and setxattr" =
with_tmpfile (fun path ->
let name = "user.foo" in
get_and_print ~path ~name;
- [%expect {| ENOATTR |}];
+ [%expect {| ENOTSUP |}];
set_and_print ~path ~name ~value:"bar" ();
- [%expect {| Ok |}];
+ [%expect {| ENOTSUP |}];
get_and_print ~path ~name;
- [%expect {| (Ok bar) |}])
+ [%expect {| ENOTSUP |}])
;;
let%expect_test "test setxattr [`Create] semantics" =
@@ -399,11 +399,11 @@ let%test_module "getxattr and setxattr" =
set_and_print ~how:`Create ~path ~name ~value:"blah" ()
in
set_and_create ();
- [%expect {| Ok |}];
+ [%expect {| ENOTSUP |}];
get_and_print ~path ~name;
- [%expect {| (Ok blah) |}];
+ [%expect {| ENOTSUP |}];
set_and_create ();
- [%expect {| EEXIST |}])
+ [%expect {| ENOTSUP |}])
;;
let%expect_test "test setxattr [`Replace] semantics" =
@@ -413,15 +413,15 @@ let%test_module "getxattr and setxattr" =
set_and_print ~how:`Replace ~path ~name ~value:"xyz" ()
in
set_with_replace ();
- [%expect {| ENOATTR |}];
+ [%expect {| ENOTSUP |}];
set_and_print ~how:`Create ~path ~name ~value:"bar" ();
- [%expect {| Ok |}];
+ [%expect {| ENOTSUP |}];
get_and_print ~path ~name;
- [%expect {| (Ok bar) |}];
+ [%expect {| ENOTSUP |}];
set_with_replace ();
- [%expect {| Ok |}];
+ [%expect {| ENOTSUP |}];
get_and_print ~path ~name;
- [%expect {| (Ok xyz) |}])
+ [%expect {| ENOTSUP |}])
;;
let%expect_test "test getxattr and setxattr on a non-existent file" =
bash alias core_kernel.v0.14.2/pairing_heap/test-bin/runtest
.........
Ran: 9 tests in: 0.87 seconds.
OK
bash alias ppx_bin_prot.v0.14.0/test/runtest
..............................................................
Ran: 62 tests in: 0.38 seconds.
OK
bash alias core_kernel.v0.14.2/int_set/test-bin/runtest
...
Ran: 3 tests in: 0.51 seconds.
OK
bash alias core_kernel.v0.14.2/binary_packing/test-bin/runtest
..............
Ran: 14 tests in: 0.73 seconds.
OK
bash alias shell.v0.14.0/low_level_process/test-bin/runtest
.
Ran: 1 tests in: 2.21 seconds.
OK
bash alias core.v0.14.1/test/bin/runtest
............................................................................................................................................................................................................................................................................................................................................./bin/sh: 1: bc: not found
/bin/sh: 1: bc: not found
.....
Ran: 338 tests in: 25.96 seconds.
OK
"/usr/bin/env" "bash" "-c" "opam exec -- dune runtest" failed with exit status 1
2024-05-11 13:20.08: Job failed: Failed: Build failed