Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rust-boxfnonce.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-433445-18780/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rust-boxfnonce.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674172800 Wrote: /builddir/build/SRPMS/rust-boxfnonce-0.1.1-5.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-boxfnonce.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-433445-18780/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-boxfnonce.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.B51eiB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf boxfnonce-0.1.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/boxfnonce-0.1.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd boxfnonce-0.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -eu + /usr/bin/mkdir -p .cargo + 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.9pGOYk + umask 022 + cd /builddir/build/BUILD + cd boxfnonce-0.1.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-boxfnonce-0.1.1-5.fc38.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 --target riscv64 --nodeps /builddir/build/SPECS/rust-boxfnonce.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-433445-18780/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target riscv64 --nodeps /builddir/build/SPECS/rust-boxfnonce.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674172800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.s9LvJu + umask 022 + cd /builddir/build/BUILD + cd boxfnonce-0.1.1 + /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.io8aL8 + umask 022 + cd /builddir/build/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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 boxfnonce-0.1.1 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --release Compiling boxfnonce v0.1.1 (/builddir/build/BUILD/boxfnonce-0.1.1) Running `/usr/bin/rustc --crate-name boxfnonce 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 metadata=945d05beb36615f7 -C extra-filename=-945d05beb36615f7 --out-dir /builddir/build/BUILD/boxfnonce-0.1.1/target/release/deps -L dependency=/builddir/build/BUILD/boxfnonce-0.1.1/target/release/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: trait objects without an explicit `dyn` are deprecated --> src/no_send.rs:50:55 | 50 | pub struct BoxFnOnce<'a, Arguments, Result = ()> (Box + 'a>); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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: use `dyn` | 50 | pub struct BoxFnOnce<'a, Arguments, Result = ()> (Box + 'a>); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/send.rs:41:70 | 41 | pub struct SendBoxFnOnce<'a, Arguments, Result = ()> (pub(crate) Box + Send + 'a>); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 41 | pub struct SendBoxFnOnce<'a, Arguments, Result = ()> (pub(crate) Box + Send + 'a>); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:72:1 | 72 | build_n_args!(BoxFnOnce[]: ); | ---------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:73:1 | 73 | build_n_args!(BoxFnOnce[]: a1: A1); | ---------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:74:1 | 74 | build_n_args!(BoxFnOnce[]: a1: A1, a2: A2); | ------------------------------------------ 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:75:1 | 75 | build_n_args!(BoxFnOnce[]: a1: A1, a2: A2, a3: A3); | -------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:76:1 | 76 | build_n_args!(BoxFnOnce[]: a1: A1, a2: A2, a3: A3, a4: A4); | ---------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:77:1 | 77 | build_n_args!(BoxFnOnce[]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5); | ------------------------------------------------------------------ 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:78:1 | 78 | build_n_args!(BoxFnOnce[]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6); | -------------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:79:1 | 79 | build_n_args!(BoxFnOnce[]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7); | ---------------------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:80:1 | 80 | build_n_args!(BoxFnOnce[]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7, a8: A8); | ------------------------------------------------------------------------------------------ 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:81:1 | 81 | build_n_args!(BoxFnOnce[]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7, a8: A8, a9: A9); | -------------------------------------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:82:1 | 82 | build_n_args!(BoxFnOnce[]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7, a8: A8, a9: A9, a10: A10); | ------------------------------------------------------------------------------------------------------------ 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:63:1 | 63 | build_n_args!(SendBoxFnOnce[+Send]: ); | ------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:64:1 | 64 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1); | ------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:65:1 | 65 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1, a2: A2); | --------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:66:1 | 66 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1, a2: A2, a3: A3); | ----------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:67:1 | 67 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1, a2: A2, a3: A3, a4: A4); | ------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:68:1 | 68 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5); | --------------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:69:1 | 69 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6); | ----------------------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:70:1 | 70 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7); | ------------------------------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:71:1 | 71 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7, a8: A8); | --------------------------------------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:72:1 | 72 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7, a8: A8, a9: A9); | ----------------------------------------------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:73:1 | 73 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7, a8: A8, a9: A9, a10: A10); | --------------------------------------------------------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: `boxfnonce` (lib) generated 24 warnings (run `cargo fix --lib -p boxfnonce` to apply 24 suggestions) Finished release [optimized] target(s) in 9.16s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.X2mNED + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-boxfnonce-0.1.1-5.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-boxfnonce-0.1.1-5.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-boxfnonce-0.1.1-5.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-boxfnonce-0.1.1-5.fc38.riscv64 + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 boxfnonce-0.1.1 + set -eu ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=boxfnonce ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.1 + REG_DIR=/builddir/build/BUILDROOT/rust-boxfnonce-0.1.1-5.fc38.riscv64/usr/share/cargo/registry/boxfnonce-0.1.1 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-boxfnonce-0.1.1-5.fc38.riscv64/usr/share/cargo/registry/boxfnonce-0.1.1 + gawk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-boxfnonce-0.1.1-5.fc38.riscv64/usr/share/cargo/registry/boxfnonce-0.1.1 warning: No (git) VCS found for `/builddir/build/BUILD/boxfnonce-0.1.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-boxfnonce-0.1.1-5.fc38.riscv64/usr/share/cargo/registry/boxfnonce-0.1.1/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-boxfnonce-0.1.1-5.fc38.riscv64/usr/share/cargo/registry/boxfnonce-0.1.1/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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.leb72Y + umask 022 + cd /builddir/build/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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 boxfnonce-0.1.1 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j8 -Z avoid-dev-deps --release --no-fail-fast warning: trait objects without an explicit `dyn` are deprecated --> src/no_send.rs:50:55 | 50 | pub struct BoxFnOnce<'a, Arguments, Result = ()> (Box + 'a>); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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: use `dyn` | 50 | pub struct BoxFnOnce<'a, Arguments, Result = ()> (Box + 'a>); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/send.rs:41:70 | 41 | pub struct SendBoxFnOnce<'a, Arguments, Result = ()> (pub(crate) Box + Send + 'a>); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 41 | pub struct SendBoxFnOnce<'a, Arguments, Result = ()> (pub(crate) Box + Send + 'a>); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:72:1 | 72 | build_n_args!(BoxFnOnce[]: ); | ---------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:73:1 | 73 | build_n_args!(BoxFnOnce[]: a1: A1); | ---------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:74:1 | 74 | build_n_args!(BoxFnOnce[]: a1: A1, a2: A2); | ------------------------------------------ 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:75:1 | 75 | build_n_args!(BoxFnOnce[]: a1: A1, a2: A2, a3: A3); | -------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:76:1 | 76 | build_n_args!(BoxFnOnce[]: a1: A1, a2: A2, a3: A3, a4: A4); | ---------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:77:1 | 77 | build_n_args!(BoxFnOnce[]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5); | ------------------------------------------------------------------ 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:78:1 | 78 | build_n_args!(BoxFnOnce[]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6); | -------------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:79:1 | 79 | build_n_args!(BoxFnOnce[]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7); | ---------------------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:80:1 | 80 | build_n_args!(BoxFnOnce[]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7, a8: A8); | ------------------------------------------------------------------------------------------ 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:81:1 | 81 | build_n_args!(BoxFnOnce[]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7, a8: A8, a9: A9); | -------------------------------------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/no_send.rs:82:1 | 82 | build_n_args!(BoxFnOnce[]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7, a8: A8, a9: A9, a10: A10); | ------------------------------------------------------------------------------------------------------------ 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:63:1 | 63 | build_n_args!(SendBoxFnOnce[+Send]: ); | ------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:64:1 | 64 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1); | ------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:65:1 | 65 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1, a2: A2); | --------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:66:1 | 66 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1, a2: A2, a3: A3); | ----------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:67:1 | 67 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1, a2: A2, a3: A3, a4: A4); | ------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:68:1 | 68 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5); | --------------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:69:1 | 69 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6); | ----------------------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:70:1 | 70 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7); | ------------------------------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:71:1 | 71 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7, a8: A8); | --------------------------------------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:72:1 | 72 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7, a8: A8, a9: A9); | ----------------------------------------------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/macros.rs:24:33 | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/send.rs:73:1 | 73 | build_n_args!(SendBoxFnOnce[+Send]: a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7, a8: A8, a9: A9, a10: A10); | --------------------------------------------------------------------------------------------------------------------- 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 `build_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `dyn` | 24 | $name(Box::new(func) as Box $($add)* + 'a>) | +++ warning: `boxfnonce` (lib) generated 24 warnings (run `cargo fix --lib -p boxfnonce` to apply 24 suggestions) Compiling boxfnonce v0.1.1 (/builddir/build/BUILD/boxfnonce-0.1.1) Running `/usr/bin/rustc --crate-name boxfnonce 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 --test -C metadata=b44590b7f1e3834f -C extra-filename=-b44590b7f1e3834f --out-dir /builddir/build/BUILD/boxfnonce-0.1.1/target/release/deps -L dependency=/builddir/build/BUILD/boxfnonce-0.1.1/target/release/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: `boxfnonce` (lib test) generated 24 warnings (24 duplicates) Finished release [optimized] target(s) in 32.69s Running `/builddir/build/BUILD/boxfnonce-0.1.1/target/release/deps/boxfnonce-b44590b7f1e3834f` running 15 tests test no_send::test::test_arg0 ... ok test no_send::test::test_arg1 ... ok test no_send::test::test_arg1_fixed_argument_type ... ok test no_send::test::test_arg2 ... ok test no_send::test::test_arg3 ... ok test no_send::test::test_arg4_void ... ok test send::test::test_arg0 ... ok test send::test::test_arg1 ... ok test send::test::test_arg1_fixed_argument_type ... ok test no_send::test::test_arg4_diverging - should panic ... ok test send::test::test_arg2 ... ok test send::test::test_arg4_void_to_nosend ... ok test send::test::test_arg3 ... ok test send::test::test_arg4_void ... ok test send::test::test_arg4_diverging ... ok test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s Doc-tests boxfnonce Running `/usr/bin/rustdoc --crate-type lib --crate-name boxfnonce --test /builddir/build/BUILD/boxfnonce-0.1.1/src/lib.rs -L dependency=/builddir/build/BUILD/boxfnonce-0.1.1/target/release/deps -L dependency=/builddir/build/BUILD/boxfnonce-0.1.1/target/release/deps --extern boxfnonce=/builddir/build/BUILD/boxfnonce-0.1.1/target/release/deps/libboxfnonce-945d05beb36615f7.rlib -C embed-bitcode=no --error-format human` running 3 tests test src/no_send.rs - no_send::BoxFnOnce (line 29) ... ok test src/no_send.rs - no_send::BoxFnOnce (line 41) ... ok test src/send.rs - send::SendBoxFnOnce (line 27) ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.90s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-boxfnonce-devel-0.1.1-5.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zg7kZc + umask 022 + cd /builddir/build/BUILD + cd boxfnonce-0.1.1 + DOCDIR=/builddir/build/BUILDROOT/rust-boxfnonce-0.1.1-5.fc38.riscv64/usr/share/doc/rust-boxfnonce-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-boxfnonce-0.1.1-5.fc38.riscv64/usr/share/doc/rust-boxfnonce-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-boxfnonce-0.1.1-5.fc38.riscv64/usr/share/doc/rust-boxfnonce-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.eF8VCE + umask 022 + cd /builddir/build/BUILD + cd boxfnonce-0.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/rust-boxfnonce-0.1.1-5.fc38.riscv64/usr/share/licenses/rust-boxfnonce-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-boxfnonce-0.1.1-5.fc38.riscv64/usr/share/licenses/rust-boxfnonce-devel + cp -pr LICENSE /builddir/build/BUILDROOT/rust-boxfnonce-0.1.1-5.fc38.riscv64/usr/share/licenses/rust-boxfnonce-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(boxfnonce) = 0.1.1 rust-boxfnonce-devel = 0.1.1-5.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-boxfnonce+default-devel-0.1.1-5.fc38.noarch Provides: crate(boxfnonce/default) = 0.1.1 rust-boxfnonce+default-devel = 0.1.1-5.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(boxfnonce) = 0.1.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-boxfnonce-0.1.1-5.fc38.riscv64 Wrote: /builddir/build/SRPMS/rust-boxfnonce-0.1.1-5.fc38.src.rpm Wrote: /builddir/build/RPMS/rust-boxfnonce+default-devel-0.1.1-5.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-boxfnonce-devel-0.1.1-5.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.NTCtWO + umask 022 + cd /builddir/build/BUILD + cd boxfnonce-0.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-boxfnonce-0.1.1-5.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.kkneSg + umask 022 + cd /builddir/build/BUILD + rm -rf boxfnonce-0.1.1 boxfnonce-0.1.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0