Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-slog.spec'], chrootPath='/var/lib/mock/epel9-next-build-55064485-6532232/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6f0cgywe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6f0cgywe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '42d11f8f8805407a9949f562ac493cdb', '-D', '/var/lib/mock/epel9-next-build-55064485-6532232/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6f0cgywe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-slog.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1674259200 Wrote: /builddir/build/SRPMS/rust-slog-2.7.0-8.el9.next.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-slog.spec'], chrootPath='/var/lib/mock/epel9-next-build-55064485-6532232/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6f0cgywe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6f0cgywe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c35c7fe83688454ea3d6a7c1d133e595', '-D', '/var/lib/mock/epel9-next-build-55064485-6532232/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6f0cgywe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-slog.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1674259200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.v3Co75 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf slog-2.7.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/slog-2.7.0.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd slog-2.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/slog-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + 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 /var/tmp/rpm-tmp.kN2epq + umask 022 + cd /builddir/build/BUILD + cd slog-2.7.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-slog-2.7.0-8.el9.next.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /builddir/build/SPECS/rust-slog.spec'], chrootPath='/var/lib/mock/epel9-next-build-55064485-6532232/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6f0cgywe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6f0cgywe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '39b924b5e13b4832afc70a7417916693', '-D', '/var/lib/mock/epel9-next-build-55064485-6532232/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6f0cgywe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /builddir/build/SPECS/rust-slog.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1674259200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.YfzPwG + umask 022 + cd /builddir/build/BUILD + cd slog-2.7.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.scVV5S + umask 022 + cd /builddir/build/BUILD + cd slog-2.7.0 + /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 -j12 -Z avoid-dev-deps --profile rpm warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Compiling slog v2.7.0 (/builddir/build/BUILD/slog-2.7.0) Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "dynamic-keys", "erased-serde", "max_level_debug", "max_level_error", "max_level_info", "max_level_off", "max_level_trace", "max_level_warn", "nested-values", "nothreads", "release_max_level_debug", "release_max_level_error", "release_max_level_info", "release_max_level_off", "release_max_level_trace", "release_max_level_warn", "std"))' -C metadata=0413550b3b3f172f -C extra-filename=-0413550b3b3f172f --out-dir /builddir/build/BUILD/slog-2.7.0/target/rpm/build/slog-0413550b3b3f172f -L dependency=/builddir/build/BUILD/slog-2.7.0/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/slog-2.7.0/target/rpm/build/slog-0413550b3b3f172f/build-script-build` Running `/usr/bin/rustc --crate-name slog --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="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "dynamic-keys", "erased-serde", "max_level_debug", "max_level_error", "max_level_info", "max_level_off", "max_level_trace", "max_level_warn", "nested-values", "nothreads", "release_max_level_debug", "release_max_level_error", "release_max_level_info", "release_max_level_off", "release_max_level_trace", "release_max_level_warn", "std"))' -C metadata=12e793f59b7bd521 -C extra-filename=-12e793f59b7bd521 --out-dir /builddir/build/BUILD/slog-2.7.0/target/rpm/deps -L dependency=/builddir/build/BUILD/slog-2.7.0/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg integer128` warning: unexpected `cfg` condition name: `macro_workaround` --> src/lib.rs:2561:7 | 2561 | #[cfg(macro_workaround)] | ^^^^^^^^^^^^^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` = 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(macro_workaround)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macro_workaround)");` 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: `macro_workaround` --> src/lib.rs:2576:11 | 2576 | #[cfg(not(macro_workaround))] | ^^^^^^^^^^^^^^^^ | = 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(macro_workaround)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macro_workaround)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `integer128` --> src/lib.rs:2885:7 | 2885 | #[cfg(integer128)] | ^^^^^^^^^^ | = 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(integer128)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(integer128)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `integer128` --> src/lib.rs:2887:7 | 2887 | #[cfg(integer128)] | ^^^^^^^^^^ | = 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(integer128)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(integer128)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/lib.rs:1215:16 | 1215 | #[cfg_attr(feature = "cargo-clippy", allow(wrong_self_convention))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `dynamic-keys`, `erased-serde`, `max_level_debug`, `max_level_error`, `max_level_info`, `max_level_off`, `max_level_trace`, `max_level_warn`, `nested-values`, `nothreads`, `release_max_level_debug`, `release_max_level_error`, `release_max_level_info`, `release_max_level_off`, `release_max_level_trace`, `release_max_level_warn`, and `std` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:1281:9 | 1281 | try!(write!(f, "Logger{:?}", self.list)); | ^^^ | = note: `#[warn(deprecated)]` on by default warning: unexpected `cfg` condition name: `integer128` --> src/lib.rs:2669:15 | 2669 | #[cfg(integer128)] | ^^^^^^^^^^ | = 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(integer128)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(integer128)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `integer128` --> src/lib.rs:2674:15 | 2674 | #[cfg(integer128)] | ^^^^^^^^^^ | = 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(integer128)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(integer128)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3336:9 | 3336 | try!(self.0.serialize(record, serializer)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3460:9 | 3460 | try!(self.kv.serialize(record, serializer)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3461:9 | 3461 | try!(self.next_node.serialize(record, serializer)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3473:9 | 3473 | try!(self.next_node.serialize(record, serializer)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3474:9 | 3474 | try!(self.node.serialize(record, serializer)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3486:9 | 3486 | try!(self.node.serialize(record, serializer)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3494:9 | 3494 | try!(write!(f, "(")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3523:9 | 3523 | try!(write!(f, ")")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3509:13 | 3509 | try!( | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3503:17 | 3503 | try!(write!(f, "{}", key)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3500:21 | 3500 | try!(write!(f, ", ")); | ^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1837:17 | 1837 | map_fn: Box>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 1837 | map_fn: Box>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2752:32 | 2752 | struct ErrorAsFmt<'a>(pub &'a (std::error::Error + '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 an object-safe trait, use `dyn` | 2752 | struct ErrorAsFmt<'a>(pub &'a (dyn std::error::Error + 'static)); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3069:25 | 3069 | serializer: &'a mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3069 | serializer: &'a mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3426:13 | 3426 | pub &'a KV, | ^^ | = 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 an object-safe trait, use `dyn` | 3426 | pub &'a dyn KV, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3436:20 | 3436 | next_node: Arc, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3436 | next_node: Arc, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3441:20 | 3441 | next_node: Arc, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3441 | next_node: Arc, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3442:15 | 3442 | node: Arc, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3442 | node: Arc, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3448:15 | 3448 | node: Arc, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3448 | node: Arc, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1109:27 | 1109 | pub struct Logger>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 1109 | pub struct Logger>> | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2726:49 | 2726 | fn emit_error(&mut self, key: Key, error: &(std::error::Error + 'static)) -> Result { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2726 | fn emit_error(&mut self, key: Key, error: &(dyn std::error::Error + 'static)) -> Result { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2839:26 | 2839 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2839 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3243:59 | 3243 | fn serialize(&self, record: &Record, serializer: &mut Serializer) | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3243 | fn serialize(&self, record: &Record, serializer: &mut dyn Serializer) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1252:21 | 1252 | ) -> Logger>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 1252 | ) -> Logger>> | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1268:21 | 1268 | ) -> Logger>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 1268 | ) -> Logger>> | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2025:32 | 2025 | fn cause(&self) -> Option<&std::error::Error> { | ^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2025 | fn cause(&self) -> Option<&dyn std::error::Error> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2851:26 | 2851 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2851 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2917:26 | 2917 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2917 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2939:26 | 2939 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2939 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2956:26 | 2956 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2956 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2969:26 | 2969 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2969 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2983:26 | 2983 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2983 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2997:26 | 2997 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2997 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3009:26 | 3009 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3009 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3052:26 | 3052 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3052 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3147:26 | 3147 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3147 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3179:26 | 3179 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3179 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3254:26 | 3254 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3254 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3314:26 | 3314 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3314 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3334:26 | 3334 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3334 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3348:26 | 3348 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3348 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3361:26 | 3361 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3361 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3374:26 | 3374 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3374 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3384:26 | 3384 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3384 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3458:26 | 3458 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3458 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3545:24 | 3545 | next_node: Arc, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3545 | next_node: Arc, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2871 | impl_value_for!(usize, emit_usize); | ---------------------------------- in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2872 | impl_value_for!(isize, emit_isize); | ---------------------------------- in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2873 | impl_value_for!(bool, emit_bool); | -------------------------------- in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2874 | impl_value_for!(char, emit_char); | -------------------------------- in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2875 | impl_value_for!(u8, emit_u8); | ---------------------------- in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2876 | impl_value_for!(i8, emit_i8); | ---------------------------- in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2877 | impl_value_for!(u16, emit_u16); | ------------------------------ in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2878 | impl_value_for!(i16, emit_i16); | ------------------------------ in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2879 | impl_value_for!(u32, emit_u32); | ------------------------------ in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2880 | impl_value_for!(i32, emit_i32); | ------------------------------ in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2881 | impl_value_for!(f32, emit_f32); | ------------------------------ in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2882 | impl_value_for!(u64, emit_u64); | ------------------------------ in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2883 | impl_value_for!(i64, emit_i64); | ------------------------------ in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2884 | impl_value_for!(f64, emit_f64); | ------------------------------ in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2886 | impl_value_for!(u128, emit_u128); | -------------------------------- in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2888 | impl_value_for!(i128, emit_i128); | -------------------------------- in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2895:26 | 2895 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2895 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2906:26 | 2906 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2906 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2928:26 | 2928 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2928 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3021:26 | 3021 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3021 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3033:26 | 3033 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3033 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3324:27 | 3324 | _serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3324 | _serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3471:26 | 3471 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3471 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3484:26 | 3484 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3484 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3634:32 | 3634 | fn cause(&self) -> Option<&std::error::Error> { | ^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3634 | fn cause(&self) -> Option<&dyn std::error::Error> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3723:22 | 3723 | pub type Serialize = Value; | ^^^^^ | = 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 an object-safe trait, use `dyn` | 3723 | pub type Serialize = dyn Value; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1154:24 | 1154 | as Arc>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 1154 | as Arc>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1258:24 | 1258 | as Arc>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 1258 | as Arc>, | +++ warning: use of deprecated method `core::error::Error::description`: use the Display impl or to_string() --> src/lib.rs:2021:48 | 2021 | MutexDrainError::Drain(ref e) => e.description(), | ^^^^^^^^^^^ warning: use of deprecated method `core::error::Error::description`: use the Display impl or to_string() --> src/lib.rs:3628:35 | 3628 | Error::Io(ref e) => e.description(), | ^^^^^^^^^^^ warning: call to `.clone()` on a reference in this situation does nothing --> src/lib.rs:3085:42 | 3085 | s.serialize(self.record, self.key.clone(), self.serializer) | ^^^^^^^^ help: remove this redundant call | = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed = note: `#[warn(noop_method_call)]` on by default warning: call to `.clone()` on a reference in this situation does nothing --> src/lib.rs:3093:55 | 3093 | let _ = self.serializer.emit_unit(self.key.clone()); | ^^^^^^^^ help: remove this redundant call | = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed warning: call to `.clone()` on a reference in this situation does nothing --> src/lib.rs:3316:40 | 3316 | self.1.serialize(record, self.0.clone(), serializer) | ^^^^^^^^ help: remove this redundant call | = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed warning: `slog` (lib) generated 87 warnings (run `cargo fix --lib -p slog` to apply 50 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 1.36s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qbZPE1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-slog-2.7.0-8.el9.next.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-slog-2.7.0-8.el9.next.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-slog-2.7.0-8.el9.next.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-slog-2.7.0-8.el9.next.aarch64 + cd slog-2.7.0 + 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=slog ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=2.7.0 + REG_DIR=/builddir/build/BUILDROOT/rust-slog-2.7.0-8.el9.next.aarch64/usr/share/cargo/registry/slog-2.7.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-slog-2.7.0-8.el9.next.aarch64/usr/share/cargo/registry/slog-2.7.0 + gawk -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 /builddir/build/BUILDROOT/rust-slog-2.7.0-8.el9.next.aarch64/usr/share/cargo/registry/slog-2.7.0 warning: no (git) VCS found for `/builddir/build/BUILD/slog-2.7.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-slog-2.7.0-8.el9.next.aarch64/usr/share/cargo/registry/slog-2.7.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-slog-2.7.0-8.el9.next.aarch64/usr/share/cargo/registry/slog-2.7.0/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.EjmkvZ + umask 022 + cd /builddir/build/BUILD + cd slog-2.7.0 + /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 -j12 -Z avoid-dev-deps --profile rpm --no-fail-fast warning: no edition set: defaulting to the 2015 edition while the latest is 2021 warning: unexpected `cfg` condition name: `macro_workaround` --> src/lib.rs:2561:7 | 2561 | #[cfg(macro_workaround)] | ^^^^^^^^^^^^^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` = 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(macro_workaround)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macro_workaround)");` 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: `macro_workaround` --> src/lib.rs:2576:11 | 2576 | #[cfg(not(macro_workaround))] | ^^^^^^^^^^^^^^^^ | = 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(macro_workaround)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macro_workaround)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `integer128` --> src/lib.rs:2885:7 | 2885 | #[cfg(integer128)] | ^^^^^^^^^^ | = 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(integer128)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(integer128)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `integer128` --> src/lib.rs:2887:7 | 2887 | #[cfg(integer128)] | ^^^^^^^^^^ | = 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(integer128)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(integer128)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/lib.rs:1215:16 | 1215 | #[cfg_attr(feature = "cargo-clippy", allow(wrong_self_convention))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default`, `dynamic-keys`, `erased-serde`, `max_level_debug`, `max_level_error`, `max_level_info`, `max_level_off`, `max_level_trace`, `max_level_warn`, `nested-values`, `nothreads`, `release_max_level_debug`, `release_max_level_error`, `release_max_level_info`, `release_max_level_off`, `release_max_level_trace`, `release_max_level_warn`, and `std` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:1281:9 | 1281 | try!(write!(f, "Logger{:?}", self.list)); | ^^^ | = note: `#[warn(deprecated)]` on by default warning: unexpected `cfg` condition name: `integer128` --> src/lib.rs:2669:15 | 2669 | #[cfg(integer128)] | ^^^^^^^^^^ | = 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(integer128)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(integer128)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `integer128` --> src/lib.rs:2674:15 | 2674 | #[cfg(integer128)] | ^^^^^^^^^^ | = 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(integer128)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(integer128)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3336:9 | 3336 | try!(self.0.serialize(record, serializer)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3460:9 | 3460 | try!(self.kv.serialize(record, serializer)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3461:9 | 3461 | try!(self.next_node.serialize(record, serializer)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3473:9 | 3473 | try!(self.next_node.serialize(record, serializer)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3474:9 | 3474 | try!(self.node.serialize(record, serializer)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3486:9 | 3486 | try!(self.node.serialize(record, serializer)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3494:9 | 3494 | try!(write!(f, "(")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3523:9 | 3523 | try!(write!(f, ")")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3509:13 | 3509 | try!( | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3503:17 | 3503 | try!(write!(f, "{}", key)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:3500:21 | 3500 | try!(write!(f, ", ")); | ^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1837:17 | 1837 | map_fn: Box>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 1837 | map_fn: Box>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2752:32 | 2752 | struct ErrorAsFmt<'a>(pub &'a (std::error::Error + '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 an object-safe trait, use `dyn` | 2752 | struct ErrorAsFmt<'a>(pub &'a (dyn std::error::Error + 'static)); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3069:25 | 3069 | serializer: &'a mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3069 | serializer: &'a mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3426:13 | 3426 | pub &'a KV, | ^^ | = 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 an object-safe trait, use `dyn` | 3426 | pub &'a dyn KV, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3436:20 | 3436 | next_node: Arc, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3436 | next_node: Arc, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3441:20 | 3441 | next_node: Arc, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3441 | next_node: Arc, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3442:15 | 3442 | node: Arc, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3442 | node: Arc, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3448:15 | 3448 | node: Arc, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3448 | node: Arc, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1109:27 | 1109 | pub struct Logger>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 1109 | pub struct Logger>> | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2726:49 | 2726 | fn emit_error(&mut self, key: Key, error: &(std::error::Error + 'static)) -> Result { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2726 | fn emit_error(&mut self, key: Key, error: &(dyn std::error::Error + 'static)) -> Result { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2839:26 | 2839 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2839 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3243:59 | 3243 | fn serialize(&self, record: &Record, serializer: &mut Serializer) | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3243 | fn serialize(&self, record: &Record, serializer: &mut dyn Serializer) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1252:21 | 1252 | ) -> Logger>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 1252 | ) -> Logger>> | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1268:21 | 1268 | ) -> Logger>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 1268 | ) -> Logger>> | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2025:32 | 2025 | fn cause(&self) -> Option<&std::error::Error> { | ^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2025 | fn cause(&self) -> Option<&dyn std::error::Error> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2851:26 | 2851 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2851 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2917:26 | 2917 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2917 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2939:26 | 2939 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2939 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2956:26 | 2956 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2956 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2969:26 | 2969 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2969 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2983:26 | 2983 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2983 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2997:26 | 2997 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2997 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3009:26 | 3009 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3009 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3052:26 | 3052 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3052 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3147:26 | 3147 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3147 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3179:26 | 3179 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3179 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3254:26 | 3254 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3254 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3314:26 | 3314 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3314 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3334:26 | 3334 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3334 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3348:26 | 3348 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3348 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3361:26 | 3361 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3361 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3374:26 | 3374 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3374 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3384:26 | 3384 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3384 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3458:26 | 3458 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3458 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3545:24 | 3545 | next_node: Arc, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3545 | next_node: Arc, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2871 | impl_value_for!(usize, emit_usize); | ---------------------------------- in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2872 | impl_value_for!(isize, emit_isize); | ---------------------------------- in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2873 | impl_value_for!(bool, emit_bool); | -------------------------------- in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2874 | impl_value_for!(char, emit_char); | -------------------------------- in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2875 | impl_value_for!(u8, emit_u8); | ---------------------------- in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2876 | impl_value_for!(i8, emit_i8); | ---------------------------- in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2877 | impl_value_for!(u16, emit_u16); | ------------------------------ in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2878 | impl_value_for!(i16, emit_i16); | ------------------------------ in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2879 | impl_value_for!(u32, emit_u32); | ------------------------------ in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2880 | impl_value_for!(i32, emit_i32); | ------------------------------ in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2881 | impl_value_for!(f32, emit_f32); | ------------------------------ in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2882 | impl_value_for!(u64, emit_u64); | ------------------------------ in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2883 | impl_value_for!(i64, emit_i64); | ------------------------------ in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2884 | impl_value_for!(f64, emit_f64); | ------------------------------ in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2886 | impl_value_for!(u128, emit_u128); | -------------------------------- in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2863:44 | 2863 | serializer : &mut Serializer | ^^^^^^^^^^ ... 2888 | impl_value_for!(i128, emit_i128); | -------------------------------- in this macro invocation | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: this warning originates in the macro `impl_value_for` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2895:26 | 2895 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2895 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2906:26 | 2906 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2906 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:2928:26 | 2928 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 2928 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3021:26 | 3021 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3021 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3033:26 | 3033 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3033 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3324:27 | 3324 | _serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3324 | _serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3471:26 | 3471 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3471 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3484:26 | 3484 | serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3484 | serializer: &mut dyn Serializer, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3634:32 | 3634 | fn cause(&self) -> Option<&std::error::Error> { | ^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 3634 | fn cause(&self) -> Option<&dyn std::error::Error> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:3723:22 | 3723 | pub type Serialize = Value; | ^^^^^ | = 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 an object-safe trait, use `dyn` | 3723 | pub type Serialize = dyn Value; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1154:24 | 1154 | as Arc>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 1154 | as Arc>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1258:24 | 1258 | as Arc>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 1258 | as Arc>, | +++ warning: use of deprecated method `core::error::Error::description`: use the Display impl or to_string() --> src/lib.rs:2021:48 | 2021 | MutexDrainError::Drain(ref e) => e.description(), | ^^^^^^^^^^^ warning: use of deprecated method `core::error::Error::description`: use the Display impl or to_string() --> src/lib.rs:3628:35 | 3628 | Error::Io(ref e) => e.description(), | ^^^^^^^^^^^ warning: call to `.clone()` on a reference in this situation does nothing --> src/lib.rs:3085:42 | 3085 | s.serialize(self.record, self.key.clone(), self.serializer) | ^^^^^^^^ help: remove this redundant call | = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed = note: `#[warn(noop_method_call)]` on by default warning: call to `.clone()` on a reference in this situation does nothing --> src/lib.rs:3093:55 | 3093 | let _ = self.serializer.emit_unit(self.key.clone()); | ^^^^^^^^ help: remove this redundant call | = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed warning: call to `.clone()` on a reference in this situation does nothing --> src/lib.rs:3316:40 | 3316 | self.1.serialize(record, self.0.clone(), serializer) | ^^^^^^^^ help: remove this redundant call | = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed warning: `slog` (lib) generated 87 warnings (run `cargo fix --lib -p slog` to apply 50 suggestions) Compiling slog v2.7.0 (/builddir/build/BUILD/slog-2.7.0) Running `/usr/bin/rustc --crate-name struct_log_self --edition=2015 examples/struct-log-self.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,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)' --check-cfg 'cfg(feature, values("default", "dynamic-keys", "erased-serde", "max_level_debug", "max_level_error", "max_level_info", "max_level_off", "max_level_trace", "max_level_warn", "nested-values", "nothreads", "release_max_level_debug", "release_max_level_error", "release_max_level_info", "release_max_level_off", "release_max_level_trace", "release_max_level_warn", "std"))' -C metadata=a967c8eb02438e8f -C extra-filename=-a967c8eb02438e8f --out-dir /builddir/build/BUILD/slog-2.7.0/target/rpm/examples -L dependency=/builddir/build/BUILD/slog-2.7.0/target/rpm/deps --extern slog=/builddir/build/BUILD/slog-2.7.0/target/rpm/deps/libslog-12e793f59b7bd521.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg integer128` Running `/usr/bin/rustc --crate-name named --edition=2015 examples/named.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,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)' --check-cfg 'cfg(feature, values("default", "dynamic-keys", "erased-serde", "max_level_debug", "max_level_error", "max_level_info", "max_level_off", "max_level_trace", "max_level_warn", "nested-values", "nothreads", "release_max_level_debug", "release_max_level_error", "release_max_level_info", "release_max_level_off", "release_max_level_trace", "release_max_level_warn", "std"))' -C metadata=9ba8598cf4e78482 -C extra-filename=-9ba8598cf4e78482 --out-dir /builddir/build/BUILD/slog-2.7.0/target/rpm/examples -L dependency=/builddir/build/BUILD/slog-2.7.0/target/rpm/deps --extern slog=/builddir/build/BUILD/slog-2.7.0/target/rpm/deps/libslog-12e793f59b7bd521.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg integer128` Running `/usr/bin/rustc --crate-name slog --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="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "dynamic-keys", "erased-serde", "max_level_debug", "max_level_error", "max_level_info", "max_level_off", "max_level_trace", "max_level_warn", "nested-values", "nothreads", "release_max_level_debug", "release_max_level_error", "release_max_level_info", "release_max_level_off", "release_max_level_trace", "release_max_level_warn", "std"))' -C metadata=bfa993c4b3508ffd -C extra-filename=-bfa993c4b3508ffd --out-dir /builddir/build/BUILD/slog-2.7.0/target/rpm/deps -L dependency=/builddir/build/BUILD/slog-2.7.0/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg integer128` warning: unused `#[macro_use]` import --> examples/struct-log-self.rs:3:1 | 3 | #[macro_use] | ^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: trait objects without an explicit `dyn` are deprecated --> examples/struct-log-self.rs:25:60 | 25 | fn serialize(&self, _record: &Record, serializer: &mut Serializer) -> Result { | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 25 | fn serialize(&self, _record: &Record, serializer: &mut dyn Serializer) -> Result { | +++ warning: unexpected `cfg` condition name: `integer128` --> src/tests.rs:275:7 | 275 | #[cfg(integer128)] | ^^^^^^^^^^ | = 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(integer128)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(integer128)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unused import: `core::cell::Cell` --> src/tests.rs:298:9 | 298 | use core::cell::Cell; | ^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: trait objects without an explicit `dyn` are deprecated --> src/tests.rs:73:36 | 73 | fn cause(&self) -> Option<&std::error::Error> { | ^^^^^^^^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 73 | fn cause(&self) -> Option<&dyn std::error::Error> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/tests.rs:248:35 | 248 | _serializer: &mut Serializer, | ^^^^^^^^^^ | = 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 an object-safe trait, use `dyn` | 248 | _serializer: &mut dyn Serializer, | +++ warning: unreachable statement --> src/tests.rs:408:9 | 407 | let x: Never = panic!("Can't actually construct a Never type here!"); | ----------------------------------------------------- any code following this expression is unreachable 408 | let y = x.clone(); | ^^^^^^^^^^^^^^^^^^ unreachable statement | = note: `#[warn(unreachable_code)]` on by default warning: unused variable: `values` --> src/tests.rs:319:40 | 319 | fn log(&self, record: &Record, values: &OwnedKVList) -> Result<(), Never> { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` | = note: `#[warn(unused_variables)]` on by default warning: unused variable: `x` --> src/tests.rs:407:13 | 407 | let x: Never = panic!("Can't actually construct a Never type here!"); | ^ help: if this is intentional, prefix it with an underscore: `_x` warning: unused variable: `y` --> src/tests.rs:408:13 | 408 | let y = x.clone(); | ^ help: if this is intentional, prefix it with an underscore: `_y` warning: unused variable: `tab` --> src/tests.rs:418:9 | 418 | let tab: HashSet = ["foo"].iter().map(|&k| k.into()).collect(); | ^^^ help: if this is intentional, prefix it with an underscore: `_tab` warning: unused arithmetic operation that must be used --> src/tests.rs:269:13 | 269 | { 3 + 3; 2}; | ^^^^^ the arithmetic operation produces a value | = note: `#[warn(unused_must_use)]` on by default help: use `let _ = ...` to ignore the resulting value | 269 | { let _ = 3 + 3; 2}; | +++++++ warning: unused arithmetic operation that must be used --> src/tests.rs:271:22 | 271 | "foo" => { 3 + 3; 2}, | ^^^^^ the arithmetic operation produces a value | help: use `let _ = ...` to ignore the resulting value | 271 | "foo" => { let _ = 3 + 3; 2}, | +++++++ warning: `slog` (example "struct-log-self") generated 2 warnings (run `cargo fix --example "struct-log-self"` to apply 1 suggestion) warning: `slog` (lib test) generated 98 warnings (87 duplicates) (run `cargo fix --lib -p slog --tests` to apply 3 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 2.66s Running `/builddir/build/BUILD/slog-2.7.0/target/rpm/deps/slog-bfa993c4b3508ffd` running 25 tests test filter_level_accepts_tests ... ok test filter_level_to_string_and_from_str_are_compatible ... ok test filter_level_sanity ... ok test filter_level_from_str ... ok test level_at_least ... ok test level_from_str ... ok test level_to_string_and_from_str_are_compatible ... ok test tests::can_hash_keys ... ok test tests::display_and_alternate_display ... ok test tests::expressions ... ok test tests::expressions_fmt ... ok test tests::integer_128_types ... ok test tests::logger_by_ref ... ok test tests::logger_to_erased ... ok test tests::makers ... ok test tests::no_imports::test_o_macro_expansion ... ok test tests::no_imports::test_slog_o_macro_expansion ... ok test tests::simple_logger_erased ... ok test tests::std_only::error_fmt_no_source ... ok test tests::std_only::error_fmt_single_source ... ok test tests::std_only::error_fmt_two_sources ... ok test tests::std_only::ioerror_impls_value ... ok test tests::std_only::logger_fmt_debug_sanity ... ok test tests::std_only::multichain ... ok test tests::test_never_type_clone ... ok test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests slog Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name slog --test src/lib.rs --test-run-directory /builddir/build/BUILD/slog-2.7.0 -L dependency=/builddir/build/BUILD/slog-2.7.0/target/rpm/deps -L dependency=/builddir/build/BUILD/slog-2.7.0/target/rpm/deps --extern slog=/builddir/build/BUILD/slog-2.7.0/target/rpm/deps/libslog-12e793f59b7bd521.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "dynamic-keys", "erased-serde", "max_level_debug", "max_level_error", "max_level_info", "max_level_off", "max_level_trace", "max_level_warn", "nested-values", "nothreads", "release_max_level_debug", "release_max_level_error", "release_max_level_info", "release_max_level_off", "release_max_level_trace", "release_max_level_warn", "std"))' --cfg integer128 --error-format human` running 23 tests test src/lib.rs - (line 115) ... ignored test src/lib.rs - (line 134) ... ignored test src/lib.rs - (line 167) ... ignored test src/lib.rs - (line 278) ... ignored test src/lib.rs - KV (line 3199) ... ignored test src/lib.rs - KV (line 3205) ... ignored test src/lib.rs - KV (line 3222) ... ok test src/lib.rs - Drain::map (line 1431) ... ok test src/lib.rs - Value (line 2818) ... ok test src/lib.rs - log (line 635) ... ok test src/lib.rs - (line 261) ... ok test src/lib.rs - Logger::new (line 1206) ... ok test src/lib.rs - Logger::root (line 1136) ... ok test src/lib.rs - log (line 583) ... ok test src/lib.rs - log (line 599) ... ok test src/lib.rs - Drain::is_enabled (line 1374) ... ok test src/lib.rs - log (line 614) ... ok test src/lib.rs - PushFnValue (line 3111) ... ok test src/lib.rs - log (line 656) ... ok test src/lib.rs - log (line 684) ... ok test src/lib.rs - o (line 344) ... ok test src/lib.rs - slog_log (line 815) ... ok test src/lib.rs - log (line 736) ... ok test result: ok. 17 passed; 0 failed; 6 ignored; 0 measured; 0 filtered out; finished in 0.56s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-slog-devel-2.7.0-8.el9.next.noarch warning: File listed twice: /usr/share/cargo/registry/slog-2.7.0/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/slog-2.7.0/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/slog-2.7.0/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/slog-2.7.0/LICENSE-MPL2 warning: File listed twice: /usr/share/cargo/registry/slog-2.7.0/README.md Provides: crate(slog) = 2.7.0 rust-slog-devel = 2.7.0-8.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-slog+default-devel-2.7.0-8.el9.next.noarch Provides: crate(slog/default) = 2.7.0 rust-slog+default-devel = 2.7.0-8.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(slog) = 2.7.0 crate(slog/std) = 2.7.0 Processing files: rust-slog+dynamic-keys-devel-2.7.0-8.el9.next.noarch Provides: crate(slog/dynamic-keys) = 2.7.0 rust-slog+dynamic-keys-devel = 2.7.0-8.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(slog) = 2.7.0 Processing files: rust-slog+erased-serde-devel-2.7.0-8.el9.next.noarch Provides: crate(slog/erased-serde) = 2.7.0 rust-slog+erased-serde-devel = 2.7.0-8.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(erased-serde/default) >= 0.3.0 with crate(erased-serde/default) < 0.4.0~) cargo crate(slog) = 2.7.0 Processing files: rust-slog+max_level_debug-devel-2.7.0-8.el9.next.noarch Provides: crate(slog/max_level_debug) = 2.7.0 rust-slog+max_level_debug-devel = 2.7.0-8.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(slog) = 2.7.0 Processing files: rust-slog+max_level_error-devel-2.7.0-8.el9.next.noarch Provides: crate(slog/max_level_error) = 2.7.0 rust-slog+max_level_error-devel = 2.7.0-8.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(slog) = 2.7.0 Processing files: rust-slog+max_level_info-devel-2.7.0-8.el9.next.noarch Provides: crate(slog/max_level_info) = 2.7.0 rust-slog+max_level_info-devel = 2.7.0-8.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(slog) = 2.7.0 Processing files: rust-slog+max_level_off-devel-2.7.0-8.el9.next.noarch Provides: crate(slog/max_level_off) = 2.7.0 rust-slog+max_level_off-devel = 2.7.0-8.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(slog) = 2.7.0 Processing files: rust-slog+max_level_trace-devel-2.7.0-8.el9.next.noarch Provides: crate(slog/max_level_trace) = 2.7.0 rust-slog+max_level_trace-devel = 2.7.0-8.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(slog) = 2.7.0 Processing files: rust-slog+max_level_warn-devel-2.7.0-8.el9.next.noarch Provides: crate(slog/max_level_warn) = 2.7.0 rust-slog+max_level_warn-devel = 2.7.0-8.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(slog) = 2.7.0 Processing files: rust-slog+nested-values-devel-2.7.0-8.el9.next.noarch Provides: crate(slog/nested-values) = 2.7.0 rust-slog+nested-values-devel = 2.7.0-8.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(slog) = 2.7.0 crate(slog/erased-serde) = 2.7.0 Processing files: rust-slog+nothreads-devel-2.7.0-8.el9.next.noarch Provides: crate(slog/nothreads) = 2.7.0 rust-slog+nothreads-devel = 2.7.0-8.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(slog) = 2.7.0 Processing files: rust-slog+release_max_level_debug-devel-2.7.0-8.el9.next.noarch Provides: crate(slog/release_max_level_debug) = 2.7.0 rust-slog+release_max_level_debug-devel = 2.7.0-8.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(slog) = 2.7.0 Processing files: rust-slog+release_max_level_error-devel-2.7.0-8.el9.next.noarch Provides: crate(slog/release_max_level_error) = 2.7.0 rust-slog+release_max_level_error-devel = 2.7.0-8.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(slog) = 2.7.0 Processing files: rust-slog+release_max_level_info-devel-2.7.0-8.el9.next.noarch Provides: crate(slog/release_max_level_info) = 2.7.0 rust-slog+release_max_level_info-devel = 2.7.0-8.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(slog) = 2.7.0 Processing files: rust-slog+release_max_level_off-devel-2.7.0-8.el9.next.noarch Provides: crate(slog/release_max_level_off) = 2.7.0 rust-slog+release_max_level_off-devel = 2.7.0-8.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(slog) = 2.7.0 Processing files: rust-slog+release_max_level_trace-devel-2.7.0-8.el9.next.noarch Provides: crate(slog/release_max_level_trace) = 2.7.0 rust-slog+release_max_level_trace-devel = 2.7.0-8.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(slog) = 2.7.0 Processing files: rust-slog+release_max_level_warn-devel-2.7.0-8.el9.next.noarch Provides: crate(slog/release_max_level_warn) = 2.7.0 rust-slog+release_max_level_warn-devel = 2.7.0-8.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(slog) = 2.7.0 Processing files: rust-slog+std-devel-2.7.0-8.el9.next.noarch Provides: crate(slog/std) = 2.7.0 rust-slog+std-devel = 2.7.0-8.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(slog) = 2.7.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-slog-2.7.0-8.el9.next.aarch64 Wrote: /builddir/build/SRPMS/rust-slog-2.7.0-8.el9.next.src.rpm Wrote: /builddir/build/RPMS/rust-slog+max_level_error-devel-2.7.0-8.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+max_level_warn-devel-2.7.0-8.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+max_level_trace-devel-2.7.0-8.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+max_level_off-devel-2.7.0-8.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+dynamic-keys-devel-2.7.0-8.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+max_level_info-devel-2.7.0-8.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+nothreads-devel-2.7.0-8.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+erased-serde-devel-2.7.0-8.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+default-devel-2.7.0-8.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+max_level_debug-devel-2.7.0-8.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+nested-values-devel-2.7.0-8.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+release_max_level_debug-devel-2.7.0-8.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+release_max_level_trace-devel-2.7.0-8.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+release_max_level_error-devel-2.7.0-8.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+release_max_level_info-devel-2.7.0-8.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+release_max_level_off-devel-2.7.0-8.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+release_max_level_warn-devel-2.7.0-8.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+std-devel-2.7.0-8.el9.next.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog-devel-2.7.0-8.el9.next.noarch.rpm Child return code was: 0