Organisationsstedolanmalfunction571cd8 (master)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-04-10 16:13.19: New job: test stedolan/malfunction https://github.com/stedolan/malfunction.git#refs/heads/master (571cd8611f24986c41c5815f13c679f347477314) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/stedolan/malfunction.git" -b "master" && cd "malfunction" && git reset --hard 571cd861
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480
# debian-12-4.08_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 58906d6837efc7562b4259f5bd6ad130e46ca207 || git fetch origin master) && git reset -q --hard 58906d6837efc7562b4259f5bd6ad130e46ca207 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 malfunction.opam ./
RUN opam pin add -yn malfunction.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-gmp.1 conf-m4.1 conf-perl.1 cppo.1.6.1 dune.2.0.1 jbuilder.1.0+beta20.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlfind.1.8.0 omd.2.0.0~alpha2 zarith.1.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y malfunction.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-04-10 16:13.19: Using cache hint "stedolan/malfunction-ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480-debian-12-4.08_opam-2.1-9543175cbf4438941854fd6c05613064"
2024-04-10 16:13.19: Using OBuilder spec:
((from ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480)
 (comment debian-12-4.08_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 58906d6837efc7562b4259f5bd6ad130e46ca207 || git fetch origin master) && git reset -q --hard 58906d6837efc7562b4259f5bd6ad130e46ca207 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src malfunction.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn malfunction.dev './'"))
 (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-gmp.1 conf-m4.1 conf-perl.1 cppo.1.6.1 dune.2.0.1 jbuilder.1.0+beta20.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlfind.1.8.0 omd.2.0.0~alpha2 zarith.1.3")
 (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 malfunction.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-04-10 16:13.19: Waiting for resource in pool OCluster
2024-04-10 18:36.59: Waiting for worker…
2024-04-10 18:39.25: Got resource from pool OCluster
Building on x86-bm-c18.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/malfunction.git-ba6468a60adb9e93409ce934a25d54c8a5325e90/.git/
HEAD is now at 571cd86 Support for -package and -dontlink in linking of output files (#38)


(from ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480)
Unable to find image 'ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480' locally
docker.io/ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480: Pulling from ocaml/opam
Digest: sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480
Status: Downloaded newer image for ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480
2024-04-10 18:39.34 ---> using "ca7a47bb337547622343e1e691b0c92596d0990b9ed28342fd47c7204c2b0a74" from cache


/: (comment debian-12-4.08_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-04-10 18:39.34 ---> using "9362e111b0c9aa6dec1dc253e7435efd8f1ac8f2d7d6e66c10d24bc4c57ad605" 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-04-10 18:39.34 ---> using "d9b0dd4261d4b45d1d45fcc185429e91e6b23305997b0ad336885eac0d3204ff" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.08.1
2.1.5
2024-04-10 18:39.34 ---> using "6d08f9350fb9ef3e5cae7793dcb5f2ac075cfe0fc789bf328cd7ac0338e3980e" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-10 18:39.34 ---> using "44438eb632bedbdf12ad26788b4a274ef117e2313c1b08772cdb3a6d8d921790" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 58906d6837efc7562b4259f5bd6ad130e46ca207 || git fetch origin master) && git reset -q --hard 58906d6837efc7562b4259f5bd6ad130e46ca207 && git log --no-decorate -n1 --oneline && opam update -u"))
58906d6837 conf-m4: add FreeBSD comment


<><> 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-04-10 18:39.34 ---> using "54c242ab23012f41cfac219972fca7342aed94c33235e6af1a8b93016fcf5cd4" from cache


/src: (copy (src malfunction.opam) (dst ./))
2024-04-10 18:39.35 ---> saved as "695ab5160c077c9dfcbcb2f8377e39f98bbdb5b2c93ffa94ed7e4d09ccc65089"


/src: (run (network host)
           (shell "opam pin add -yn malfunction.dev './'"))
[malfunction.dev] synchronised (file:///src)
malfunction is now pinned to file:///src (version dev)
2024-04-10 18:39.37 ---> saved as "ebbfc2a231db75ee9df5da77fb8275609827e9c2b7ca8e06a8f6aebce306df4e"


/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-gmp.1 conf-m4.1 conf-perl.1 cppo.1.6.1 dune.2.0.1 jbuilder.1.0+beta20.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlfind.1.8.0 omd.2.0.0~alpha2 zarith.1.3")


/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 malfunction.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 [150 kB]
- Fetched 253 kB in 0s (1070 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[malfunction.dev] synchronised (no changes)


[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:
    libgmp-dev m4


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "m4"
- debconf: delaying package configuration, since apt-utils is not installed


2024-04-10 18:39.54 ---> saved as "f31759dbd64fc389b3e5c0b2d6292f4156cee0f3d03828b1f35f24790197dec9"


/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 conf-gmp   1
  - install conf-perl  1
  - install dune       2.0.1
  - install conf-m4    1
  - install jbuilder   1.0+beta20.1
  - install omd        2.0.0~alpha2
  - install ocamlfind  1.8.0
  - install zarith     1.3
  - install base-bytes base
  - install cppo       1.6.1
===== 10 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.1  (cached)
-> retrieved dune.2.0.1  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> installed conf-gmp.1
-> installed conf-m4.1
-> installed conf-perl.1
-> retrieved ocamlfind.1.8.0  (cached)
-> retrieved omd.2.0.0~alpha2  (cached)
-> retrieved zarith.1.3  (cached)
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed zarith.1.3
-> installed jbuilder.1.0+beta20.1
-> installed cppo.1.6.1
-> installed dune.2.0.1
-> installed omd.2.0.0~alpha2
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-10 18:40.34 ---> saved as "378888df48e915716859e004c67778a370071cdf1de9b4f93fca9763c0bd4595"


/src: (copy (src .) (dst /src))
2024-04-10 18:40.34 ---> saved as "7116cab96eab7f799a9000b97a19a679e9855487e00682510364f119db592711"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
    ocamlopt src/.malfunction.objs/native/malfunction_interpreter.{cmx,o}
File "_none_", line 1:
Warning 58: no cmx file was found in path for module Z, and its interface was not compiled with -opaque
    ocamlopt src/.malfunction.objs/native/malfunction_parser.{cmx,o}
File "_none_", line 1:
Warning 58: no cmx file was found in path for module Z, and its interface was not compiled with -opaque
    ocamlopt src/.malfunction.objs/native/malfunction_compiler.{cmx,o}
File "_none_", line 1:
Warning 58: no cmx file was found in path for module Z, and its interface was not compiled with -opaque
    ocamlopt examples/.primrec.eobjs/native/primrec.{cmx,o}
File "_none_", line 1:
Warning 58: no cmx file was found in path for module Z, and its interface was not compiled with -opaque
    ocamlopt test/.test.eobjs/native/test.{cmx,o}
File "_none_", line 1:
Warning 58: no cmx file was found in path for module Z, and its interface was not compiled with -opaque
    ocamlopt src/malfunction_main.exe
/usr/bin/ld: warning: caml_z_x86_64.o: missing .note.GNU-stack section implies executable stack
/usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
    ocamlopt examples/primrec.exe
/usr/bin/ld: warning: caml_z_x86_64.o: missing .note.GNU-stack section implies executable stack
/usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
    ocamlopt test/test.exe
/usr/bin/ld: warning: caml_z_x86_64.o: missing .note.GNU-stack section implies executable stack
/usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
File "test_cli/test.expect", line 1, characters 0-0:
         git (internal) (exit 1)
(cd _build/default && /usr/bin/git diff --no-index --color=always -u test_cli/test.expect test_cli/test.log)
diff --git a/test_cli/test.expect b/test_cli/test.log
index 96f77f4..fc8e082 100644
--- a/test_cli/test.expect
+++ b/test_cli/test.log
@@ -1,5 +1,7 @@
-Hello, world!
-Hello, world!
+ocamlfind: Package `helloworld.cmx' not found
+./test.sh: line 16: ./helloworld: No such file or directory
+ocamlfind: Package `helloworld.cmx' not found
+./test.sh: line 20: ./foo: No such file or directory
 Hello, world!
 42
 10
        test alias test/runtest (exit 2)
(cd _build/default/test && ./test.exe ../docs/spec.md ../test)
../docs/spec.md: ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found


../docs/spec.md:0: crash: Link error


../docs/spec.md:0: crash: Link error


../docs/spec.md:0: crash: Link error


../docs/spec.md:0: crash: Link error


../docs/spec.md:0: crash: Link error


../docs/spec.md:0: crash: Link error


../docs/spec.md:0: crash: Link error


../docs/spec.md:0: crash: Link error


../docs/spec.md:0: crash: Link error


../docs/spec.md:0: crash: Link error


../docs/spec.md:0: crash: Link error


../docs/spec.md:0: crash: Link error


../docs/spec.md:0: crash: Link error
../docs/spec.md:          [0/13] tests passed
../test/vector.test: ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found


../test/vector.test:1: crash: Link error


../test/vector.test:11: crash: Link error


../test/vector.test:14: crash: Link error
../test/vector.test:      [0/3] tests passed
../test/shifts.test: ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found


../test/shifts.test:1: crash: Link error


../test/shifts.test:2: crash: Link error


../test/shifts.test:3: crash: Link error


../test/shifts.test:7: crash: Link error


../test/shifts.test:11: crash: Link error


../test/shifts.test:13: crash: Link error


../test/shifts.test:14: crash: Link error


../test/shifts.test:15: crash: Link error


../test/shifts.test:18: crash: Link error


../test/shifts.test:19: crash: Link error


../test/shifts.test:20: crash: Link error


../test/shifts.test:23: crash: Link error


../test/shifts.test:24: crash: Link error


../test/shifts.test:25: crash: Link error


../test/shifts.test:27: crash: Link error


../test/shifts.test:28: crash: Link error


../test/shifts.test:29: crash: Link error


../test/shifts.test:30: crash: Link error
../test/shifts.test:      [0/18] tests passed
../test/prim.test: ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found


../test/prim.test:1: crash: Link error
../test/prim.test:        [0/1] tests passed
../test/lazy.test: ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found


../test/lazy.test:1: crash: Link error


../test/lazy.test:9: crash: Link error


../test/lazy.test:18: crash: Link error


../test/lazy.test:26: crash: Link error


../test/lazy.test:34: crash: Link error
../test/lazy.test:        [0/5] tests passed
../test/float.test: ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found


../test/float.test:1: crash: Link error


../test/float.test:10: crash: Link error


../test/float.test:12: crash: Link error


../test/float.test:13: crash: Link error


../test/float.test:14: crash: Link error


../test/float.test:15: crash: Link error


../test/float.test:17: crash: Link error


../test/float.test:25: crash: Link error
../test/float.test:       [0/8] tests passed
../test/factorial.test: ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found


../test/factorial.test:3: crash: Link error
../test/factorial.test:   [0/1] tests passed
../test/evalorder.test: ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found


../test/evalorder.test:1: crash: Link error


../test/evalorder.test:8: crash: Link error


../test/evalorder.test:19: crash: Link error
../test/evalorder.test:   [0/3] tests passed
../test/conversions.test: Fatal error: exception Failure("global not found: Z.testbit")
     primrec alias examples/runtest
 interpreted: 9.37 secs
    compiled: 0.24 secs
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-04-10 18:40.45: Job failed: Failed: Build failed