Organisationsocaml-ppxppxlib4aad4e ()freebsd-14.1-5.2_opam-2.3

freebsd-14.1-5.2_opam-2.3

Logs

Show full logs
2024-11-26 14:43.39: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/540/head (4aad4e60c541c0d09455f46340d957f3570e3054) (freebsd-x86_64:freebsd-14.1-5.2_opam-2.3)
Base: freebsd-14.1-ocaml-5.2
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/540/head" && git reset --hard 4aad4e60
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.1-ocaml-5.2
# freebsd-14.1-5.2_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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u
RUN mkdir -p 'bench/vendored/ppx_sexp_conv.v0.15.1/'
COPY --chown=1000:1000 ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam ./
COPY --chown=1000:1000 bench/vendored/ppx_sexp_conv.v0.15.1/ppx_sexp_conv.opam bench/vendored/ppx_sexp_conv.v0.15.1/
RUN opam pin add -yn ppxlib.dev './' && \
    opam pin add -yn ppxlib-tools.dev './' && \
    opam pin add -yn ppxlib-bench.dev './' && \
    opam pin add -yn ppx_sexp_conv 'bench/vendored/ppx_sexp_conv.v0.15.1/'
ENV DEPS="base.v0.17.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.6 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.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-11-26 14:43.39: Using cache hint "ocaml-ppx/ppxlib-freebsd-14.1-ocaml-5.2-freebsd-14.1-5.2_opam-2.3-383eb496658d520e324f19d55ad42b7f"
2024-11-26 14:43.39: Using OBuilder spec:
((from freebsd-14.1-ocaml-5.2)
 (comment freebsd-14.1-5.2_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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
 (run (shell "mkdir -p 'bench/vendored/ppx_sexp_conv.v0.15.1/'"))
 (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
 (copy (src bench/vendored/ppx_sexp_conv.v0.15.1/ppx_sexp_conv.opam)
       (dst bench/vendored/ppx_sexp_conv.v0.15.1/))
 (run (network host)
      (shell  "opam pin add -yn ppxlib.dev './' && \
             \nopam pin add -yn ppxlib-tools.dev './' && \
             \nopam pin add -yn ppxlib-bench.dev './' && \
             \nopam pin add -yn ppx_sexp_conv 'bench/vendored/ppx_sexp_conv.v0.15.1/'"))
 (env DEPS "base.v0.17.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.6 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 yojson.2.2.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 ppxlib.dev ppxlib-tools.dev ppxlib-bench.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-11-26 14:43.39: Waiting for resource in pool OCluster
2024-11-26 14:43.40: Waiting for worker…
2024-11-26 14:43.40: Got resource from pool OCluster
Building on summer
HEAD is now at a4e858c4 Update tests post dummy position change
HEAD is now at 4aad4e60 Add changes entry

(from freebsd-14.1-ocaml-5.2)
2024-11-26 14:32.48 ---> using "b360337939d1644dc8204948bb9f9914639142fcc456a4d40869d01f582b410d" from cache

/: (comment freebsd-14.1-5.2_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"))
2024-11-26 14:32.49 ---> using "ac6a8e53c6a5d1febaa73a40a2a29987a33e29d91e524c6665af92723cb99de9" 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
2024-11-26 14:32.49 ---> using "b87241ae74f21a568ed56e39cf4bc3a2162f2ccf12ae04beb7a59fae0c6ad0f4" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.1-RELEASE-p5
The OCaml toplevel, version 5.2.0
2.3.0
2024-11-26 14:32.49 ---> using "ccfe7de98cb2ca95bb2fb24fb9b452db076473e62582d2f18508a506b3873aeb" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-11-26 14:32.49 ---> using "3aa38c608cf884b6eb35c0bfaf45886f64d08db7de724bafee2d1fcd0ed410ea" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
371a52f4a8 Merge pull request #26816 from maiste/release-dune-3.16.1

<><> 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
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2024-11-26 14:32.50 ---> using "fa2d5dffb7e5ef91ef430539ba0a490a7e3af346b1a8cf4fc8fc17005a3a925d" from cache

/src: (run (shell "mkdir -p 'bench/vendored/ppx_sexp_conv.v0.15.1/'"))
2024-11-26 14:32.50 ---> using "364a9c196f69d4b090f07744275321a533f0dab3323d372175237e26b988354f" from cache

/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2024-11-26 14:32.50 ---> using "09db481764db6ab8d653cace68d876adfa2b23298d0c66be4ce7acb785867017" from cache

/src: (copy (src bench/vendored/ppx_sexp_conv.v0.15.1/ppx_sexp_conv.opam)
            (dst bench/vendored/ppx_sexp_conv.v0.15.1/))
2024-11-26 14:32.50 ---> using "48f4c914744adcadfc8d8d9a5eb0fa598aa356d29b6ea1b813d07bd0e864216c" from cache

/src: (run (network host)
           (shell  "opam pin add -yn ppxlib.dev './' && \
                  \nopam pin add -yn ppxlib-tools.dev './' && \
                  \nopam pin add -yn ppxlib-bench.dev './' && \
                  \nopam pin add -yn ppx_sexp_conv 'bench/vendored/ppx_sexp_conv.v0.15.1/'"))
[ppxlib.dev] synchronised (file:///src)
ppxlib is now pinned to file:///src (version dev)
Package ppxlib-tools does not exist, create as a NEW package? [y/n] y
[ppxlib-tools.dev] synchronised (file:///src)
ppxlib-tools is now pinned to file:///src (version dev)
Package ppxlib-bench does not exist, create as a NEW package? [y/n] y
[ppxlib-bench.dev] synchronised (file:///src)
ppxlib-bench is now pinned to file:///src (version dev)
[ppx_sexp_conv.v0.17.0] synchronised (file:///src/bench/vendored/ppx_sexp_conv.v0.15.1)
ppx_sexp_conv is now pinned to file:///src/bench/vendored/ppx_sexp_conv.v0.15.1 (version v0.15.0)
2024-11-26 14:32.50 ---> using "345d01bcdbc289854b039914d770202022f692b7106d7b10d29c33e7c00def5d" from cache

/src: (env DEPS "base.v0.17.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.6 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 yojson.2.2.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 ppxlib.dev ppxlib-tools.dev ppxlib-bench.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppxlib.dev] synchronised (no changes)
[ppxlib-tools.dev] synchronised (no changes)
[ppxlib-bench.dev] synchronised (no changes)

[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-11-26 14:32.51 ---> using "dfcee23e55f9b421870823782cfb6ec715ad0e68f4df776af4c84f13240ef156" 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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 15 packages
   base                    v0.17.1
   cinaps                  v0.15.1
   cmdliner                1.3.0
   csexp                   1.5.2
   dune                    3.16.1
   dune-configurator       3.16.1
   ocaml-compiler-libs     v0.17.0
   ocaml_intrinsics_kernel v0.17.1
   ocamlfind               1.9.6
   ppx_derivers            1.2.1
   re                      1.12.0
   seq                     base
   sexplib0                v0.17.0
   stdlib-shims            0.3.0
   yojson                  2.2.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved base.v0.17.1  (cached)
 retrieved cmdliner.1.3.0  (cached)
 retrieved csexp.1.5.2  (cached)
 retrieved cinaps.v0.15.1  (cached)
 retrieved ocaml-compiler-libs.v0.17.0  (cached)
 retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
 retrieved ocamlfind.1.9.6  (cached)
 retrieved re.1.12.0  (cached)
 retrieved seq.base  (cached)
 installed seq.base
 retrieved sexplib0.v0.17.0  (cached)
 retrieved ppx_derivers.1.2.1  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved yojson.2.2.2  (cached)
 retrieved dune.3.16.1, dune-configurator.3.16.1  (cached)
 installed cmdliner.1.3.0
 installed ocamlfind.1.9.6
 installed dune.3.16.1
 installed ppx_derivers.1.2.1
 installed csexp.1.5.2
 installed yojson.2.2.2
 installed stdlib-shims.0.3.0
 installed sexplib0.v0.17.0
 installed re.1.12.0
 installed ocaml_intrinsics_kernel.v0.17.1
 installed ocaml-compiler-libs.v0.17.0
 installed cinaps.v0.15.1
 installed dune-configurator.3.16.1
 installed base.v0.17.1
Done.
2024-11-26 14:32.51 ---> using "72e7372e6f35331588a2fe7932778c40337446ecee53a0ed0e2a8a48815c981f" from cache

/src: (copy (src .) (dst /src))
2024-11-26 14:32.51 ---> saved as "a1e02beca08ddb0bc9f7701cb94711ab0491b2a8a525907cbec03b851c7a62cb"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "test/driver/error_embedding/test.t/run.t", line 1, characters 0-0:
/usr/local/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/6f992699bafce1e2e9ec090f238df773/default/test/driver/error_embedding/test.t/run.t _build/.sandbox/6f992699bafce1e2e9ec090f238df773/default/test/driver/error_embedding/test.t/run.t.corrected
diff --git a/_build/.sandbox/6f992699bafce1e2e9ec090f238df773/default/test/driver/error_embedding/test.t/run.t b/_build/.sandbox/6f992699bafce1e2e9ec090f238df773/default/test/driver/error_embedding/test.t/run.t.corrected
index 29823ac..dafee10 100644
--- a/_build/.sandbox/6f992699bafce1e2e9ec090f238df773/default/test/driver/error_embedding/test.t/run.t
+++ b/_build/.sandbox/6f992699bafce1e2e9ec090f238df773/default/test/driver/error_embedding/test.t/run.t.corrected
@@ -37,7 +37,7 @@ main standalone
 ... but the `-as-ppx` standalone raises them
 
   $ ../raiser.exe -as-ppx unknown_version_binary_ast output
-  File "unknown_version_binary_ast", line 0:
+  File "unknown_version_binary_ast", line 1:
   Error: The input is a binary ast for an unknown version of OCaml with magic number 'Caml1999N012'
   [1]
 
File "test/driver/standalone_run_as_ppx/run.t", line 1, characters 0-0:
/usr/local/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/a197a416304bdabddde5b9006af556d0/default/test/driver/standalone_run_as_ppx/run.t _build/.sandbox/a197a416304bdabddde5b9006af556d0/default/test/driver/standalone_run_as_ppx/run.t.corrected
diff --git a/_build/.sandbox/a197a416304bdabddde5b9006af556d0/default/test/driver/standalone_run_as_ppx/run.t b/_build/.sandbox/a197a416304bdabddde5b9006af556d0/default/test/driver/standalone_run_as_ppx/run.t.corrected
index 0e93e04..e36c4bf 100644
--- a/_build/.sandbox/a197a416304bdabddde5b9006af556d0/default/test/driver/standalone_run_as_ppx/run.t
+++ b/_build/.sandbox/a197a416304bdabddde5b9006af556d0/default/test/driver/standalone_run_as_ppx/run.t.corrected
@@ -12,7 +12,7 @@ If a non-compatible file gets fed, the file name is reported correctly
 
   $ touch no_binary_ast.ml
   $ ./print_stuff.exe --as-ppx no_binary_ast.ml some_output
-  File "no_binary_ast.ml", line 0:
+  File "no_binary_ast.ml", line 1:
   Error: Expected a binary AST as input
   [1]
 
File "test/driver/run_as_ppx_rewriter/run.t", line 1, characters 0-0:
/usr/local/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/6d7783f3762ee7b61987d3a5a5ca9504/default/test/driver/run_as_ppx_rewriter/run.t _build/.sandbox/6d7783f3762ee7b61987d3a5a5ca9504/default/test/driver/run_as_ppx_rewriter/run.t.corrected
diff --git a/_build/.sandbox/6d7783f3762ee7b61987d3a5a5ca9504/default/test/driver/run_as_ppx_rewriter/run.t b/_build/.sandbox/6d7783f3762ee7b61987d3a5a5ca9504/default/test/driver/run_as_ppx_rewriter/run.t.corrected
index 840dc2f..0befcac 100644
--- a/_build/.sandbox/6d7783f3762ee7b61987d3a5a5ca9504/default/test/driver/run_as_ppx_rewriter/run.t
+++ b/_build/.sandbox/6d7783f3762ee7b61987d3a5a5ca9504/default/test/driver/run_as_ppx_rewriter/run.t.corrected
@@ -34,7 +34,7 @@ If a non-compatible file gets fed, the file name is reported correctly
 
   $ touch no_binary_ast.ml
   $ ./print_greetings.exe no_binary_ast.ml some_output
-  File "no_binary_ast.ml", line 0:
+  File "no_binary_ast.ml", line 1:
   Error: Expected a binary AST as input
   [1]
 
jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' DEPS='base.v0.17.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.6 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 yojson.2.2.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_49118_10718" "mount.devfs" "path=/obuilder/result/8af7dbb81be8d1bbff1f9e6341fb5fa86e39b3f9d19ba7a0d6d2bf296fe36e76/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.v0.17.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.6 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 yojson.2.2.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
2024-11-26 14:44.19: Job failed: Failed: Build failed