Organisationsocaml-opamocaml-mccsa7d839 (master)macos-homebrew-4.14_opam-2.3

macos-homebrew-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-06-12 14:13.54: New job: test ocaml-opam/ocaml-mccs https://github.com/ocaml-opam/ocaml-mccs.git#refs/heads/master (a7d839cb67e2c4088d5ac58e6e2130174dca5139) (macos-x86_64:macos-homebrew-4.14_opam-2.3)
Base: macos-homebrew-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-opam/ocaml-mccs.git" -b "master" && cd "ocaml-mccs" && git reset --hard a7d839cb
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.3 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mccs.opam ./src/./
RUN opam pin add -yn mccs.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-c++.1.0 cppo.1.8.0 cudf.0.10 dune.3.19.1 extlib.1.8.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y mccs.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . ./src
RUN cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-06-12 14:13.54: Using cache hint "ocaml-opam/ocaml-mccs-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.3-be9cf801a73aeceb610cb868c627beea"
2025-06-12 14:13.54: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mccs.opam) (dst ./src/./))
(run (network host)
(shell "opam pin add -yn mccs.dev './src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base conf-c++.1.0 cppo.1.8.0 cudf.0.10 dune.3.19.1 extlib.1.8.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y mccs.dev $DEPS"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst ./src))
(run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2025-06-12 14:13.54: Waiting for resource in pool OCluster
2025-06-12 14:16.13: Waiting for worker…
2025-06-12 16:10.48: Got resource from pool OCluster
Building on i7-worker-03
All commits already cached
HEAD is now at a7d839c Version 1.1+19


(from macos-homebrew-ocaml-4.14)
2025-06-12 16:10.49 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache


/: (comment macos-homebrew-4.14_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-06-12 16:10.49 ---> using "d185bb362ab7a62e22c76fe28c4578fe7a4e17f7cc7bc09a3073972dfb5efd3b" from cache


/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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 /Users/mac1000/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=1 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2025-06-12 16:10.50 ---> using "1a239dab0512a5f76e4948de67b26faca67b4de935df003aa7f81d4e2d68958d" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-12 16:10.50 ---> using "f52eecff7be584d99550d2f8c42b8f22f9135c2276c46c827a485f089226c5ac" from cache


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
11bdbee611..a28eb8a148  master     -> origin/master
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).


The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.5.0
- ocaml-config.3
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-12 16:10.50 ---> using "cbe0def484142b57e323ed60e71b5ea1be1c62ce432e64083775819603125847" from cache


/: (copy (src mccs.opam) (dst ./src/./))
2025-06-12 16:10.52 ---> saved as "51958d9cd22e502a52a65c6d89255968d4c08f30d6dc00961610330c60cb76ac"


/: (run (network host)
(shell "opam pin add -yn mccs.dev './src/./'"))
[mccs.dev] synchronised (file:///Users/mac1000/src)
mccs is now pinned to file:///Users/mac1000/src (version dev)
2025-06-12 16:11.02 ---> saved as "84639082fdc29b93bdc8be10068a7130291a54cef9f9bb720f6614be63fcacb8"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-06-12 16:11.04 ---> saved as "38bd2f8bfbb31633c197701c5691efd069043b02e9f31d4f5cbc02a2eeb0475d"


/: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-c++.1.0 cppo.1.8.0 cudf.0.10 dune.3.19.1 extlib.1.8.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1")


/: (env CI true)


/: (env OCAMLCI true)


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y mccs.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mccs.dev] synchronised (file:///Users/mac1000/src)


[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.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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).
2025-06-12 16:11.51 ---> saved as "fab48a110c35e542512340cf094f964d77ff7fa377b275687ecfd2060a0efcb6"


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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 5 packages
- install conf-c++ 1.0
- install cppo     1.8.0
- install cudf     0.10
- install dune     3.19.1
- install extlib   1.8.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved cudf.0.10  (cached)
-> installed conf-c++.1.0
-> retrieved extlib.1.8.0  (cached)
-> retrieved dune.3.19.1  (cached)
-> installed dune.3.19.1
-> installed cppo.1.8.0
-> installed extlib.1.8.0
-> installed cudf.0.10
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-12 16:12.59 ---> saved as "01bd7d918aa31af826577213fdfcfef0d3ce9c6be06de1593f1237e4cadb2d20"


/: (copy (src .) (dst ./src))
2025-06-12 16:13.01 ---> saved as "6e5ebff1f3b16e87298909b8a900023e25b427759467352d01d030443e54aaec"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "src/dune", line 4, characters 3-18:
4 |    cudf_reductions cudf_tools glpk_solver lp_solver lexagregate_combiner
^^^^^^^^^^^^^^^
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -Wall -Wextra -Wno-unused-parameter -x c++ -std=gnu++11 -DUSEGLPK -g -I /Users/mac1000/.opam/4.14.2/lib/ocaml -I /Users/mac1000/.opam/4.14.2/lib/cudf -I /Users/mac1000/.opam/4.14.2/lib/extlib -I glpk -o cudf_reductions.o -c cudf_reductions.cpp)
In file included from cudf_reductions.cpp:9:
In file included from ./cudf_reductions.h:18:
./cudf.h:21:10: fatal error: 'cstdio' file not found
21 | #include <cstdio>
|          ^~~~~~~~
1 error generated.
File "src/dune", line 3, characters 51-65:
3 |  (cxx_names changed_criteria constraint_generation count_criteria
^^^^^^^^^^^^^^
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -Wall -Wextra -Wno-unused-parameter -x c++ -std=gnu++11 -DUSEGLPK -g -I /Users/mac1000/.opam/4.14.2/lib/ocaml -I /Users/mac1000/.opam/4.14.2/lib/cudf -I /Users/mac1000/.opam/4.14.2/lib/extlib -I glpk -o count_criteria.o -c count_criteria.cpp)
In file included from count_criteria.cpp:10:
In file included from ./count_criteria.h:13:
In file included from ./abstract_criteria.h:13:
./cudf.h:21:10: fatal error: 'cstdio' file not found
21 | #include <cstdio>
|          ^~~~~~~~
1 error generated.
File "src/dune", line 4, characters 19-29:
4 |    cudf_reductions cudf_tools glpk_solver lp_solver lexagregate_combiner
^^^^^^^^^^
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -Wall -Wextra -Wno-unused-parameter -x c++ -std=gnu++11 -DUSEGLPK -g -I /Users/mac1000/.opam/4.14.2/lib/ocaml -I /Users/mac1000/.opam/4.14.2/lib/cudf -I /Users/mac1000/.opam/4.14.2/lib/extlib -I glpk -o cudf_tools.o -c cudf_tools.cpp)
In file included from cudf_tools.cpp:9:
./cudf.h:21:10: fatal error: 'cstdio' file not found
21 | #include <cstdio>
|          ^~~~~~~~
1 error generated.
File "src/dune", line 3, characters 12-28:
3 |  (cxx_names changed_criteria constraint_generation count_criteria
^^^^^^^^^^^^^^^^
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -Wall -Wextra -Wno-unused-parameter -x c++ -std=gnu++11 -DUSEGLPK -g -I /Users/mac1000/.opam/4.14.2/lib/ocaml -I /Users/mac1000/.opam/4.14.2/lib/cudf -I /Users/mac1000/.opam/4.14.2/lib/extlib -I glpk -o changed_criteria.o -c changed_criteria.cpp)
In file included from changed_criteria.cpp:9:
In file included from ./changed_criteria.h:12:
In file included from ./abstract_criteria.h:13:
./cudf.h:21:10: fatal error: 'cstdio' file not found
21 | #include <cstdio>
|          ^~~~~~~~
1 error generated.
File "src/dune", line 4, characters 52-72:
4 |    cudf_reductions cudf_tools glpk_solver lp_solver lexagregate_combiner
^^^^^^^^^^^^^^^^^^^^
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -Wall -Wextra -Wno-unused-parameter -x c++ -std=gnu++11 -DUSEGLPK -g -I /Users/mac1000/.opam/4.14.2/lib/ocaml -I /Users/mac1000/.opam/4.14.2/lib/cudf -I /Users/mac1000/.opam/4.14.2/lib/extlib -I glpk -o lexagregate_combiner.o -c lexagregate_combiner.cpp)
lexagregate_combiner.cpp:9:10: fatal error: 'cstdio' file not found
9 | #include <cstdio>
|          ^~~~~~~~
1 error generated.
File "src/dune", line 3, characters 29-50:
3 |  (cxx_names changed_criteria constraint_generation count_criteria
^^^^^^^^^^^^^^^^^^^^^
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -Wall -Wextra -Wno-unused-parameter -x c++ -std=gnu++11 -DUSEGLPK -g -I /Users/mac1000/.opam/4.14.2/lib/ocaml -I /Users/mac1000/.opam/4.14.2/lib/cudf -I /Users/mac1000/.opam/4.14.2/lib/extlib -I glpk -o constraint_generation.o -c constraint_generation.cpp)
In file included from constraint_generation.cpp:10:
In file included from ./constraint_generation.h:13:
./cudf.h:21:10: fatal error: 'cstdio' file not found
21 | #include <cstdio>
|          ^~~~~~~~
1 error generated.
File "src/dune", line 5, characters 3-15:
5 |    new_criteria notuptodate_criteria removed_criteria mccscudf mccs_stubs)
^^^^^^^^^^^^
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -Wall -Wextra -Wno-unused-parameter -x c++ -std=gnu++11 -DUSEGLPK -g -I /Users/mac1000/.opam/4.14.2/lib/ocaml -I /Users/mac1000/.opam/4.14.2/lib/cudf -I /Users/mac1000/.opam/4.14.2/lib/extlib -I glpk -o new_criteria.o -c new_criteria.cpp)
In file included from new_criteria.cpp:9:
In file included from ./new_criteria.h:12:
In file included from ./abstract_criteria.h:13:
./cudf.h:21:10: fatal error: 'cstdio' file not found
21 | #include <cstdio>
|          ^~~~~~~~
1 error generated.
File "src/dune", line 5, characters 54-62:
5 |    new_criteria notuptodate_criteria removed_criteria mccscudf mccs_stubs)
^^^^^^^^
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -Wall -Wextra -Wno-unused-parameter -x c++ -std=gnu++11 -DUSEGLPK -g -I /Users/mac1000/.opam/4.14.2/lib/ocaml -I /Users/mac1000/.opam/4.14.2/lib/cudf -I /Users/mac1000/.opam/4.14.2/lib/extlib -I glpk -o mccscudf.o -c mccscudf.cpp)
In file included from mccscudf.cpp:8:
./cudf.h:21:10: fatal error: 'cstdio' file not found
21 | #include <cstdio>
|          ^~~~~~~~
1 error generated.
File "src/dune", line 4, characters 42-51:
4 |    cudf_reductions cudf_tools glpk_solver lp_solver lexagregate_combiner
^^^^^^^^^
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -Wall -Wextra -Wno-unused-parameter -x c++ -std=gnu++11 -DUSEGLPK -g -I /Users/mac1000/.opam/4.14.2/lib/ocaml -I /Users/mac1000/.opam/4.14.2/lib/cudf -I /Users/mac1000/.opam/4.14.2/lib/extlib -I glpk -o lp_solver.o -c lp_solver.cpp)
lp_solver.cpp:8:10: fatal error: 'cstdio' file not found
8 | #include <cstdio>
|          ^~~~~~~~
1 error generated.
File "src/dune", line 4, characters 30-41:
4 |    cudf_reductions cudf_tools glpk_solver lp_solver lexagregate_combiner
^^^^^^^^^^^
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -Wall -Wextra -Wno-unused-parameter -x c++ -std=gnu++11 -DUSEGLPK -g -I /Users/mac1000/.opam/4.14.2/lib/ocaml -I /Users/mac1000/.opam/4.14.2/lib/cudf -I /Users/mac1000/.opam/4.14.2/lib/extlib -I glpk -o glpk_solver.o -c glpk_solver.cpp)
glpk_solver.cpp:15:10: fatal error: 'cmath' file not found
15 | #include <cmath>
|          ^~~~~~~
1 error generated.
File "src/dune", line 5, characters 16-36:
5 |    new_criteria notuptodate_criteria removed_criteria mccscudf mccs_stubs)
^^^^^^^^^^^^^^^^^^^^
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -Wall -Wextra -Wno-unused-parameter -x c++ -std=gnu++11 -DUSEGLPK -g -I /Users/mac1000/.opam/4.14.2/lib/ocaml -I /Users/mac1000/.opam/4.14.2/lib/cudf -I /Users/mac1000/.opam/4.14.2/lib/extlib -I glpk -o notuptodate_criteria.o -c notuptodate_criteria.cpp)
In file included from notuptodate_criteria.cpp:9:
In file included from ./notuptodate_criteria.h:12:
In file included from ./abstract_criteria.h:13:
./cudf.h:21:10: fatal error: 'cstdio' file not found
21 | #include <cstdio>
|          ^~~~~~~~
1 error generated.
File "src/dune", line 5, characters 37-53:
5 |    new_criteria notuptodate_criteria removed_criteria mccscudf mccs_stubs)
^^^^^^^^^^^^^^^^
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -Wall -Wextra -Wno-unused-parameter -x c++ -std=gnu++11 -DUSEGLPK -g -I /Users/mac1000/.opam/4.14.2/lib/ocaml -I /Users/mac1000/.opam/4.14.2/lib/cudf -I /Users/mac1000/.opam/4.14.2/lib/extlib -I glpk -o removed_criteria.o -c removed_criteria.cpp)
In file included from removed_criteria.cpp:9:
In file included from ./removed_criteria.h:12:
In file included from ./abstract_criteria.h:13:
./cudf.h:21:10: fatal error: 'cstdio' file not found
21 | #include <cstdio>
|          ^~~~~~~~
1 error generated.
File "src/dune", line 5, characters 63-73:
5 |    new_criteria notuptodate_criteria removed_criteria mccscudf mccs_stubs)
^^^^^^^^^^
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -Wall -Wextra -Wno-unused-parameter -x c++ -std=gnu++11 -DUSEGLPK -g -I /Users/mac1000/.opam/4.14.2/lib/ocaml -I /Users/mac1000/.opam/4.14.2/lib/cudf -I /Users/mac1000/.opam/4.14.2/lib/extlib -I glpk -o mccs_stubs.o -c mccs_stubs.cpp)
mccs_stubs.cpp:15:10: fatal error: 'map' file not found
15 | #include <map>
|          ^~~~~
1 error generated.
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-06-12 16:13.11: Job failed: Failed: Build failed