Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-url1.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-163990-79752/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/rust-url1-1.7.2-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-url1.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-163990-79752/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.p4ryeY + 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.D2coaR + 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-2.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 loongarch64 --nodeps /builddir/build/SPECS/rust-url1.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-163990-79752/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DE100i + 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.hkCMUy + 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-2.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 loongarch64 --nodeps /builddir/build/SPECS/rust-url1.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-163990-79752/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target loongarch64 --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: loongarch64 Building for target loongarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.pBCJh4 + 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.eKQDVO + 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 -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 -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 -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 -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 -j32 -Z avoid-dev-deps --profile rpm Compiling tinyvec_macros v0.1.1 Compiling unicode-bidi v0.3.15 Compiling matches v0.1.10 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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=2d098c0c30703131 -C extra-filename=-2d098c0c30703131 --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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("bench_it", "default", "hardcoded-data", "serde", "std", "unstable", "with_serde"))' -C metadata=a5f754cec019a18f -C extra-filename=-a5f754cec019a18f --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 --edition=2015 /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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=765c4369b880f9e4 -C extra-filename=-765c4369b880f9e4 --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 --edition=2015 /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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=0d7288129a9b70d4 -C extra-filename=-0d7288129a9b70d4 --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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "arbitrary", "default", "experimental_write_impl", "grab_spare_slice", "nightly_slice_partition_dedup", "rustc_1_40", "rustc_1_55", "rustc_1_57", "serde", "std", "tinyvec_macros"))' -C metadata=a9e0d1f7ed466c3b -C extra-filename=-a9e0d1f7ed466c3b --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-2d098c0c30703131.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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=e544195fb69d6adf -C extra-filename=-e544195fb69d6adf --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-a9e0d1f7ed466c3b.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 --edition=2015 /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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=774d234f9f658a22 -C extra-filename=-774d234f9f658a22 --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-765c4369b880f9e4.rmeta --extern unicode_bidi=/builddir/build/BUILD/url-1.7.2/target/rpm/deps/libunicode_bidi-a5f754cec019a18f.rmeta --extern unicode_normalization=/builddir/build/BUILD/url-1.7.2/target/rpm/deps/libunicode_normalization-e544195fb69d6adf.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 --edition=2015 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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("heap_size", "heapsize", "rustc-serialize"))' -C metadata=b5b51328f2034a1e -C extra-filename=-b5b51328f2034a1e --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-774d234f9f658a22.rmeta --extern matches=/builddir/build/BUILD/url-1.7.2/target/rpm/deps/libmatches-765c4369b880f9e4.rmeta --extern percent_encoding=/builddir/build/BUILD/url-1.7.2/target/rpm/deps/libpercent_encoding-0d7288129a9b70d4.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition value: `serde` --> src/lib.rs:111:7 | 111 | #[cfg(feature="serde")] extern crate serde; | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `serde` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `serde` --> src/lib.rs:126:7 | 126 | #[cfg(feature = "serde")] use std::error::Error; | ^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `serde` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `serde` --> src/lib.rs:2248:7 | 2248 | #[cfg(feature="serde")] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `serde` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `serde` --> src/lib.rs:2258:7 | 2258 | #[cfg(feature="serde")] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `serde` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `query_encoding` --> src/encoding.rs:13:7 | 13 | #[cfg(feature = "query_encoding")] extern crate encoding; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `query_encoding` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `query_encoding` --> src/encoding.rs:16:7 | 16 | #[cfg(feature = "query_encoding")] use std::fmt::{self, Debug, Formatter}; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `query_encoding` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `query_encoding` --> src/encoding.rs:18:7 | 18 | #[cfg(feature = "query_encoding")] use self::encoding::types::{DecoderTrap, EncoderTrap}; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `query_encoding` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `query_encoding` --> src/encoding.rs:19:7 | 19 | #[cfg(feature = "query_encoding")] use self::encoding::label::encoding_from_whatwg_label; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `query_encoding` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `query_encoding` --> src/encoding.rs:20:7 | 20 | #[cfg(feature = "query_encoding")] pub use self::encoding::types::EncodingRef; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `query_encoding` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `query_encoding` --> src/encoding.rs:22:7 | 22 | #[cfg(feature = "query_encoding")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `query_encoding` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `query_encoding` --> src/encoding.rs:29:7 | 29 | #[cfg(feature = "query_encoding")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `query_encoding` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `query_encoding` --> src/encoding.rs:93:7 | 93 | #[cfg(feature = "query_encoding")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `query_encoding` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `query_encoding` --> src/encoding.rs:104:11 | 104 | #[cfg(not(feature = "query_encoding"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `query_encoding` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `query_encoding` --> src/encoding.rs:108:11 | 108 | #[cfg(not(feature = "query_encoding"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `query_encoding` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `serde` --> src/host.rs:30:7 | 30 | #[cfg(feature="serde")] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `serde` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `serde` --> src/host.rs:49:7 | 49 | #[cfg(feature="serde")] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `serde` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `serde` --> src/host.rs:94:7 | 94 | #[cfg(feature="serde")] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `serde` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `serde` --> src/host.rs:106:7 | 106 | #[cfg(feature="serde")] | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `serde` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration 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: unexpected `cfg` condition value: `query_encoding` --> src/form_urlencoded.rs:53:7 | 53 | #[cfg(feature = "query_encoding")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `query_encoding` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration 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: unexpected `cfg` condition value: `query_encoding` --> src/form_urlencoded.rs:306:11 | 306 | #[cfg(feature = "query_encoding")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `query_encoding` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `query_encoding` --> src/form_urlencoded.rs:354:11 | 354 | #[cfg(feature = "query_encoding")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `query_encoding` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `query_encoding` --> src/lib.rs:207:11 | 207 | #[cfg(feature = "query_encoding")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `query_encoding` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `serde` --> src/lib.rs:2029:11 | 2029 | #[cfg(feature = "serde")] | ^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `serde` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `serde` --> src/lib.rs:2051:11 | 2051 | #[cfg(feature = "serde")] | ^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `heap_size`, `heapsize`, and `rustc-serialize` = help: consider adding `serde` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration 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: 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected --> src/encoding.rs:134:27 | 134 | debug_assert!(raw_utf8 == &*bytes as *const [u8]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses | 134 | debug_assert!(std::ptr::addr_eq(raw_utf8, &*bytes as *const [u8])); | ++++++++++++++++++ ~ + help: use explicit `std::ptr::eq` method to compare metadata and addresses | 134 | debug_assert!(std::ptr::eq(raw_utf8, &*bytes as *const [u8])); | +++++++++++++ ~ + 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 75 warnings (run `cargo fix --lib -p url` to apply 47 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 9.38s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IHX3AF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-url1-1.7.2-2.oc9.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-url1-1.7.2-2.oc9.loongarch64 ++ dirname /builddir/build/BUILDROOT/rust-url1-1.7.2-2.oc9.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-url1-1.7.2-2.oc9.loongarch64 + 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-2.oc9.loongarch64/usr/share/cargo/registry/url-1.7.2 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-url1-1.7.2-2.oc9.loongarch64/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-2.oc9.loongarch64/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-2.oc9.loongarch64/usr/share/cargo/registry/url-1.7.2/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-url1-1.7.2-2.oc9.loongarch64/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-2.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-2.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-2.oc9.noarch Provides: crate(url/default) = 1.7.2 rust-url1+default-devel = 1.7.2-2.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-2.oc9.noarch Provides: crate(url/heap_size) = 1.7.2 rust-url1+heap_size-devel = 1.7.2-2.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-2.oc9.noarch Provides: crate(url/heapsize) = 1.7.2 rust-url1+heapsize-devel = 1.7.2-2.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-2.oc9.noarch Provides: crate(url/rustc-serialize) = 1.7.2 rust-url1+rustc-serialize-devel = 1.7.2-2.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-2.oc9.loongarch64 Wrote: /builddir/build/SRPMS/rust-url1-1.7.2-2.oc9.src.rpm Wrote: /builddir/build/RPMS/rust-url1+default-devel-1.7.2-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-url1+heap_size-devel-1.7.2-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-url1+rustc-serialize-devel-1.7.2-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-url1+heapsize-devel-1.7.2-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-url1-devel-1.7.2-2.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