Building on x86-bm-9.ocamllabs.io (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam a6543f35db5e: Pulling fs layer 72b12ff8854e: Pulling fs layer b36c1756cb1b: Pulling fs layer a6543f35db5e: Verifying Checksum a6543f35db5e: Download complete b36c1756cb1b: Verifying Checksum b36c1756cb1b: Download complete 72b12ff8854e: Verifying Checksum 72b12ff8854e: Download complete a6543f35db5e: Pull complete 72b12ff8854e: Pull complete b36c1756cb1b: Pull complete Digest: sha256:7a003b2bad778c9b0fec29b03ef318fe6837caa9d32846d9ced0ba6d1d7eb568 Status: Downloaded newer image for ocaml/opam:debian-unstable 2021-12-03 00:18.17 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" 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-2.1 /usr/bin/opam")) 2021-12-03 00:18.17 ---> using "4d29eb3e0b7cd69a97ed90837671d5ca38aa41e2fb94346298af500378eca6fa" 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 b1ed080260d9fb3332ffd1ed74a70b40f8d46d66")) 2021-12-03 00:18.17 ---> using "470a5139cd314c308ef6f8a7115ce3eecbef27ce3b36ad57c590d49c448a8f62" 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. 2021-12-03 00:18.17 ---> using "6ff696b0fce120bd80d73dc055775d9b6cd971171da508a2aeef8fc7d75ea210" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.04' '4.04.2'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.04.2"} | "ocaml-system" {= "4.04.2"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-base-compiler.4.04.2 (cached) -> installed ocaml-base-compiler.4.04.2 -> installed ocaml-config.1 -> installed ocaml.4.04.2 Done. # Run eval $(opam env --switch=4.04) to update the current shell environment 2021-12-03 00:18.17 ---> using "cea894a1449c8536943f0db675a5478e530f8f10d3bcbab670b89b12ae1fdd40" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [165 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-2021-12-02-2006.44-F-2021-11-23-2001.32.pdiff [526 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2021-12-02-2006.44-F-2021-11-23-2001.32.pdiff [526 kB] - Fetched 755 kB in 2s (332 kB/s) - Reading package lists... - 2021-12-03 00:18.17 ---> using "50c3aca3e2476747fabc64e632a2c12c03888de0fdcefe45d5f5bc8fc9c135d3" 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 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 2021-12-03 00:18.17 ---> using "0ec34243a388c70c39fb3e8c96da8f34e582c56dc9255a65c3d6079206c731ef" 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: - remove ocaml-secondary-compiler 4.08.1-1 - install afl 2.52b ===== 1 to install | 1 to remove ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> removed ocaml-secondary-compiler.4.08.1-1 Processing 2/4: -> retrieved afl.2.52b (cached) [afl: patch] applying add-uninstall-target.patch Processing 3/4: [afl: patch] Processing 3/4: [afl: make] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/4.04/.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 4/4: [afl: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "PREFIX=/home/opam/.opam/4.04" "install" (CWD=/home/opam/.opam/4.04/.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.04/lib/afl\" -DDOC_PATH=\"/home/opam/.opam/4.04/share/doc/afl\" -DBIN_PATH=\"/home/opam/.opam/4.04/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.04/bin ${DESTDIR}/home/opam/.opam/4.04/lib/afl ${DESTDIR}/home/opam/.opam/4.04/share/doc/afl ${DESTDIR}/home/opam/.opam/4.04/share/afl - rm -f ${DESTDIR}/home/opam/.opam/4.04/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.04/bin - rm -f ${DESTDIR}/home/opam/.opam/4.04/bin/afl-as - if [ -f afl-qemu-trace ]; then install -m 755 afl-qemu-trace ${DESTDIR}/home/opam/.opam/4.04/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.04/bin; ln -sf afl-clang-fast ${DESTDIR}/home/opam/.opam/4.04/bin/afl-clang-fast++; install -m 755 afl-llvm-pass.so afl-llvm-rt.o ${DESTDIR}/home/opam/.opam/4.04/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.04/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.04/lib/afl; fi - set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc ${DESTDIR}/home/opam/.opam/4.04/bin/$i; done - install -m 755 afl-as ${DESTDIR}/home/opam/.opam/4.04/lib/afl - ln -sf afl-as ${DESTDIR}/home/opam/.opam/4.04/lib/afl/as - install -m 644 docs/README docs/ChangeLog docs/*.txt ${DESTDIR}/home/opam/.opam/4.04/share/doc/afl - cp -r testcases/ ${DESTDIR}/home/opam/.opam/4.04/share/afl - cp -r dictionaries/ ${DESTDIR}/home/opam/.opam/4.04/share/afl -> installed afl.2.52b Done. # Run eval $(opam env) to update the current shell environment 2021-12-03 00:18.45 ---> saved as "8ae531e1471a088c4479296ea6c4bcc514e8704250cb4db07b3b6775dc9e72cd" Job succeeded