Building on x86-bm-7.ocamllabs.io (from ocaml/opam:debian-unstable@sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41) Unable to find image 'ocaml/opam:debian-unstable@sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41' locally docker.io/ocaml/opam@sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41: Pulling from ocaml/opam 7c26de214b34: Pulling fs layer 791d3a768af6: Pulling fs layer e06237cac4e8: Pulling fs layer 7c26de214b34: Verifying Checksum 7c26de214b34: Download complete e06237cac4e8: Verifying Checksum e06237cac4e8: Download complete 791d3a768af6: Verifying Checksum 791d3a768af6: Download complete 7c26de214b34: Pull complete 791d3a768af6: Pull complete e06237cac4e8: Pull complete Digest: sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41 Status: Downloaded newer image for ocaml/opam@sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41 2022-05-01 08:30.41 ---> using "e16578957f674ca141475612bdd8fe456bdeb3cf55dca9de0669bf5f721951e7" 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-05-01 08:30.41 ---> using "09ae07f34eca5d84e953ea4b87a3c466448be28706a95338ba19feb13b3b66fd" 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 4ce6f847a29936b1d875b70940837be093fec84e")) 2022-05-01 08:30.41 ---> using "8a62ed72fc23e1663b0f130dbecbe2a8d6a9d36667f58fd75e99df9fc9855900" 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-05-01 08:30.41 ---> using "1da6a21744e622352d23ddb067012a46b76c5e5a957ab9cd9733a836f9d86396" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.14' '4.14.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.14.0"} | "ocaml-system" {= "4.14.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.4.14.0 (cached) -> installed ocaml-base-compiler.4.14.0 -> installed ocaml-config.2 -> installed ocaml.4.14.0 Done. # Run eval $(opam env --switch=4.14) to update the current shell environment 2022-05-01 08:30.41 ---> using "150c21f6bf364b3ce9b23d3185d3015b2c366014b1bdcd1da140901dbc8cc6c5" 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-2022-05-01-0201.40-F-2022-04-26-0801.40.pdiff [201 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-05-01-0201.40-F-2022-04-26-0801.40.pdiff [201 kB] - Fetched 430 kB in 3s (164 kB/s) - Reading package lists... - 2022-05-01 08:30.41 ---> using "5a6ca2a5880208f2b093122dca64b98d8ee0c74bac104360c523ff6b2d97498e" 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")) [NOTE] afl.2.52b is not installed. Nothing to do. 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.14/.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.14" "install" (CWD=/home/opam/.opam/4.14/.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.14/lib/afl\" -DDOC_PATH=\"/home/opam/.opam/4.14/share/doc/afl\" -DBIN_PATH=\"/home/opam/.opam/4.14/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.14/bin ${DESTDIR}/home/opam/.opam/4.14/lib/afl ${DESTDIR}/home/opam/.opam/4.14/share/doc/afl ${DESTDIR}/home/opam/.opam/4.14/share/afl - rm -f ${DESTDIR}/home/opam/.opam/4.14/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.14/bin - rm -f ${DESTDIR}/home/opam/.opam/4.14/bin/afl-as - if [ -f afl-qemu-trace ]; then install -m 755 afl-qemu-trace ${DESTDIR}/home/opam/.opam/4.14/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.14/bin; ln -sf afl-clang-fast ${DESTDIR}/home/opam/.opam/4.14/bin/afl-clang-fast++; install -m 755 afl-llvm-pass.so afl-llvm-rt.o ${DESTDIR}/home/opam/.opam/4.14/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.14/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.14/lib/afl; fi - set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc ${DESTDIR}/home/opam/.opam/4.14/bin/$i; done - install -m 755 afl-as ${DESTDIR}/home/opam/.opam/4.14/lib/afl - ln -sf afl-as ${DESTDIR}/home/opam/.opam/4.14/lib/afl/as - install -m 644 docs/README docs/ChangeLog docs/*.txt ${DESTDIR}/home/opam/.opam/4.14/share/doc/afl - cp -r testcases/ ${DESTDIR}/home/opam/.opam/4.14/share/afl - cp -r dictionaries/ ${DESTDIR}/home/opam/.opam/4.14/share/afl -> installed afl.2.52b Done. # Run eval $(opam env) to update the current shell environment 2022-05-01 08:31.07 ---> saved as "ad4d4ed9a50e46f2d41b1cdf2494c969abc254daa5447046236df0f7f56269d2" Job succeeded