Mock Version: 5.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-migrations_internals.spec'], chrootPath='/var/lib/mock/alma+epel-9-x86_64/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=0uid=1001gid=1001user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-migrations_internals.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1705104000 Wrote: /builddir/build/SRPMS/rust-migrations_internals-1.4.0-1.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/rust-migrations_internals.spec"], chrootPath='/var/lib/mock/alma+epel-9-x86_64/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=0uid=1001gid=1001user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/rust-migrations_internals.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1705104000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oGgtJm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf migrations_internals-1.4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/migrations_internals-1.4.0.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd migrations_internals-1.4.0 + /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.h43Wc5 + umask 022 + cd /builddir/build/BUILD + cd migrations_internals-1.4.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-migrations_internals-1.4.0-1.el9.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 -br --noprep --noclean --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/rust-migrations_internals.spec"], chrootPath='/var/lib/mock/alma+epel-9-x86_64/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=0uid=1001gid=1001user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -br --noprep --noclean --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/rust-migrations_internals.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1705104000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.mnuunq + umask 022 + cd /builddir/build/BUILD + cd migrations_internals-1.4.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-migrations_internals-1.4.0-1.el9.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 x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/rust-migrations_internals.spec"], chrootPath='/var/lib/mock/alma+epel-9-x86_64/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=0uid=1001gid=1001user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/rust-migrations_internals.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1705104000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.eu7i0N + umask 022 + cd /builddir/build/BUILD + cd migrations_internals-1.4.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.i6V9sV + umask 022 + cd /builddir/build/BUILD + cd migrations_internals-1.4.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo build -j5 -Z avoid-dev-deps --release Compiling proc-macro2 v1.0.75 Compiling unicode-ident v1.0.8 Compiling syn v1.0.109 Compiling byteorder v1.5.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.75/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="proc-macro"' -C metadata=88a0c80d583af46e -C extra-filename=-88a0c80d583af46e --out-dir /builddir/build/BUILD/migrations_internals-1.4.0/target/release/build/proc-macro2-88a0c80d583af46e -L dependency=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=ac6fcbb08dc7f12c -C extra-filename=-ac6fcbb08dc7f12c --out-dir /builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps -L dependency=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/syn-1.0.109/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="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="fold"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=a55d7259601719a5 -C extra-filename=-a55d7259601719a5 --out-dir /builddir/build/BUILD/migrations_internals-1.4.0/target/release/build/syn-a55d7259601719a5 -L dependency=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name byteorder --edition=2021 /usr/share/cargo/registry/byteorder-1.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=8bf78fc69cf5b0a1 -C extra-filename=-8bf78fc69cf5b0a1 --out-dir /builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps -L dependency=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/builddir/build/BUILD/migrations_internals-1.4.0/target/release/build/proc-macro2-88a0c80d583af46e/build-script-build` Running `/builddir/build/BUILD/migrations_internals-1.4.0/target/release/build/syn-a55d7259601719a5/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.75/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=7490c5c9f91d6f49 -C extra-filename=-7490c5c9f91d6f49 --out-dir /builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps -L dependency=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps --extern unicode_ident=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps/libunicode_ident-ac6fcbb08dc7f12c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn --cfg wrap_proc_macro --cfg proc_macro_span` Compiling quote v1.0.35 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.35/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=b9f56aac30563716 -C extra-filename=-b9f56aac30563716 --out-dir /builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps -L dependency=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps --extern proc_macro2=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps/libproc_macro2-7490c5c9f91d6f49.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name syn --edition=2018 /usr/share/cargo/registry/syn-1.0.109/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="fold"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=d913fd16a501dfdd -C extra-filename=-d913fd16a501dfdd --out-dir /builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps -L dependency=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps --extern proc_macro2=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps/libproc_macro2-7490c5c9f91d6f49.rmeta --extern quote=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps/libquote-b9f56aac30563716.rmeta --extern unicode_ident=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps/libunicode_ident-ac6fcbb08dc7f12c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn --cfg syn_disable_nightly_tests` Compiling diesel_derives v1.4.1 Running `/usr/bin/rustc --crate-name diesel_derives /usr/share/cargo/registry/diesel_derives-1.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=a81769c9c41d4897 -C extra-filename=-a81769c9c41d4897 --out-dir /builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps -L dependency=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps --extern proc_macro2=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps/libproc_macro2-7490c5c9f91d6f49.rlib --extern quote=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps/libquote-b9f56aac30563716.rlib --extern syn=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps/libsyn-d913fd16a501dfdd.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling diesel v1.4.8 Running `/usr/bin/rustc --crate-name diesel /usr/share/cargo/registry/diesel-1.4.8/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=fd2a82044b22e518 -C extra-filename=-fd2a82044b22e518 --out-dir /builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps -L dependency=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps --extern byteorder=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps/libbyteorder-8bf78fc69cf5b0a1.rmeta --extern diesel_derives=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps/libdiesel_derives-a81769c9c41d4897.so --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling migrations_internals v1.4.0 (/builddir/build/BUILD/migrations_internals-1.4.0) Running `/usr/bin/rustc --crate-name migrations_internals 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 --cfg 'feature="default"' -C metadata=24bc353ba48bb9e1 -C extra-filename=-24bc353ba48bb9e1 --out-dir /builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps -L dependency=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps --extern diesel=/builddir/build/BUILD/migrations_internals-1.4.0/target/release/deps/libdiesel-fd2a82044b22e518.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: the item `migration_from` is imported redundantly --> src/lib.rs:291:9 | 101 | pub use self::migration::*; | ------------------ the item `migration_from` is already imported here ... 291 | use self::migration::migration_from; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> src/lib.rs:2:9 | 2 | #![deny(warnings, missing_debug_implementations, missing_copy_implementations)] | ^^^^^^^^ = note: `#[warn(unused_imports)]` implied by `#[warn(warnings)]` warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:141:18 | 141 | output: &mut Write, | ^^^^^ | = 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)]` implied by `#[warn(warnings)]` help: use `dyn` | 141 | output: &mut dyn Write, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:155:22 | 155 | ) -> Result, bool)>, RunMigrationsError> | ^^^^^^^^^ | = 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` | 155 | ) -> Result, bool)>, RunMigrationsError> | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:225:18 | 225 | output: &mut Write, | ^^^^^ | = 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` | 225 | output: &mut dyn Write, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:237:18 | 237 | output: &mut Write, | ^^^^^ | = 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` | 237 | output: &mut dyn Write, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:250:17 | 250 | ) -> Result, MigrationError> { | ^^^^^^^^^ | = 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` | 250 | ) -> Result, MigrationError> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:290:59 | 290 | fn migrations_in_directory(path: &Path) -> Result>, MigrationError> { | ^^^^^^^^^ | = 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` | 290 | fn migrations_in_directory(path: &Path) -> Result>, MigrationError> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:304:18 | 304 | output: &mut Write, | ^^^^^ | = 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` | 304 | output: &mut dyn Write, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:327:17 | 327 | migration: &Migration, | ^^^^^^^^^ | = 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` | 327 | migration: &dyn Migration, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:328:18 | 328 | output: &mut Write, | ^^^^^ | = 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` | 328 | output: &mut dyn Write, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:352:17 | 352 | migration: &Migration, | ^^^^^^^^^ | = 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` | 352 | migration: &dyn Migration, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:353:18 | 353 | output: &mut Write, | ^^^^^ | = 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` | 353 | output: &mut dyn Write, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/migration.rs:10:24 | 10 | pub migration: &'a Migration, | ^^^^^^^^^ | = 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` | 10 | pub migration: &'a dyn Migration, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/migration.rs:36:24 | 36 | pub migration: &'a Migration, | ^^^^^^^^^ | = 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` | 36 | pub migration: &'a dyn Migration, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/migration.rs:13:25 | 13 | pub fn name(migration: &Migration) -> MigrationName { | ^^^^^^^^^ | = 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` | 13 | pub fn name(migration: &dyn Migration) -> MigrationName { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/migration.rs:40:37 | 40 | pub fn file_name<'a>(migration: &'a Migration, sql_file: &'a str) -> MigrationFileName<'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` | 40 | pub fn file_name<'a>(migration: &'a dyn Migration, sql_file: &'a str) -> MigrationFileName<'a> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/migration.rs:58:52 | 58 | pub fn migration_from(path: PathBuf) -> Result, MigrationError> { | ^^^^^^^^^ | = 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` | 58 | pub fn migration_from(path: PathBuf) -> Result, MigrationError> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/migration.rs:134:29 | 134 | fn run_sql_from_file(conn: &SimpleConnection, path: &Path) -> Result<(), RunMigrationsError> { | ^^^^^^^^^^^^^^^^ | = 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` | 134 | fn run_sql_from_file(conn: &dyn SimpleConnection, path: &Path) -> Result<(), RunMigrationsError> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/migration.rs:125:26 | 125 | fn run(&self, conn: &SimpleConnection) -> Result<(), RunMigrationsError> { | ^^^^^^^^^^^^^^^^ | = 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` | 125 | fn run(&self, conn: &dyn SimpleConnection) -> Result<(), RunMigrationsError> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/migration.rs:129:29 | 129 | fn revert(&self, conn: &SimpleConnection) -> Result<(), RunMigrationsError> { | ^^^^^^^^^^^^^^^^ | = 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` | 129 | fn revert(&self, conn: &dyn SimpleConnection) -> Result<(), RunMigrationsError> { | +++ warning: `migrations_internals` (lib) generated 20 warnings (run `cargo fix --lib -p migrations_internals` to apply 19 suggestions) Finished release [optimized] target(s) in 1m 06s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oFBWEE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-migrations_internals-1.4.0-1.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-migrations_internals-1.4.0-1.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-migrations_internals-1.4.0-1.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-migrations_internals-1.4.0-1.el9.x86_64 + cd migrations_internals-1.4.0 + set -eu ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=migrations_internals ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=1.4.0 + REG_DIR=/builddir/build/BUILDROOT/rust-migrations_internals-1.4.0-1.el9.x86_64/usr/share/cargo/registry/migrations_internals-1.4.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-migrations_internals-1.4.0-1.el9.x86_64/usr/share/cargo/registry/migrations_internals-1.4.0 + gawk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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-migrations_internals-1.4.0-1.el9.x86_64/usr/share/cargo/registry/migrations_internals-1.4.0 warning: No (git) VCS found for `/builddir/build/BUILD/migrations_internals-1.4.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-migrations_internals-1.4.0-1.el9.x86_64/usr/share/cargo/registry/migrations_internals-1.4.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-migrations_internals-1.4.0-1.el9.x86_64/usr/share/cargo/registry/migrations_internals-1.4.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/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: rust-migrations_internals-devel-1.4.0-1.el9.noarch Provides: crate(migrations_internals) = 1.4.0 rust-migrations_internals-devel = 1.4.0-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(diesel) >= 1.4.0 with crate(diesel) < 1.5.0~) cargo Processing files: rust-migrations_internals+default-devel-1.4.0-1.el9.noarch Provides: crate(migrations_internals/default) = 1.4.0 rust-migrations_internals+default-devel = 1.4.0-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(migrations_internals) = 1.4.0 Processing files: rust-migrations_internals+barrel-devel-1.4.0-1.el9.noarch Provides: crate(migrations_internals/barrel) = 1.4.0 rust-migrations_internals+barrel-devel = 1.4.0-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(barrel/default) <= 0.2.0 crate(barrel/diesel-filled) <= 0.2.0 crate(migrations_internals) = 1.4.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-migrations_internals-1.4.0-1.el9.x86_64 Wrote: /builddir/build/SRPMS/rust-migrations_internals-1.4.0-1.el9.src.rpm Wrote: /builddir/build/RPMS/rust-migrations_internals+barrel-devel-1.4.0-1.el9.noarch.rpm Wrote: /builddir/build/RPMS/rust-migrations_internals+default-devel-1.4.0-1.el9.noarch.rpm Wrote: /builddir/build/RPMS/rust-migrations_internals-devel-1.4.0-1.el9.noarch.rpm Child return code was: 0