2025-06-19 20:38.10: New job: test Leonidas-from-XIV/opam-test https://github.com/Leonidas-from-XIV/opam-test.git#refs/heads/main (9cc745570379d3b45f970893cfeae4a1c05e4393) (linux-x86_64:(lower-bound)) Base: ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e Opam project build To reproduce locally: git clone --recursive "https://github.com/Leonidas-from-XIV/opam-test.git" -b "main" && cd "opam-test" && git reset --hard 9cc74557 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e # debian-12-4.08_opam-2.3 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.3 /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 c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 opam-test.opam ./ RUN opam pin add -yn opam-test.dev './' RUN echo '(lang dune 3.0)' > './dune-project' ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp4.4.08+1 cmdliner.1.0.4 conf-c++.1.0 conf-m4.1 cppo.1.6.1 cudf.0.7 dose3.5.0.1 dune.2.9.3 extlib.1.7.0 jbuilder.1.0+beta20.1 mccs.1.1+10 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocamlgraph.1.8.8 opam-client.2.0.0 opam-core.2.0.0 opam-file-format.2.0.0 opam-format.2.0.0 opam-repository.2.0.0 opam-solver.2.0.0 opam-state.2.0.0 re.1.7.2" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.3 --depext-only -y opam-test.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 2025-06-19 20:38.10: Using cache hint "Leonidas-from-XIV/opam-test-ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e-debian-12-4.08_opam-2.3-a2e06e30d8a5bf461fab4df06914aba5" 2025-06-19 20:38.10: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e) (comment debian-12-4.08_opam-2.3) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src opam-test.opam) (dst ./)) (run (network host) (shell "opam pin add -yn opam-test.dev './'")) (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp4.4.08+1 cmdliner.1.0.4 conf-c++.1.0 conf-m4.1 cppo.1.6.1 cudf.0.7 dose3.5.0.1 dune.2.9.3 extlib.1.7.0 jbuilder.1.0+beta20.1 mccs.1.1+10 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocamlgraph.1.8.8 opam-client.2.0.0 opam-core.2.0.0 opam-file-format.2.0.0 opam-format.2.0.0 opam-repository.2.0.0 opam-solver.2.0.0 opam-state.2.0.0 re.1.7.2") (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.3 --depext-only -y opam-test.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")) ) 2025-06-19 20:38.10: Waiting for resource in pool OCluster 2025-06-19 20:40.31: Waiting for worker… 2025-06-19 20:44.36: Got resource from pool OCluster Building on bremusa.ocamllabs.io All commits already cached HEAD is now at 9cc7455 Add README (from ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e) 2025-06-19 20:44.36 ---> using "4ea5038d254cfd14663698deb665a2dc4ce1e1383d544c063adebb02ed15ce16" from cache /: (comment debian-12-4.08_opam-2.3) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam")) 2025-06-19 20:44.36 ---> using "513c9792ce65a5b8ab8e9c5d5d0cb18860fa2e52baa6ff8e91e0f4d91def9aa9" 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, 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] Initialised 2025-06-19 20:44.36 ---> using "9eb80386bacfd7938f12d25e194913cafb5894d8e3739476ca8ba44c9606ec01" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 6.8.0-59-generic The OCaml toplevel, version 4.08.1 2.3.0 2025-06-19 20:44.36 ---> using "92e2498cc7a78f593d78a8bf54c5bc24658d99052f31b70c33e471d45d365ae6" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-06-19 20:44.36 ---> using "b6f04723b137dea03fa4030960754640f1ca54b23d9fe8aab83e1e48e2509f1f" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && git log --no-decorate -n1 --oneline && opam update -u")) c7d6d1d2aa Merge pull request #27880 from MisterDA/os-family-fedora <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+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. # To update the current shell environment, run: eval $(opam env) 2025-06-19 20:44.36 ---> using "e2f3ee7083e2abd4d888795c66ea3487669c0c3064974593a5483dedf53c721f" from cache /src: (copy (src opam-test.opam) (dst ./)) 2025-06-19 20:44.37 ---> saved as "35db009c80584c2f4fc49488762a97107be6eb8046283fb20c0019dc1132aed3" /src: (run (network host) (shell "opam pin add -yn opam-test.dev './'")) [opam-test.dev] synchronised (file:///src) [WARNING] Failed checks on opam-test package definition from source at file:///src: warning 68: Missing field 'license' opam-test is now pinned to file:///src (version dev) 2025-06-19 20:44.40 ---> saved as "3489c8ed26f7a0d3be8baed75a0f266b2ab0a74f2dd5d6ba6af655d2aff904c0" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-06-19 20:44.40 ---> saved as "2018f020b2c3da3525fe26051692eadb4a9de3c417c827a8b63fe838b82e8cf3" /src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp4.4.08+1 cmdliner.1.0.4 conf-c++.1.0 conf-m4.1 cppo.1.6.1 cudf.0.7 dose3.5.0.1 dune.2.9.3 extlib.1.7.0 jbuilder.1.0+beta20.1 mccs.1.1+10 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocamlgraph.1.8.8 opam-client.2.0.0 opam-core.2.0.0 opam-file-format.2.0.0 opam-format.2.0.0 opam-repository.2.0.0 opam-solver.2.0.0 opam-state.2.0.0 re.1.7.2") /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.3 --depext-only -y opam-test.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] - Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [267 kB] - Fetched 370 kB in 1s (726 kB/s) - Reading package lists... - <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [opam-test.dev] synchronised (file:///src) [NOTE] Package ocaml-config is already installed (current version is 1). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1). [NOTE] Package ocaml is already installed (current version is 4.08.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: m4 <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package m4. - (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 ... 18747 files and directories currently installed.) - Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ... - Unpacking m4 (1.4.19-3) ... - Setting up m4 (1.4.19-3) ... 2025-06-19 20:45.03 ---> saved as "3a16fb23b86f898e25ecfb49b8db8aa141880a9373ac259d677d35c2d74ec08a" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) [NOTE] Package ocaml-config is already installed (current version is 1). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1). [NOTE] Package ocaml is already installed (current version is 4.08.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 23 packages - install base-bytes base - install camlp4 4.08+1 - install cmdliner 1.0.4 - install conf-c++ 1.0 - install conf-m4 1 - install cppo 1.6.1 - install cudf 0.7 - install dose3 5.0.1 - install dune 2.9.3 - install extlib 1.7.0 - install jbuilder 1.0+beta20.1 (deprecated) - install mccs 1.1+10 - install ocamlbuild 0.14.0 - install ocamlfind 1.8.0 - install ocamlgraph 1.8.8 - install opam-client 2.0.0 - install opam-core 2.0.0 - install opam-file-format 2.0.0 - install opam-format 2.0.0 - install opam-repository 2.0.0 - install opam-solver 2.0.0 - install opam-state 2.0.0 - install re 1.7.2 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved cppo.1.6.1 (cached) -> retrieved cmdliner.1.0.4 (cached) -> retrieved camlp4.4.08+1 (cached) -> installed conf-c++.1.0 -> installed conf-m4.1 -> retrieved cudf.0.7 (cached) -> retrieved dose3.5.0.1 (cached) -> retrieved extlib.1.7.0 (cached) -> retrieved mccs.1.1+10 (cached) -> retrieved ocamlbuild.0.14.0 (cached) -> retrieved jbuilder.1.0+beta20.1 (cached) -> retrieved ocamlfind.1.8.0 (cached) -> retrieved ocamlgraph.1.8.8 (cached) -> retrieved dune.2.9.3 (cached) -> retrieved opam-client.2.0.0, opam-core.2.0.0, opam-format.2.0.0, opam-repository.2.0.0, opam-solver.2.0.0, opam-state.2.0.0 (cached) -> retrieved opam-file-format.2.0.0 (cached) -> retrieved re.1.7.2 (cached) -> installed opam-file-format.2.0.0 -> installed cmdliner.1.0.4 -> installed ocamlfind.1.8.0 -> installed base-bytes.base -> installed ocamlbuild.0.14.0 -> installed jbuilder.1.0+beta20.1 -> installed cppo.1.6.1 -> installed re.1.7.2 -> installed ocamlgraph.1.8.8 -> installed extlib.1.7.0 -> installed dune.2.9.3 -> installed opam-core.2.0.0 -> installed opam-format.2.0.0 -> installed opam-repository.2.0.0 -> installed opam-state.2.0.0 -> installed camlp4.4.08+1 -> installed cudf.0.7 [ERROR] The compilation of mccs.1.1+10 failed at "dune build -p mccs -j 71". -> installed dose3.5.0.1 #=== ERROR while compiling mccs.1.1+10 ========================================# # context 2.3.0 | linux/x86_64 | ocaml-base-compiler.4.08.1 | git+file:///home/opam/opam-repository # path ~/.opam/4.08/.opam-switch/build/mccs.1.1+10 # command ~/.opam/4.08/bin/dune build -p mccs -j 71 # exit-code 1 # env-file ~/.opam/log/mccs-1-e5e7c1.env # output-file ~/.opam/log/mccs-1-e5e7c1.out ### output ### # gcc src/glpk/wclique1.o # src/glpk/misc/wclique1.c: In function '_glp_wclique1': # src/glpk/misc/wclique1.c:121:7: warning: 'memset' specified bound between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] # src/glpk/misc/wclique1.c:123:7: warning: 'memset' specified bound between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] # gcc src/mccs_stubs.o (exit 1) # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fcommon -fPIC -I . -DUSEGLPK -g -I /home/opam/.opam/4.08/lib/ocaml -I /home/opam/.opam/4.08/lib/bytes -I /home/opam/.opam/4.08/lib/cudf -I /home/opam/.opam/4.08/lib/extlib -I glpk -o mccs_stubs.o -c mccs_stubs.cpp) # In file included from /usr/include/c++/12/map:60, # from mccs_stubs.cpp:14: # /usr/include/c++/12/bits/stl_tree.h: In instantiation of 'static const _Key& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_S_key(_Const_Link_type) [with _Key = CUDFVersionedPackage*; _Val = CUDFVersionedPackage*; _KeyOfValue = std::_Identity<CUDFVersionedPackage*>; _Compare = CUDFPackage_comparator; _Alloc = std::allocator<CUDFVersionedPackage*>; _Const_Link_type = const std::_Rb_tree_node<CUDFVersionedPackage*>*]': # /usr/include/c++/12/bits/stl_tree.h:2117:47: required from 'std::pair<std::_Rb_tree_node_base*, std::_Rb_tree_node_base*> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_unique_pos(const key_type&) [with _Key = CUDFVersionedPackage*; _Val = CUDFVersionedPackage*; _KeyOfValue = std::_Identity<CUDFVersionedPackage*>; _Compare = CUDFPackage_comparator; _Alloc = std::allocator<CUDFVersionedPackage*>; key_type = CUDFVersionedPackage*]' # /usr/include/c++/12/bits/stl_tree.h:2170:4: required from 'std::pair<std::_Rb_tree_iterator<_Val>, bool> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_unique(_Arg&&) [with _Arg = CUDFVersionedPackage* const&; _Key = CUDFVersionedPackage*; _Val = CUDFVersionedPackage*; _KeyOfValue = std::_Identity<CUDFVersionedPackage*>; _Compare = CUDFPackage_comparator; _Alloc = std::allocator<CUDFVersionedPackage*>]' # /usr/include/c++/12/bits/stl_set.h:512:25: required from 'std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(const value_type&) [with _Key = CUDFVersionedPackage*; _Compare = CUDFPackage_comparator; _Alloc = std::allocator<CUDFVersionedPackage*>; typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key>::other>::const_iterator = std::_Rb_tree<CUDFVersionedPackage*, CUDFVersionedPackage*, std::_Identity<CUDFVersionedPackage*>, CUDFPackage_comparator, std::allocator<CUDFVersionedPackage*> >::const_iterator; typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key>::other = std::allocator<CUDFVersionedPackage*>; typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key> = __gnu_cxx::__alloc_traits<std::allocator<CUDFVersionedPackage*>, CUDFVersionedPackage*>::rebind<CUDFVersionedPackage*>; typename _Allocator::value_type = CUDFVersionedPackage*; value_type = CUDFVersionedPackage*]' # mccs_stubs.cpp:316:39: required from here # /usr/include/c++/12/bits/stl_tree.h:770:15: error: static assertion failed: comparison object must be invocable as const # 770 | is_invocable_v<const _Compare&, const _Key&, const _Key&>, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # /usr/include/c++/12/bits/stl_tree.h:770:15: note: 'std::is_invocable_v<const CUDFPackage_comparator&, CUDFVersionedPackage* const&, CUDFVersionedPackage* const&>' evaluates to false <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build mccs 1.1+10 +- +- The following changes have been performed (the rest was aborted) | - install base-bytes base | - install camlp4 4.08+1 | - install cmdliner 1.0.4 | - install conf-c++ 1.0 | - install conf-m4 1 | - install cppo 1.6.1 | - install cudf 0.7 | - install dose3 5.0.1 | - install dune 2.9.3 | - install extlib 1.7.0 | - install jbuilder 1.0+beta20.1 | - install ocamlbuild 0.14.0 | - install ocamlfind 1.8.0 | - install ocamlgraph 1.8.8 | - install opam-core 2.0.0 | - install opam-file-format 2.0.0 | - install opam-format 2.0.0 | - install opam-repository 2.0.0 | - install opam-state 2.0.0 | - install re 1.7.2 +- <><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><> => Note: This package is deprecated. The former state can be restored with: /usr/bin/opam switch import "/home/opam/.opam/4.08/.opam-switch/backup/state-20250619204504.export" # To update the current shell environment, run: eval $(opam env) "/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31 2025-06-19 20:49.42: Job failed: Failed: Build failed