D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-trybuild2-1.1.0-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sCyil6 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JY8vek + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build + rm -rf trybuild2-1.1.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/trybuild2-1.1.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd trybuild2-1.1.0 + /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.8unMUB + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build + cd trybuild2-1.1.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --all-features --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IXSAzb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-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 trybuild2-1.1.0 + '[' 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 --all-features Compiling proc-macro2 v1.0.105 Compiling serde_core v1.0.228 Compiling unicode-ident v1.0.22 Compiling quote v1.0.41 Compiling serde v1.0.228 Compiling serde_json v1.0.145 Compiling trybuild2 v1.1.0 (/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0) Compiling memchr v2.7.6 Compiling itoa v1.0.15 Compiling ryu v1.0.20 Compiling glob v0.3.3 Compiling once_cell v1.21.3 Compiling termcolor v1.4.0 Compiling dissimilar v1.0.7 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.105/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=763a3debca300727 -C extra-filename=-aae0e2b8968b1687 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/build/proc-macro2-aae0e2b8968b1687 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/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_core-1.0.228/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="result"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "rc", "result", "std", "unstable"))' -C metadata=308b9d7726f3066f -C extra-filename=-2d14eb444e845067 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/build/serde_core-2d14eb444e845067 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/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.22/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=e10476e151b089a0 -C extra-filename=-79a01b0086603322 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/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-1.0.228/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=6d149103527dcc26 -C extra-filename=-dd7c4e8a46954bcf --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/build/serde-dd7c4e8a46954bcf -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/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=2018 /usr/share/cargo/registry/quote-1.0.41/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", "proc-macro"))' -C metadata=39f375f908efb1bb -C extra-filename=-69bac2c5df078512 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/build/quote-69bac2c5df078512 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/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.145/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=d35b245d16952c70 -C extra-filename=-34ec34f7e6acb8c6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/build/serde_json-34ec34f7e6acb8c6 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/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 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="diff"' --cfg 'feature="dissimilar"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("diff", "dissimilar"))' -C metadata=3532a45f2f9e1cc1 -C extra-filename=-c23cea70a6b3364f --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/build/trybuild2-c23cea70a6b3364f -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name once_cell --edition=2021 /usr/share/cargo/registry/once_cell-1.21.3/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="race"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "atomic-polyfill", "critical-section", "default", "parking_lot", "portable-atomic", "race", "std", "unstable"))' -C metadata=6bfe2465895ff571 -C extra-filename=-244f09646171f1c7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/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.15/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("no-panic"))' -C metadata=c55d9d2978295758 -C extra-filename=-71540b4ba28b2000 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/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.6/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", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=945b98d750cbbfd2 -C extra-filename=-ea23da70d03ba017 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/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.3/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=188eef137b2066a7 -C extra-filename=-42588f18ab0527d2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/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.20/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=0235d907225ffb70 -C extra-filename=-d2d05061a9441134 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/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 dissimilar --edition=2018 /usr/share/cargo/registry/dissimilar-1.0.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=f3672cd9ee56155e -C extra-filename=-f871e799675485b6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/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=cccb88b4d05a7715 -C extra-filename=-e3463e02888ccf3c --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/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-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/build/serde_json-34ec34f7e6acb8c6/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/build/trybuild2-c23cea70a6b3364f/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/build/quote-69bac2c5df078512/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/build/serde-dd7c4e8a46954bcf/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/build/proc-macro2-aae0e2b8968b1687/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/build/serde_core-2d14eb444e845067/build-script-build` Running `/usr/bin/rustc --crate-name serde_core --edition=2021 /usr/share/cargo/registry/serde_core-1.0.228/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="result"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "rc", "result", "std", "unstable"))' -C metadata=731d2b18cc4eb5f8 -C extra-filename=-f6a423b8b918e323 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --check-cfg 'cfg(if_docsrs_then_no_serde_core)' --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_diagnostic_namespace)' --check-cfg 'cfg(no_serde_derive)' --check-cfg 'cfg(no_std_atomic)' --check-cfg 'cfg(no_std_atomic64)' --check-cfg 'cfg(no_target_has_atomic)'` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.105/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=d15c89115e79848d -C extra-filename=-d151520d96832d10 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libunicode_ident-79a01b0086603322.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 --cfg proc_macro_span_location --cfg proc_macro_span_file --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(proc_macro_span_file)' --check-cfg 'cfg(proc_macro_span_location)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_build_probe)' --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 `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.41/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=e89ba0d9fe70dac5 -C extra-filename=-dead99f81fdc3634 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libproc_macro2-d151520d96832d10.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --check-cfg 'cfg(no_diagnostic_namespace)'` Compiling syn v2.0.114 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.114/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="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=056192f69449cb51 -C extra-filename=-0a45e762f5e46d34 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libproc_macro2-d151520d96832d10.rmeta --extern quote=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libquote-dead99f81fdc3634.rmeta --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libunicode_ident-79a01b0086603322.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name serde --edition=2021 /usr/share/cargo/registry/serde-1.0.228/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=7050738146f2930c -C extra-filename=-be3fcda3a005f5cf --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps --extern serde_core=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libserde_core-f6a423b8b918e323.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg if_docsrs_then_no_serde_core --check-cfg 'cfg(feature, values("result"))' --check-cfg 'cfg(if_docsrs_then_no_serde_core)' --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_diagnostic_namespace)' --check-cfg 'cfg(no_serde_derive)' --check-cfg 'cfg(no_std_atomic)' --check-cfg 'cfg(no_std_atomic64)' --check-cfg 'cfg(no_target_has_atomic)'` Running `/usr/bin/rustc --crate-name serde_json --edition=2021 /usr/share/cargo/registry/serde_json-1.0.145/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=9ef02b99d9217b73 -C extra-filename=-4f21c0bd885bf069 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps --extern itoa=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libitoa-71540b4ba28b2000.rmeta --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libmemchr-ea23da70d03ba017.rmeta --extern ryu=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libryu-d2d05061a9441134.rmeta --extern serde_core=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libserde_core-f6a423b8b918e323.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"))'` Compiling basic-toml v0.1.10 Running `/usr/bin/rustc --crate-name basic_toml --edition=2021 /usr/share/cargo/registry/basic-toml-0.1.10/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=e9ed4bcebdbaddbd -C extra-filename=-eaaed598cf7d324e --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps --extern serde=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libserde-be3fcda3a005f5cf.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling serde_derive v1.0.228 Running `/usr/bin/rustc --crate-name serde_derive --edition=2021 /usr/share/cargo/registry/serde_derive-1.0.228/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=be4d51e8af4cd9ed -C extra-filename=-013ac22b884b5c7d --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libproc_macro2-d151520d96832d10.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libquote-dead99f81fdc3634.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libsyn-0a45e762f5e46d34.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 trybuild2 --edition=2021 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="diff"' --cfg 'feature="dissimilar"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("diff", "dissimilar"))' -C metadata=c93e33f1f15674d2 -C extra-filename=-eec175404335a980 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps --extern basic_toml=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libbasic_toml-eaaed598cf7d324e.rmeta --extern dissimilar=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libdissimilar-f871e799675485b6.rmeta --extern glob=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libglob-42588f18ab0527d2.rmeta --extern once_cell=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libonce_cell-244f09646171f1c7.rmeta --extern serde=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libserde-be3fcda3a005f5cf.rmeta --extern serde_derive=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libserde_derive-013ac22b884b5c7d.so --extern serde_json=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libserde_json-4f21c0bd885bf069.rmeta --extern termcolor=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libtermcolor-e3463e02888ccf3c.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `trybuild_no_target` --> src/cargo.rs:202:13 | 202 | if cfg!(trybuild_no_target) { | ^^^^^^^^^^^^^^^^^^ | = 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(trybuild_no_target)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: field `0` is never read --> src/flock.rs:21:12 | 21 | Locked(MutexGuard<'static, ()>), | ------ ^^^^^^^^^^^^^^^^^^^^^^^ | | | field in this variant | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 21 - Locked(MutexGuard<'static, ()>), 21 + Locked(()), | warning: field `workspace` is never read --> src/inherit.rs:8:9 | 7 | pub struct InheritEdition { | -------------- field in this struct 8 | pub workspace: True, | ^^^^^^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> src/directory.rs:26:28 | 26 | pub fn to_string_lossy(&self) -> Cow { | ^^^^^ ^^^^^^^^ 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 | 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { | +++ warning: `trybuild2` (lib) generated 4 warnings (run `cargo fix --lib -p trybuild2` to apply 1 suggestion) Finished `rpm` profile [optimized + debuginfo] target(s) in 57.43s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.gaMcnY + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-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 trybuild2-1.1.0 + '[' 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=trybuild2 ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=1.1.0 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/BUILDROOT/usr/share/cargo/registry/trybuild2-1.1.0 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/BUILDROOT/usr/share/cargo/registry/trybuild2-1.1.0 + /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-trybuild2-1.1.0-build/BUILDROOT/usr/share/cargo/registry/trybuild2-1.1.0 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/BUILDROOT/usr/share/cargo/registry/trybuild2-1.1.0/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/BUILDROOT/usr/share/cargo/registry/trybuild2-1.1.0/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.5tvB8r + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-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 trybuild2-1.1.0 + '[' 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 --all-features Compiling proc-macro2 v1.0.105 Compiling quote v1.0.41 Fresh unicode-ident v1.0.22 Fresh memchr v2.7.6 Fresh ryu v1.0.20 Fresh itoa v1.0.15 Fresh dissimilar v1.0.7 Fresh glob v0.3.3 Fresh termcolor v1.4.0 Fresh once_cell v1.21.3 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.105/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=d4ded8db3929421f -C extra-filename=-0f1d4608a38c49a2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/build/proc-macro2-0f1d4608a38c49a2 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/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=2018 /usr/share/cargo/registry/quote-1.0.41/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", "proc-macro"))' -C metadata=53ef3d98672135af -C extra-filename=-0454ff53fc80ddd6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/build/quote-0454ff53fc80ddd6 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Fresh serde_core v1.0.228 Fresh serde v1.0.228 Fresh serde_json v1.0.145 Fresh basic-toml v0.1.10 Running `/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/build/quote-0454ff53fc80ddd6/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/build/proc-macro2-0f1d4608a38c49a2/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.105/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=72ef6644dce39025 -C extra-filename=-df69b5d327200e14 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libunicode_ident-79a01b0086603322.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 --cfg proc_macro_span_location --cfg proc_macro_span_file --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(proc_macro_span_file)' --check-cfg 'cfg(proc_macro_span_location)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_build_probe)' --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 `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.41/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=9bbabf23ce03ffa3 -C extra-filename=-0814cf5a4fbfd5da --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libproc_macro2-df69b5d327200e14.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --check-cfg 'cfg(no_diagnostic_namespace)'` Compiling syn v2.0.114 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.114/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=10fadb19947c00d8 -C extra-filename=-1fc4885b21e77658 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libproc_macro2-df69b5d327200e14.rmeta --extern quote=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libquote-0814cf5a4fbfd5da.rmeta --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libunicode_ident-79a01b0086603322.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling serde_derive v1.0.228 Compiling automod v1.0.15 Running `/usr/bin/rustc --crate-name serde_derive --edition=2021 /usr/share/cargo/registry/serde_derive-1.0.228/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=6b61f7c7aaa2755b -C extra-filename=-1f81626edbdadd6e --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libproc_macro2-df69b5d327200e14.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libquote-0814cf5a4fbfd5da.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libsyn-1fc4885b21e77658.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 automod --edition=2021 /usr/share/cargo/registry/automod-1.0.15/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=6e0628bc3ccab638 -C extra-filename=-7beca5e3316fd9ab --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libproc_macro2-df69b5d327200e14.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libquote-0814cf5a4fbfd5da.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libsyn-1fc4885b21e77658.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling trybuild2 v1.1.0 (/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0) Running `/usr/bin/rustc --crate-name trybuild2 --edition=2021 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="diff"' --cfg 'feature="dissimilar"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("diff", "dissimilar"))' -C metadata=25f48d0ac17f3e51 -C extra-filename=-ce95dcd8458bbc02 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps --extern basic_toml=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libbasic_toml-eaaed598cf7d324e.rmeta --extern dissimilar=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libdissimilar-f871e799675485b6.rmeta --extern glob=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libglob-42588f18ab0527d2.rmeta --extern once_cell=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libonce_cell-244f09646171f1c7.rmeta --extern serde=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libserde-be3fcda3a005f5cf.rmeta --extern serde_derive=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libserde_derive-1f81626edbdadd6e.so --extern serde_json=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libserde_json-4f21c0bd885bf069.rmeta --extern termcolor=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libtermcolor-e3463e02888ccf3c.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name trybuild2 --edition=2021 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="diff"' --cfg 'feature="dissimilar"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("diff", "dissimilar"))' -C metadata=899b6b7cdb187103 -C extra-filename=-4437b4144b2fb219 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps --extern automod=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libautomod-7beca5e3316fd9ab.so --extern basic_toml=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libbasic_toml-eaaed598cf7d324e.rlib --extern dissimilar=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libdissimilar-f871e799675485b6.rlib --extern glob=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libglob-42588f18ab0527d2.rlib --extern once_cell=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libonce_cell-244f09646171f1c7.rlib --extern serde=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libserde-be3fcda3a005f5cf.rlib --extern serde_derive=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libserde_derive-1f81626edbdadd6e.so --extern serde_json=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libserde_json-4f21c0bd885bf069.rlib --extern termcolor=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libtermcolor-e3463e02888ccf3c.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `trybuild_no_target` --> src/cargo.rs:202:13 | 202 | if cfg!(trybuild_no_target) { | ^^^^^^^^^^^^^^^^^^ | = 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(trybuild_no_target)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: field `0` is never read --> src/flock.rs:21:12 | 21 | Locked(MutexGuard<'static, ()>), | ------ ^^^^^^^^^^^^^^^^^^^^^^^ | | | field in this variant | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 21 - Locked(MutexGuard<'static, ()>), 21 + Locked(()), | warning: field `workspace` is never read --> src/inherit.rs:8:9 | 7 | pub struct InheritEdition { | -------------- field in this struct 8 | pub workspace: True, | ^^^^^^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> src/directory.rs:26:28 | 26 | pub fn to_string_lossy(&self) -> Cow { | ^^^^^ ^^^^^^^^ 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 | 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { | +++ warning: `trybuild2` (lib test) generated 4 warnings (4 duplicates) warning: `trybuild2` (lib) generated 4 warnings (run `cargo fix --lib -p trybuild2` to apply 1 suggestion) Running `/usr/bin/rustc --crate-name test --edition=2021 tests/test.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="diff"' --cfg 'feature="dissimilar"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("diff", "dissimilar"))' -C metadata=9188e11fee26daed -C extra-filename=-7afa5bee8c5cd24c --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps --extern automod=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libautomod-7beca5e3316fd9ab.so --extern basic_toml=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libbasic_toml-eaaed598cf7d324e.rlib --extern dissimilar=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libdissimilar-f871e799675485b6.rlib --extern glob=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libglob-42588f18ab0527d2.rlib --extern once_cell=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libonce_cell-244f09646171f1c7.rlib --extern serde=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libserde-be3fcda3a005f5cf.rlib --extern serde_derive=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libserde_derive-1f81626edbdadd6e.so --extern serde_json=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libserde_json-4f21c0bd885bf069.rlib --extern termcolor=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libtermcolor-e3463e02888ccf3c.rlib --extern trybuild2=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libtrybuild2-ce95dcd8458bbc02.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 55.04s Running `/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/trybuild2-4437b4144b2fb219` running 16 tests test normalize::tests::tests::basic::test ... ok test normalize::tests::tests::and_n_others::test ... ok test normalize::tests::tests::dir_backslash::test ... ok test normalize::tests::tests::cargo_registry::test ... ok test normalize::tests::tests::cargo_registry_sparse::test ... ok test normalize::tests::tests::dropshot_required_by::test ... ok test normalize::tests::tests::proc_macro_panic::test ... ok test normalize::tests::tests::long_file_names::test ... ok test normalize::tests::tests::py03_url::test ... ok test normalize::tests::tests::rust_lib::test ... ok test normalize::tests::tests::rust_lib_with_githash::test ... ok test normalize::tests::tests::strip_path_dependencies::test ... ok test normalize::tests::tests::uniffi_out_dir::test ... ok test path::test_path_macro ... ok test normalize::tests::tests::type_dir_backslash::test ... ok test normalize::tests::tests::traits_must_be_implemented::test ... ok test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/test-7afa5bee8c5cd24c` running 1 test Locking 18 packages to latest compatible versions warning: /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/trybuild2/Cargo.toml: file `/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/tests/ui/compile-fail-0.rs` found to be present in multiple build targets: * `bin` target `trybuild009` * `bin` target `trybuild022` * `bin` target `trybuild023` Compiling proc-macro2 v1.0.105 Compiling quote v1.0.41 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.105/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -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=17bb4bf64a24e2dc -C extra-filename=-60915eaba5acc41e --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/build/proc-macro2-60915eaba5acc41e -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --cap-lints allow` Compiling serde_core v1.0.228 Compiling unicode-ident v1.0.22 Compiling serde v1.0.228 Compiling serde_json v1.0.145 Compiling ryu v1.0.20 Compiling trybuild2 v1.1.0 (/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0) Compiling itoa v1.0.15 Compiling memchr v2.7.6 Compiling dissimilar v1.0.7 Compiling termcolor v1.4.0 Compiling glob v0.3.3 Compiling once_cell v1.21.3 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/quote-1.0.41/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -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=1778e215cac79111 -C extra-filename=-9dcdeb856d678876 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/build/quote-9dcdeb856d678876 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/serde_core-1.0.228/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="result"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "rc", "result", "std", "unstable"))' -C metadata=2b530561e402952c -C extra-filename=-c17725985af17306 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/build/serde_core-c17725985af17306 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.22/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 debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=2334f6789d43c54f -C extra-filename=-1d0fae3c272262df --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/serde-1.0.228/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -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=7747b7818e4cd51d -C extra-filename=-29df83efaafb4310 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/build/serde-29df83efaafb4310 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/serde_json-1.0.145/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -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=c32bbb8a30899af7 -C extra-filename=-16d159243c826d57 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/build/serde_json-16d159243c826d57 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name ryu --edition=2018 /usr/share/cargo/registry/ryu-1.0.20/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 debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("no-panic", "small"))' -C metadata=60ea8746835f30ae -C extra-filename=-0b1cdb9878b15d7e --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg trybuild2 -A dead_code` Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.7.6/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 debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=910134d82b92e2fd -C extra-filename=-9e6e02fc583dd7a9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg trybuild2 -A dead_code` Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="diff"' --cfg 'feature="dissimilar"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("diff", "dissimilar"))' -C metadata=b2661903bac5bcda -C extra-filename=-4be30b69609b9dcb --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/build/trybuild2-4be30b69609b9dcb -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps` Running `/usr/bin/rustc --crate-name itoa --edition=2018 /usr/share/cargo/registry/itoa-1.0.15/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 debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("no-panic"))' -C metadata=e3f079626015f7de -C extra-filename=-303f91db274120be --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg trybuild2 -A dead_code` Running `/usr/bin/rustc --crate-name dissimilar --edition=2018 /usr/share/cargo/registry/dissimilar-1.0.7/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 debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=e0e02b07ed7f74cd -C extra-filename=-aaa013da6b0d5719 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg trybuild2 -A dead_code` 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 embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=25ef6b1cde0a4644 -C extra-filename=-4e44e3f7a1aaf7f5 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg trybuild2 -A dead_code` Running `/usr/bin/rustc --crate-name glob --edition=2015 /usr/share/cargo/registry/glob-0.3.3/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 debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=706398e5694a433b -C extra-filename=-5bee604398ce0bf5 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg trybuild2 -A dead_code` Running `/usr/bin/rustc --crate-name once_cell --edition=2021 /usr/share/cargo/registry/once_cell-1.21.3/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 debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "atomic-polyfill", "critical-section", "default", "parking_lot", "portable-atomic", "race", "std", "unstable"))' -C metadata=1fef49dda223ea95 -C extra-filename=-e7ea3703aedf534b --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg trybuild2 -A dead_code` Running `/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/build/serde_json-16d159243c826d57/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/build/trybuild2-4be30b69609b9dcb/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/build/quote-9dcdeb856d678876/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/build/serde-29df83efaafb4310/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/build/serde_core-c17725985af17306/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/build/proc-macro2-60915eaba5acc41e/build-script-build` Running `/usr/bin/rustc --crate-name serde_core --edition=2021 /usr/share/cargo/registry/serde_core-1.0.228/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 debuginfo=2 --cfg 'feature="result"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "rc", "result", "std", "unstable"))' -C metadata=29eac5c2ae20794b -C extra-filename=-85ae03e2ef9a083d --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg trybuild2 -A dead_code --check-cfg 'cfg(if_docsrs_then_no_serde_core)' --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_diagnostic_namespace)' --check-cfg 'cfg(no_serde_derive)' --check-cfg 'cfg(no_std_atomic)' --check-cfg 'cfg(no_std_atomic64)' --check-cfg 'cfg(no_target_has_atomic)'` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.105/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 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=0831466b1d1a43e5 -C extra-filename=-e0fc7f31cfa3a93d --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps/libunicode_ident-1d0fae3c272262df.rmeta --cap-lints allow --cfg wrap_proc_macro --cfg proc_macro_span --cfg proc_macro_span_location --cfg proc_macro_span_file --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(proc_macro_span_file)' --check-cfg 'cfg(proc_macro_span_location)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_build_probe)' --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 `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.41/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 debuginfo=2 --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=f0599c75e37fa054 -C extra-filename=-a8fa5024ec8a2115 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps/libproc_macro2-e0fc7f31cfa3a93d.rmeta --cap-lints allow --check-cfg 'cfg(no_diagnostic_namespace)'` Compiling syn v2.0.114 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.114/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 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=d40e7e5e8424eaa4 -C extra-filename=-b16f49b8e1c55b32 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps/libproc_macro2-e0fc7f31cfa3a93d.rmeta --extern quote=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps/libquote-a8fa5024ec8a2115.rmeta --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps/libunicode_ident-1d0fae3c272262df.rmeta --cap-lints allow` Running `/usr/bin/rustc --crate-name serde --edition=2021 /usr/share/cargo/registry/serde-1.0.228/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 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=f407b270d65b799d -C extra-filename=-311bd7fe4039be9e --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --extern serde_core=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libserde_core-85ae03e2ef9a083d.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg trybuild2 -A dead_code --cfg if_docsrs_then_no_serde_core --check-cfg 'cfg(feature, values("result"))' --check-cfg 'cfg(if_docsrs_then_no_serde_core)' --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_diagnostic_namespace)' --check-cfg 'cfg(no_serde_derive)' --check-cfg 'cfg(no_std_atomic)' --check-cfg 'cfg(no_std_atomic64)' --check-cfg 'cfg(no_target_has_atomic)'` Running `/usr/bin/rustc --crate-name serde_json --edition=2021 /usr/share/cargo/registry/serde_json-1.0.145/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 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=1292feaf62e4284b -C extra-filename=-2d80392d60ce87aa --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --extern itoa=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libitoa-303f91db274120be.rmeta --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libmemchr-9e6e02fc583dd7a9.rmeta --extern ryu=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libryu-0b1cdb9878b15d7e.rmeta --extern serde_core=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libserde_core-85ae03e2ef9a083d.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg trybuild2 -A dead_code --cfg 'fast_arithmetic="64"' --check-cfg 'cfg(fast_arithmetic, values("32", "64"))'` Compiling serde_derive v1.0.228 Compiling automod v1.0.15 Running `/usr/bin/rustc --crate-name serde_derive --edition=2021 /usr/share/cargo/registry/serde_derive-1.0.228/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 debuginfo=2 --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "deserialize_in_place"))' -C metadata=6b26b7f47a247c62 -C extra-filename=-79f2af482079a2ac --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps/libproc_macro2-e0fc7f31cfa3a93d.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps/libquote-a8fa5024ec8a2115.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps/libsyn-b16f49b8e1c55b32.rlib --extern proc_macro --cap-lints allow` Running `/usr/bin/rustc --crate-name automod --edition=2021 /usr/share/cargo/registry/automod-1.0.15/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 debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=736ccffdcc238fb4 -C extra-filename=-2a7f3308bec9167e --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps/libproc_macro2-e0fc7f31cfa3a93d.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps/libquote-a8fa5024ec8a2115.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps/libsyn-b16f49b8e1c55b32.rlib --extern proc_macro --cap-lints allow` Compiling basic-toml v0.1.10 Running `/usr/bin/rustc --crate-name basic_toml --edition=2021 /usr/share/cargo/registry/basic-toml-0.1.10/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 debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=6e897531c590ca6b -C extra-filename=-139512d7573dd121 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --extern serde=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libserde-311bd7fe4039be9e.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg trybuild2 -A dead_code` Running `/usr/bin/rustc --crate-name trybuild2 --edition=2021 /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/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 debuginfo=2 --cfg 'feature="diff"' --cfg 'feature="dissimilar"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("diff", "dissimilar"))' -C metadata=fe5b893f2dfec059 -C extra-filename=-18e43a9555d2a197 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --extern basic_toml=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libbasic_toml-139512d7573dd121.rmeta --extern dissimilar=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libdissimilar-aaa013da6b0d5719.rmeta --extern glob=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libglob-5bee604398ce0bf5.rmeta --extern once_cell=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libonce_cell-e7ea3703aedf534b.rmeta --extern serde=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libserde-311bd7fe4039be9e.rmeta --extern serde_derive=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps/libserde_derive-79f2af482079a2ac.so --extern serde_json=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libserde_json-2d80392d60ce87aa.rmeta --extern termcolor=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libtermcolor-4e44e3f7a1aaf7f5.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg trybuild2 -A dead_code` warning: unexpected `cfg` condition name: `trybuild_no_target` --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/cargo.rs:202:13 | 202 | if cfg!(trybuild_no_target) { | ^^^^^^^^^^^^^^^^^^ | = 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(trybuild_no_target)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: hiding a lifetime that's elided elsewhere is confusing --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/directory.rs:26:28 | 26 | pub fn to_string_lossy(&self) -> Cow { | ^^^^^ ^^^^^^^^ 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 | 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { | +++ warning: `trybuild2` (lib) generated 2 warnings (run `cargo fix --lib -p trybuild2` to apply 1 suggestion) Compiling trybuild2-tests v0.0.0 (/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/trybuild2) Running `/usr/bin/rustc --crate-name trybuild2_tests --edition=2021 main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="diff"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("diff", "dissimilar"))' -C metadata=0d7d4b57a55213bb -C extra-filename=-9b28225848fb6a15 --out-dir /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps --extern automod=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps/libautomod-2a7f3308bec9167e.so --extern basic_toml=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libbasic_toml-139512d7573dd121.rlib --extern glob=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libglob-5bee604398ce0bf5.rlib --extern once_cell=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libonce_cell-e7ea3703aedf534b.rlib --extern serde=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libserde-311bd7fe4039be9e.rlib --extern serde_derive=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/debug/deps/libserde_derive-79f2af482079a2ac.so --extern serde_json=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libserde_json-2d80392d60ce87aa.rlib --extern termcolor=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libtermcolor-4e44e3f7a1aaf7f5.rlib --extern trybuild2=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/tests/trybuild/x86_64-unknown-linux-gnu/debug/deps/libtrybuild2-18e43a9555d2a197.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg trybuild2 -A dead_code` Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.35s test tests/ui/run-pass-0.rs [should pass] ... ok  STDERR: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ warning: unexpected `cfg` condition name: `trybuild_no_target`  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/cargo.rs:202:13  | 202 | if cfg!(trybuild_no_target) {  | ^^^^^^^^^^^^^^^^^^  |  = 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(trybuild_no_target)'] }  = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` to the top of the `build.rs`  = note: see for more information about checking conditional configuration  = note: `#[warn(unexpected_cfgs)]` on by default  warning: hiding a lifetime that's elided elsewhere is confusing  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/directory.rs:26:28  | 26 | pub fn to_string_lossy(&self) -> Cow {  | ^^^^^ ^^^^^^^^ 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  | 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> {  | +++ ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  test tests/ui/print-stdout.rs [should pass] ... ok  STDOUT: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ Chars(['S', 'T', 'D', 'O', 'U', 'T']) ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  STDERR: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ warning: unexpected `cfg` condition name: `trybuild_no_target`  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/cargo.rs:202:13  | 202 | if cfg!(trybuild_no_target) {  | ^^^^^^^^^^^^^^^^^^  |  = 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(trybuild_no_target)'] }  = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` to the top of the `build.rs`  = note: see for more information about checking conditional configuration  = note: `#[warn(unexpected_cfgs)]` on by default  warning: hiding a lifetime that's elided elsewhere is confusing  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/directory.rs:26:28  | 26 | pub fn to_string_lossy(&self) -> Cow {  | ^^^^^ ^^^^^^^^ 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  | 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> {  | +++ ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  test tests/ui/run-pass-1.rs [should pass] ... ok  STDERR: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ warning: unexpected `cfg` condition name: `trybuild_no_target`  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/cargo.rs:202:13  | 202 | if cfg!(trybuild_no_target) {  | ^^^^^^^^^^^^^^^^^^  |  = 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(trybuild_no_target)'] }  = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` to the top of the `build.rs`  = note: see for more information about checking conditional configuration  = note: `#[warn(unexpected_cfgs)]` on by default  warning: hiding a lifetime that's elided elsewhere is confusing  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/directory.rs:26:28  | 26 | pub fn to_string_lossy(&self) -> Cow {  | ^^^^^ ^^^^^^^^ 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  | 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> {  | +++ ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  test tests/ui/print-stderr.rs [should pass] ... ok  STDERR: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ warning: unexpected `cfg` condition name: `trybuild_no_target`  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/cargo.rs:202:13  | 202 | if cfg!(trybuild_no_target) {  | ^^^^^^^^^^^^^^^^^^  |  = 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(trybuild_no_target)'] }  = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` to the top of the `build.rs`  = note: see for more information about checking conditional configuration  = note: `#[warn(unexpected_cfgs)]` on by default  warning: hiding a lifetime that's elided elsewhere is confusing  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/directory.rs:26:28  | 26 | pub fn to_string_lossy(&self) -> Cow {  | ^^^^^ ^^^^^^^^ 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  | 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> {  | +++  Chars(['S', 'T', 'D', 'E', 'R', 'R']) ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  test tests/ui/run-pass-2.rs [should pass] ... ok  STDERR: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ warning: unexpected `cfg` condition name: `trybuild_no_target`  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/cargo.rs:202:13  | 202 | if cfg!(trybuild_no_target) {  | ^^^^^^^^^^^^^^^^^^  |  = 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(trybuild_no_target)'] }  = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` to the top of the `build.rs`  = note: see for more information about checking conditional configuration  = note: `#[warn(unexpected_cfgs)]` on by default  warning: hiding a lifetime that's elided elsewhere is confusing  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/directory.rs:26:28  | 26 | pub fn to_string_lossy(&self) -> Cow {  | ^^^^^ ^^^^^^^^ 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  | 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> {  | +++ ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  test tests/ui/print-both.rs [should pass] ... ok  STDOUT: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ Chars(['S', 'T', 'D', 'O', 'U', 'T']) ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  STDERR: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ warning: unexpected `cfg` condition name: `trybuild_no_target`  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/cargo.rs:202:13  | 202 | if cfg!(trybuild_no_target) {  | ^^^^^^^^^^^^^^^^^^  |  = 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(trybuild_no_target)'] }  = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` to the top of the `build.rs`  = note: see for more information about checking conditional configuration  = note: `#[warn(unexpected_cfgs)]` on by default  warning: hiding a lifetime that's elided elsewhere is confusing  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/directory.rs:26:28  | 26 | pub fn to_string_lossy(&self) -> Cow {  | ^^^^^ ^^^^^^^^ 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  | 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> {  | +++  Chars(['S', 'T', 'D', 'E', 'R', 'R']) ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  test tests/ui/run-pass-4.rs [should pass] ... ok  STDERR: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ warning: unexpected `cfg` condition name: `trybuild_no_target`  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/cargo.rs:202:13  | 202 | if cfg!(trybuild_no_target) {  | ^^^^^^^^^^^^^^^^^^  |  = 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(trybuild_no_target)'] }  = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` to the top of the `build.rs`  = note: see for more information about checking conditional configuration  = note: `#[warn(unexpected_cfgs)]` on by default  warning: hiding a lifetime that's elided elsewhere is confusing  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/directory.rs:26:28  | 26 | pub fn to_string_lossy(&self) -> Cow {  | ^^^^^ ^^^^^^^^ 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  | 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> {  | +++ ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  test tests/ui/run-pass-3.rs [should fail to compile] ... error Expected test case to fail to compile, but it succeeded.  test tests/ui/run-pass-5.rs [should pass] ... ok  STDERR: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ warning: unexpected `cfg` condition name: `trybuild_no_target`  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/cargo.rs:202:13  | 202 | if cfg!(trybuild_no_target) {  | ^^^^^^^^^^^^^^^^^^  |  = 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(trybuild_no_target)'] }  = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` to the top of the `build.rs`  = note: see for more information about checking conditional configuration  = note: `#[warn(unexpected_cfgs)]` on by default  warning: hiding a lifetime that's elided elsewhere is confusing  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/directory.rs:26:28  | 26 | pub fn to_string_lossy(&self) -> Cow {  | ^^^^^ ^^^^^^^^ 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  | 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> {  | +++ ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  test tests/ui/compile-fail-0.rs [should pass] ... error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ error: ERROR  --> tests/ui/compile-fail-0.rs:1:1  | 1 | compile_error!("ERROR");  | ^^^^^^^^^^^^^^^^^^^^^^^ ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  test tests/ui/run-pass-6.rs [should pass] ... ok  STDERR: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ warning: unexpected `cfg` condition name: `trybuild_no_target`  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/cargo.rs:202:13  | 202 | if cfg!(trybuild_no_target) {  | ^^^^^^^^^^^^^^^^^^  |  = 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(trybuild_no_target)'] }  = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` to the top of the `build.rs`  = note: see for more information about checking conditional configuration  = note: `#[warn(unexpected_cfgs)]` on by default  warning: hiding a lifetime that's elided elsewhere is confusing  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/directory.rs:26:28  | 26 | pub fn to_string_lossy(&self) -> Cow {  | ^^^^^ ^^^^^^^^ 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  | 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> {  | +++ ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  test tests/ui/run-pass-7.rs [should pass] ... ok  STDERR: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ warning: unexpected `cfg` condition name: `trybuild_no_target`  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/cargo.rs:202:13  | 202 | if cfg!(trybuild_no_target) {  | ^^^^^^^^^^^^^^^^^^  |  = 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(trybuild_no_target)'] }  = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` to the top of the `build.rs`  = note: see for more information about checking conditional configuration  = note: `#[warn(unexpected_cfgs)]` on by default  warning: hiding a lifetime that's elided elsewhere is confusing  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/directory.rs:26:28  | 26 | pub fn to_string_lossy(&self) -> Cow {  | ^^^^^ ^^^^^^^^ 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  | 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> {  | +++ ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  test tests/ui/run-pass-8.rs [should pass] ... ok  STDERR: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ warning: unexpected `cfg` condition name: `trybuild_no_target`  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/cargo.rs:202:13  | 202 | if cfg!(trybuild_no_target) {  | ^^^^^^^^^^^^^^^^^^  |  = 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(trybuild_no_target)'] }  = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` to the top of the `build.rs`  = note: see for more information about checking conditional configuration  = note: `#[warn(unexpected_cfgs)]` on by default  warning: hiding a lifetime that's elided elsewhere is confusing  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/directory.rs:26:28  | 26 | pub fn to_string_lossy(&self) -> Cow {  | ^^^^^ ^^^^^^^^ 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  | 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> {  | +++ ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  test tests/ui/compile-fail-1.rs [should fail to compile] ... wip  NOTE: writing the following output to `wip/compile-fail-1.stderr`. Move this file to `tests/ui/compile-fail-1.stderr` to accept it as correct. ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ error: ERROR  --> tests/ui/compile-fail-1.rs:1:1  | 1 | compile_error!("ERROR");  | ^^^^^^^^^^^^^^^^^^^^^^^ ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  test tests/ui/run-fail.rs [should pass] ... error Test case failed at runtime.  STDERR: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ warning: unexpected `cfg` condition name: `trybuild_no_target`  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/cargo.rs:202:13  | 202 | if cfg!(trybuild_no_target) {  | ^^^^^^^^^^^^^^^^^^  |  = 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(trybuild_no_target)'] }  = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` to the top of the `build.rs`  = note: see for more information about checking conditional configuration  = note: `#[warn(unexpected_cfgs)]` on by default  warning: hiding a lifetime that's elided elsewhere is confusing  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/directory.rs:26:28  | 26 | pub fn to_string_lossy(&self) -> Cow {  | ^^^^^ ^^^^^^^^ 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  | 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> {  | +++   thread 'main' (1807134) panicked at /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/tests/ui/run-fail.rs:2:5: assertion failed: false note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  test tests/ui/run-pass-9.rs [should pass] ... ok  STDERR: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ warning: unexpected `cfg` condition name: `trybuild_no_target`  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/cargo.rs:202:13  | 202 | if cfg!(trybuild_no_target) {  | ^^^^^^^^^^^^^^^^^^  |  = 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(trybuild_no_target)'] }  = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` to the top of the `build.rs`  = note: see for more information about checking conditional configuration  = note: `#[warn(unexpected_cfgs)]` on by default  warning: hiding a lifetime that's elided elsewhere is confusing  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/directory.rs:26:28  | 26 | pub fn to_string_lossy(&self) -> Cow {  | ^^^^^ ^^^^^^^^ 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  | 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> {  | +++ ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  test tests/ui/compile-fail-2.rs [should fail to compile] ... ok test tests/ui/compile-fail-3.rs [should fail to compile] ... mismatch  EXPECTED: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ error[E0277]: `*mut _` cannot be shared between threads safely  --> tests/ui/compile-fail-3.rs:7:5  | 7 | thread::spawn(|| {  | ^^^^^^^^^^^^^ `*mut _` cannot be shared between threads safely  |  = help: the trait `Sync` is not implemented for `*mut _`  = note: required because of the requirements on the impl of `Send` for `&*mut _`  = note: required because it appears within the type `[closure@$DIR/tests/ui/compile-fail-3.rs:7:19: 9:6]` ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  ACTUAL OUTPUT: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ error[E0277]: `*mut _` cannot be shared between threads safely  --> tests/ui/compile-fail-3.rs:7:19  | 7 | thread::spawn(|| {  | _____-------------_^  | | |  | | required by a bound introduced by this call 8 | | println!("{:?}", x) 9 | | });  | |_____^ `*mut _` cannot be shared between threads safely  |  = help: the trait `Sync` is not implemented for `*mut _`  = note: required for `&*mut _` to implement `Send` note: required because it's used within this closure  --> tests/ui/compile-fail-3.rs:7:19  | 7 | thread::spawn(|| {  | ^^ note: required by a bound in `spawn`  --> /home/iurt/rpmbuild/BUILD/rust-1.92.0-build/rustc-1.92.0-src/library/std/src/thread/mod.rs:725:1 ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ note: If the actual output is the correct output you can bless it by rerunning your test with the environment variable TRYBUILD2=overwrite test inline_pass_main [should pass] ... ok  STDERR: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ warning: unexpected `cfg` condition name: `trybuild_no_target`  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/cargo.rs:202:13  | 202 | if cfg!(trybuild_no_target) {  | ^^^^^^^^^^^^^^^^^^  |  = 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(trybuild_no_target)'] }  = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` to the top of the `build.rs`  = note: see for more information about checking conditional configuration  = note: `#[warn(unexpected_cfgs)]` on by default  warning: hiding a lifetime that's elided elsewhere is confusing  --> /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/src/directory.rs:26:28  | 26 | pub fn to_string_lossy(&self) -> Cow {  | ^^^^^ ^^^^^^^^ 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  | 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> {  | +++ ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  test inline_check_sub [should pass] ... mismatch  EXPECTED: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ wuwu┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  ACTUAL OUTPUT: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ warning: unused variable: `x`  --> inline_check_sub.rs:1:17  | 1 | fn main() { let x = 12; }  | ^ help: if this is intentional, prefix it with an underscore: `_x`  |  = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ note: If the actual output is the correct output you can bless it by rerunning your test with the environment variable TRYBUILD2=overwrite test inline_check_sub2 [should pass] ... ok test inline_compile_fail [should fail to compile] ... ok test tests/ui/compile-fail-0.rs [should fail to compile] ... ok test tests/ui/compile-fail-0.rs [should fail to compile] ... mismatch  EXPECTED: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ I'm not here!┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈  ACTUAL OUTPUT: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ error: ERROR  --> tests/ui/compile-fail-0.rs:1:1  | 1 | compile_error!("ERROR");  | ^^^^^^^^^^^^^^^^^^^^^^^ ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ note: If the actual output is the correct output you can bless it by rerunning your test with the environment variable TRYBUILD2=overwrite test inline_compile_fail_sub [should fail to compile] ... ok  test test_api ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 40.81s Doc-tests trybuild2 Running `/usr/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name trybuild2 --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps --extern automod=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libautomod-7beca5e3316fd9ab.so --extern basic_toml=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libbasic_toml-eaaed598cf7d324e.rlib --extern dissimilar=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libdissimilar-f871e799675485b6.rlib --extern glob=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libglob-42588f18ab0527d2.rlib --extern once_cell=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libonce_cell-244f09646171f1c7.rlib --extern serde=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libserde-be3fcda3a005f5cf.rlib --extern serde_derive=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libserde_derive-1f81626edbdadd6e.so --extern serde_json=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libserde_json-4f21c0bd885bf069.rlib --extern termcolor=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libtermcolor-e3463e02888ccf3c.rlib --extern trybuild2=/home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/trybuild2-1.1.0/target/rpm/deps/libtrybuild2-ce95dcd8458bbc02.rlib -C embed-bitcode=no --cfg 'feature="diff"' --cfg 'feature="dissimilar"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("diff", "dissimilar"))' --error-format human` running 2 tests test src/lib.rs - (line 32) ... ok test src/lib.rs - (line 79) ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-trybuild2-devel-1.1.0-2.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/trybuild2-1.1.0/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/trybuild2-1.1.0/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/trybuild2-1.1.0/README.md Provides: crate(trybuild2) = 1.1.0 rust-trybuild2-devel = 1.1.0-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(basic-toml/default) >= 0.1.0 crate(glob/default) >= 0.3.0 crate(once_cell/default) >= 1.9.0 crate(serde/default) >= 1.0.166 crate(serde_derive/default) >= 1.0.166 crate(serde_json/default) >= 1.0.99 crate(termcolor/default) >= 1.0.4 rust >= 1.56 Processing files: rust-trybuild2+default-devel-1.1.0-2.mga10.noarch Provides: crate(trybuild2/default) = 1.1.0 rust-trybuild2+default-devel = 1.1.0-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(trybuild2) = 1.1.0 Processing files: rust-trybuild2+diff-devel-1.1.0-2.mga10.noarch Provides: crate(trybuild2/diff) = 1.1.0 rust-trybuild2+diff-devel = 1.1.0-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(trybuild2) = 1.1.0 crate(trybuild2/dissimilar) = 1.1.0 Processing files: rust-trybuild2+dissimilar-devel-1.1.0-2.mga10.noarch Provides: crate(trybuild2/dissimilar) = 1.1.0 rust-trybuild2+dissimilar-devel = 1.1.0-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(dissimilar/default) >= 1.0.0 crate(trybuild2) = 1.1.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-trybuild2+default-devel-1.1.0-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-trybuild2+dissimilar-devel-1.1.0-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-trybuild2+diff-devel-1.1.0-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-trybuild2-devel-1.1.0-2.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tHHe6n + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build + test -d /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-trybuild2-1.1.0-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/trybuild2-1.1.0/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/trybuild2-1.1.0/LICENSE-MIT File listed twice: /usr/share/cargo/registry/trybuild2-1.1.0/README.md D: [iurt_root_command] Success!