#0 building with "default" instance using docker driver #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 5.07kB done #1 DONE 0.0s #2 [internal] load metadata for docker.io/altinityinfra/test-util:1864-b0eee6bb590fc16d611efd79885688ee512c01cf-aarch64 #2 DONE 0.0s #3 [internal] load metadata for docker.io/clickhouse/cctools:d9e3596e706b #3 DONE 0.2s #4 [internal] load .dockerignore #4 transferring context: 2B done #4 DONE 0.0s #5 [internal] load build context #5 DONE 0.0s #6 FROM docker.io/clickhouse/cctools:d9e3596e706b@sha256:a27e1a03fdf291c54b52e20e2f4b778752fd71b00e226510bc8d87d65dd68e82 #6 DONE 0.0s #7 importing cache manifest from altinityinfra/binary-builder:latest #7 DONE 0.0s #8 [stage-1 1/12] FROM docker.io/altinityinfra/test-util:1864-b0eee6bb590fc16d611efd79885688ee512c01cf-aarch64 #8 DONE 0.0s #9 importing cache manifest from altinityinfra/binary-builder:1864-b0eee6bb590fc16d611efd79885688ee512c01cf-aarch64 #9 ERROR: failed to configure registry cache importer: docker.io/altinityinfra/binary-builder:1864-b0eee6bb590fc16d611efd79885688ee512c01cf-aarch64: not found #5 [internal] load build context #5 transferring context: 30B done #5 DONE 0.0s #10 [stage-1 10/12] RUN mkdir /workdir && chmod 777 /workdir #10 CACHED #11 [stage-1 9/12] RUN curl -Lo /usr/bin/clang-tidy-cache "https://raw.githubusercontent.com/matus-chochlik/ctcache/c191254ea00d47ade11d7170ef82fe038c213774/clang-tidy-cache" && chmod +x /usr/bin/clang-tidy-cache #11 CACHED #12 [stage-1 5/12] RUN curl -sL -O https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX11.0.sdk.tar.xz #12 CACHED #13 [stage-1 2/12] COPY --from=clickhouse/cctools:d9e3596e706b /cctools /cctools #13 CACHED #14 [stage-1 7/12] RUN arch=arm64 && curl -Lo /tmp/nfpm.deb "https://github.com/goreleaser/nfpm/releases/download/v2.20.0/nfpm_${arch}.deb" && dpkg -i /tmp/nfpm.deb && rm /tmp/nfpm.deb #14 CACHED #15 [stage-1 11/12] WORKDIR /workdir #15 CACHED #16 [stage-1 4/12] RUN apt-get update && apt-get install --yes binutils-riscv64-linux-gnu build-essential g++-11 gcc-11 gcc-aarch64-linux-gnu libc6 libc6-dev libc6-dev-arm64-cross python3-boto3 yasm zstd && apt-get clean && rm -rf /var/lib/apt/lists #16 CACHED #17 [stage-1 6/12] RUN curl -Lo /tmp/mold.tar.gz "https://github.com/rui314/mold/releases/download/v2.0.0/mold-2.0.0-x86_64-linux.tar.gz" && mkdir /tmp/mold && tar -xzf /tmp/mold.tar.gz -C /tmp/mold && cp -r /tmp/mold/mold*/* /usr && rm -rf /tmp/mold && rm /tmp/mold.tar.gz #17 CACHED #18 [stage-1 8/12] RUN arch=arm64 && curl -Lo /tmp/go.tgz "https://go.dev/dl/go1.19.10.linux-${arch}.tar.gz" && tar -xzf /tmp/go.tgz -C /usr/local/ && rm /tmp/go.tgz #18 CACHED #19 [stage-1 3/12] RUN ARCH=$(uname -m) && if [ "$ARCH" = "x86_64" ]; then RUSTUP_ARCH="x86_64-unknown-linux-gnu"; elif [ "$ARCH" = "aarch64" ]; then RUSTUP_ARCH="aarch64-unknown-linux-gnu"; else echo "Unsupported architecture: $ARCH"; exit 1; fi && curl -fsSL -o rustup-init "https://static.rust-lang.org/rustup/archive/1.27.0/${RUSTUP_ARCH}/rustup-init" && chmod +x rustup-init && ./rustup-init -y && rm rustup-init && rustup set auto-self-update disable && chmod 777 -R /rust && rustup toolchain install nightly-2023-07-04 && rustup default nightly-2023-07-04 && rustup toolchain remove stable && rustup component add rust-src && rustup target add aarch64-unknown-linux-gnu && rustup target add x86_64-apple-darwin && rustup target add x86_64-unknown-freebsd && rustup target add aarch64-apple-darwin && rustup target add powerpc64le-unknown-linux-gnu #19 CACHED #20 [stage-1 12/12] COPY build.sh / #20 CACHED #21 exporting to image #21 exporting layers done #21 preparing layers for inline cache done #21 writing image sha256:f1629ef654b55d2540de8bc638f3c0842637364ecc494d8f59fd7883287ac64c done #21 naming to docker.io/altinityinfra/binary-builder:1864-b0eee6bb590fc16d611efd79885688ee512c01cf-aarch64 done #21 naming to docker.io/altinityinfra/binary-builder:latest done #21 DONE 0.0s #22 pushing altinityinfra/binary-builder:1864-b0eee6bb590fc16d611efd79885688ee512c01cf-aarch64 with docker #22 pushing layer f6685d1cb364 #22 pushing layer 5f70bf18a086 #22 pushing layer 6e44b084536b #22 pushing layer 78c42b395420 #22 pushing layer 876168558004 #22 pushing layer 8c4d0070fa6b #22 pushing layer 9235a45a9779 #22 pushing layer 2f137af3aff9 #22 pushing layer 0446b8e714da #22 pushing layer 9b9ca9c6d6df #22 pushing layer 99fab3d35dd7 #22 pushing layer 8aa999f3b818 #22 pushing layer 6f17b58544ce #22 pushing layer 64b8ca473741 #22 pushing layer 62ad10e370be #22 pushing layer b19c7f0a89dc #22 pushing layer 6418258a7453 #22 pushing layer ad47937c6c49 #22 pushing layer d00ae7a19047 #22 pushing layer 8cd91a03564b #22 pushing layer b316983d0800 #22 pushing layer 28453be5ba71 #22 pushing layer 78c42b395420 6.5s done #22 pushing layer f6685d1cb364 6.5s done #22 pushing layer 5f70bf18a086 6.5s done #22 pushing layer 6e44b084536b 6.5s done #22 pushing layer 876168558004 6.5s done #22 pushing layer 8c4d0070fa6b 6.5s done #22 pushing layer 9235a45a9779 6.5s done #22 pushing layer 2f137af3aff9 6.5s done #22 pushing layer 0446b8e714da 6.5s done #22 pushing layer 9b9ca9c6d6df 6.5s done #22 pushing layer 99fab3d35dd7 6.5s done #22 pushing layer 8aa999f3b818 6.5s done #22 pushing layer 6f17b58544ce 6.5s done #22 pushing layer 64b8ca473741 6.5s done #22 pushing layer 62ad10e370be 6.5s done #22 pushing layer b19c7f0a89dc 6.5s done #22 pushing layer 6418258a7453 6.5s done #22 pushing layer ad47937c6c49 6.5s done #22 pushing layer d00ae7a19047 6.5s done #22 pushing layer 8cd91a03564b 6.5s done #22 pushing layer b316983d0800 6.5s done #22 pushing layer 28453be5ba71 6.5s done #22 DONE 6.8s #23 pushing altinityinfra/binary-builder:latest with docker #23 pushing layer f6685d1cb364 #23 pushing layer 5f70bf18a086 #23 pushing layer 6e44b084536b #23 pushing layer 78c42b395420 #23 pushing layer 876168558004 #23 pushing layer 8c4d0070fa6b #23 pushing layer 9235a45a9779 #23 pushing layer 2f137af3aff9 #23 pushing layer 0446b8e714da #23 pushing layer 9b9ca9c6d6df #23 pushing layer 99fab3d35dd7 #23 pushing layer 8aa999f3b818 #23 pushing layer 6f17b58544ce #23 pushing layer 64b8ca473741 #23 pushing layer 62ad10e370be #23 pushing layer b19c7f0a89dc #23 pushing layer 6418258a7453 #23 pushing layer ad47937c6c49 #23 pushing layer d00ae7a19047 #23 pushing layer 8cd91a03564b #23 pushing layer b316983d0800 1.8s #23 pushing layer 28453be5ba71 1.8s #23 pushing layer 6418258a7453 4.0s done #23 pushing layer f6685d1cb364 4.0s done #23 pushing layer 5f70bf18a086 4.0s done #23 pushing layer 6e44b084536b 4.0s done #23 pushing layer 78c42b395420 4.0s done #23 pushing layer 876168558004 4.0s done #23 pushing layer 8c4d0070fa6b 4.0s done #23 pushing layer 9235a45a9779 4.0s done #23 pushing layer 2f137af3aff9 4.0s done #23 pushing layer 0446b8e714da 4.0s done #23 pushing layer 9b9ca9c6d6df 4.0s done #23 pushing layer 99fab3d35dd7 4.0s done #23 pushing layer 8aa999f3b818 4.0s done #23 pushing layer 6f17b58544ce 4.0s done #23 pushing layer 64b8ca473741 4.0s done #23 pushing layer 62ad10e370be 4.0s done #23 pushing layer b19c7f0a89dc 4.0s done #23 pushing layer ad47937c6c49 4.0s done #23 pushing layer d00ae7a19047 4.0s done #23 pushing layer 8cd91a03564b 4.0s done #23 pushing layer b316983d0800 4.0s done #23 pushing layer 28453be5ba71 4.0s done #23 DONE 4.3s ------ > importing cache manifest from altinityinfra/binary-builder:1864-b0eee6bb590fc16d611efd79885688ee512c01cf-aarch64: ------