2025-01-26 20:21.27: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/heads/master (d9dd5bedfadbcbee12811f7f199534ecbbc818be) (freebsd-x86_64:freebsd-14.1-4.14_opam-2.3) Base: freebsd-14.1-ocaml-4.14 Opam project build To reproduce locally: git clone --recursive "https://github.com/ygrek/ocurl.git" -b "master" && cd "ocurl" && git reset --hard d9dd5bed cat > Dockerfile <<'END-OF-DOCKERFILE' FROM freebsd-14.1-ocaml-4.14 # freebsd-14.1-4.14_opam-2.3 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/local/bin/opam-2.3 /usr/local/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 d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 ocurl.opam curl_lwt.opam curl.opam ./ RUN opam pin add -yn ocurl.dev './' && \ opam pin add -yn curl_lwt.dev './' && \ opam pin add -yn curl.dev './' RUN echo '(lang dune 3.0)' > './dune-project' ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 lwt.5.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ocurl.dev curl_lwt.dev curl.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-01-26 20:21.27: Using cache hint "ygrek/ocurl-freebsd-14.1-ocaml-4.14-freebsd-14.1-4.14_opam-2.3-f00dfc61b9018940efa6fd1f780af004" 2025-01-26 20:21.27: Using OBuilder spec: ((from freebsd-14.1-ocaml-4.14) (comment freebsd-14.1-4.14_opam-2.3) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/local/bin/opam-2.3 /usr/local/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 d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src ocurl.opam curl_lwt.opam curl.opam) (dst ./)) (run (network host) (shell "opam pin add -yn ocurl.dev './' && \ \nopam pin add -yn curl_lwt.dev './' && \ \nopam pin add -yn curl.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 conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 lwt.5.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.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 ocurl.dev curl_lwt.dev curl.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-01-26 20:21.27: Waiting for resource in pool OCluster 2025-01-26 20:21.27: Waiting for worker… 2025-01-26 20:21.27: Got resource from pool OCluster Building on spring All commits already cached HEAD is now at d9dd5be Implement CURLOPT_CLOSESOCKETFUNCTION (from freebsd-14.1-ocaml-4.14) 2025-01-26 20:09.07 ---> using "ae13298952475462d6ff8423c053aa12bd6b321268da2da393f31b39d910ae06" from cache /: (comment freebsd-14.1-4.14_opam-2.3) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/local/bin/opam-2.3 /usr/local/bin/opam")) 2025-01-26 20:09.08 ---> using "a01a14b3afaf0e96198b4995f7495eb095c8d446bea3004be25da82cfecae768" from cache /src: (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 /home/opam/.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:///home/opam/opam-repository 2025-01-26 20:09.08 ---> using "a60b36efeb57e54e6ca4e23dae975fff8d0668822376b173ed63b66aa24444bc" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) FreeBSD 14.1-RELEASE-p5 The OCaml toplevel, version 4.14.2 2.3.0 2025-01-26 20:09.08 ---> using "188549049d3e68e7a3a1a01e1161c07610550818a3f0b75ffbaafa2a77641d27" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-01-26 20:09.08 ---> using "39fdaef227d4780a13f56312f6b694c46af609f82c1eca907bb338ae047f238f" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD c31c18de15..12d8668654 master -> origin/master d1a3803c0c Merge pull request #27313 from maiste/release-dune-3.17.2 <><> 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). The following packages are not being upgraded because the new versions conflict with other installed packages: - ocaml.5.4.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. 2025-01-26 20:09.09 ---> using "aec657de59dbef933267e0599d52202b575e9172f8ebd6da57e82782de7b4edb" from cache /src: (copy (src ocurl.opam curl_lwt.opam curl.opam) (dst ./)) 2025-01-26 20:09.09 ---> using "71a4897b05708ef67f90dcb34cbaa7a43c89aebc4c9677b77d9c842253dedfeb" from cache /src: (run (network host) (shell "opam pin add -yn ocurl.dev './' && \ \nopam pin add -yn curl_lwt.dev './' && \ \nopam pin add -yn curl.dev './'")) [ocurl.dev] synchronised (file:///src) ocurl is now pinned to file:///src (version dev) Package curl_lwt does not exist, create as a NEW package? [y/n] y [curl_lwt.dev] synchronised (file:///src) curl_lwt is now pinned to file:///src (version dev) Package curl does not exist, create as a NEW package? [y/n] y [curl.dev] synchronised (file:///src) curl is now pinned to file:///src (version dev) 2025-01-26 20:09.09 ---> using "33cc2459ebce3986b49d615aeeaccfbda9e2e827e79d7dcc6cf39fc60a9f02b2" from cache /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-01-26 20:09.09 ---> using "71a370e752b7e1f0e3c9cfb31359f86cd12df06c132461a0ea4b302a0dafefc9" from cache /src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 lwt.5.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.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 ocurl.dev curl_lwt.dev curl.dev $DEPS")) [WARNING] Unknown update command for bsd, skipping system update <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [curl.dev] synchronised (file:///src) [curl_lwt.dev] synchronised (file:///src) [ocurl.dev] synchronised (file:///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-01-26 20:09.10 ---> using "62e68d5cc1f57c03b06a305aec45f051cd4e58e681cffc86e33db75d8b26f4c2" from cache /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.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 9 packages ∗ base-bytes base ∗ conf-libcurl 2 ∗ cppo 1.8.0 ∗ csexp 1.5.2 ∗ dune 3.17.2 ∗ dune-configurator 3.17.2 ∗ lwt 5.9.0 ∗ ocamlfind 1.9.6 ∗ ocplib-endian 1.2 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> ⬇ retrieved csexp.1.5.2 (cached) ∗ installed conf-libcurl.2 ⬇ retrieved cppo.1.8.0 (cached) ⬇ retrieved lwt.5.9.0 (cached) ⬇ retrieved ocamlfind.1.9.6 (cached) ⬇ retrieved ocplib-endian.1.2 (cached) ⬇ retrieved dune.3.17.2, dune-configurator.3.17.2 (cached) ∗ installed ocamlfind.1.9.6 ∗ installed base-bytes.base ∗ installed dune.3.17.2 ∗ installed csexp.1.5.2 ∗ installed cppo.1.8.0 ∗ installed ocplib-endian.1.2 ∗ installed dune-configurator.3.17.2 ∗ installed lwt.5.9.0 Done. 2025-01-26 20:09.10 ---> using "81d8f6d1101cf70202131209a06a577505d8d9014e645568da49ba2c1a37d350" from cache /src: (copy (src .) (dst /src)) 2025-01-26 20:09.11 ---> saved as "839a29ab785d71e468e30c44dc307e03976f0cf744fb30dc9217cb3b09884582" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) File "dune", line 9, characters 9-20: 9 | (names curl-helper)) ^^^^^^^^^^^ Error: No rule found for cflags.sexp File "examples/dune", line 32, characters 18-25: 32 | (preprocess (pps lwt_ppx)) ^^^^^^^ Error: Library "lwt_ppx" not found. -> required by _build/default/examples/.merlin-conf/exe-test_lwt-0dcf2dfa4ae9573d2c95196fdb3fad76 -> required by alias examples/check File "dune", lines 3-12, characters 0-234: 3 | (library 4 | (public_name curl) 5 | (wrapped false) 6 | (foreign_stubs 7 | (language c) 8 | (flags -DHAVE_CONFIG_H :standard (:include cflags.sexp)) 9 | (names curl-helper)) 10 | (c_library_flags (:include clibs.sexp)) 11 | (libraries unix) 12 | (modules curl)) Error: No rule found for clibs.sexp (cd _build/default && /home/opam/.opam/4.14.2/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-42-69-70 -warn-error -a+31 -g -bin-annot -I examples/.ocurl.eobjs/byte -I .curl.objs/byte -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o examples/.ocurl.eobjs/byte/dune__exe__Ocurl.cmo -c -impl examples/ocurl.ml) File "examples/ocurl.ml", line 21, characters 4-14: 21 | let getContent connection url = ^^^^^^^^^^ Warning 32 [unused-value-declaration]: unused value getContent. (cd _build/default && /home/opam/.opam/4.14.2/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-42-69-70 -warn-error -a+31 -g -bin-annot -I examples/.opar.eobjs/byte -I /home/opam/.opam/4.14.2/lib/ocaml/threads -I .curl.objs/byte -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o examples/.opar.eobjs/byte/dune__exe__Opar.cmo -c -impl examples/opar.ml) File "examples/opar.ml", line 9, characters 4-17: 9 | let show_progress fname conn = ^^^^^^^^^^^^^ Warning 32 [unused-value-declaration]: unused value show_progress. jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' DEPS='base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 lwt.5.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build': failed "jail" "-c" "name=obuilder_90885_35354" "mount.devfs" "path=/obuilder/result/9214f26e4147bf7e9b2ddb52e6632527c4741231219ed636bf81ceb791394267/rootfs" "vnet" "exec.start=/sbin/ifconfig lo0 127.0.0.1/8" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' DEPS='base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 lwt.5.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build'" failed with exit status 1 2025-01-26 20:21.34: Job failed: Failed: Build failed