D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-syn0.15-0.15.44-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.I26nFE Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.boSjxG + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build + rm -rf syn-0.15.44 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/syn-0.15.44.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd syn-0.15.44 + /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.QJsKdQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build + cd syn-0.15.44 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3btZOK + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-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 syn-0.15.44 + '[' 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 warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Compiling proc-macro2 v0.4.30 Compiling unicode-xid v0.1.0 Compiling syn v0.15.44 (/home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44) Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/proc-macro2-0.4.30/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=f278545db29dff14 -C extra-filename=-1ad65c87aa6ae8c1 --out-dir /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44/target/rpm/build/proc-macro2-1ad65c87aa6ae8c1 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44/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_xid --edition=2015 /usr/share/cargo/registry/unicode-xid-0.1.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="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bench", "default", "no_std"))' -C metadata=40a6810bcdf854d9 -C extra-filename=-6ce0871b850b0ce5 --out-dir /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44/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=2015 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="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "quote", "visit", "visit-mut"))' -C metadata=dee5fbeb617c2404 -C extra-filename=-8a87bf0c21551128 --out-dir /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44/target/rpm/build/syn-8a87bf0c21551128 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44/target/rpm/build/syn-8a87bf0c21551128/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44/target/rpm/build/proc-macro2-1ad65c87aa6ae8c1/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2015 /usr/share/cargo/registry/proc-macro2-0.4.30/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=eb0e7f470d0bef28 -C extra-filename=-b75f0004663c06d9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44/target/rpm/deps --extern unicode_xid=/home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44/target/rpm/deps/libunicode_xid-6ce0871b850b0ce5.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg u128 --cfg use_proc_macro --cfg wrap_proc_macro` Compiling quote v0.6.13 Running `/usr/bin/rustc --crate-name quote --edition=2015 /usr/share/cargo/registry/quote-0.6.13/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=213ed81223b24701 -C extra-filename=-48641a70ed1a195b --out-dir /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44/target/rpm/deps/libproc_macro2-b75f0004663c06d9.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name syn --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 --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "quote", "visit", "visit-mut"))' -C metadata=74807d37b7110474 -C extra-filename=-1a51f31a15c1e7a2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44/target/rpm/deps/libproc_macro2-b75f0004663c06d9.rmeta --extern quote=/home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44/target/rpm/deps/libquote-48641a70ed1a195b.rmeta --extern unicode_xid=/home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44/target/rpm/deps/libunicode_xid-6ce0871b850b0ce5.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg syn_can_match_trailing_dollar --cfg syn_can_use_thread_id --cfg syn_can_use_associated_constants --cfg syn_can_call_macro_by_path --cfg syn_disable_nightly_tests` warning: unexpected `cfg` condition value: `cargo-clippy` --> src/lib.rs:240:13 | 240 | #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` = help: consider adding `cargo-clippy` 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: `cargo-clippy` --> src/lib.rs:241:13 | 241 | #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/lib.rs:244:5 | 244 | feature = "cargo-clippy", | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/lib.rs:261:5 | 261 | feature = "cargo-clippy", | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/attr.rs:519:20 | 519 | #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/attr.rs:530:20 | 530 | #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/lit.rs:733:16 | 733 | #[cfg_attr(feature = "cargo-clippy", allow(needless_continue))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/lit.rs:821:16 | 821 | #[cfg_attr(feature = "cargo-clippy", allow(needless_continue))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/path.rs:558:20 | 558 | #[cfg_attr(feature = "cargo-clippy", allow(match_same_arms))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `clone-impls`, `default`, `derive`, `extra-traits`, `fold`, `full`, `parsing`, `printing`, `proc-macro`, `quote`, `visit`, and `visit-mut` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` --> src/group.rs:80:19 | 80 | #[cfg(procmacro2_semver_exempt)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(procmacro2_semver_exempt)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` --> src/group.rs:82:23 | 82 | #[cfg(not(procmacro2_semver_exempt))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(procmacro2_semver_exempt)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `syn_can_match_trailing_dollar` --> src/token.rs:819:7 | 819 | #[cfg(syn_can_match_trailing_dollar)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(syn_can_match_trailing_dollar)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_match_trailing_dollar)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `syn_can_match_trailing_dollar` --> src/token.rs:823:11 | 823 | #[cfg(not(syn_can_match_trailing_dollar))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(syn_can_match_trailing_dollar)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_match_trailing_dollar)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `syn_can_use_associated_constants` --> src/ident.rs:90:11 | 90 | #[cfg(syn_can_use_associated_constants)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(syn_can_use_associated_constants)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_associated_constants)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `syn_can_use_associated_constants` --> src/ident.rs:96:15 | 96 | #[cfg(not(syn_can_use_associated_constants))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(syn_can_use_associated_constants)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_associated_constants)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` --> src/buffer.rs:355:11 | 355 | #[cfg(procmacro2_semver_exempt)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(procmacro2_semver_exempt)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` --> src/buffer.rs:363:11 | 363 | #[cfg(procmacro2_semver_exempt)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(procmacro2_semver_exempt)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `syn_can_use_associated_constants` --> src/ext.rs:9:7 | 9 | #[cfg(syn_can_use_associated_constants)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(syn_can_use_associated_constants)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_associated_constants)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `syn_can_use_associated_constants` --> src/ext.rs:11:7 | 11 | #[cfg(syn_can_use_associated_constants)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(syn_can_use_associated_constants)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_associated_constants)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `syn_can_use_associated_constants` --> src/ext.rs:13:7 | 13 | #[cfg(syn_can_use_associated_constants)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(syn_can_use_associated_constants)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_associated_constants)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `syn_can_use_associated_constants` --> src/ext.rs:15:7 | 15 | #[cfg(syn_can_use_associated_constants)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(syn_can_use_associated_constants)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_associated_constants)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `syn_can_use_associated_constants` --> src/ext.rs:114:7 | 114 | #[cfg(syn_can_use_associated_constants)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(syn_can_use_associated_constants)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_associated_constants)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `syn_can_use_associated_constants` --> src/ext.rs:119:7 | 119 | #[cfg(syn_can_use_associated_constants)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(syn_can_use_associated_constants)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_associated_constants)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `syn_can_use_associated_constants` --> src/ext.rs:130:7 | 130 | #[cfg(syn_can_use_associated_constants)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(syn_can_use_associated_constants)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_associated_constants)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `syn_can_use_associated_constants` --> src/ext.rs:62:11 | 62 | #[cfg(syn_can_use_associated_constants)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(syn_can_use_associated_constants)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_associated_constants)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `syn_can_use_associated_constants` --> src/ext.rs:140:11 | 140 | #[cfg(syn_can_use_associated_constants)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(syn_can_use_associated_constants)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_associated_constants)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `syn_can_use_associated_constants` --> src/ext.rs:143:11 | 143 | #[cfg(syn_can_use_associated_constants)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(syn_can_use_associated_constants)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_associated_constants)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `syn_can_call_macro_by_path` --> src/parse_quote.rs:77:11 | 77 | #[cfg(not(syn_can_call_macro_by_path))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(syn_can_call_macro_by_path)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_call_macro_by_path)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `syn_can_call_macro_by_path` --> src/parse_quote.rs:87:7 | 87 | #[cfg(syn_can_call_macro_by_path)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(syn_can_call_macro_by_path)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_call_macro_by_path)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` --> src/spanned.rs:127:11 | 127 | #[cfg(procmacro2_semver_exempt)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(procmacro2_semver_exempt)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` --> src/spanned.rs:136:15 | 136 | #[cfg(not(procmacro2_semver_exempt))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(procmacro2_semver_exempt)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unused import: `gen::*` --> src/lib.rs:549:9 | 549 | pub use gen::*; | ^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unexpected `cfg` condition name: `syn_can_use_thread_id` --> src/thread.rs:44:7 | 44 | #[cfg(syn_can_use_thread_id)] | ^^^^^^^^^^^^^^^^^^^^^ | = 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(syn_can_use_thread_id)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_thread_id)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `syn_can_use_thread_id` --> src/thread.rs:55:11 | 55 | #[cfg(not(syn_can_use_thread_id))] | ^^^^^^^^^^^^^^^^^^^^^ | = 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(syn_can_use_thread_id)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syn_can_use_thread_id)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` --> src/error.rs:13:11 | 13 | #[cfg(all(procmacro2_semver_exempt, feature = "parsing"))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(procmacro2_semver_exempt)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` --> src/error.rs:121:15 | 121 | #[cfg(procmacro2_semver_exempt)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(procmacro2_semver_exempt)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` --> src/error.rs:129:19 | 129 | #[cfg(not(procmacro2_semver_exempt))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(procmacro2_semver_exempt)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` --> src/error.rs:177:15 | 177 | #[cfg(procmacro2_semver_exempt)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(procmacro2_semver_exempt)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` --> src/error.rs:179:19 | 179 | #[cfg(not(procmacro2_semver_exempt))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(procmacro2_semver_exempt)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: useless assignment of variable of type `proc_macro2::Span` to itself --> src/spanned.rs:140:9 | 140 | joined = joined; | ^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `inner` is never used --> src/attr.rs:509:8 | 505 | pub trait FilterAttrs<'a> { | ----------- method in this trait ... 509 | fn inner(self) -> Self::Ret; | ^^^^^ warning: field `0` is never read --> src/expr.rs:994:28 | 994 | pub struct AllowStruct(bool); | ----------- ^^^^ | | | field in this struct | = help: consider removing this field = note: `AllowStruct` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis warning: hiding a lifetime that's elided elsewhere is confusing --> src/data.rs:67:17 | 67 | pub fn iter(&self) -> punctuated::Iter { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 67 | pub fn iter(&self) -> punctuated::Iter<'_, Field> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/data.rs:78:21 | 78 | pub fn iter_mut(&mut self) -> punctuated::IterMut { | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 78 | pub fn iter_mut(&mut self) -> punctuated::IterMut<'_, Field> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/generics.rs:83:24 | 83 | pub fn type_params(&self) -> TypeParams { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 83 | pub fn type_params(&self) -> TypeParams<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/generics.rs:94:28 | 94 | pub fn type_params_mut(&mut self) -> TypeParamsMut { | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 94 | pub fn type_params_mut(&mut self) -> TypeParamsMut<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/generics.rs:105:22 | 105 | pub fn lifetimes(&self) -> Lifetimes { | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 105 | pub fn lifetimes(&self) -> Lifetimes<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/generics.rs:116:26 | 116 | pub fn lifetimes_mut(&mut self) -> LifetimesMut { | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 116 | pub fn lifetimes_mut(&mut self) -> LifetimesMut<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/generics.rs:127:25 | 127 | pub fn const_params(&self) -> ConstParams { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 127 | pub fn const_params(&self) -> ConstParams<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/generics.rs:138:29 | 138 | pub fn const_params_mut(&mut self) -> ConstParamsMut { | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 138 | pub fn const_params_mut(&mut self) -> ConstParamsMut<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/generics.rs:318:27 | 318 | pub fn split_for_impl(&self) -> (ImplGenerics, TypeGenerics, Option<&WhereClause>) { | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is elided here | | | | | | | the same lifetime is hidden here | | the same lifetime is hidden here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 318 | pub fn split_for_impl(&self) -> (ImplGenerics<'_>, TypeGenerics<'_>, Option<&WhereClause>) { | ++++ ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/generics.rs:333:25 | 333 | pub fn as_turbofish(&self) -> Turbofish { | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 333 | pub fn as_turbofish(&self) -> Turbofish<'_> { | ++++ warning: panic message contains braces --> src/lit.rs:986:30 | 986 | panic!("expected {{ after \\u"); | ^^ | = note: this message is not used as a format string, but will be in Rust 2021 = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default help: add a "{}" format string to use the message literally | 986 | panic!("{}", "expected {{ after \\u"); | +++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/buffer.rs:120:18 | 120 | pub fn begin(&self) -> Cursor { | ^^^^^ ^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 120 | pub fn begin(&self) -> Cursor<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/punctuated.rs:105:17 | 105 | pub fn iter(&self) -> Iter { | ^^^^^ ^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 105 | pub fn iter(&self) -> Iter<'_, T> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/punctuated.rs:116:21 | 116 | pub fn iter_mut(&mut self) -> IterMut { | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 116 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/punctuated.rs:127:18 | 127 | pub fn pairs(&self) -> Pairs { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 127 | pub fn pairs(&self) -> Pairs<'_, T, P> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/punctuated.rs:136:22 | 136 | pub fn pairs_mut(&mut self) -> PairsMut { | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 136 | pub fn pairs_mut(&mut self) -> PairsMut<'_, T, P> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/parse.rs:1102:35 | 1102 | fn tokens_to_parse_buffer(tokens: &TokenBuffer) -> ParseBuffer { | ^^^^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1102 | fn tokens_to_parse_buffer(tokens: &TokenBuffer) -> ParseBuffer<'_> { | ++++ warning: `syn` (lib) generated 59 warnings (run `cargo fix --lib -p syn` to apply 18 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 9.63s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NL91dc + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-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 syn-0.15.44 + '[' 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=syn ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.15.44 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/BUILDROOT/usr/share/cargo/registry/syn-0.15.44 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/BUILDROOT/usr/share/cargo/registry/syn-0.15.44 + /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-syn0.15-0.15.44-build/BUILDROOT/usr/share/cargo/registry/syn-0.15.44 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/syn-0.15.44` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/BUILDROOT/usr/share/cargo/registry/syn-0.15.44/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/BUILDROOT/usr/share/cargo/registry/syn-0.15.44/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 mangling shebang in /usr/share/cargo/registry/syn-0.15.44/tests/clone.sh from /bin/bash to #!/usr/bin/bash + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: rust-syn0.15-devel-0.15.44-2.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/syn-0.15.44/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/syn-0.15.44/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/syn-0.15.44/README.md Provides: crate(syn) = 0.15.44 rust-syn0.15-devel = 0.15.44-2.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) >= 0.4.4 crate(unicode-xid/default) >= 0.1.0 Processing files: rust-syn0.15+default-devel-0.15.44-2.mga10.noarch Provides: crate(syn/default) = 0.15.44 rust-syn0.15+default-devel = 0.15.44-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(syn) = 0.15.44 crate(syn/clone-impls) = 0.15.44 crate(syn/derive) = 0.15.44 crate(syn/parsing) = 0.15.44 crate(syn/printing) = 0.15.44 crate(syn/proc-macro) = 0.15.44 Processing files: rust-syn0.15+clone-impls-devel-0.15.44-2.mga10.noarch Provides: crate(syn/clone-impls) = 0.15.44 rust-syn0.15+clone-impls-devel = 0.15.44-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(syn) = 0.15.44 Processing files: rust-syn0.15+derive-devel-0.15.44-2.mga10.noarch Provides: crate(syn/derive) = 0.15.44 rust-syn0.15+derive-devel = 0.15.44-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(syn) = 0.15.44 Processing files: rust-syn0.15+extra-traits-devel-0.15.44-2.mga10.noarch Provides: crate(syn/extra-traits) = 0.15.44 rust-syn0.15+extra-traits-devel = 0.15.44-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(syn) = 0.15.44 Processing files: rust-syn0.15+fold-devel-0.15.44-2.mga10.noarch Provides: crate(syn/fold) = 0.15.44 rust-syn0.15+fold-devel = 0.15.44-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(syn) = 0.15.44 Processing files: rust-syn0.15+full-devel-0.15.44-2.mga10.noarch Provides: crate(syn/full) = 0.15.44 rust-syn0.15+full-devel = 0.15.44-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(syn) = 0.15.44 Processing files: rust-syn0.15+parsing-devel-0.15.44-2.mga10.noarch Provides: crate(syn/parsing) = 0.15.44 rust-syn0.15+parsing-devel = 0.15.44-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(syn) = 0.15.44 Processing files: rust-syn0.15+printing-devel-0.15.44-2.mga10.noarch Provides: crate(syn/printing) = 0.15.44 rust-syn0.15+printing-devel = 0.15.44-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(syn) = 0.15.44 crate(syn/quote) = 0.15.44 Processing files: rust-syn0.15+proc-macro-devel-0.15.44-2.mga10.noarch Provides: crate(syn/proc-macro) = 0.15.44 rust-syn0.15+proc-macro-devel = 0.15.44-2.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/proc-macro) >= 0.4.4 crate(quote) >= 0.6.0 crate(quote/proc-macro) >= 0.6.0 crate(syn) = 0.15.44 Processing files: rust-syn0.15+quote-devel-0.15.44-2.mga10.noarch Provides: crate(syn/quote) = 0.15.44 rust-syn0.15+quote-devel = 0.15.44-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(quote) >= 0.6.0 crate(syn) = 0.15.44 Processing files: rust-syn0.15+visit-devel-0.15.44-2.mga10.noarch Provides: crate(syn/visit) = 0.15.44 rust-syn0.15+visit-devel = 0.15.44-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(syn) = 0.15.44 Processing files: rust-syn0.15+visit-mut-devel-0.15.44-2.mga10.noarch Provides: crate(syn/visit-mut) = 0.15.44 rust-syn0.15+visit-mut-devel = 0.15.44-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(syn) = 0.15.44 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-syn0.15+clone-impls-devel-0.15.44-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-syn0.15+derive-devel-0.15.44-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-syn0.15+printing-devel-0.15.44-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-syn0.15+parsing-devel-0.15.44-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-syn0.15+proc-macro-devel-0.15.44-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-syn0.15+default-devel-0.15.44-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-syn0.15+quote-devel-0.15.44-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-syn0.15+visit-mut-devel-0.15.44-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-syn0.15+full-devel-0.15.44-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-syn0.15+fold-devel-0.15.44-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-syn0.15+extra-traits-devel-0.15.44-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-syn0.15+visit-devel-0.15.44-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-syn0.15-devel-0.15.44-2.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Dyp5ly + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build + test -d /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-syn0.15-0.15.44-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/syn-0.15.44/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/syn-0.15.44/LICENSE-MIT File listed twice: /usr/share/cargo/registry/syn-0.15.44/README.md D: [iurt_root_command] Success!