starting build "b8018641-3053-4be0-80c1-f17c8d1ed4e8" FETCHSOURCE BUILD Starting Step #0 Step #0: Already have image (with digest): gcr.io/cloud-builders/git Step #0: Cloning into 'oss-fuzz'... Finished Step #0 Starting Step #1 Step #1: Already have image (with digest): gcr.io/cloud-builders/docker Step #1: Sending build context to Docker daemon 6.656kB Step #1: Step 1/6 : FROM gcr.io/oss-fuzz-base/base-builder Step #1: latest: Pulling from oss-fuzz-base/base-builder Step #1: 3386e6af03b0: Pulling fs layer Step #1: 49ac0bbe6c8e: Pulling fs layer Step #1: d1983a67e104: Pulling fs layer Step #1: 1a0f3a523f04: Pulling fs layer Step #1: 9d93edac11db: Pulling fs layer Step #1: 969522b071e9: Pulling fs layer Step #1: ced8f62e3292: Pulling fs layer Step #1: 9da0f54bc2f8: Pulling fs layer Step #1: e9811a289cc5: Pulling fs layer Step #1: 1beb84dd8ea6: Pulling fs layer Step #1: caf98f12fd3c: Pulling fs layer Step #1: 6ec303cf99e8: Pulling fs layer Step #1: e41cd1cb39eb: Pulling fs layer Step #1: ab4df92fbb1e: Pulling fs layer Step #1: f310480cdcbb: Pulling fs layer Step #1: 6373b75ccf07: Pulling fs layer Step #1: e944eb78993a: Pulling fs layer Step #1: 3e76ddb8775b: Pulling fs layer Step #1: 6ecb6514d6b6: Pulling fs layer Step #1: 06ca1202a449: Pulling fs layer Step #1: 1a0f3a523f04: Waiting Step #1: e9811a289cc5: Waiting Step #1: 9d93edac11db: Waiting Step #1: 1beb84dd8ea6: Waiting Step #1: caf98f12fd3c: Waiting Step #1: 9da0f54bc2f8: Waiting Step #1: 6ec303cf99e8: Waiting Step #1: 969522b071e9: Waiting Step #1: f310480cdcbb: Waiting Step #1: e41cd1cb39eb: Waiting Step #1: e944eb78993a: Waiting Step #1: 6373b75ccf07: Waiting Step #1: ab4df92fbb1e: Waiting Step #1: 6ecb6514d6b6: Waiting Step #1: 06ca1202a449: Waiting Step #1: 49ac0bbe6c8e: Verifying Checksum Step #1: 49ac0bbe6c8e: Download complete Step #1: d1983a67e104: Download complete Step #1: 1a0f3a523f04: Verifying Checksum Step #1: 1a0f3a523f04: Download complete Step #1: 969522b071e9: Download complete Step #1: ced8f62e3292: Verifying Checksum Step #1: ced8f62e3292: Download complete Step #1: 3386e6af03b0: Verifying Checksum Step #1: 3386e6af03b0: Download complete Step #1: 9d93edac11db: Verifying Checksum Step #1: 9d93edac11db: Download complete Step #1: e9811a289cc5: Download complete Step #1: caf98f12fd3c: Verifying Checksum Step #1: caf98f12fd3c: Download complete Step #1: 1beb84dd8ea6: Verifying Checksum Step #1: 1beb84dd8ea6: Download complete Step #1: 6ec303cf99e8: Verifying Checksum Step #1: 6ec303cf99e8: Download complete Step #1: e41cd1cb39eb: Verifying Checksum Step #1: e41cd1cb39eb: Download complete Step #1: f310480cdcbb: Verifying Checksum Step #1: f310480cdcbb: Download complete Step #1: 3386e6af03b0: Pull complete Step #1: 6373b75ccf07: Verifying Checksum Step #1: 6373b75ccf07: Download complete Step #1: ab4df92fbb1e: Verifying Checksum Step #1: ab4df92fbb1e: Download complete Step #1: 49ac0bbe6c8e: Pull complete Step #1: d1983a67e104: Pull complete Step #1: 1a0f3a523f04: Pull complete Step #1: e944eb78993a: Verifying Checksum Step #1: e944eb78993a: Download complete Step #1: 6ecb6514d6b6: Verifying Checksum Step #1: 6ecb6514d6b6: Download complete Step #1: 3e76ddb8775b: Verifying Checksum Step #1: 3e76ddb8775b: Download complete Step #1: 06ca1202a449: Verifying Checksum Step #1: 06ca1202a449: Download complete Step #1: 9d93edac11db: Pull complete Step #1: 9da0f54bc2f8: Verifying Checksum Step #1: 9da0f54bc2f8: Download complete Step #1: 969522b071e9: Pull complete Step #1: ced8f62e3292: Pull complete Step #1: 9da0f54bc2f8: Pull complete Step #1: e9811a289cc5: Pull complete Step #1: 1beb84dd8ea6: Pull complete Step #1: caf98f12fd3c: Pull complete Step #1: 6ec303cf99e8: Pull complete Step #1: e41cd1cb39eb: Pull complete Step #1: ab4df92fbb1e: Pull complete Step #1: f310480cdcbb: Pull complete Step #1: 6373b75ccf07: Pull complete Step #1: e944eb78993a: Pull complete Step #1: 3e76ddb8775b: Pull complete Step #1: 6ecb6514d6b6: Pull complete Step #1: 06ca1202a449: Pull complete Step #1: Digest: sha256:a15e629810a09f54b8383732f045bf1bf7b8fd232853948a63131bb204436710 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> d4184b7979a8 Step #1: Step 2/6 : MAINTAINER philipturnbull@github.com Step #1: ---> Running in a90f4a49cb0a Step #1: Removing intermediate container a90f4a49cb0a Step #1: ---> 6a0b30f916a3 Step #1: Step 3/6 : RUN apt-get update && apt-get install -y make cmake Step #1: ---> Running in f5ea5ce05f9c Step #1: Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB] Step #1: Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease Step #1: Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB] Step #1: Get:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB] Step #1: Fetched 325 kB in 1s (249 kB/s) Step #1: Reading package lists... Step #1: Reading package lists... Step #1: Building dependency tree... Step #1: Reading state information... Step #1: make is already the newest version (4.1-6). Step #1: The following packages were automatically installed and are no longer required: Step #1: build-essential bzip2 dpkg-dev fakeroot g++ g++-5 libalgorithm-diff-perl Step #1: libalgorithm-diff-xs-perl libalgorithm-merge-perl libblocksruntime0 Step #1: libdpkg-perl libfakeroot libfile-fcntllock-perl libglib2.0-0 libglib2.0-data Step #1: libstdc++-5-dev libunwind-dev libunwind8 shared-mime-info xdg-user-dirs Step #1: xz-utils Step #1: Use 'apt autoremove' to remove them. Step #1: The following additional packages will be installed: Step #1: cmake-data libarchive13 libcurl3 libjsoncpp1 liblzo2-2 Step #1: Suggested packages: Step #1: codeblocks eclipse ninja-build lrzip Step #1: The following NEW packages will be installed: Step #1: cmake cmake-data libarchive13 libcurl3 libjsoncpp1 liblzo2-2 Step #1: 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Step #1: Need to get 4313 kB of archives. Step #1: After this operation, 22.0 MB of additional disk space will be used. Step #1: Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 cmake-data all 3.5.1-1ubuntu3 [1121 kB] Step #1: Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 liblzo2-2 amd64 2.08-1.2 [48.7 kB] Step #1: Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libarchive13 amd64 3.1.2-11ubuntu0.16.04.7 [262 kB] Step #1: Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcurl3 amd64 7.47.0-1ubuntu2.14 [186 kB] Step #1: Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 libjsoncpp1 amd64 1.7.2-1 [73.0 kB] Step #1: Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 cmake amd64 3.5.1-1ubuntu3 [2623 kB] Step #1: debconf: delaying package configuration, since apt-utils is not installed Step #1: Fetched 4313 kB in 1s (2628 kB/s) Step #1: Selecting previously unselected package cmake-data. Step #1: (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 16581 files and directories currently installed.) Step #1: Preparing to unpack .../cmake-data_3.5.1-1ubuntu3_all.deb ... Step #1: Unpacking cmake-data (3.5.1-1ubuntu3) ... Step #1: Selecting previously unselected package liblzo2-2:amd64. Step #1: Preparing to unpack .../liblzo2-2_2.08-1.2_amd64.deb ... Step #1: Unpacking liblzo2-2:amd64 (2.08-1.2) ... Step #1: Selecting previously unselected package libarchive13:amd64. Step #1: Preparing to unpack .../libarchive13_3.1.2-11ubuntu0.16.04.7_amd64.deb ... Step #1: Unpacking libarchive13:amd64 (3.1.2-11ubuntu0.16.04.7) ... Step #1: Selecting previously unselected package libcurl3:amd64. Step #1: Preparing to unpack .../libcurl3_7.47.0-1ubuntu2.14_amd64.deb ... Step #1: Unpacking libcurl3:amd64 (7.47.0-1ubuntu2.14) ... Step #1: Selecting previously unselected package libjsoncpp1:amd64. Step #1: Preparing to unpack .../libjsoncpp1_1.7.2-1_amd64.deb ... Step #1: Unpacking libjsoncpp1:amd64 (1.7.2-1) ... Step #1: Selecting previously unselected package cmake. Step #1: Preparing to unpack .../cmake_3.5.1-1ubuntu3_amd64.deb ... Step #1: Unpacking cmake (3.5.1-1ubuntu3) ... Step #1: Processing triggers for libc-bin (2.23-0ubuntu11) ... Step #1: Setting up cmake-data (3.5.1-1ubuntu3) ... Step #1: Setting up liblzo2-2:amd64 (2.08-1.2) ... Step #1: Setting up libarchive13:amd64 (3.1.2-11ubuntu0.16.04.7) ... Step #1: Setting up libcurl3:amd64 (7.47.0-1ubuntu2.14) ... Step #1: Setting up libjsoncpp1:amd64 (1.7.2-1) ... Step #1: Setting up cmake (3.5.1-1ubuntu3) ... Step #1: Processing triggers for libc-bin (2.23-0ubuntu11) ... Step #1: Removing intermediate container f5ea5ce05f9c Step #1: ---> 0c073616ceff Step #1: Step 4/6 : RUN git clone --depth 1 https://github.com/commonmark/cmark.git cmark Step #1: ---> Running in 674cdd75ef4b Step #1: Cloning into 'cmark'... Step #1: Removing intermediate container 674cdd75ef4b Step #1: ---> 1decd77a7e48 Step #1: Step 5/6 : WORKDIR cmark Step #1: ---> Running in 16cdf2e5c2a1 Step #1: Removing intermediate container 16cdf2e5c2a1 Step #1: ---> 4141e4de2bd6 Step #1: Step 6/6 : COPY build.sh *.dict *.options $SRC/ Step #1: ---> 3140a19e62f8 Step #1: Successfully built 3140a19e62f8 Step #1: Successfully tagged gcr.io/oss-fuzz/cmark:latest Finished Step #1 Starting Step #2 Step #2: Already have image: gcr.io/oss-fuzz/cmark Step #2: ++ tempfile Step #2: + SRCMAP=/tmp/filejGWldi Step #2: + echo '{}' Step #2: ++ find /src -name .git -type d Step #2: + for DOT_GIT_DIR in '$(find $SRC -name ".git" -type d)' Step #2: ++ dirname /src/cmark/.git Step #2: + GIT_DIR=/src/cmark Step #2: + cd /src/cmark Step #2: ++ git config --get remote.origin.url Step #2: + GIT_URL=https://github.com/commonmark/cmark.git Step #2: ++ git rev-parse HEAD Step #2: + GIT_REV=b6ffaca93e2b539ec407aeb4fd588c7f9441e7a9 Step #2: + jq_inplace /tmp/filejGWldi '."/src/cmark" = { type: "git", url: "https://github.com/commonmark/cmark.git", rev: "b6ffaca93e2b539ec407aeb4fd588c7f9441e7a9" }' Step #2: ++ tempfile Step #2: + F=/tmp/filew2neRk Step #2: + cat /tmp/filejGWldi Step #2: + jq '."/src/cmark" = { type: "git", url: "https://github.com/commonmark/cmark.git", rev: "b6ffaca93e2b539ec407aeb4fd588c7f9441e7a9" }' Step #2: + mv /tmp/filew2neRk /tmp/filejGWldi Step #2: + for DOT_GIT_DIR in '$(find $SRC -name ".git" -type d)' Step #2: ++ dirname /src/afl/.git Step #2: + GIT_DIR=/src/afl Step #2: + cd /src/afl Step #2: ++ git config --get remote.origin.url Step #2: + GIT_URL=https://github.com/google/AFL.git Step #2: ++ git rev-parse HEAD Step #2: + GIT_REV=8da80951dd7eeeb3e3b5a3bcd36c485045f40274 Step #2: + jq_inplace /tmp/filejGWldi '."/src/afl" = { type: "git", url: "https://github.com/google/AFL.git", rev: "8da80951dd7eeeb3e3b5a3bcd36c485045f40274" }' Step #2: ++ tempfile Step #2: + F=/tmp/fileTyaIkl Step #2: + cat /tmp/filejGWldi Step #2: + jq '."/src/afl" = { type: "git", url: "https://github.com/google/AFL.git", rev: "8da80951dd7eeeb3e3b5a3bcd36c485045f40274" }' Step #2: + mv /tmp/fileTyaIkl /tmp/filejGWldi Step #2: ++ find /src -name .svn -type d Step #2: ++ find /src -name .hg -type d Step #2: + '[' '' '!=' '' ']' Step #2: + cat /tmp/filejGWldi Step #2: + rm /tmp/filejGWldi Step #2: { Step #2: "/src/cmark": { Step #2: "type": "git", Step #2: "url": "https://github.com/commonmark/cmark.git", Step #2: "rev": "b6ffaca93e2b539ec407aeb4fd588c7f9441e7a9" Step #2: }, Step #2: "/src/afl": { Step #2: "type": "git", Step #2: "url": "https://github.com/google/AFL.git", Step #2: "rev": "8da80951dd7eeeb3e3b5a3bcd36c485045f40274" Step #2: } Step #2: } Finished Step #2 Starting Step #3 Step #3: Pulling image: gcr.io/oss-fuzz-base/msan-builder Step #3: Using default tag: latest Step #3: latest: Pulling from oss-fuzz-base/msan-builder Step #3: 3386e6af03b0: Already exists Step #3: 49ac0bbe6c8e: Already exists Step #3: d1983a67e104: Already exists Step #3: 1a0f3a523f04: Already exists Step #3: 57caec393660: Pulling fs layer Step #3: 6434d88f1388: Pulling fs layer Step #3: 509801a1650e: Pulling fs layer Step #3: 564c8f3fed59: Pulling fs layer Step #3: 9e3b5baa95ad: Pulling fs layer Step #3: 2c5acfea8480: Pulling fs layer Step #3: 8e163b1e1466: Pulling fs layer Step #3: bff682ffd67f: Pulling fs layer Step #3: 16c249f7aca5: Pulling fs layer Step #3: 2fcb437c8bd1: Pulling fs layer Step #3: 1fda2b8296e7: Pulling fs layer Step #3: 675ba56fae71: Pulling fs layer Step #3: 1fda2b8296e7: Waiting Step #3: 2fcb437c8bd1: Waiting Step #3: 16c249f7aca5: Waiting Step #3: bff682ffd67f: Waiting Step #3: 675ba56fae71: Waiting Step #3: 564c8f3fed59: Waiting Step #3: 9e3b5baa95ad: Waiting Step #3: 2c5acfea8480: Waiting Step #3: 8e163b1e1466: Waiting Step #3: 6434d88f1388: Download complete Step #3: 509801a1650e: Download complete Step #3: 9e3b5baa95ad: Verifying Checksum Step #3: 9e3b5baa95ad: Download complete Step #3: 2c5acfea8480: Download complete Step #3: 57caec393660: Download complete Step #3: bff682ffd67f: Verifying Checksum Step #3: bff682ffd67f: Download complete Step #3: 16c249f7aca5: Verifying Checksum Step #3: 16c249f7aca5: Download complete Step #3: 2fcb437c8bd1: Download complete Step #3: 1fda2b8296e7: Verifying Checksum Step #3: 1fda2b8296e7: Download complete Step #3: 8e163b1e1466: Verifying Checksum Step #3: 8e163b1e1466: Download complete Step #3: 57caec393660: Pull complete Step #3: 6434d88f1388: Pull complete Step #3: 509801a1650e: Pull complete Step #3: 564c8f3fed59: Verifying Checksum Step #3: 564c8f3fed59: Download complete Step #3: 675ba56fae71: Verifying Checksum Step #3: 675ba56fae71: Download complete Step #3: 564c8f3fed59: Pull complete Step #3: 9e3b5baa95ad: Pull complete Step #3: 2c5acfea8480: Pull complete Step #3: 8e163b1e1466: Pull complete Step #3: bff682ffd67f: Pull complete Step #3: 16c249f7aca5: Pull complete Step #3: 2fcb437c8bd1: Pull complete Step #3: 1fda2b8296e7: Pull complete Step #3: 675ba56fae71: Pull complete Step #3: Digest: sha256:47630308285b2d9441ad8388de4b4462e9c2d387ac773d73228f4366f69bc84d Step #3: Status: Downloaded newer image for gcr.io/oss-fuzz-base/msan-builder:latest Step #3: gcr.io/oss-fuzz-base/msan-builder:latest Finished Step #3 Starting Step #4 Step #4: Already have image: gcr.io/oss-fuzz/cmark Step #4: --------------------------------------------------------------- Step #4: ar: creating /usr/lib/libFuzzingEngine.a Step #4: Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #4: CC=clang Step #4: CXX=clang++ Step #4: CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link Step #4: CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ Step #4: --------------------------------------------------------------- Step #4: ++ nproc Step #4: + make -j32 cmake_build Step #4: mkdir -p build; \ Step #4: cd build; \ Step #4: cmake .. \ Step #4: -G "Unix Makefiles" \ Step #4: -DCMAKE_BUILD_TYPE= \ Step #4: -DCMAKE_INSTALL_PREFIX=/usr/local \ Step #4: -DCMAKE_EXPORT_COMPILE_COMMANDS=ON Step #4: -- The C compiler identification is Clang 10.0.0 Step #4: -- The CXX compiler identification is Clang 10.0.0 Step #4: -- Check for working C compiler: /usr/local/bin/clang Step #4: -- Check for working C compiler: /usr/local/bin/clang -- works Step #4: -- Detecting C compiler ABI info Step #4: -- Detecting C compiler ABI info - done Step #4: -- Detecting C compile features Step #4: -- Detecting C compile features - done Step #4: -- Check for working CXX compiler: /usr/local/bin/clang++ Step #4: -- Check for working CXX compiler: /usr/local/bin/clang++ -- works Step #4: -- Detecting CXX compiler ABI info Step #4: -- Detecting CXX compiler ABI info - done Step #4: -- Detecting CXX compile features Step #4: -- Detecting CXX compile features - done Step #4: -- Performing Test HAVE_FLAG_ADDRESS_SANITIZER Step #4: -- Performing Test HAVE_FLAG_ADDRESS_SANITIZER - Failed Step #4: -- Performing Test HAVE_FLAG_SANITIZE_ADDRESS Step #4: -- Performing Test HAVE_FLAG_SANITIZE_ADDRESS - Success Step #4: CMake Error at CMakeLists.txt:46 (add_compile_definitions): Step #4: Unknown CMake command "add_compile_definitions". Step #4: Step #4: Step #4: -- Configuring incomplete, errors occurred! Step #4: See also "/src/cmark/build/CMakeFiles/CMakeOutput.log". Step #4: See also "/src/cmark/build/CMakeFiles/CMakeError.log". Step #4: make: *** [build] Error 1 Step #4: Makefile:37: recipe for target 'build' failed Finished Step #4 ERROR ERROR: build step 4 "gcr.io/oss-fuzz/cmark" failed: exit status 2