D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-time-0.3.36-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NxnWik Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fEWKuB + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build + rm -rf time-0.3.36 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/time-0.3.36.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd time-0.3.36 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/time-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/time-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SZ354f + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build + cd time-0.3.36 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.h71pO0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-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 time-0.3.36 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j16 -Z avoid-dev-deps --profile rpm Compiling powerfmt v0.2.0 Compiling time-core v0.1.2 Compiling num-conv v0.1.0 Running `/usr/bin/rustc --crate-name time_core --edition=2021 /usr/share/cargo/registry/time-core-0.1.2/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=c8c2746b4ef54504 -C extra-filename=-6ab9669bddc69c0d --out-dir /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/time-0.3.36/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/time-0.3.36/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 num_conv --edition=2021 /usr/share/cargo/registry/num-conv-0.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --warn=unused --warn=unreachable-pub '--deny=clippy::std-instead-of-core' --warn=missing-docs '--deny=clippy::alloc-instead-of-core' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=1cc2b873f965c6ad -C extra-filename=-dd188131636701aa --out-dir /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/time-0.3.36/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/time-0.3.36/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 powerfmt --edition=2021 /usr/share/cargo/registry/powerfmt-0.2.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "macros", "std"))' -C metadata=906a3375f0613ddf -C extra-filename=-f2c368387b482fc9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/time-0.3.36/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/time-0.3.36/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling deranged v0.3.9 Running `/usr/bin/rustc --crate-name deranged --edition=2021 /usr/share/cargo/registry/deranged-0.3.9/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="powerfmt"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "num", "powerfmt", "quickcheck", "rand", "serde", "std"))' -C metadata=9debaa89a879a71a -C extra-filename=-b7600ae098cb083e --out-dir /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/time-0.3.36/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/time-0.3.36/target/rpm/deps --extern powerfmt=/home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/time-0.3.36/target/rpm/deps/libpowerfmt-f2c368387b482fc9.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling time v0.3.36 (/home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/time-0.3.36) Running `/usr/bin/rustc --crate-name time --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 --warn=variant-size-differences '--warn=clippy::use-debug' '--warn=clippy::unwrap-used' '--warn=clippy::unwrap-in-result' --warn=unused-qualifications --warn=unused-lifetimes --warn=unused-import-braces --warn=unused --deny=unstable-syntax-pre-expansion --deny=unsafe-op-in-unsafe-fn --warn=unreachable-pub '--warn=clippy::unnested-or-patterns' --deny=unnameable-test-items '--warn=clippy::uninlined-format-args' '--warn=clippy::unimplemented' '--warn=rustdoc::unescaped-backticks' '--deny=clippy::undocumented-unsafe-blocks' --deny=unconditional-recursion --warn=trivial-numeric-casts --warn=trivial-casts '--warn=clippy::todo' --deny=temporary-cstring-as-ptr --deny=suspicious-double-ref-op '--deny=clippy::std-instead-of-core' --warn=single-use-lifetimes '--warn=clippy::semicolon-outside-block' '--warn=rustdoc::private-doc-tests' '--warn=clippy::print-stdout' --deny=overlapping-range-endpoints --deny=opaque-hidden-inferred-bound '--warn=clippy::obfuscated-if-else' '--warn=clippy::nursery' --warn=noop-method-call --deny=non-ascii-idents --deny=named-arguments-used-positionally '--warn=clippy::missing-enforced-import-renames' '--warn=clippy::missing-docs-in-private-items' --warn=missing-docs --warn=missing-debug-implementations --warn=missing-copy-implementations --warn=missing-abi --warn=meta-variable-misuse '--warn=clippy::manual-let-else' --warn=macro-use-extern-crate --warn=let-underscore --warn=keyword-idents --deny=invalid-value --deny=invalid-reference-casting --deny=invalid-nan-comparisons --deny=invalid-macro-export-arguments --deny=invalid-from-utf8 --deny=improper-ctypes-definitions --deny=improper-ctypes --deny=hidden-glob-reexports '--warn=clippy::get-unwrap' --deny=future-incompatible '--warn=clippy::explicit-auto-deref' --deny=drop-bounds --deny=deref-nullptr '--warn=clippy::decimal-literal-representation' '--warn=clippy::dbg-macro' --deny=const-item-mutation --deny=clashing-extern-declarations --deny=ambiguous-glob-reexports '--deny=clippy::alloc-instead-of-core' '--warn=clippy::all' --warn=unstable-name-collisions '--allow=clippy::redundant-pub-crate' '--allow=clippy::option-if-let-else' --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "formatting", "large-dates", "local-offset", "macros", "parsing", "quickcheck", "rand", "serde", "serde-human-readable", "serde-well-known", "std"))' -C metadata=346760e8cda25b08 -C extra-filename=-2059eb6a2e5b1831 --out-dir /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/time-0.3.36/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/time-0.3.36/target/rpm/deps --extern deranged=/home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/time-0.3.36/target/rpm/deps/libderanged-b7600ae098cb083e.rmeta --extern num_conv=/home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/time-0.3.36/target/rpm/deps/libnum_conv-dd188131636701aa.rmeta --extern powerfmt=/home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/time-0.3.36/target/rpm/deps/libpowerfmt-f2c368387b482fc9.rmeta --extern time_core=/home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/time-0.3.36/target/rpm/deps/libtime_core-6ab9669bddc69c0d.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` | = help: use the new name `dangling_pointers_from_temporaries` = note: requested on the command line with `-D temporary_cstring_as_ptr` = note: `#[warn(renamed_and_removed_lints)]` on by default warning: unexpected `cfg` condition name: `__time_03_docs` --> src/lib.rs:70:13 | 70 | #![cfg_attr(__time_03_docs, feature(doc_auto_cfg, doc_notable_trait))] | ^^^^^^^^^^^^^^ | = 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(__time_03_docs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(__time_03_docs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `wasm-bindgen` --> src/offset_date_time.rs:1590:5 | 1590 | feature = "wasm-bindgen" | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `default`, `formatting`, `large-dates`, `local-offset`, `macros`, `parsing`, `quickcheck`, `rand`, `serde`, `serde-human-readable`, `serde-well-known`, and `std` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm-bindgen` --> src/offset_date_time.rs:1607:5 | 1607 | feature = "wasm-bindgen" | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `default`, `formatting`, `large-dates`, `local-offset`, `macros`, `parsing`, `quickcheck`, `rand`, `serde`, `serde-human-readable`, `serde-well-known`, and `std` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm-bindgen` --> src/offset_date_time.rs:100:13 | 100 | feature = "wasm-bindgen" | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `default`, `formatting`, `large-dates`, `local-offset`, `macros`, `parsing`, `quickcheck`, `rand`, `serde`, `serde-human-readable`, `serde-well-known`, and `std` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm-bindgen` --> src/offset_date_time.rs:109:13 | 109 | feature = "wasm-bindgen" | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `default`, `formatting`, `large-dates`, `local-offset`, `macros`, `parsing`, `quickcheck`, `rand`, `serde`, `serde-human-readable`, `serde-well-known`, and `std` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: a method with this name may be added to the standard library in the future --> src/duration.rs:1289:37 | 1289 | original.subsec_nanos().cast_signed(), | ^^^^^^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method = note: requested on the command line with `-W unstable-name-collisions` help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/duration.rs:1426:42 | 1426 | .checked_mul(rhs.cast_signed().extend::()) | ^^^^^^^^^^^ ... 1451 | duration_mul_div_int![i8, i16, i32, u8, u16, u32]; | ------------------------------------------------- in this macro invocation | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method = note: this warning originates in the macro `duration_mul_div_int` (in Nightly builds, run with -Z macro-backtrace for more info) help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/duration.rs:1445:52 | 1445 | self.whole_nanoseconds() / rhs.cast_signed().extend::() | ^^^^^^^^^^^ ... 1451 | duration_mul_div_int![i8, i16, i32, u8, u16, u32]; | ------------------------------------------------- in this macro invocation | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method = note: this warning originates in the macro `duration_mul_div_int` (in Nightly builds, run with -Z macro-backtrace for more info) help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/duration.rs:1426:42 | 1426 | .checked_mul(rhs.cast_signed().extend::()) | ^^^^^^^^^^^ ... 1451 | duration_mul_div_int![i8, i16, i32, u8, u16, u32]; | ------------------------------------------------- in this macro invocation | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method = note: this warning originates in the macro `duration_mul_div_int` (in Nightly builds, run with -Z macro-backtrace for more info) help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/duration.rs:1445:52 | 1445 | self.whole_nanoseconds() / rhs.cast_signed().extend::() | ^^^^^^^^^^^ ... 1451 | duration_mul_div_int![i8, i16, i32, u8, u16, u32]; | ------------------------------------------------- in this macro invocation | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method = note: this warning originates in the macro `duration_mul_div_int` (in Nightly builds, run with -Z macro-backtrace for more info) help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/duration.rs:1426:42 | 1426 | .checked_mul(rhs.cast_signed().extend::()) | ^^^^^^^^^^^ ... 1451 | duration_mul_div_int![i8, i16, i32, u8, u16, u32]; | ------------------------------------------------- in this macro invocation | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method = note: this warning originates in the macro `duration_mul_div_int` (in Nightly builds, run with -Z macro-backtrace for more info) help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/duration.rs:1445:52 | 1445 | self.whole_nanoseconds() / rhs.cast_signed().extend::() | ^^^^^^^^^^^ ... 1451 | duration_mul_div_int![i8, i16, i32, u8, u16, u32]; | ------------------------------------------------- in this macro invocation | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method = note: this warning originates in the macro `duration_mul_div_int` (in Nightly builds, run with -Z macro-backtrace for more info) help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/duration.rs:1543:37 | 1543 | if rhs.as_secs() > i64::MAX.cast_unsigned() { | ^^^^^^^^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_unsigned(...)` to keep using the current method help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_unsigned` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/duration.rs:1549:37 | 1549 | .cmp(&rhs.as_secs().cast_signed()) | ^^^^^^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/duration.rs:1553:50 | 1553 | .cmp(&rhs.subsec_nanos().cast_signed()) | ^^^^^^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/time.rs:924:41 | 924 | let hour_diff = self.hour.get().cast_signed() - rhs.hour.get().cast_signed(); | ^^^^^^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/time.rs:924:72 | 924 | let hour_diff = self.hour.get().cast_signed() - rhs.hour.get().cast_signed(); | ^^^^^^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/time.rs:925:45 | 925 | let minute_diff = self.minute.get().cast_signed() - rhs.minute.get().cast_signed(); | ^^^^^^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/time.rs:925:78 | 925 | let minute_diff = self.minute.get().cast_signed() - rhs.minute.get().cast_signed(); | ^^^^^^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/time.rs:926:45 | 926 | let second_diff = self.second.get().cast_signed() - rhs.second.get().cast_signed(); | ^^^^^^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/time.rs:926:78 | 926 | let second_diff = self.second.get().cast_signed() - rhs.second.get().cast_signed(); | ^^^^^^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/time.rs:928:35 | 928 | self.nanosecond.get().cast_signed() - rhs.nanosecond.get().cast_signed(); | ^^^^^^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/time.rs:928:72 | 928 | self.nanosecond.get().cast_signed() - rhs.nanosecond.get().cast_signed(); | ^^^^^^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/time.rs:930:69 | 930 | let seconds = hour_diff.extend::() * Second::per(Hour).cast_signed().extend::() | ^^^^^^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/time.rs:931:65 | 931 | + minute_diff.extend::() * Second::per(Minute).cast_signed().extend::() | ^^^^^^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/time.rs:937:59 | 937 | nanosecond_diff + Nanosecond::per(Second).cast_signed(), | ^^^^^^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: a method with this name may be added to the standard library in the future --> src/time.rs:942:59 | 942 | nanosecond_diff - Nanosecond::per(Second).cast_signed(), | ^^^^^^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` --> src/lib.rs:76:1 | 76 + #![feature(integer_sign_cast)] | warning: `time` (lib) generated 28 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 3.03s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MmL0fM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-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 time-0.3.36 + '[' 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=time ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.3.36 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/BUILDROOT/usr/share/cargo/registry/time-0.3.36 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/BUILDROOT/usr/share/cargo/registry/time-0.3.36 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + grep -w -E -v 'Cargo.(lock|toml.orig)' + /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 + xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/BUILDROOT/usr/share/cargo/registry/time-0.3.36 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/time-0.3.36` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/BUILDROOT/usr/share/cargo/registry/time-0.3.36/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/BUILDROOT/usr/share/cargo/registry/time-0.3.36/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.kYW2gG + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-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 time-0.3.36 + '[' 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 error: failed to select a version for the requirement `rand = "^0.8.4"` candidate versions found which didn't match: 0.9.0 location searched: directory source `/usr/share/cargo/registry` (which is replacing registry `crates-io`) required by package `time v0.3.36 (/home/pterjan/rpmbuild/BUILD/rust-time-0.3.36-build/time-0.3.36)` perhaps a crate was updated and forgotten to be re-vendored? As a reminder, you're using offline mode (--offline) which can sometimes cause surprising resolution failures, if this error is too confusing you may wish to retry without the offline flag. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.kYW2gG (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.kYW2gG (%check) I: [iurt_root_command] ERROR: chroot