Skip to content

Commit baef5fd

Browse files
committed
🚨 Fix LegacyKeyValueFormat report from docker build
1 parent 8c5605e commit baef5fd

File tree

67 files changed

+230
-230
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+230
-230
lines changed

src/ci/docker/host-aarch64/aarch64-gnu-debug/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2929
COPY scripts/sccache.sh /scripts/
3030
RUN sh /scripts/sccache.sh
3131

32-
ENV RUSTBUILD_FORCE_CLANG_BASED_TESTS 1
32+
ENV RUSTBUILD_FORCE_CLANG_BASED_TESTS="1"
3333

3434
# llvm.use-linker conflicts with downloading CI LLVM
35-
ENV NO_DOWNLOAD_CI_LLVM 1
35+
ENV NO_DOWNLOAD_CI_LLVM="1"
3636

37-
ENV RUST_CONFIGURE_ARGS \
37+
ENV RUST_CONFIGURE_ARGS=" \
3838
--build=aarch64-unknown-linux-gnu \
3939
--enable-debug \
4040
--enable-lld \
4141
--set llvm.use-linker=lld \
4242
--set target.aarch64-unknown-linux-gnu.linker=clang \
4343
--set target.aarch64-unknown-linux-gnu.cc=clang \
44-
--set target.aarch64-unknown-linux-gnu.cxx=clang++
44+
--set target.aarch64-unknown-linux-gnu.cxx=clang++"
4545

4646
# This job appears to be checking two separate things:
4747
# - That we can build the compiler with `--enable-debug`
@@ -52,6 +52,6 @@ ENV RUST_CONFIGURE_ARGS \
5252
# Currently we only run the subset of tests with "clang" in their name.
5353
# - See also FIXME(#132034)
5454

55-
ENV SCRIPT \
55+
ENV SCRIPT=" \
5656
python3 ../x.py --stage 2 build && \
57-
python3 ../x.py --stage 2 test tests/run-make tests/run-make-cargo
57+
python3 ../x.py --stage 2 test tests/run-make tests/run-make-cargo"

src/ci/docker/host-aarch64/aarch64-gnu-llvm-20/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,20 @@ RUN sh /scripts/sccache.sh
3737

3838
# We are disabling CI LLVM since this builder is intentionally using a host
3939
# LLVM, rather than the typical src/llvm-project LLVM.
40-
ENV NO_DOWNLOAD_CI_LLVM 1
41-
ENV EXTERNAL_LLVM 1
40+
ENV NO_DOWNLOAD_CI_LLVM="1"
41+
ENV EXTERNAL_LLVM="1"
4242

4343
# Using llvm-link-shared due to libffi issues -- see #34486
44-
ENV RUST_CONFIGURE_ARGS \
44+
ENV RUST_CONFIGURE_ARGS=" \
4545
--build=aarch64-unknown-linux-gnu \
4646
--llvm-root=/usr/lib/llvm-20 \
4747
--enable-llvm-link-shared \
4848
--set rust.randomize-layout=true \
49-
--set rust.thin-lto-import-instr-limit=10
49+
--set rust.thin-lto-import-instr-limit=10"
5050

5151
COPY scripts/shared.sh /scripts/
5252

5353
COPY scripts/stage_2_test_set1.sh /scripts/
5454
COPY scripts/stage_2_test_set2.sh /scripts/
5555

56-
ENV SCRIPT "Must specify DOCKER_SCRIPT for this image"
56+
ENV SCRIPT="Must specify DOCKER_SCRIPT for this image"

src/ci/docker/host-aarch64/aarch64-gnu/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2121
COPY scripts/sccache.sh /scripts/
2222
RUN sh /scripts/sccache.sh
2323

24-
ENV RUST_CONFIGURE_ARGS \
24+
ENV RUST_CONFIGURE_ARGS=" \
2525
--build=aarch64-unknown-linux-gnu \
2626
--enable-sanitizers \
2727
--enable-profiler \
28-
--enable-compiler-docs
29-
ENV SCRIPT python3 ../x.py --stage 2 test && \
30-
python3 ../x.py --stage 2 test src/tools/cargo
28+
--enable-compiler-docs"
29+
ENV SCRIP="python3 ../x.py --stage 2 test && \
30+
python3 ../x.py --stage 2 test src/tools/cargo"

src/ci/docker/host-aarch64/dist-aarch64-linux/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ ENV HOSTS=aarch64-unknown-linux-gnu
7676

7777
ENV CPATH=/usr/include/aarch64-linux-gnu/:$CPATH
7878

79-
ENV RUST_CONFIGURE_ARGS \
79+
ENV RUST_CONFIGURE_ARGS=" \
8080
--build=aarch64-unknown-linux-gnu \
8181
--enable-full-tools \
8282
--enable-profiler \
@@ -93,12 +93,12 @@ ENV RUST_CONFIGURE_ARGS \
9393
--set rust.jemalloc \
9494
--set rust.bootstrap-override-lld=true \
9595
--set rust.lto=thin \
96-
--set rust.codegen-units=1
96+
--set rust.codegen-units=1"
9797

98-
ENV SCRIPT python3 ../x.py build --set rust.debug=true opt-dist && \
98+
ENV SCRIPT="python3 ../x.py build --set rust.debug=true opt-dist && \
9999
./build/$HOSTS/stage1-tools-bin/opt-dist linux-ci -- python3 ../x.py dist \
100-
--host $HOSTS --target $HOSTS --include-default-paths build-manifest bootstrap
100+
--host $HOSTS --target $HOSTS --include-default-paths build-manifest bootstrap"
101101

102102
ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=clang
103-
ENV LIBCURL_NO_PKG_CONFIG 1
104-
ENV DIST_REQUIRE_ALL_TOOLS 1
103+
ENV LIBCURL_NO_PKG_CONFIG="1"
104+
ENV DIST_REQUIRE_ALL_TOOLS="1"

src/ci/docker/host-x86_64/arm-android/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ ENV PATH=$PATH:/android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin
3232

3333
ENV TARGETS=arm-linux-androideabi
3434

35-
ENV RUST_CONFIGURE_ARGS --android-ndk=/android/ndk/
35+
ENV RUST_CONFIGURE_ARGS="--android-ndk=/android/ndk/"
3636

37-
ENV SCRIPT python3 ../x.py --stage 2 test --host='' --target $TARGETS
37+
ENV SCRIPT="python3 ../x.py --stage 2 test --host='' --target $TARGETS"
3838

3939
COPY scripts/sccache.sh /scripts/
4040
RUN sh /scripts/sccache.sh

src/ci/docker/host-x86_64/armhf-gnu/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ RUN sh /scripts/sccache.sh
8282

8383
COPY static/gitconfig /etc/gitconfig
8484

85-
ENV RUST_CONFIGURE_ARGS --qemu-armhf-rootfs=/tmp/rootfs
86-
ENV SCRIPT python3 ../x.py --stage 2 test --host='' --target arm-unknown-linux-gnueabihf
85+
ENV RUST_CONFIGURE_ARGS="--qemu-armhf-rootfs=/tmp/rootfs"
86+
ENV SCRIPT="python3 ../x.py --stage 2 test --host='' --target arm-unknown-linux-gnueabihf"
8787

8888
ENV NO_CHANGE_USER=1

src/ci/docker/host-x86_64/disabled/dist-aarch64-android/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ ENV DEP_Z_ROOT=/android/ndk/arm64-21/sysroot/usr/
1313

1414
ENV HOSTS=aarch64-linux-android
1515

16-
ENV RUST_CONFIGURE_ARGS \
16+
ENV RUST_CONFIGURE_ARGS=" \
1717
--aarch64-linux-android-ndk=/android/ndk/arm64-21 \
1818
--disable-rpath \
1919
--enable-extended \
20-
--enable-cargo-openssl-static
20+
--enable-cargo-openssl-static"
2121

22-
ENV SCRIPT python3 ../x.py dist --target $HOSTS --host $HOSTS
22+
ENV SCRIPT="python3 ../x.py dist --target $HOSTS --host $HOSTS"
2323

2424
COPY scripts/sccache.sh /scripts/
2525
RUN sh /scripts/sccache.sh

src/ci/docker/host-x86_64/disabled/dist-armv7-android/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ ENV DEP_Z_ROOT=/android/ndk/arm-14/sysroot/usr/
1919

2020
ENV HOSTS=armv7-linux-androideabi
2121

22-
ENV RUST_CONFIGURE_ARGS \
22+
ENV RUST_CONFIGURE_ARGS=" \
2323
--armv7-linux-androideabi-ndk=/android/ndk/arm \
2424
--disable-rpath \
2525
--enable-extended \
26-
--enable-cargo-openssl-static
26+
--enable-cargo-openssl-static"
2727

2828
# We support api level 14, but api level 21 is required to build llvm. To
2929
# overcome this problem we use a ndk with api level 21 to build llvm and then
@@ -32,12 +32,12 @@ ENV RUST_CONFIGURE_ARGS \
3232
# level 14), the default linker behavior is to generate an error, to allow the
3333
# build to finish we use --warn-unresolved-symbols. Note that the missing
3434
# symbols does not affect std, only the compiler (llvm) and cargo (openssl).
35-
ENV SCRIPT \
35+
ENV SCRIPT=" \
3636
python3 ../x.py --stage 2 build src/llvm --host $HOSTS --target $HOSTS && \
37-
(export RUSTFLAGS="\"-C link-arg=-Wl,--warn-unresolved-symbols\""; \
37+
(export RUSTFLAGS=\"-C link-arg=-Wl,--warn-unresolved-symbols\"; \
3838
rm /android/ndk/arm && \
3939
ln -s /android/ndk/arm-14 /android/ndk/arm && \
40-
python3 ../x.py dist --host $HOSTS --target $HOSTS)
40+
python3 ../x.py dist --host $HOSTS --target $HOSTS)"
4141

4242
COPY scripts/sccache.sh /scripts/
4343
RUN sh /scripts/sccache.sh

src/ci/docker/host-x86_64/disabled/dist-i686-android/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ ENV DEP_Z_ROOT=/android/ndk/x86-14/sysroot/usr/
1919

2020
ENV HOSTS=i686-linux-android
2121

22-
ENV RUST_CONFIGURE_ARGS \
22+
ENV RUST_CONFIGURE_ARGS=" \
2323
--i686-linux-android-ndk=/android/ndk/x86 \
2424
--disable-rpath \
2525
--enable-extended \
26-
--enable-cargo-openssl-static
26+
--enable-cargo-openssl-static"
2727

2828
# We support api level 14, but api level 21 is required to build llvm. To
2929
# overcome this problem we use a ndk with api level 21 to build llvm and then
@@ -32,12 +32,12 @@ ENV RUST_CONFIGURE_ARGS \
3232
# level 14), the default linker behavior is to generate an error, to allow the
3333
# build to finish we use --warn-unresolved-symbols. Note that the missing
3434
# symbols does not affect std, only the compiler (llvm) and cargo (openssl).
35-
ENV SCRIPT \
35+
ENV SCRIPT=" \
3636
python3 ../x.py --stage 2 build src/llvm --host $HOSTS --target $HOSTS && \
37-
(export RUSTFLAGS="\"-C link-arg=-Wl,--warn-unresolved-symbols\""; \
37+
(export RUSTFLAGS=\"-C link-arg=-Wl,--warn-unresolved-symbols\"; \
3838
rm /android/ndk/x86 && \
3939
ln -s /android/ndk/x86-14 /android/ndk/x86 && \
40-
python3 ../x.py dist --host $HOSTS --target $HOSTS)
40+
python3 ../x.py dist --host $HOSTS --target $HOSTS)"
4141

4242
COPY scripts/sccache.sh /scripts/
4343
RUN sh /scripts/sccache.sh

src/ci/docker/host-x86_64/disabled/dist-m68k-linux/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ RUN sh /scripts/sccache.sh
2424

2525
ENV HOSTS=m68k-unknown-linux-gnu
2626

27-
ENV RUST_CONFIGURE_ARGS --host=$HOSTS --enable-extended
28-
ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS
27+
ENV RUST_CONFIGURE_ARGS="--host=$HOSTS --enable-extended"
28+
ENV SCRIPT="python3 ../x.py dist --host $HOSTS --target $HOSTS"

0 commit comments

Comments
 (0)