Building on c2-2.ocamllabs.io (from ocaml/opam:debian-unstable@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a) Unable to find image 'ocaml/opam:debian-unstable@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a' locally docker.io/ocaml/opam@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a: Pulling from ocaml/opam d94e46e039c4: Pulling fs layer d94e46e039c4: Verifying Checksum d94e46e039c4: Download complete d94e46e039c4: Pull complete Digest: sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a Status: Downloaded newer image for ocaml/opam@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a 2022-11-02 11:26.46 ---> using "6615d3400d8dabf8928c82fbcb18e477501a38f64d3b1412a91a4e86499e265b" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2022-11-02 11:26.46 ---> using "c909a0ff168e383d01aa2cb84f3e6cbc7a0c470ffe3d07946f43f83d47cc9bfa" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 94675aaefe68e1e4a4ad959d88dd65afa3a9ed3d")) 2022-11-02 11:26.46 ---> using "5315c90a66cfce3be1f8ac668b7f4445c317bfeb4b1de04fe278a4bdf33753ae" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository")) Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2022-11-02 11:26.46 ---> using "f46d72ea67943cab7c832114e4ca486dbfd4f12ff8812515d1a06b3a229da8ee" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.02' '4.02.3'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.02.3"} | "ocaml-system" {= "4.02.3"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-base-compiler.4.02.3 (https://github.com/ocaml/ocaml/archive/4.02.3.tar.gz) -> installed ocaml-base-compiler.4.02.3 -> installed ocaml-config.1 -> installed ocaml.4.02.3 -> installed base-ocamlbuild.base Done. # Run eval $(opam env --switch=4.02) to update the current shell environment 2022-11-02 11:26.46 ---> using "4ac736f96a6c3e966ef66027093806c0cca756fde9b37837067c0a7417a38a73" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [161 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-11-02-0803.40-F-2022-11-01-2004.36.pdiff [67.9 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-11-02-0803.40-F-2022-11-01-2004.36.pdiff [67.9 kB] - Fetched 293 kB in 2s (160 kB/s) - Reading package lists... 2022-11-02 11:26.46 ---> using "cc09b92701025e5e16deed9026eb8cc9839ed6a4a23843ef1a14079f748c55ef" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install -y ocaml-secondary-compiler")) The following actions will be performed: === install 1 package - install ocaml-secondary-compiler 4.08.1-1 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-secondary-compiler.4.08.1-1 (cached) -> installed ocaml-secondary-compiler.4.08.1-1 Done. # Run eval $(opam env) to update the current shell environment 2022-11-02 11:26.46 ---> using "ea40892209b3cfb57105ba96605e8f529ea1ae20c3626023303ca17e634b99c7" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"afl.2.52b\"\ \nopam install -vy \"afl.2.52b\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"afl.2.52b\" | grep -q '\"debian-unstable\"'; then\ \n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\ \n exit 69\ \n fi\ \nfi\ \n\ \n\ \nexit $res\ \n")) Nothing to do. [NOTE] afl.2.52b is not installed. The following actions will be performed: === install 1 package - install afl 2.52b <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/3: -> retrieved afl.2.52b (cached) [afl: patch] applying add-uninstall-target.patch Processing 2/3: [afl: patch] Processing 2/3: [afl: make] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/4.02/.opam-switch/build/afl.2.52b) - [*] Checking for the ability to compile x86 code... - [+] Everything seems to be working, ready to compile. - cc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-gcc.c -o afl-gcc -ldl - set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc $i; done - cc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-fuzz.c -o afl-fuzz -ldl - cc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-showmap.c -o afl-showmap -ldl - cc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-tmin.c -o afl-tmin -ldl - cc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-gotcpu.c -o afl-gotcpu -ldl - cc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-analyze.c -o afl-analyze -ldl - cc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-as.c -o afl-as -ldl - ln -sf afl-as as - [*] Testing the CC wrapper and instrumentation output... - unset AFL_USE_ASAN AFL_USE_MSAN; AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. ./afl-gcc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" test-instr.c -o test-instr -ldl - echo 0 | ./afl-showmap -m none -q -o .test-instr0 ./test-instr - echo 1 | ./afl-showmap -m none -q -o .test-instr1 ./test-instr - [+] All right, the instrumentation seems to be working! - [+] All done! Be sure to review README - it's pretty short and useful. -> compiled afl.2.52b Processing 3/3: [afl: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "PREFIX=/home/opam/.opam/4.02" "install" (CWD=/home/opam/.opam/4.02/.opam-switch/build/afl.2.52b) - [*] Checking for the ability to compile x86 code... - [+] Everything seems to be working, ready to compile. - [*] Testing the CC wrapper and instrumentation output... - unset AFL_USE_ASAN AFL_USE_MSAN; AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. ./afl-gcc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/home/opam/.opam/4.02/lib/afl\" -DDOC_PATH=\"/home/opam/.opam/4.02/share/doc/afl\" -DBIN_PATH=\"/home/opam/.opam/4.02/bin\" test-instr.c -o test-instr -ldl - echo 0 | ./afl-showmap -m none -q -o .test-instr0 ./test-instr - echo 1 | ./afl-showmap -m none -q -o .test-instr1 ./test-instr - [+] All right, the instrumentation seems to be working! - [+] All done! Be sure to review README - it's pretty short and useful. - mkdir -p -m 755 ${DESTDIR}/home/opam/.opam/4.02/bin ${DESTDIR}/home/opam/.opam/4.02/lib/afl ${DESTDIR}/home/opam/.opam/4.02/share/doc/afl ${DESTDIR}/home/opam/.opam/4.02/share/afl - rm -f ${DESTDIR}/home/opam/.opam/4.02/bin/afl-plot.sh - install -m 755 afl-gcc afl-fuzz afl-showmap afl-tmin afl-gotcpu afl-analyze afl-plot afl-cmin afl-whatsup ${DESTDIR}/home/opam/.opam/4.02/bin - rm -f ${DESTDIR}/home/opam/.opam/4.02/bin/afl-as - if [ -f afl-qemu-trace ]; then install -m 755 afl-qemu-trace ${DESTDIR}/home/opam/.opam/4.02/bin; fi - if [ -f afl-clang-fast -a -f afl-llvm-pass.so -a -f afl-llvm-rt.o ]; then set -e; install -m 755 afl-clang-fast ${DESTDIR}/home/opam/.opam/4.02/bin; ln -sf afl-clang-fast ${DESTDIR}/home/opam/.opam/4.02/bin/afl-clang-fast++; install -m 755 afl-llvm-pass.so afl-llvm-rt.o ${DESTDIR}/home/opam/.opam/4.02/lib/afl; fi - if [ -f afl-llvm-rt-32.o ]; then set -e; install -m 755 afl-llvm-rt-32.o ${DESTDIR}/home/opam/.opam/4.02/lib/afl; fi - if [ -f afl-llvm-rt-64.o ]; then set -e; install -m 755 afl-llvm-rt-64.o ${DESTDIR}/home/opam/.opam/4.02/lib/afl; fi - set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc ${DESTDIR}/home/opam/.opam/4.02/bin/$i; done - install -m 755 afl-as ${DESTDIR}/home/opam/.opam/4.02/lib/afl - ln -sf afl-as ${DESTDIR}/home/opam/.opam/4.02/lib/afl/as - install -m 644 docs/README docs/ChangeLog docs/*.txt ${DESTDIR}/home/opam/.opam/4.02/share/doc/afl - cp -r testcases/ ${DESTDIR}/home/opam/.opam/4.02/share/afl - cp -r dictionaries/ ${DESTDIR}/home/opam/.opam/4.02/share/afl -> installed afl.2.52b Done. # Run eval $(opam env) to update the current shell environment 2022-11-02 11:27.06 ---> saved as "eae3c73efc42faba6a4777dfce86982b2db4312c9a2128546cb7ea5bc4f0230d" Job succeeded