Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-slog.spec'], chrootPath='/var/lib/mock/f41-build-51586376-6171863/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.daicxv6a:/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.daicxv6a:/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', '30826f569c154966a002285be2936e65', '-D', '/var/lib/mock/f41-build-51586376-6171863/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.daicxv6a:/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 ppc64le --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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1706313600 Wrote: /builddir/build/SRPMS/rust-slog-2.7.0-10.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-slog.spec'], chrootPath='/var/lib/mock/f41-build-51586376-6171863/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.daicxv6a:/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.daicxv6a:/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', 'ca7094bf94e74edf99af7c60fb68ffe1', '-D', '/var/lib/mock/f41-build-51586376-6171863/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.daicxv6a:/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 ppc64le --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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1706313600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.WGnMWe + umask 022 + cd /builddir/build/BUILD/rust-slog-2.7.0-build + test -d /builddir/build/BUILD/rust-slog-2.7.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/rust-slog-2.7.0-build + /usr/bin/rm -rf /builddir/build/BUILD/rust-slog-2.7.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-slog-2.7.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-slog-2.7.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.o42SnA + umask 022 + cd /builddir/build/BUILD/rust-slog-2.7.0-build + cd /builddir/build/BUILD/rust-slog-2.7.0-build + rm -rf slog-2.7.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/slog-2.7.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd slog-2.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/slog-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.ioworA + umask 022 + cd /builddir/build/BUILD/rust-slog-2.7.0-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-10.fc41.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 ppc64le /builddir/build/SPECS/rust-slog.spec'], chrootPath='/var/lib/mock/f41-build-51586376-6171863/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.daicxv6a:/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.daicxv6a:/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', '2193bb7246be41dfbe1149a97a6229e7', '-D', '/var/lib/mock/f41-build-51586376-6171863/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.daicxv6a:/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 ppc64le /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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1706313600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.rHeN68 + umask 022 + cd /builddir/build/BUILD/rust-slog-2.7.0-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.H9WLTY + umask 022 + cd /builddir/build/BUILD/rust-slog-2.7.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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 -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --profile rpm Compiling slog v2.7.0 (/builddir/build/BUILD/rust-slog-2.7.0-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"' -C metadata=7d95c3bcba7f2086 -C extra-filename=-7d95c3bcba7f2086 --out-dir /builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0/target/rpm/build/slog-7d95c3bcba7f2086 -L dependency=/builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0/target/rpm/build/slog-7d95c3bcba7f2086/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"' -C metadata=ce63af3c01cbce84 -C extra-filename=-ce63af3c01cbce84 --out-dir /builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg integer128` 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: 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 80 warnings (run `cargo fix --lib -p slog` to apply 50 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 1.48s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2IxG6f + umask 022 + cd /builddir/build/BUILD/rust-slog-2.7.0-build + '[' /builddir/build/BUILD/rust-slog-2.7.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rust-slog-2.7.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/rust-slog-2.7.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rust-slog-2.7.0-build + mkdir /builddir/build/BUILD/rust-slog-2.7.0-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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/BUILD/rust-slog-2.7.0-build/BUILDROOT/usr/share/cargo/registry/slog-2.7.0 + /usr/bin/mkdir -p /builddir/build/BUILD/rust-slog-2.7.0-build/BUILDROOT/usr/share/cargo/registry/slog-2.7.0 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + grep -w -E -v 'Cargo.(lock|toml.orig)' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo package -l + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILD/rust-slog-2.7.0-build/BUILDROOT/usr/share/cargo/registry/slog-2.7.0 warning: no (git) VCS found for `/builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILD/rust-slog-2.7.0-build/BUILDROOT/usr/share/cargo/registry/slog-2.7.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILD/rust-slog-2.7.0-build/BUILDROOT/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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/rust-slog-2.7.0-build/BUILDROOT Processed 0 paths Reading /builddir/build/BUILD/rust-slog-2.7.0-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qnnqWL + umask 022 + cd /builddir/build/BUILD/rust-slog-2.7.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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 -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j8 -Z avoid-dev-deps --profile rpm --no-fail-fast 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: 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 80 warnings (run `cargo fix --lib -p slog` to apply 50 suggestions) Compiling slog v2.7.0 (/builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0) 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"' -C metadata=c363bad4c1cebe2b -C extra-filename=-c363bad4c1cebe2b --out-dir /builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0/target/rpm/deps --extern slog=/builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0/target/rpm/deps/libslog-ce63af3c01cbce84.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg integer128` 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"' -C metadata=ada6c85f67e6491a -C extra-filename=-ada6c85f67e6491a --out-dir /builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0/target/rpm/deps --extern slog=/builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0/target/rpm/deps/libslog-ce63af3c01cbce84.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --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"' -C metadata=8c8002a0181e7b30 -C extra-filename=-8c8002a0181e7b30 --out-dir /builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --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: 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 90 warnings (80 duplicates) (run `cargo fix --lib -p slog --tests` to apply 3 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 3.05s Running `/builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0/target/rpm/deps/slog-8c8002a0181e7b30` running 25 tests test filter_level_accepts_tests ... ok test filter_level_from_str ... ok test filter_level_sanity ... ok test level_from_str ... ok test tests::expressions ... ok test filter_level_to_string_and_from_str_are_compatible ... ok test tests::display_and_alternate_display ... ok test level_to_string_and_from_str_are_compatible ... ok test tests::integer_128_types ... ok test tests::expressions_fmt ... ok test tests::logger_by_ref ... ok test tests::can_hash_keys ... ok test tests::logger_to_erased ... ok test tests::makers ... ok test level_at_least ... ok test tests::no_imports::test_slog_o_macro_expansion ... ok test tests::no_imports::test_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_two_sources ... ok test tests::std_only::error_fmt_single_source ... ok test tests::std_only::logger_fmt_debug_sanity ... ok test tests::std_only::multichain ... ok test tests::std_only::ioerror_impls_value ... 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 --crate-name slog --test src/lib.rs --test-run-directory /builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0 -L dependency=/builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0/target/rpm/deps --extern slog=/builddir/build/BUILD/rust-slog-2.7.0-build/slog-2.7.0/target/rpm/deps/libslog-ce63af3c01cbce84.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="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 - Drain::map (line 1431) ... ok test src/lib.rs - Drain::is_enabled (line 1374) ... ok test src/lib.rs - Value (line 2818) ... ok test src/lib.rs - (line 261) ... ok test src/lib.rs - PushFnValue (line 3111) ... ok test src/lib.rs - KV (line 3222) ... ok test src/lib.rs - Logger::root (line 1136) ... ok test src/lib.rs - Logger::new (line 1206) ... ok test src/lib.rs - log (line 614) ... ok test src/lib.rs - log (line 684) ... ok test src/lib.rs - log (line 583) ... ok test src/lib.rs - log (line 599) ... ok test src/lib.rs - log (line 656) ... ok test src/lib.rs - log (line 635) ... ok test src/lib.rs - o (line 344) ... ok test src/lib.rs - log (line 736) ... ok test src/lib.rs - slog_log (line 815) ... ok test result: ok. 17 passed; 0 failed; 6 ignored; 0 measured; 0 filtered out; finished in 1.07s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-slog-devel-2.7.0-10.fc41.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-10.fc41 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-10.fc41.noarch Provides: crate(slog/default) = 2.7.0 rust-slog+default-devel = 2.7.0-10.fc41 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-10.fc41.noarch Provides: crate(slog/dynamic-keys) = 2.7.0 rust-slog+dynamic-keys-devel = 2.7.0-10.fc41 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-10.fc41.noarch Provides: crate(slog/erased-serde) = 2.7.0 rust-slog+erased-serde-devel = 2.7.0-10.fc41 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-10.fc41.noarch Provides: crate(slog/max_level_debug) = 2.7.0 rust-slog+max_level_debug-devel = 2.7.0-10.fc41 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-10.fc41.noarch Provides: crate(slog/max_level_error) = 2.7.0 rust-slog+max_level_error-devel = 2.7.0-10.fc41 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-10.fc41.noarch Provides: crate(slog/max_level_info) = 2.7.0 rust-slog+max_level_info-devel = 2.7.0-10.fc41 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-10.fc41.noarch Provides: crate(slog/max_level_off) = 2.7.0 rust-slog+max_level_off-devel = 2.7.0-10.fc41 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-10.fc41.noarch Provides: crate(slog/max_level_trace) = 2.7.0 rust-slog+max_level_trace-devel = 2.7.0-10.fc41 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-10.fc41.noarch Provides: crate(slog/max_level_warn) = 2.7.0 rust-slog+max_level_warn-devel = 2.7.0-10.fc41 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-10.fc41.noarch Provides: crate(slog/nested-values) = 2.7.0 rust-slog+nested-values-devel = 2.7.0-10.fc41 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-10.fc41.noarch Provides: crate(slog/nothreads) = 2.7.0 rust-slog+nothreads-devel = 2.7.0-10.fc41 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-10.fc41.noarch Provides: crate(slog/release_max_level_debug) = 2.7.0 rust-slog+release_max_level_debug-devel = 2.7.0-10.fc41 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-10.fc41.noarch Provides: crate(slog/release_max_level_error) = 2.7.0 rust-slog+release_max_level_error-devel = 2.7.0-10.fc41 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-10.fc41.noarch Provides: crate(slog/release_max_level_info) = 2.7.0 rust-slog+release_max_level_info-devel = 2.7.0-10.fc41 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-10.fc41.noarch Provides: crate(slog/release_max_level_off) = 2.7.0 rust-slog+release_max_level_off-devel = 2.7.0-10.fc41 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-10.fc41.noarch Provides: crate(slog/release_max_level_trace) = 2.7.0 rust-slog+release_max_level_trace-devel = 2.7.0-10.fc41 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-10.fc41.noarch Provides: crate(slog/release_max_level_warn) = 2.7.0 rust-slog+release_max_level_warn-devel = 2.7.0-10.fc41 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-10.fc41.noarch Provides: crate(slog/std) = 2.7.0 rust-slog+std-devel = 2.7.0-10.fc41 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/BUILD/rust-slog-2.7.0-build/BUILDROOT Wrote: /builddir/build/SRPMS/rust-slog-2.7.0-10.fc41.src.rpm Wrote: /builddir/build/RPMS/rust-slog+max_level_off-devel-2.7.0-10.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+max_level_trace-devel-2.7.0-10.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+max_level_error-devel-2.7.0-10.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+max_level_debug-devel-2.7.0-10.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+default-devel-2.7.0-10.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+dynamic-keys-devel-2.7.0-10.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+max_level_warn-devel-2.7.0-10.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+erased-serde-devel-2.7.0-10.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+max_level_info-devel-2.7.0-10.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+nested-values-devel-2.7.0-10.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+release_max_level_info-devel-2.7.0-10.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+release_max_level_off-devel-2.7.0-10.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+release_max_level_trace-devel-2.7.0-10.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+nothreads-devel-2.7.0-10.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+release_max_level_debug-devel-2.7.0-10.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+std-devel-2.7.0-10.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+release_max_level_error-devel-2.7.0-10.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog+release_max_level_warn-devel-2.7.0-10.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-slog-devel-2.7.0-10.fc41.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/slog-2.7.0/CHANGELOG.md File listed twice: /usr/share/cargo/registry/slog-2.7.0/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/slog-2.7.0/LICENSE-MIT File listed twice: /usr/share/cargo/registry/slog-2.7.0/LICENSE-MPL2 File listed twice: /usr/share/cargo/registry/slog-2.7.0/README.md Child return code was: 0