Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-url1.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-89909-58516/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-url1.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rust-url1-1.7.2-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-url1.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-89909-58516/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-url1.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ih3sVX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf url-1.7.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/url-1.7.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd url-1.7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/url-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.uJuti0 + umask 022 + cd /builddir/build/BUILD + cd url-1.7.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-url1-1.7.2-1.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-url1.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-89909-58516/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-url1.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2lCEGu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf url-1.7.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/url-1.7.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd url-1.7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/url-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.uwq0DI + umask 022 + cd /builddir/build/BUILD + cd url-1.7.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-url1-1.7.2-1.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-url1.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-89909-58516/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-url1.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.ZAKMVJ + umask 022 + cd /builddir/build/BUILD + cd url-1.7.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wTOhVp + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd url-1.7.2 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --profile rpm Compiling tinyvec_macros v0.1.1 Compiling matches v0.1.10 Compiling unicode-bidi v0.3.15 Compiling percent-encoding v1.0.1 Running `/usr/bin/rustc --crate-name tinyvec_macros --edition=2018 /usr/share/cargo/registry/tinyvec_macros-0.1.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=ddcc21c6c719c3ec -C extra-filename=-ddcc21c6c719c3ec --out-dir /builddir/build/BUILD/url-1.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/url-1.7.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name unicode_bidi --edition=2018 /usr/share/cargo/registry/unicode-bidi-0.3.15/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="hardcoded-data"' --cfg 'feature="std"' -C metadata=3a9bc259798da9ef -C extra-filename=-3a9bc259798da9ef --out-dir /builddir/build/BUILD/url-1.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/url-1.7.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name matches /usr/share/cargo/registry/matches-0.1.10/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=1f7fd53307ca77c1 -C extra-filename=-1f7fd53307ca77c1 --out-dir /builddir/build/BUILD/url-1.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/url-1.7.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name percent_encoding /usr/share/cargo/registry/percent-encoding-1.0.1/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=33304dcca0b8c22f -C extra-filename=-33304dcca0b8c22f --out-dir /builddir/build/BUILD/url-1.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/url-1.7.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling tinyvec v1.6.0 Running `/usr/bin/rustc --crate-name tinyvec --edition=2018 /usr/share/cargo/registry/tinyvec-1.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="tinyvec_macros"' -C metadata=9c6e8538487cc789 -C extra-filename=-9c6e8538487cc789 --out-dir /builddir/build/BUILD/url-1.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/url-1.7.2/target/rpm/deps --extern tinyvec_macros=/builddir/build/BUILD/url-1.7.2/target/rpm/deps/libtinyvec_macros-ddcc21c6c719c3ec.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling unicode-normalization v0.1.23 Running `/usr/bin/rustc --crate-name unicode_normalization --edition=2018 /usr/share/cargo/registry/unicode-normalization-0.1.23/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=c433e12bad9d352e -C extra-filename=-c433e12bad9d352e --out-dir /builddir/build/BUILD/url-1.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/url-1.7.2/target/rpm/deps --extern tinyvec=/builddir/build/BUILD/url-1.7.2/target/rpm/deps/libtinyvec-9c6e8538487cc789.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling idna v0.1.5 Running `/usr/bin/rustc --crate-name idna /usr/share/cargo/registry/idna-0.1.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=2c1a4d8bcf36ba5a -C extra-filename=-2c1a4d8bcf36ba5a --out-dir /builddir/build/BUILD/url-1.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/url-1.7.2/target/rpm/deps --extern matches=/builddir/build/BUILD/url-1.7.2/target/rpm/deps/libmatches-1f7fd53307ca77c1.rmeta --extern unicode_bidi=/builddir/build/BUILD/url-1.7.2/target/rpm/deps/libunicode_bidi-3a9bc259798da9ef.rmeta --extern unicode_normalization=/builddir/build/BUILD/url-1.7.2/target/rpm/deps/libunicode_normalization-c433e12bad9d352e.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling url v1.7.2 (/builddir/build/BUILD/url-1.7.2) Running `/usr/bin/rustc --crate-name url src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=b011e8c288843b41 -C extra-filename=-b011e8c288843b41 --out-dir /builddir/build/BUILD/url-1.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/url-1.7.2/target/rpm/deps --extern idna=/builddir/build/BUILD/url-1.7.2/target/rpm/deps/libidna-2c1a4d8bcf36ba5a.rmeta --extern matches=/builddir/build/BUILD/url-1.7.2/target/rpm/deps/libmatches-1f7fd53307ca77c1.rmeta --extern percent_encoding=/builddir/build/BUILD/url-1.7.2/target/rpm/deps/libpercent_encoding-33304dcca0b8c22f.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `...` range patterns are deprecated --> src/host.rs:503:30 | 503 | c @ b'0' ... b'9' => c - b'0', | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default warning: `...` range patterns are deprecated --> src/parser.rs:382:20 | 382 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '+' | '-' | '.' => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:382:32 | 382 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '+' | '-' | '.' => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:382:44 | 382 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '+' | '-' | '.' => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1224:20 | 1224 | matches!(c, 'a'...'f' | 'A'...'F' | '0'...'9') | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1224:32 | 1224 | matches!(c, 'a'...'f' | 'A'...'F' | '0'...'9') | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1224:44 | 1224 | matches!(c, 'a'...'f' | 'A'...'F' | '0'...'9') | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1237:12 | 1237 | 'a'...'z' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1238:12 | 1238 | 'A'...'Z' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1239:12 | 1239 | '0'...'9' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1242:17 | 1242 | '\u{A0}'...'\u{D7FF}' | '\u{E000}'...'\u{FDCF}' | '\u{FDF0}'...'\u{FFFD}' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1242:43 | 1242 | '\u{A0}'...'\u{D7FF}' | '\u{E000}'...'\u{FDCF}' | '\u{FDF0}'...'\u{FFFD}' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1242:69 | 1242 | '\u{A0}'...'\u{D7FF}' | '\u{E000}'...'\u{FDCF}' | '\u{FDF0}'...'\u{FFFD}' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1243:20 | 1243 | '\u{10000}'...'\u{1FFFD}' | '\u{20000}'...'\u{2FFFD}' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1243:48 | 1243 | '\u{10000}'...'\u{1FFFD}' | '\u{20000}'...'\u{2FFFD}' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1244:20 | 1244 | '\u{30000}'...'\u{3FFFD}' | '\u{40000}'...'\u{4FFFD}' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1244:48 | 1244 | '\u{30000}'...'\u{3FFFD}' | '\u{40000}'...'\u{4FFFD}' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1245:20 | 1245 | '\u{50000}'...'\u{5FFFD}' | '\u{60000}'...'\u{6FFFD}' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1245:48 | 1245 | '\u{50000}'...'\u{5FFFD}' | '\u{60000}'...'\u{6FFFD}' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1246:20 | 1246 | '\u{70000}'...'\u{7FFFD}' | '\u{80000}'...'\u{8FFFD}' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1246:48 | 1246 | '\u{70000}'...'\u{7FFFD}' | '\u{80000}'...'\u{8FFFD}' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1247:20 | 1247 | '\u{90000}'...'\u{9FFFD}' | '\u{A0000}'...'\u{AFFFD}' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1247:48 | 1247 | '\u{90000}'...'\u{9FFFD}' | '\u{A0000}'...'\u{AFFFD}' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1248:20 | 1248 | '\u{B0000}'...'\u{BFFFD}' | '\u{C0000}'...'\u{CFFFD}' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1248:48 | 1248 | '\u{B0000}'...'\u{BFFFD}' | '\u{C0000}'...'\u{CFFFD}' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1249:20 | 1249 | '\u{D0000}'...'\u{DFFFD}' | '\u{E1000}'...'\u{EFFFD}' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1249:48 | 1249 | '\u{D0000}'...'\u{DFFFD}' | '\u{E1000}'...'\u{EFFFD}' | | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1250:20 | 1250 | '\u{F0000}'...'\u{FFFFD}' | '\u{100000}'...'\u{10FFFD}') | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1250:49 | 1250 | '\u{F0000}'...'\u{FFFFD}' | '\u{100000}'...'\u{10FFFD}') | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1262:21 | 1262 | matches!(ch, 'a'...'z' | 'A'...'Z') | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/parser.rs:1262:33 | 1262 | matches!(ch, 'a'...'z' | 'A'...'Z') | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/form_urlencoded.rs:179:46 | 179 | matches!(byte, b'*' | b'-' | b'.' | b'0' ... b'9' | b'A' ... b'Z' | b'_' | b'a' ... b'z') | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/form_urlencoded.rs:179:62 | 179 | matches!(byte, b'*' | b'-' | b'.' | b'0' ... b'9' | b'A' ... b'Z' | b'_' | b'a' ... b'z') | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/form_urlencoded.rs:179:85 | 179 | matches!(byte, b'*' | b'-' | b'.' | b'0' ... b'9' | b'A' ... b'Z' | b'_' | b'a' ... b'z') | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:487:47 | 487 | assert!(matches!(self.byte_at(0), b'a'...b'z' | b'A'...b'Z')); | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:487:61 | 487 | assert!(matches!(self.byte_at(0), b'a'...b'z' | b'A'...b'Z')); | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:489:41 | 489 | .all(|c| matches!(c, 'a'...'z' | 'A'...'Z' | '0'...'9' | '+' | '-' | '.'))); | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:489:53 | 489 | .all(|c| matches!(c, 'a'...'z' | 'A'...'Z' | '0'...'9' | '+' | '-' | '.'))); | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:489:65 | 489 | .all(|c| matches!(c, 'a'...'z' | 'A'...'Z' | '0'...'9' | '+' | '-' | '.'))); | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: the item `PathBuf` is imported redundantly --> src/lib.rs:2348:9 | 133 | use std::path::{Path, PathBuf}; | ------- the item `PathBuf` is already imported here ... 2348 | use std::path::PathBuf; | ^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/origin.rs:13:38 | 13 | use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering}; | ^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/origin.rs:79:39 | 79 | static COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 79 | static COUNTER: AtomicUsize = AtomicUsize::new(0); | ~~~~~~~~~~~~~~~~~~~ warning: trait objects without an explicit `dyn` are deprecated --> src/parser.rs:277:16 | 277 | NewFn(&'a (Fn(SyntaxViolation) + 'a)), | ^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: use `dyn` | 277 | NewFn(&'a (dyn Fn(SyntaxViolation) + 'a)), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/parser.rs:278:16 | 278 | OldFn(&'a (Fn(&'static str) + 'a)), | ^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 278 | OldFn(&'a (dyn Fn(&'static str) + 'a)), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/form_urlencoded.rs:220:45 | 220 | custom_encoding: Option Cow<[u8]>>>>, | ^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 220 | custom_encoding: Option Cow<[u8]>>>>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:219:59 | 219 | pub fn log_syntax_violation(mut self, new: Option<&'a Fn(&'static str)>) -> Self { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 219 | pub fn log_syntax_violation(mut self, new: Option<&'a dyn Fn(&'static str)>) -> Self { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:249:64 | 249 | pub fn syntax_violation_callback(mut self, new: Option<&'a Fn(SyntaxViolation)>) -> Self { | ^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 249 | pub fn syntax_violation_callback(mut self, new: Option<&'a dyn Fn(SyntaxViolation)>) -> Self { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/form_urlencoded.rs:395:61 | 395 | custom_encoding: &mut Option Cow<[u8]>>>>, | ^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 395 | custom_encoding: &mut Option Cow<[u8]>>>>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/form_urlencoded.rs:404:61 | 404 | custom_encoding: &mut Option Cow<[u8]>>>>) { | ^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 404 | custom_encoding: &mut Option Cow<[u8]>>>>) { | +++ warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/parser.rs:73:14 | 73 | self.description().fmt(fmt) | ^^^^^^^^^^^ warning: unused borrow that must be used --> src/form_urlencoded.rs:288:9 | 288 | &target.as_mut_string()[start_position..]; // Panic if out of bounds | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | = note: `#[warn(unused_must_use)]` on by default help: use `let _ = ...` to ignore the resulting value | 288 | let _ = &target.as_mut_string()[start_position..]; // Panic if out of bounds | +++++++ warning: `url` (lib) generated 51 warnings (run `cargo fix --lib -p url` to apply 47 suggestions) Finished rpm [optimized + debuginfo] target(s) in 5.65s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NcgGUF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-url1-1.7.2-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-url1-1.7.2-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-url1-1.7.2-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-url1-1.7.2-1.oc9.aarch64 + cd url-1.7.2 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=url ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=1.7.2 + REG_DIR=/builddir/build/BUILDROOT/rust-url1-1.7.2-1.oc9.aarch64/usr/share/cargo/registry/url-1.7.2 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-url1-1.7.2-1.oc9.aarch64/usr/share/cargo/registry/url-1.7.2 + gawk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-url1-1.7.2-1.oc9.aarch64/usr/share/cargo/registry/url-1.7.2 warning: No (git) VCS found for `/builddir/build/BUILD/url-1.7.2` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-url1-1.7.2-1.oc9.aarch64/usr/share/cargo/registry/url-1.7.2/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-url1-1.7.2-1.oc9.aarch64/usr/share/cargo/registry/url-1.7.2/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: rust-url1-devel-1.7.2-1.oc9.noarch warning: File listed twice: /usr/share/cargo/registry/url-1.7.2/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/url-1.7.2/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/url-1.7.2/README.md warning: File listed twice: /usr/share/cargo/registry/url-1.7.2/UPGRADING.md Provides: crate(url) = 1.7.2 rust-url1-devel = 1.7.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(idna/default) >= 0.1.0 with crate(idna/default) < 0.2.0~) (crate(matches/default) >= 0.1.0 with crate(matches/default) < 0.2.0~) (crate(percent-encoding/default) >= 1.0.0 with crate(percent-encoding/default) < 2.0.0~) cargo Processing files: rust-url1+default-devel-1.7.2-1.oc9.noarch Provides: crate(url/default) = 1.7.2 rust-url1+default-devel = 1.7.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(url) = 1.7.2 Processing files: rust-url1+heap_size-devel-1.7.2-1.oc9.noarch Provides: crate(url/heap_size) = 1.7.2 rust-url1+heap_size-devel = 1.7.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(url) = 1.7.2 crate(url/heapsize) = 1.7.2 Processing files: rust-url1+heapsize-devel-1.7.2-1.oc9.noarch Provides: crate(url/heapsize) = 1.7.2 rust-url1+heapsize-devel = 1.7.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(heapsize/default) >= 0.4.1 with crate(heapsize/default) < 0.5.0~) cargo crate(url) = 1.7.2 Processing files: rust-url1+rustc-serialize-devel-1.7.2-1.oc9.noarch Provides: crate(url/rustc-serialize) = 1.7.2 rust-url1+rustc-serialize-devel = 1.7.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(rustc-serialize/default) >= 0.3.0 with crate(rustc-serialize/default) < 0.4.0~) cargo crate(url) = 1.7.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-url1-1.7.2-1.oc9.aarch64 Wrote: /builddir/build/SRPMS/rust-url1-1.7.2-1.oc9.src.rpm Wrote: /builddir/build/RPMS/rust-url1+rustc-serialize-devel-1.7.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-url1+heap_size-devel-1.7.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-url1+default-devel-1.7.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-url1+heapsize-devel-1.7.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-url1-devel-1.7.2-1.oc9.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/url-1.7.2/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/url-1.7.2/LICENSE-MIT File listed twice: /usr/share/cargo/registry/url-1.7.2/README.md File listed twice: /usr/share/cargo/registry/url-1.7.2/UPGRADING.md Child return code was: 0