D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-proc-macro2-diagnostics-0.10.1-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3gc8SZ Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NZFGUK + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build + rm -rf proc-macro2-diagnostics-0.10.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/proc-macro2-diagnostics-0.10.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd proc-macro2-diagnostics-0.10.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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 /home/pterjan/rpmbuild/tmp/rpm-tmp.Bi0Xlr + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build + cd proc-macro2-diagnostics-0.10.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7Dzeun + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd proc-macro2-diagnostics-0.10.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /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 -j16 -Z avoid-dev-deps --profile rpm Compiling proc-macro2 v1.0.94 Compiling unicode-ident v1.0.18 Compiling version_check v0.9.5 Compiling yansi v1.0.1 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.94/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=186aad7a12ea9336 -C extra-filename=-afdebed02fe2a884 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/build/proc-macro2-afdebed02fe2a884 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/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_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.18/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,test)' --check-cfg 'cfg(feature, values())' -C metadata=3c49d1fd249e50e5 -C extra-filename=-f34df9181f9f3f17 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/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 version_check --edition=2015 /usr/share/cargo/registry/version_check-0.9.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=1c82ffb6f3ecdb51 -C extra-filename=-108c13b96f913771 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/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 yansi --edition=2021 /usr/share/cargo/registry/yansi-1.0.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 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("_nightly", "alloc", "default", "detect-env", "detect-tty", "hyperlink", "is-terminal", "std"))' -C metadata=395663323905dc9c -C extra-filename=-8b61af679b9902fa --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/build/proc-macro2-afdebed02fe2a884/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.94/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=fabb7b3bb634546c -C extra-filename=-1f47e4ee4e57f00e --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libunicode_ident-f34df9181f9f3f17.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg wrap_proc_macro --cfg proc_macro_span --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(no_is_available)' --check-cfg 'cfg(no_literal_byte_character)' --check-cfg 'cfg(no_literal_c_string)' --check-cfg 'cfg(no_source_text)' --check-cfg 'cfg(proc_macro_span)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_nightly_testing)' --check-cfg 'cfg(procmacro2_semver_exempt)' --check-cfg 'cfg(randomize_layout)' --check-cfg 'cfg(span_locations)' --check-cfg 'cfg(super_unstable)' --check-cfg 'cfg(wrap_proc_macro)'` Compiling proc-macro2-diagnostics v0.10.1 (/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1) Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="colors"' --cfg 'feature="default"' --cfg 'feature="yansi"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("colors", "default", "yansi"))' -C metadata=204535120627e338 -C extra-filename=-f8efaf5bc094c876 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/build/proc-macro2-diagnostics-f8efaf5bc094c876 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --extern version_check=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libversion_check-108c13b96f913771.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/build/proc-macro2-diagnostics-f8efaf5bc094c876/build-script-build` Compiling quote v1.0.40 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.40/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=d004799ad18d0154 -C extra-filename=-58b41b07475eca6b --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libproc_macro2-1f47e4ee4e57f00e.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling syn v2.0.100 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.100/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="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "test", "visit", "visit-mut"))' -C metadata=1b3f333474dd91dc -C extra-filename=-c0b487d4aa9a263a --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libproc_macro2-1f47e4ee4e57f00e.rmeta --extern quote=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libquote-58b41b07475eca6b.rmeta --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libunicode_ident-f34df9181f9f3f17.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name proc_macro2_diagnostics --edition=2018 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="colors"' --cfg 'feature="default"' --cfg 'feature="yansi"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("colors", "default", "yansi"))' -C metadata=be9dcee9b30ace44 -C extra-filename=-6bbb3727eadbe7e1 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libproc_macro2-1f47e4ee4e57f00e.rmeta --extern quote=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libquote-58b41b07475eca6b.rmeta --extern syn=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libsyn-c0b487d4aa9a263a.rmeta --extern yansi=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libyansi-8b61af679b9902fa.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `nightly_diagnostics` --> src/lib.rs:1:13 | 1 | #![cfg_attr(nightly_diagnostics, feature(proc_macro_diagnostic, proc_macro_span))] | ^^^^^^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `nightly_diagnostics` --> src/lib.rs:80:7 | 80 | #[cfg(nightly_diagnostics)] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nightly_diagnostics` --> src/diagnostic.rs:292:7 | 292 | #[cfg(nightly_diagnostics)] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nightly_diagnostics` --> src/diagnostic.rs:173:15 | 173 | #[cfg(not(nightly_diagnostics))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nightly_diagnostics` --> src/diagnostic.rs:179:11 | 179 | #[cfg(nightly_diagnostics)] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nightly_diagnostics` --> src/line.rs:20:43 | 20 | #[cfg(not(all(feature = "colors", not(nightly_diagnostics))))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nightly_diagnostics` --> src/line.rs:25:39 | 25 | #[cfg(all(feature = "colors", not(nightly_diagnostics)))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nightly_diagnostics` --> src/line.rs:78:39 | 78 | #[cfg(all(feature = "colors", not(nightly_diagnostics)))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nightly_diagnostics` --> src/line.rs:92:43 | 92 | #[cfg(not(all(feature = "colors", not(nightly_diagnostics))))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `proc-macro2-diagnostics` (lib) generated 9 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 13.41s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.93Ajn6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd proc-macro2-diagnostics-0.10.1 + '[' 1 -eq 1 ']' + 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=proc-macro2-diagnostics ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.10.1 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/BUILDROOT/usr/share/cargo/registry/proc-macro2-diagnostics-0.10.1 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/BUILDROOT/usr/share/cargo/registry/proc-macro2-diagnostics-0.10.1 + /usr/bin/awk -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 /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/BUILDROOT/usr/share/cargo/registry/proc-macro2-diagnostics-0.10.1 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/BUILDROOT/usr/share/cargo/registry/proc-macro2-diagnostics-0.10.1/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/BUILDROOT/usr/share/cargo/registry/proc-macro2-diagnostics-0.10.1/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Lcv36W + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd proc-macro2-diagnostics-0.10.1 + '[' 1 -eq 1 ']' + /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 test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast -- --skip main Compiling serde v1.0.217 Compiling proc-macro2 v1.0.94 Compiling unicode-ident v1.0.18 Compiling hashbrown v0.15.0 Compiling equivalent v1.0.1 Compiling serde_json v1.0.139 Compiling winnow v0.6.18 Fresh version_check v0.9.5 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/serde-1.0.217/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=23c33bd44e5b2880 -C extra-filename=-c893c1601ea249e9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/build/serde-c893c1601ea249e9 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/build/proc-macro2-afdebed02fe2a884/build-script-build` Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=adcecc07420fd8e7 -C extra-filename=-e45ede29ac9488f1 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/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 hashbrown --edition=2021 /usr/share/cargo/registry/hashbrown-0.15.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "allocator-api2", "borsh", "compiler_builtins", "core", "default", "default-hasher", "equivalent", "inline-more", "nightly", "raw-entry", "rayon", "rustc-dep-of-std", "rustc-internal-api", "serde"))' -C metadata=3bc82d8a8b58ff48 -C extra-filename=-bf6ad5c755150d6d --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/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 equivalent --edition=2015 /usr/share/cargo/registry/equivalent-1.0.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,test)' --check-cfg 'cfg(feature, values())' -C metadata=65911a331b94acaf -C extra-filename=-4b4b82be3db301f1 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/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 build_script_build --edition=2021 /usr/share/cargo/registry/serde_json-1.0.139/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "arbitrary_precision", "default", "float_roundtrip", "indexmap", "preserve_order", "raw_value", "std", "unbounded_depth"))' -C metadata=f673b363dfdcfd79 -C extra-filename=-b3e61cc900119dd3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/build/serde_json-b3e61cc900119dd3 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling itoa v1.0.14 Compiling ryu v1.0.18 Compiling memchr v2.7.4 Compiling trybuild v1.0.99 Compiling termcolor v1.4.0 Fresh yansi v1.0.1 Compiling glob v0.3.1 Running `/usr/bin/rustc --crate-name winnow --edition=2021 /usr/share/cargo/registry/winnow-0.6.18/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 --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--allow=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads' --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::uninlined_format_args' '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::string_add' '--warn=clippy::str_to_string' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::same_functions_in_if_condition' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "debug", "default", "simd", "std", "unstable-doc", "unstable-recover"))' -C metadata=1ae5a127586b5e86 -C extra-filename=-590a3b7c3f8fae64 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/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 termcolor --edition=2018 /usr/share/cargo/registry/termcolor-1.4.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=59df100bef109177 -C extra-filename=-75cef99c9421cc25 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/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 itoa --edition=2018 /usr/share/cargo/registry/itoa-1.0.14/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,test)' --check-cfg 'cfg(feature, values("no-panic"))' -C metadata=acb045136fdfa993 -C extra-filename=-97b4d61f51835f4e --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/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 memchr --edition=2021 /usr/share/cargo/registry/memchr-2.7.4/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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "compiler_builtins", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=9228fa86758e8c03 -C extra-filename=-3b1147e61686bb87 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/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 ryu --edition=2018 /usr/share/cargo/registry/ryu-1.0.18/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,test)' --check-cfg 'cfg(feature, values("no-panic", "small"))' -C metadata=5dbb236c7baabfa0 -C extra-filename=-9c577a59cbc8fcfd --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/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 build_script_build --edition=2021 /usr/share/cargo/registry/trybuild-1.0.99/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("diff", "dissimilar"))' -C metadata=011bf779cd6b2e84 -C extra-filename=-36ecc29486d80da5 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/build/trybuild-36ecc29486d80da5 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/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 glob --edition=2015 /usr/share/cargo/registry/glob-0.3.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,test)' --check-cfg 'cfg(feature, values())' -C metadata=d47e10433274b045 -C extra-filename=-5cf819a57d6159a9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `nightly_diagnostics` --> src/lib.rs:1:13 | 1 | #![cfg_attr(nightly_diagnostics, feature(proc_macro_diagnostic, proc_macro_span))] | ^^^^^^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `nightly_diagnostics` --> src/lib.rs:80:7 | 80 | #[cfg(nightly_diagnostics)] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nightly_diagnostics` --> src/diagnostic.rs:292:7 | 292 | #[cfg(nightly_diagnostics)] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nightly_diagnostics` --> src/diagnostic.rs:173:15 | 173 | #[cfg(not(nightly_diagnostics))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nightly_diagnostics` --> src/diagnostic.rs:179:11 | 179 | #[cfg(nightly_diagnostics)] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nightly_diagnostics` --> src/line.rs:20:43 | 20 | #[cfg(not(all(feature = "colors", not(nightly_diagnostics))))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nightly_diagnostics` --> src/line.rs:25:39 | 25 | #[cfg(all(feature = "colors", not(nightly_diagnostics)))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nightly_diagnostics` --> src/line.rs:78:39 | 78 | #[cfg(all(feature = "colors", not(nightly_diagnostics)))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nightly_diagnostics` --> src/line.rs:92:43 | 92 | #[cfg(not(all(feature = "colors", not(nightly_diagnostics))))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `proc-macro2-diagnostics` (lib) generated 9 warnings Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.94/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=1145e0dc34b4846e -C extra-filename=-da4772ea36af6bba --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libunicode_ident-e45ede29ac9488f1.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg wrap_proc_macro --cfg proc_macro_span --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(no_is_available)' --check-cfg 'cfg(no_literal_byte_character)' --check-cfg 'cfg(no_literal_c_string)' --check-cfg 'cfg(no_source_text)' --check-cfg 'cfg(proc_macro_span)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_nightly_testing)' --check-cfg 'cfg(procmacro2_semver_exempt)' --check-cfg 'cfg(randomize_layout)' --check-cfg 'cfg(span_locations)' --check-cfg 'cfg(super_unstable)' --check-cfg 'cfg(wrap_proc_macro)'` Running `/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/build/serde_json-b3e61cc900119dd3/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/build/trybuild-36ecc29486d80da5/build-script-build` Compiling quote v1.0.40 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.40/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=33a55349c8ad82ab -C extra-filename=-5c50f5c1b9d163c9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libproc_macro2-da4772ea36af6bba.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/build/serde-c893c1601ea249e9/build-script-build` Running `/usr/bin/rustc --crate-name serde --edition=2018 /usr/share/cargo/registry/serde-1.0.217/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,test)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=b749c9e10a9e182f -C extra-filename=-2450d9623ee82f46 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --check-cfg 'cfg(no_core_cstr)' --check-cfg 'cfg(no_core_error)' --check-cfg 'cfg(no_core_net)' --check-cfg 'cfg(no_core_num_saturating)' --check-cfg 'cfg(no_core_try_from)' --check-cfg 'cfg(no_diagnostic_namespace)' --check-cfg 'cfg(no_float_copysign)' --check-cfg 'cfg(no_num_nonzero_signed)' --check-cfg 'cfg(no_relaxed_trait_bounds)' --check-cfg 'cfg(no_serde_derive)' --check-cfg 'cfg(no_std_atomic)' --check-cfg 'cfg(no_std_atomic64)' --check-cfg 'cfg(no_systemtime_checked_add)' --check-cfg 'cfg(no_target_has_atomic)'` Compiling syn v2.0.100 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.100/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "test", "visit", "visit-mut"))' -C metadata=dfb62950a9248742 -C extra-filename=-fd793ecc6c4d2bad --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libproc_macro2-da4772ea36af6bba.rmeta --extern quote=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libquote-5c50f5c1b9d163c9.rmeta --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libunicode_ident-e45ede29ac9488f1.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling indexmap v2.6.0 Running `/usr/bin/rustc --crate-name indexmap --edition=2021 /usr/share/cargo/registry/indexmap-2.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 '--allow=clippy::style' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "borsh", "default", "quickcheck", "rayon", "rustc-rayon", "serde", "std", "test_debug"))' -C metadata=d440f91a7b452818 -C extra-filename=-22b1ed2739f2e192 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --extern equivalent=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libequivalent-4b4b82be3db301f1.rmeta --extern hashbrown=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libhashbrown-bf6ad5c755150d6d.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling serde_spanned v0.6.7 Compiling toml_datetime v0.6.8 Running `/usr/bin/rustc --crate-name serde_spanned --edition=2021 /usr/share/cargo/registry/serde_spanned-0.6.7/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 '--warn=clippy::zero_sized_map_values' '--warn=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::string_add' '--warn=clippy::str_to_string' '--warn=clippy::single_match_else' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_functions_in_if_condition' --warn=rust_2018_idioms '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--warn=clippy::mem_forget' '--warn=clippy::match_wildcard_for_single_variants' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::items_after_statements' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' --cfg 'feature="serde"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("serde"))' -C metadata=7cb2b35368143b8a -C extra-filename=-661ffa0c0b1531b8 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --extern serde=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libserde-2450d9623ee82f46.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name serde_json --edition=2021 /usr/share/cargo/registry/serde_json-1.0.139/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,test)' --check-cfg 'cfg(feature, values("alloc", "arbitrary_precision", "default", "float_roundtrip", "indexmap", "preserve_order", "raw_value", "std", "unbounded_depth"))' -C metadata=6727861b9e84ed51 -C extra-filename=-6aad2ae3b016e552 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --extern itoa=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libitoa-97b4d61f51835f4e.rmeta --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libmemchr-3b1147e61686bb87.rmeta --extern ryu=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libryu-9c577a59cbc8fcfd.rmeta --extern serde=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libserde-2450d9623ee82f46.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg 'fast_arithmetic="64"' --check-cfg 'cfg(fast_arithmetic, values("32", "64"))'` Running `/usr/bin/rustc --crate-name toml_datetime --edition=2021 /usr/share/cargo/registry/toml_datetime-0.6.8/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 --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--warn=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::string_add' '--warn=clippy::str_to_string' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_functions_in_if_condition' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' --cfg 'feature="serde"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("serde"))' -C metadata=62f635eb5e7fd626 -C extra-filename=-edb41483a1f59e50 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --extern serde=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libserde-2450d9623ee82f46.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling toml_edit v0.22.21 Running `/usr/bin/rustc --crate-name toml_edit --edition=2021 /usr/share/cargo/registry/toml_edit-0.22.21/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 --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--warn=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::string_add' '--warn=clippy::str_to_string' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_functions_in_if_condition' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' --cfg 'feature="display"' --cfg 'feature="parse"' --cfg 'feature="serde"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "display", "parse", "perf", "serde", "unbounded"))' -C metadata=324dee58f8bd4dac -C extra-filename=-eaa65bd116933205 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --extern indexmap=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libindexmap-22b1ed2739f2e192.rmeta --extern serde=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libserde-2450d9623ee82f46.rmeta --extern serde_spanned=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libserde_spanned-661ffa0c0b1531b8.rmeta --extern toml_datetime=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libtoml_datetime-edb41483a1f59e50.rmeta --extern winnow=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libwinnow-590a3b7c3f8fae64.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling toml v0.8.19 Running `/usr/bin/rustc --crate-name toml --edition=2021 /usr/share/cargo/registry/toml-0.8.19/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 --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--warn=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::string_add' '--warn=clippy::str_to_string' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_functions_in_if_condition' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' --cfg 'feature="default"' --cfg 'feature="display"' --cfg 'feature="parse"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "display", "indexmap", "parse", "preserve_order"))' -C metadata=07fad36a2b028782 -C extra-filename=-d5716dcaacc19056 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --extern serde=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libserde-2450d9623ee82f46.rmeta --extern serde_spanned=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libserde_spanned-661ffa0c0b1531b8.rmeta --extern toml_datetime=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libtoml_datetime-edb41483a1f59e50.rmeta --extern toml_edit=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libtoml_edit-eaa65bd116933205.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling serde_derive v1.0.217 Running `/usr/bin/rustc --crate-name serde_derive --edition=2015 /usr/share/cargo/registry/serde_derive-1.0.217/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "deserialize_in_place"))' -C metadata=24d94a4d5fb2744b -C extra-filename=-d69963d3e3f0de0d --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libproc_macro2-da4772ea36af6bba.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libquote-5c50f5c1b9d163c9.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libsyn-fd793ecc6c4d2bad.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name trybuild --edition=2021 /usr/share/cargo/registry/trybuild-1.0.99/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,test)' --check-cfg 'cfg(feature, values("diff", "dissimilar"))' -C metadata=c84c3b72f632a4c9 -C extra-filename=-47b4bcf965ae26d7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --extern glob=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libglob-5cf819a57d6159a9.rmeta --extern serde=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libserde-2450d9623ee82f46.rmeta --extern serde_derive=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libserde_derive-d69963d3e3f0de0d.so --extern serde_json=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libserde_json-6aad2ae3b016e552.rmeta --extern termcolor=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libtermcolor-75cef99c9421cc25.rmeta --extern toml=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libtoml-d5716dcaacc19056.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --check-cfg 'cfg(trybuild_no_target)' --check-cfg 'cfg(host_os, values("windows"))'` Compiling proc-macro2-diagnostics v0.10.1 (/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1) Running `/usr/bin/rustc --crate-name main --edition=2018 tests/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="colors"' --cfg 'feature="default"' --cfg 'feature="yansi"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("colors", "default", "yansi"))' -C metadata=e0f74a71d8a11177 -C extra-filename=-03e79c1511f2b381 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libproc_macro2-1f47e4ee4e57f00e.rlib --extern proc_macro2_diagnostics=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libproc_macro2_diagnostics-6bbb3727eadbe7e1.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libquote-58b41b07475eca6b.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libsyn-c0b487d4aa9a263a.rlib --extern trybuild=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libtrybuild-47b4bcf965ae26d7.rlib --extern yansi=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libyansi-8b61af679b9902fa.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name proc_macro2_diagnostics --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="colors"' --cfg 'feature="default"' --cfg 'feature="yansi"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("colors", "default", "yansi"))' -C metadata=7166e0619b741b55 -C extra-filename=-b8facb736c1daebc --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libproc_macro2-1f47e4ee4e57f00e.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libquote-58b41b07475eca6b.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libsyn-c0b487d4aa9a263a.rlib --extern trybuild=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libtrybuild-47b4bcf965ae26d7.rlib --extern yansi=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libyansi-8b61af679b9902fa.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `nightly_diagnostics` --> tests/main.rs:5:15 | 5 | #[cfg(not(nightly_diagnostics))] | ^^^^^^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `nightly_diagnostics` --> tests/main.rs:8:11 | 8 | #[cfg(nightly_diagnostics)] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_diagnostics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_diagnostics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `proc-macro2-diagnostics` (lib test) generated 9 warnings (9 duplicates) warning: `proc-macro2-diagnostics` (test "main") generated 2 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 48.24s Running `/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/proc_macro2_diagnostics-b8facb736c1daebc --skip main` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/main-03e79c1511f2b381 --skip main` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s Doc-tests proc_macro2_diagnostics Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name proc_macro2_diagnostics --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps --test-args --skip --test-args main --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libproc_macro2-1f47e4ee4e57f00e.rlib --extern proc_macro2_diagnostics=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libproc_macro2_diagnostics-6bbb3727eadbe7e1.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libquote-58b41b07475eca6b.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libsyn-c0b487d4aa9a263a.rlib --extern trybuild=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libtrybuild-47b4bcf965ae26d7.rlib --extern yansi=/home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/proc-macro2-diagnostics-0.10.1/target/rpm/deps/libyansi-8b61af679b9902fa.rlib -C embed-bitcode=no --cfg 'feature="colors"' --cfg 'feature="default"' --cfg 'feature="yansi"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("colors", "default", "yansi"))' --error-format human` running 3 tests test src/lib.rs - (line 17) ... ok test src/lib.rs - (line 29) ... ok test src/ext.rs - ext::SpanDiagnosticExt (line 18) ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-proc-macro2-diagnostics-devel-0.10.1-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/proc-macro2-diagnostics-0.10.1/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/proc-macro2-diagnostics-0.10.1/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/proc-macro2-diagnostics-0.10.1/README.md Provides: crate(proc-macro2-diagnostics) = 0.10.1 rust-proc-macro2-diagnostics-devel = 0.10.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(proc-macro2/default) >= 1.0.0 crate(quote/default) >= 1.0.0 crate(syn/default) >= 2.0.0 crate(version_check/default) >= 0.9.4 Processing files: rust-proc-macro2-diagnostics+default-devel-0.10.1-1.mga10.noarch Provides: crate(proc-macro2-diagnostics/default) = 0.10.1 rust-proc-macro2-diagnostics+default-devel = 0.10.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(proc-macro2-diagnostics) = 0.10.1 crate(proc-macro2-diagnostics/colors) = 0.10.1 Processing files: rust-proc-macro2-diagnostics+colors-devel-0.10.1-1.mga10.noarch Provides: crate(proc-macro2-diagnostics/colors) = 0.10.1 rust-proc-macro2-diagnostics+colors-devel = 0.10.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(proc-macro2-diagnostics) = 0.10.1 crate(proc-macro2-diagnostics/yansi) = 0.10.1 Processing files: rust-proc-macro2-diagnostics+yansi-devel-0.10.1-1.mga10.noarch Provides: crate(proc-macro2-diagnostics/yansi) = 0.10.1 rust-proc-macro2-diagnostics+yansi-devel = 0.10.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(proc-macro2-diagnostics) = 0.10.1 crate(yansi/default) >= 1.0.0~rc Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-proc-macro2-diagnostics+default-devel-0.10.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-proc-macro2-diagnostics+colors-devel-0.10.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-proc-macro2-diagnostics+yansi-devel-0.10.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-proc-macro2-diagnostics-devel-0.10.1-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.udTfoR + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build + test -d /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-proc-macro2-diagnostics-0.10.1-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/proc-macro2-diagnostics-0.10.1/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/proc-macro2-diagnostics-0.10.1/LICENSE-MIT File listed twice: /usr/share/cargo/registry/proc-macro2-diagnostics-0.10.1/README.md D: [iurt_root_command] Success!