D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-log0.3-0.3.9-0.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ubMqXp Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.qcj9H0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build + rm -rf log-0.3.9 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/log-0.3.9.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd log-0.3.9 + /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.UmHoYH + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build + cd log-0.3.9 + /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.qcA318 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-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 log-0.3.9 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j16 -Z avoid-dev-deps --profile rpm warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Compiling log v0.4.26 Running `/usr/bin/rustc --crate-name log --edition=2021 /usr/share/cargo/registry/log-0.4.26/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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("kv", "max_level_debug", "max_level_error", "max_level_info", "max_level_off", "max_level_trace", "max_level_warn", "release_max_level_debug", "release_max_level_error", "release_max_level_info", "release_max_level_off", "release_max_level_trace", "release_max_level_warn", "serde", "std"))' -C metadata=ad539a4f7e223d2b -C extra-filename=-b0ec4d938cf4a5ed --out-dir /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/log-0.3.9/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/log-0.3.9/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling log v0.3.9 (/home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/log-0.3.9) Running `/usr/bin/rustc --crate-name log --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "max_level_debug", "max_level_error", "max_level_info", "max_level_off", "max_level_trace", "max_level_warn", "nightly", "release_max_level_debug", "release_max_level_error", "release_max_level_info", "release_max_level_off", "release_max_level_trace", "release_max_level_warn", "use_std"))' -C metadata=35026030d8fe01b5 -C extra-filename=-6181e72522333b32 --out-dir /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/log-0.3.9/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/log-0.3.9/target/rpm/deps --extern log=/home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/log-0.3.9/target/rpm/deps/liblog-b0ec4d938cf4a5ed.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `rustbuild` --> src/lib.rs:197:13 | 197 | #![cfg_attr(rustbuild, feature(staged_api, rustc_private))] | ^^^^^^^^^ | = 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(rustbuild)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustbuild)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `rustbuild` --> src/lib.rs:198:13 | 198 | #![cfg_attr(rustbuild, unstable(feature = "rustc_private", issue = "27812"))] | ^^^^^^^^^ | = 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(rustbuild)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustbuild)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/lib.rs:211:38 | 211 | use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering}; | ^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/lib.rs:236:29 | 236 | static STATE: AtomicUsize = ATOMIC_USIZE_INIT; | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 236 - static STATE: AtomicUsize = ATOMIC_USIZE_INIT; 236 + static STATE: AtomicUsize = AtomicUsize::new(0); | warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/lib.rs:237:32 | 237 | static REFCOUNT: AtomicUsize = ATOMIC_USIZE_INIT; | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 237 - static REFCOUNT: AtomicUsize = ATOMIC_USIZE_INIT; 237 + static REFCOUNT: AtomicUsize = AtomicUsize::new(0); | warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:235:27 | 235 | static mut LOGGER: *const Log = &NopLogger; | ^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: if this is a dyn-compatible trait, use `dyn` | 235 | static mut LOGGER: *const dyn Log = &NopLogger; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:863:29 | 863 | struct LoggerGuard(&'static Log); | ^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 863 | struct LoggerGuard(&'static dyn Log); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:702:51 | 702 | where M: FnOnce(MaxLogLevelFilter) -> Box { | ^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 702 | where M: FnOnce(MaxLogLevelFilter) -> Box { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:729:54 | 729 | where M: FnOnce(MaxLogLevelFilter) -> *const Log { | ^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 729 | where M: FnOnce(MaxLogLevelFilter) -> *const dyn Log { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:752:40 | 752 | pub fn shutdown_logger() -> Result, ShutdownLoggerError> { | ^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 752 | pub fn shutdown_logger() -> Result, ShutdownLoggerError> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:770:47 | 770 | pub fn shutdown_logger_raw() -> Result<*const Log, ShutdownLoggerError> { | ^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 770 | pub fn shutdown_logger_raw() -> Result<*const dyn Log, ShutdownLoggerError> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:872:19 | 872 | type Target = Log; | ^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 872 | type Target = dyn Log; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:874:26 | 874 | fn deref(&self) -> &(Log + 'static) { | ^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 874 | fn deref(&self) -> &(dyn Log + 'static) { | +++ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/lib.rs:772:14 | 772 | if STATE.compare_and_swap(INITIALIZED, INITIALIZING, | ^^^^^^^^^^^^^^^^ warning: `log` (lib) generated 14 warnings (run `cargo fix --lib -p log` to apply 10 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 0.92s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TyDwwq + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-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 log-0.3.9 + '[' 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=log ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.3.9 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/BUILDROOT/usr/share/cargo/registry/log-0.3.9 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/BUILDROOT/usr/share/cargo/registry/log-0.3.9 + /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-log0.3-0.3.9-build/BUILDROOT/usr/share/cargo/registry/log-0.3.9 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/log-0.3.9` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/BUILDROOT/usr/share/cargo/registry/log-0.3.9/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/BUILDROOT/usr/share/cargo/registry/log-0.3.9/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.LzIzVj + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-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 log-0.3.9 + '[' 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 warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Fresh log v0.4.26 Compiling log v0.3.9 (/home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/log-0.3.9) Running `/usr/bin/rustc --crate-name log --edition=2015 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="default"' --cfg 'feature="use_std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "max_level_debug", "max_level_error", "max_level_info", "max_level_off", "max_level_trace", "max_level_warn", "nightly", "release_max_level_debug", "release_max_level_error", "release_max_level_info", "release_max_level_off", "release_max_level_trace", "release_max_level_warn", "use_std"))' -C metadata=b7bfcd62b311ef2d -C extra-filename=-e47250d9a8d7ab60 --out-dir /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/log-0.3.9/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/log-0.3.9/target/rpm/deps --extern log=/home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/log-0.3.9/target/rpm/deps/liblog-b0ec4d938cf4a5ed.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `rustbuild` --> src/lib.rs:197:13 | 197 | #![cfg_attr(rustbuild, feature(staged_api, rustc_private))] | ^^^^^^^^^ | = 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(rustbuild)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustbuild)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `rustbuild` --> src/lib.rs:198:13 | 198 | #![cfg_attr(rustbuild, unstable(feature = "rustc_private", issue = "27812"))] | ^^^^^^^^^ | = 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(rustbuild)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustbuild)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/lib.rs:211:38 | 211 | use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering}; | ^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/lib.rs:236:29 | 236 | static STATE: AtomicUsize = ATOMIC_USIZE_INIT; | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 236 - static STATE: AtomicUsize = ATOMIC_USIZE_INIT; 236 + static STATE: AtomicUsize = AtomicUsize::new(0); | warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/lib.rs:237:32 | 237 | static REFCOUNT: AtomicUsize = ATOMIC_USIZE_INIT; | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 237 - static REFCOUNT: AtomicUsize = ATOMIC_USIZE_INIT; 237 + static REFCOUNT: AtomicUsize = AtomicUsize::new(0); | warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:235:27 | 235 | static mut LOGGER: *const Log = &NopLogger; | ^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: if this is a dyn-compatible trait, use `dyn` | 235 | static mut LOGGER: *const dyn Log = &NopLogger; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:863:29 | 863 | struct LoggerGuard(&'static Log); | ^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 863 | struct LoggerGuard(&'static dyn Log); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:702:51 | 702 | where M: FnOnce(MaxLogLevelFilter) -> Box { | ^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 702 | where M: FnOnce(MaxLogLevelFilter) -> Box { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:729:54 | 729 | where M: FnOnce(MaxLogLevelFilter) -> *const Log { | ^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 729 | where M: FnOnce(MaxLogLevelFilter) -> *const dyn Log { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:752:40 | 752 | pub fn shutdown_logger() -> Result, ShutdownLoggerError> { | ^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 752 | pub fn shutdown_logger() -> Result, ShutdownLoggerError> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:770:47 | 770 | pub fn shutdown_logger_raw() -> Result<*const Log, ShutdownLoggerError> { | ^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 770 | pub fn shutdown_logger_raw() -> Result<*const dyn Log, ShutdownLoggerError> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:872:19 | 872 | type Target = Log; | ^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 872 | type Target = dyn Log; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:874:26 | 874 | fn deref(&self) -> &(Log + 'static) { | ^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 874 | fn deref(&self) -> &(dyn Log + 'static) { | +++ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/lib.rs:772:14 | 772 | if STATE.compare_and_swap(INITIALIZED, INITIALIZING, | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/lib.rs:1089:23 | 1089 | assert_eq!(e.description(), "set_logger() called multiple times"); | ^^^^^^^^^^^ warning: `log` (lib test) generated 15 warnings (run `cargo fix --lib -p log --tests` to apply 10 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 0.83s Running `/home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/log-0.3.9/target/rpm/deps/log-e47250d9a8d7ab60` running 9 tests test tests::test_cross_cmp ... ok test tests::test_error_trait ... ok test tests::test_loglevel_from_str ... ok test tests::test_cross_eq ... ok test tests::test_loglevel_show ... ok test tests::test_loglevelfilter_from_str ... ok test tests::test_to_log_level ... ok test tests::test_loglevelfilter_show ... ok test tests::test_to_log_level_filter ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-log0.3-devel-0.3.9-0.1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/log-0.3.9/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/log-0.3.9/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/log-0.3.9/README.md Provides: crate(log) = 0.3.9 rust-log0.3-devel = 0.3.9-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(log/default) >= 0.4.0 Processing files: rust-log0.3+default-devel-0.3.9-0.1.mga10.noarch Provides: crate(log/default) = 0.3.9 rust-log0.3+default-devel = 0.3.9-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(log) = 0.3.9 crate(log/use_std) = 0.3.9 Processing files: rust-log0.3+max_level_debug-devel-0.3.9-0.1.mga10.noarch Provides: crate(log/max_level_debug) = 0.3.9 rust-log0.3+max_level_debug-devel = 0.3.9-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(log) = 0.3.9 crate(log/max_level_debug) >= 0.4.0 Processing files: rust-log0.3+max_level_error-devel-0.3.9-0.1.mga10.noarch Provides: crate(log/max_level_error) = 0.3.9 rust-log0.3+max_level_error-devel = 0.3.9-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(log) = 0.3.9 crate(log/max_level_error) >= 0.4.0 Processing files: rust-log0.3+max_level_info-devel-0.3.9-0.1.mga10.noarch Provides: crate(log/max_level_info) = 0.3.9 rust-log0.3+max_level_info-devel = 0.3.9-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(log) = 0.3.9 crate(log/max_level_info) >= 0.4.0 Processing files: rust-log0.3+max_level_off-devel-0.3.9-0.1.mga10.noarch Provides: crate(log/max_level_off) = 0.3.9 rust-log0.3+max_level_off-devel = 0.3.9-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(log) = 0.3.9 crate(log/max_level_off) >= 0.4.0 Processing files: rust-log0.3+max_level_trace-devel-0.3.9-0.1.mga10.noarch Provides: crate(log/max_level_trace) = 0.3.9 rust-log0.3+max_level_trace-devel = 0.3.9-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(log) = 0.3.9 crate(log/max_level_trace) >= 0.4.0 Processing files: rust-log0.3+max_level_warn-devel-0.3.9-0.1.mga10.noarch Provides: crate(log/max_level_warn) = 0.3.9 rust-log0.3+max_level_warn-devel = 0.3.9-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(log) = 0.3.9 crate(log/max_level_warn) >= 0.4.0 Processing files: rust-log0.3+nightly-devel-0.3.9-0.1.mga10.noarch Provides: crate(log/nightly) = 0.3.9 rust-log0.3+nightly-devel = 0.3.9-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(log) = 0.3.9 Processing files: rust-log0.3+release_max_level_debug-devel-0.3.9-0.1.mga10.noarch Provides: crate(log/release_max_level_debug) = 0.3.9 rust-log0.3+release_max_level_debug-devel = 0.3.9-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(log) = 0.3.9 crate(log/release_max_level_debug) >= 0.4.0 Processing files: rust-log0.3+release_max_level_error-devel-0.3.9-0.1.mga10.noarch Provides: crate(log/release_max_level_error) = 0.3.9 rust-log0.3+release_max_level_error-devel = 0.3.9-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(log) = 0.3.9 crate(log/release_max_level_error) >= 0.4.0 Processing files: rust-log0.3+release_max_level_info-devel-0.3.9-0.1.mga10.noarch Provides: crate(log/release_max_level_info) = 0.3.9 rust-log0.3+release_max_level_info-devel = 0.3.9-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(log) = 0.3.9 crate(log/release_max_level_info) >= 0.4.0 Processing files: rust-log0.3+release_max_level_off-devel-0.3.9-0.1.mga10.noarch Provides: crate(log/release_max_level_off) = 0.3.9 rust-log0.3+release_max_level_off-devel = 0.3.9-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(log) = 0.3.9 crate(log/release_max_level_off) >= 0.4.0 Processing files: rust-log0.3+release_max_level_trace-devel-0.3.9-0.1.mga10.noarch Provides: crate(log/release_max_level_trace) = 0.3.9 rust-log0.3+release_max_level_trace-devel = 0.3.9-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(log) = 0.3.9 crate(log/release_max_level_trace) >= 0.4.0 Processing files: rust-log0.3+release_max_level_warn-devel-0.3.9-0.1.mga10.noarch Provides: crate(log/release_max_level_warn) = 0.3.9 rust-log0.3+release_max_level_warn-devel = 0.3.9-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(log) = 0.3.9 crate(log/release_max_level_warn) >= 0.4.0 Processing files: rust-log0.3+use_std-devel-0.3.9-0.1.mga10.noarch Provides: crate(log/use_std) = 0.3.9 rust-log0.3+use_std-devel = 0.3.9-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(log) = 0.3.9 crate(log/std) >= 0.4.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-log0.3+release_max_level_info-devel-0.3.9-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-log0.3+max_level_info-devel-0.3.9-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-log0.3+nightly-devel-0.3.9-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-log0.3+release_max_level_off-devel-0.3.9-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-log0.3+max_level_trace-devel-0.3.9-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-log0.3+release_max_level_trace-devel-0.3.9-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-log0.3+max_level_off-devel-0.3.9-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-log0.3+max_level_error-devel-0.3.9-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-log0.3+release_max_level_error-devel-0.3.9-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-log0.3+release_max_level_debug-devel-0.3.9-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-log0.3+max_level_debug-devel-0.3.9-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-log0.3+use_std-devel-0.3.9-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-log0.3+default-devel-0.3.9-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-log0.3+release_max_level_warn-devel-0.3.9-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-log0.3+max_level_warn-devel-0.3.9-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-log0.3-devel-0.3.9-0.1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8eTKQ7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build + test -d /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-log0.3-0.3.9-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/log-0.3.9/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/log-0.3.9/LICENSE-MIT File listed twice: /usr/share/cargo/registry/log-0.3.9/README.md D: [iurt_root_command] Success!