D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-serde_yaml-0.9.34-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QyGHs1 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.z9ysrh + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build + rm -rf serde_yaml-0.9.34+deprecated + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/serde_yaml-0.9.34+deprecated.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd serde_yaml-0.9.34+deprecated + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/serde_yaml-fix-metadata-auto.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 /home/pterjan/rpmbuild/tmp/rpm-tmp.jVOlqT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build + cd serde_yaml-0.9.34+deprecated + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.slWvW9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd serde_yaml-0.9.34+deprecated + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j16 -Z avoid-dev-deps --profile rpm Compiling serde_core v1.0.228 Compiling serde v1.0.228 Compiling equivalent v1.0.2 Compiling hashbrown v0.16.0 Compiling itoa v1.0.15 Compiling unsafe-libyaml v0.2.11 Compiling ryu v1.0.20 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/serde_core-1.0.228/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="result"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "rc", "result", "std", "unstable"))' -C metadata=308b9d7726f3066f -C extra-filename=-2d14eb444e845067 --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/build/serde_core-2d14eb444e845067 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/serde-1.0.228/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=6d149103527dcc26 -C extra-filename=-dd7c4e8a46954bcf --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/build/serde-dd7c4e8a46954bcf -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name equivalent --edition=2015 /usr/share/cargo/registry/equivalent-1.0.2/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=4d0cc8560196c785 -C extra-filename=-05ba012e5b0a4a49 --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name hashbrown --edition=2021 /usr/share/cargo/registry/hashbrown-0.16.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 -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "allocator-api2", "core", "default", "default-hasher", "equivalent", "inline-more", "nightly", "raw-entry", "rayon", "rustc-dep-of-std", "rustc-internal-api", "serde"))' -C metadata=6c3d00d5b4dded62 -C extra-filename=-7ebf1fb19345124a --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name itoa --edition=2018 /usr/share/cargo/registry/itoa-1.0.15/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("no-panic"))' -C metadata=c55d9d2978295758 -C extra-filename=-71540b4ba28b2000 --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name unsafe_libyaml --edition=2021 /usr/share/cargo/registry/unsafe-libyaml-0.2.11/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=4f3a48d52c9a625c -C extra-filename=-3a59b35f631367f9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name ryu --edition=2018 /usr/share/cargo/registry/ryu-1.0.20/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("no-panic", "small"))' -C metadata=0235d907225ffb70 -C extra-filename=-d2d05061a9441134 --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling indexmap v2.11.4 Running `/usr/bin/rustc --crate-name indexmap --edition=2021 /usr/share/cargo/registry/indexmap-2.11.4/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 '--allow=clippy::style' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "borsh", "default", "quickcheck", "rayon", "serde", "std", "sval", "test_debug"))' -C metadata=77d08cff8e3e6aeb -C extra-filename=-c835c750ab98577a --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --extern equivalent=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libequivalent-05ba012e5b0a4a49.rmeta --extern hashbrown=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libhashbrown-7ebf1fb19345124a.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/build/serde-dd7c4e8a46954bcf/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/build/serde_core-2d14eb444e845067/build-script-build` Running `/usr/bin/rustc --crate-name serde_core --edition=2021 /usr/share/cargo/registry/serde_core-1.0.228/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="result"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "rc", "result", "std", "unstable"))' -C metadata=731d2b18cc4eb5f8 -C extra-filename=-f6a423b8b918e323 --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --check-cfg 'cfg(if_docsrs_then_no_serde_core)' --check-cfg 'cfg(no_core_cstr)' --check-cfg 'cfg(no_core_error)' --check-cfg 'cfg(no_core_net)' --check-cfg 'cfg(no_core_num_saturating)' --check-cfg 'cfg(no_diagnostic_namespace)' --check-cfg 'cfg(no_serde_derive)' --check-cfg 'cfg(no_std_atomic)' --check-cfg 'cfg(no_std_atomic64)' --check-cfg 'cfg(no_target_has_atomic)'` Running `/usr/bin/rustc --crate-name serde --edition=2021 /usr/share/cargo/registry/serde-1.0.228/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=7050738146f2930c -C extra-filename=-be3fcda3a005f5cf --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --extern serde_core=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libserde_core-f6a423b8b918e323.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg if_docsrs_then_no_serde_core --check-cfg 'cfg(feature, values("result"))' --check-cfg 'cfg(if_docsrs_then_no_serde_core)' --check-cfg 'cfg(no_core_cstr)' --check-cfg 'cfg(no_core_error)' --check-cfg 'cfg(no_core_net)' --check-cfg 'cfg(no_core_num_saturating)' --check-cfg 'cfg(no_diagnostic_namespace)' --check-cfg 'cfg(no_serde_derive)' --check-cfg 'cfg(no_std_atomic)' --check-cfg 'cfg(no_std_atomic64)' --check-cfg 'cfg(no_target_has_atomic)'` Compiling serde_yaml v0.9.34 (/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated) Running `/usr/bin/rustc --crate-name serde_yaml --edition=2021 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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=f707199ccc468770 -C extra-filename=-ecf4e07f28d5f0c9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --extern indexmap=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libindexmap-c835c750ab98577a.rmeta --extern itoa=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libitoa-71540b4ba28b2000.rmeta --extern ryu=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libryu-d2d05061a9441134.rmeta --extern serde=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libserde-be3fcda3a005f5cf.rmeta --extern unsafe_libyaml=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libunsafe_libyaml-3a59b35f631367f9.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/libyaml/error.rs:21:28 | 21 | kind: unsafe { (*parser).error }, | ^^------^^^^^^^ | | | this raw pointer has type `*const yaml_parser_t` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations = note: `#[warn(dangerous_implicit_autorefs)]` on by default help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 21 | kind: unsafe { (&(*parser)).error }, | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/libyaml/error.rs:22:50 | 22 | problem: match NonNull::new(unsafe { (*parser).problem as *mut _ }) { | ^^------^^^^^^^^^ | | | this raw pointer has type `*const yaml_parser_t` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 22 | problem: match NonNull::new(unsafe { (&(*parser)).problem as *mut _ }) { | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/libyaml/error.rs:26:38 | 26 | problem_offset: unsafe { (*parser).problem_offset }, | ^^------^^^^^^^^^^^^^^^^ | | | this raw pointer has type `*const yaml_parser_t` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 26 | problem_offset: unsafe { (&(*parser)).problem_offset }, | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/libyaml/error.rs:28:31 | 28 | sys: unsafe { (*parser).problem_mark }, | ^^------^^^^^^^^^^^^^^ | | | this raw pointer has type `*const yaml_parser_t` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 28 | sys: unsafe { (&(*parser)).problem_mark }, | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/libyaml/error.rs:30:50 | 30 | context: match NonNull::new(unsafe { (*parser).context as *mut _ }) { | ^^------^^^^^^^^^ | | | this raw pointer has type `*const yaml_parser_t` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 30 | context: match NonNull::new(unsafe { (&(*parser)).context as *mut _ }) { | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/libyaml/error.rs:35:31 | 35 | sys: unsafe { (*parser).context_mark }, | ^^------^^^^^^^^^^^^^^ | | | this raw pointer has type `*const yaml_parser_t` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 35 | sys: unsafe { (&(*parser)).context_mark }, | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/libyaml/error.rs:42:28 | 42 | kind: unsafe { (*emitter).error }, | ^^-------^^^^^^^ | | | this raw pointer has type `*const yaml_emitter_t` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 42 | kind: unsafe { (&(*emitter)).error }, | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/libyaml/error.rs:43:50 | 43 | problem: match NonNull::new(unsafe { (*emitter).problem as *mut _ }) { | ^^-------^^^^^^^^^ | | | this raw pointer has type `*const yaml_emitter_t` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 43 | problem: match NonNull::new(unsafe { (&(*emitter)).problem as *mut _ }) { | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/libyaml/parser.rs:87:16 | 87 | if (*parser).error != sys::YAML_NO_ERROR { | ^^------^^^^^^^ | | | this raw pointer has type `*mut yaml_parser_t` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 87 | if (&(*parser)).error != sys::YAML_NO_ERROR { | ++ + warning: hiding a lifetime that's elided elsewhere is confusing --> src/mapping.rs:81:18 | 81 | pub fn entry(&mut self, k: Value) -> Entry { | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 81 | pub fn entry(&mut self, k: Value) -> Entry<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/mapping.rs:188:17 | 188 | pub fn iter(&self) -> Iter { | ^^^^^ ^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 188 | pub fn iter(&self) -> Iter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/mapping.rs:197:21 | 197 | pub fn iter_mut(&mut self) -> IterMut { | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 197 | pub fn iter_mut(&mut self) -> IterMut<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/mapping.rs:204:17 | 204 | pub fn keys(&self) -> Keys { | ^^^^^ ^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 204 | pub fn keys(&self) -> Keys<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/mapping.rs:218:19 | 218 | pub fn values(&self) -> Values { | ^^^^^ ^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 218 | pub fn values(&self) -> Values<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/mapping.rs:225:23 | 225 | pub fn values_mut(&mut self) -> ValuesMut { | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 225 | pub fn values_mut(&mut self) -> ValuesMut<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/number.rs:555:34 | 555 | pub(crate) fn unexpected(number: &Number) -> Unexpected { | ^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 555 | pub(crate) fn unexpected(number: &Number) -> Unexpected<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/value/de.rs:1231:30 | 1231 | pub(crate) fn unexpected(&self) -> Unexpected { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1231 | pub(crate) fn unexpected(&self) -> Unexpected<'_> { | ++++ warning: `serde_yaml` (lib) generated 17 warnings (run `cargo fix --lib -p serde_yaml` to apply 8 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 9.07s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ejMd29 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd serde_yaml-0.9.34+deprecated + '[' 1 -eq 1 ']' + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=serde_yaml ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.9.34 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/BUILDROOT/usr/share/cargo/registry/serde_yaml-0.9.34 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/BUILDROOT/usr/share/cargo/registry/serde_yaml-0.9.34 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/BUILDROOT/usr/share/cargo/registry/serde_yaml-0.9.34 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/BUILDROOT/usr/share/cargo/registry/serde_yaml-0.9.34/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/BUILDROOT/usr/share/cargo/registry/serde_yaml-0.9.34/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RD1l76 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd serde_yaml-0.9.34+deprecated + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast Compiling proc-macro2 v1.0.105 Compiling quote v1.0.41 Compiling unicode-ident v1.0.22 Fresh equivalent v1.0.2 Fresh hashbrown v0.16.0 Compiling anyhow v1.0.100 Fresh unsafe-libyaml v0.2.11 Fresh itoa v1.0.15 Fresh ryu v1.0.20 Compiling indoc v2.0.6 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.105/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=763a3debca300727 -C extra-filename=-aae0e2b8968b1687 --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/build/proc-macro2-aae0e2b8968b1687 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/quote-1.0.41/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=39f375f908efb1bb -C extra-filename=-69bac2c5df078512 --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/build/quote-69bac2c5df078512 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.22/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=e10476e151b089a0 -C extra-filename=-79a01b0086603322 --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/anyhow-1.0.100/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "default", "std"))' -C metadata=5fdc3c40d1e16e00 -C extra-filename=-63058a729dc0651d --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/build/anyhow-63058a729dc0651d -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Fresh indexmap v2.11.4 Fresh serde_core v1.0.228 Fresh serde v1.0.228 warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/libyaml/error.rs:21:28 | 21 | kind: unsafe { (*parser).error }, | ^^------^^^^^^^ | | | this raw pointer has type `*const yaml_parser_t` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations = note: `#[warn(dangerous_implicit_autorefs)]` on by default help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 21 | kind: unsafe { (&(*parser)).error }, | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/libyaml/error.rs:22:50 | 22 | problem: match NonNull::new(unsafe { (*parser).problem as *mut _ }) { | ^^------^^^^^^^^^ | | | this raw pointer has type `*const yaml_parser_t` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 22 | problem: match NonNull::new(unsafe { (&(*parser)).problem as *mut _ }) { | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/libyaml/error.rs:26:38 | 26 | problem_offset: unsafe { (*parser).problem_offset }, | ^^------^^^^^^^^^^^^^^^^ | | | this raw pointer has type `*const yaml_parser_t` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 26 | problem_offset: unsafe { (&(*parser)).problem_offset }, | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/libyaml/error.rs:28:31 | 28 | sys: unsafe { (*parser).problem_mark }, | ^^------^^^^^^^^^^^^^^ | | | this raw pointer has type `*const yaml_parser_t` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 28 | sys: unsafe { (&(*parser)).problem_mark }, | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/libyaml/error.rs:30:50 | 30 | context: match NonNull::new(unsafe { (*parser).context as *mut _ }) { | ^^------^^^^^^^^^ | | | this raw pointer has type `*const yaml_parser_t` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 30 | context: match NonNull::new(unsafe { (&(*parser)).context as *mut _ }) { | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/libyaml/error.rs:35:31 | 35 | sys: unsafe { (*parser).context_mark }, | ^^------^^^^^^^^^^^^^^ | | | this raw pointer has type `*const yaml_parser_t` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 35 | sys: unsafe { (&(*parser)).context_mark }, | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/libyaml/error.rs:42:28 | 42 | kind: unsafe { (*emitter).error }, | ^^-------^^^^^^^ | | | this raw pointer has type `*const yaml_emitter_t` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 42 | kind: unsafe { (&(*emitter)).error }, | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/libyaml/error.rs:43:50 | 43 | problem: match NonNull::new(unsafe { (*emitter).problem as *mut _ }) { | ^^-------^^^^^^^^^ | | | this raw pointer has type `*const yaml_emitter_t` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 43 | problem: match NonNull::new(unsafe { (&(*emitter)).problem as *mut _ }) { | ++ + warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/libyaml/parser.rs:87:16 | 87 | if (*parser).error != sys::YAML_NO_ERROR { | ^^------^^^^^^^ | | | this raw pointer has type `*mut yaml_parser_t` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 87 | if (&(*parser)).error != sys::YAML_NO_ERROR { | ++ + warning: hiding a lifetime that's elided elsewhere is confusing --> src/mapping.rs:81:18 | 81 | pub fn entry(&mut self, k: Value) -> Entry { | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 81 | pub fn entry(&mut self, k: Value) -> Entry<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/mapping.rs:188:17 | 188 | pub fn iter(&self) -> Iter { | ^^^^^ ^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 188 | pub fn iter(&self) -> Iter<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/mapping.rs:197:21 | 197 | pub fn iter_mut(&mut self) -> IterMut { | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 197 | pub fn iter_mut(&mut self) -> IterMut<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/mapping.rs:204:17 | 204 | pub fn keys(&self) -> Keys { | ^^^^^ ^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 204 | pub fn keys(&self) -> Keys<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/mapping.rs:218:19 | 218 | pub fn values(&self) -> Values { | ^^^^^ ^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 218 | pub fn values(&self) -> Values<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/mapping.rs:225:23 | 225 | pub fn values_mut(&mut self) -> ValuesMut { | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 225 | pub fn values_mut(&mut self) -> ValuesMut<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/number.rs:555:34 | 555 | pub(crate) fn unexpected(number: &Number) -> Unexpected { | ^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 555 | pub(crate) fn unexpected(number: &Number) -> Unexpected<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/value/de.rs:1231:30 | 1231 | pub(crate) fn unexpected(&self) -> Unexpected { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 1231 | pub(crate) fn unexpected(&self) -> Unexpected<'_> { | ++++ Running `/usr/bin/rustc --crate-name indoc --edition=2021 /usr/share/cargo/registry/indoc-2.0.6/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=dc55c48241e7a9cf -C extra-filename=-774d006dd1c48003 --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `serde_yaml` (lib) generated 17 warnings (run `cargo fix --lib -p serde_yaml` to apply 8 suggestions) Running `/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/build/quote-69bac2c5df078512/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/build/proc-macro2-aae0e2b8968b1687/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/build/anyhow-63058a729dc0651d/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.105/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=d15c89115e79848d -C extra-filename=-d151520d96832d10 --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libunicode_ident-79a01b0086603322.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg wrap_proc_macro --cfg proc_macro_span --cfg proc_macro_span_location --cfg proc_macro_span_file --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(no_is_available)' --check-cfg 'cfg(no_literal_byte_character)' --check-cfg 'cfg(no_literal_c_string)' --check-cfg 'cfg(no_source_text)' --check-cfg 'cfg(proc_macro_span)' --check-cfg 'cfg(proc_macro_span_file)' --check-cfg 'cfg(proc_macro_span_location)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_build_probe)' --check-cfg 'cfg(procmacro2_nightly_testing)' --check-cfg 'cfg(procmacro2_semver_exempt)' --check-cfg 'cfg(randomize_layout)' --check-cfg 'cfg(span_locations)' --check-cfg 'cfg(super_unstable)' --check-cfg 'cfg(wrap_proc_macro)'` Running `/usr/bin/rustc --crate-name anyhow --edition=2018 /usr/share/cargo/registry/anyhow-1.0.100/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "default", "std"))' -C metadata=a45b1f337155f7e1 -C extra-filename=-6a1475fbfbb71266 --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg std_backtrace --cfg error_generic_member_access --check-cfg 'cfg(anyhow_build_probe)' --check-cfg 'cfg(anyhow_nightly_testing)' --check-cfg 'cfg(anyhow_no_clippy_format_args)' --check-cfg 'cfg(anyhow_no_core_error)' --check-cfg 'cfg(anyhow_no_core_unwind_safe)' --check-cfg 'cfg(anyhow_no_fmt_arguments_as_str)' --check-cfg 'cfg(anyhow_no_ptr_addr_of)' --check-cfg 'cfg(anyhow_no_unsafe_op_in_unsafe_fn_lint)' --check-cfg 'cfg(error_generic_member_access)' --check-cfg 'cfg(std_backtrace)'` Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.41/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=e89ba0d9fe70dac5 -C extra-filename=-dead99f81fdc3634 --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libproc_macro2-d151520d96832d10.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --check-cfg 'cfg(no_diagnostic_namespace)'` Compiling syn v2.0.114 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.114/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="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "test", "visit", "visit-mut"))' -C metadata=056192f69449cb51 -C extra-filename=-0a45e762f5e46d34 --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libproc_macro2-d151520d96832d10.rmeta --extern quote=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libquote-dead99f81fdc3634.rmeta --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libunicode_ident-79a01b0086603322.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling serde_derive v1.0.228 Running `/usr/bin/rustc --crate-name serde_derive --edition=2021 /usr/share/cargo/registry/serde_derive-1.0.228/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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "deserialize_in_place"))' -C metadata=be4d51e8af4cd9ed -C extra-filename=-013ac22b884b5c7d --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libproc_macro2-d151520d96832d10.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libquote-dead99f81fdc3634.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libsyn-0a45e762f5e46d34.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling serde_yaml v0.9.34 (/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated) Running `/usr/bin/rustc --crate-name test_error --edition=2021 tests/test_error.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=47039f584ef7f000 -C extra-filename=-8463de7d4a39c4fb --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --extern anyhow=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libanyhow-6a1475fbfbb71266.rlib --extern indexmap=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libindexmap-c835c750ab98577a.rlib --extern indoc=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libindoc-774d006dd1c48003.so --extern itoa=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libitoa-71540b4ba28b2000.rlib --extern ryu=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libryu-d2d05061a9441134.rlib --extern serde=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libserde-be3fcda3a005f5cf.rlib --extern serde_derive=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libserde_derive-013ac22b884b5c7d.so --extern serde_yaml=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libserde_yaml-ecf4e07f28d5f0c9.rlib --extern unsafe_libyaml=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libunsafe_libyaml-3a59b35f631367f9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name test_value --edition=2021 tests/test_value.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=dc13b168f790e3f2 -C extra-filename=-528bbf133baded11 --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --extern anyhow=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libanyhow-6a1475fbfbb71266.rlib --extern indexmap=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libindexmap-c835c750ab98577a.rlib --extern indoc=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libindoc-774d006dd1c48003.so --extern itoa=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libitoa-71540b4ba28b2000.rlib --extern ryu=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libryu-d2d05061a9441134.rlib --extern serde=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libserde-be3fcda3a005f5cf.rlib --extern serde_derive=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libserde_derive-013ac22b884b5c7d.so --extern serde_yaml=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libserde_yaml-ecf4e07f28d5f0c9.rlib --extern unsafe_libyaml=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libunsafe_libyaml-3a59b35f631367f9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name test_serde --edition=2021 tests/test_serde.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=9c5411867e54ff13 -C extra-filename=-9a5415c793879e65 --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --extern anyhow=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libanyhow-6a1475fbfbb71266.rlib --extern indexmap=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libindexmap-c835c750ab98577a.rlib --extern indoc=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libindoc-774d006dd1c48003.so --extern itoa=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libitoa-71540b4ba28b2000.rlib --extern ryu=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libryu-d2d05061a9441134.rlib --extern serde=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libserde-be3fcda3a005f5cf.rlib --extern serde_derive=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libserde_derive-013ac22b884b5c7d.so --extern serde_yaml=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libserde_yaml-ecf4e07f28d5f0c9.rlib --extern unsafe_libyaml=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libunsafe_libyaml-3a59b35f631367f9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name test_de --edition=2021 tests/test_de.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=4d8ba6608808a939 -C extra-filename=-7688b4c94c91ec27 --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --extern anyhow=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libanyhow-6a1475fbfbb71266.rlib --extern indexmap=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libindexmap-c835c750ab98577a.rlib --extern indoc=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libindoc-774d006dd1c48003.so --extern itoa=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libitoa-71540b4ba28b2000.rlib --extern ryu=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libryu-d2d05061a9441134.rlib --extern serde=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libserde-be3fcda3a005f5cf.rlib --extern serde_derive=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libserde_derive-013ac22b884b5c7d.so --extern serde_yaml=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libserde_yaml-ecf4e07f28d5f0c9.rlib --extern unsafe_libyaml=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libunsafe_libyaml-3a59b35f631367f9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name serde_yaml --edition=2021 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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=df8d47396a9e600f -C extra-filename=-7b3b5da327c1f411 --out-dir /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --extern anyhow=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libanyhow-6a1475fbfbb71266.rlib --extern indexmap=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libindexmap-c835c750ab98577a.rlib --extern indoc=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libindoc-774d006dd1c48003.so --extern itoa=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libitoa-71540b4ba28b2000.rlib --extern ryu=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libryu-d2d05061a9441134.rlib --extern serde=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libserde-be3fcda3a005f5cf.rlib --extern serde_derive=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libserde_derive-013ac22b884b5c7d.so --extern unsafe_libyaml=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libunsafe_libyaml-3a59b35f631367f9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `serde_yaml` (lib test) generated 17 warnings (17 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 46.84s Running `/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/serde_yaml-7b3b5da327c1f411` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/test_de-7688b4c94c91ec27` running 23 tests test test_borrowed ... ok test test_alias ... ok test test_de_mapping ... ok test test_byte_order_mark ... ok test test_empty_scalar ... ok test test_empty_string ... ok test test_enum_alias ... ok test test_bomb ... ok test test_ignore_tag ... ok test test_enum_representations ... ok test test_nan ... ok test test_number_alias_as_string ... ok test test_i128_big ... ok test test_no_required_fields ... ok test test_number_as_string ... ok test test_option ... ok test test_numbers ... ok test test_option_alias ... ok test test_parse_number ... ok test test_python_safe_dump ... ok test test_stateful ... ok test test_u128_big ... ok test test_tag_resolution ... ok test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/test_error-8463de7d4a39c4fb` running 29 tests test test_bad_bool ... ok test test_bad_float ... ok test test_bad_null ... ok test test_bad_int ... ok test test_bytes ... ok test test_deserialize_nested_enum ... ok test test_duplicate_keys ... ok test test_empty ... ok test test_ignored_unknown_anchor ... ok test test_incorrect_nested_type ... ok test test_incorrect_type ... ok test test_infinite_recursion_newtype ... ok test test_infinite_recursion_arrays ... ok test test_billion_laughs ... ok test test_invalid_scalar_type ... ok test test_infinite_recursion_objects ... ok test test_long_tuple ... ok test test_missing_enum_tag ... ok test test_missing_field ... ok test test_second_document_syntax_error ... ok test test_scan_error ... ok test test_serialize_nested_enum ... ok test test_short_tuple ... ok test test_struct_from_sequence ... ok test test_two_documents ... ok test test_unknown_anchor ... ok test test_variant_not_a_seq ... ok test test_finite_recursion_objects ... ok test test_finite_recursion_arrays ... ok test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s Running `/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/test_serde-9a5415c793879e65` running 32 tests test test_basic_struct ... ok test test_char ... ok test test_default ... ok test test_float ... ok test test_float32 ... ok test test_int ... ok test test_i128_small ... ok test test_int_max_i64 ... ok test test_int_max_u64 ... ok test test_int_min_i64 ... ok test test_long_string ... ok test test_map ... ok test test_map_key_value ... ok test test_multiline_string ... ok test test_nested_enum ... ok test test_mapping ... ok test test_nested_vec ... ok test test_nested_struct ... ok test test_newtype_struct ... ok test test_newtype_variant ... ok test test_option ... ok test test_strings_needing_quote ... ok test test_struct_variant ... ok test test_string_escapes ... ok test test_tagged_map_value ... ok test test_u128_small ... ok test test_unit ... ok test test_unit_struct ... ok test test_tuple_variant ... ok test test_unit_variant ... ok test test_value ... ok test test_vec ... ok test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/test_value-528bbf133baded11` running 6 tests test test_debug ... ok test test_digits ... ok test test_nan ... ok test test_merge ... ok test test_tagged ... ok test test_into_deserializer ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests serde_yaml Running `/usr/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name serde_yaml --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps --extern anyhow=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libanyhow-6a1475fbfbb71266.rlib --extern indexmap=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libindexmap-c835c750ab98577a.rlib --extern indoc=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libindoc-774d006dd1c48003.so --extern itoa=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libitoa-71540b4ba28b2000.rlib --extern ryu=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libryu-d2d05061a9441134.rlib --extern serde=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libserde-be3fcda3a005f5cf.rlib --extern serde_derive=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libserde_derive-013ac22b884b5c7d.so --extern serde_yaml=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libserde_yaml-ecf4e07f28d5f0c9.rlib --extern unsafe_libyaml=/home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/serde_yaml-0.9.34+deprecated/target/rpm/deps/libunsafe_libyaml-3a59b35f631367f9.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' --error-format human` running 84 tests test src/number.rs - number::Number::is_finite (line 273) ... ok test src/number.rs - number::Number::is_nan (line 226) ... ok test src/de.rs - de::Deserializer (line 42) ... ok test src/value/mod.rs - value::Value::as_bool (line 265) ... ok test src/value/from.rs - value::from::Value::from (line 79) ... ok test src/number.rs - number::Number::is_infinite (line 250) ... ok test src/value/from.rs - value::from::Value::from_iter (line 153) ... ok test src/value/from.rs - value::from::Value::from (line 121) ... ok test src/value/from.rs - value::from::Value::from (line 29) ... ok test src/value/from.rs - value::from::Value::from (line 45) ... ok test src/value/from.rs - value::from::Value::from (line 61) ... ok test src/value/mod.rs - value::Value::apply_merge (line 605) ... ok test src/value/from.rs - value::from::Value::from (line 87) ... ok test src/number.rs - number::Number::is_i64 (line 35) ... ok test src/number.rs - number::Number::as_u64 (line 163) ... ok test src/value/from.rs - value::from::Value::from (line 137) ... ok test src/value/mod.rs - value::Value::as_sequence_mut (line 518) ... ok test src/value/from.rs - value::from::Value::from_iter (line 167) ... ok test src/value/from.rs - value::from::Value::from_iter (line 160) ... ok test src/value/index.rs - value::index::Value::index_mut (line 256) ... ok test src/number.rs - number::Number::as_i64 (line 130) ... ok test src/value/from.rs - value::from::Value::from (line 104) ... ok test src/value/mod.rs - value::Value::as_sequence (line 495) ... ok test src/value/mod.rs - value::Value::as_f64 (line 416) ... ok test src/error.rs - error::Error::location (line 91) ... ok test src/value/mod.rs - value::Value::as_null (line 224) ... ok test src/lib.rs - (line 44) ... ok test src/value/mod.rs - value::Value::as_bool (line 259) ... ok test src/value/mod.rs - value::Value::as_mapping_mut (line 575) ... ok test src/value/mod.rs - value::Value::as_mapping (line 560) ... ok test src/number.rs - number::Number::is_u64 (line 69) ... ok test src/value/mod.rs - value::Value::as_mapping_mut (line 588) ... ok test src/lib.rs - (line 68) ... ok test src/value/mod.rs - value::Value::as_i64 (line 321) ... ok test src/number.rs - number::Number::is_f64 (line 103) ... ok test src/value/mod.rs - value::Value::as_i64 (line 327) ... ok test src/value/mod.rs - value::Value::as_f64 (line 410) ... ok test src/de.rs - de::Deserializer (line 26) ... ok test src/value/mod.rs - value::Value::as_str (line 457) ... ok test src/value/mod.rs - value::Value (line 51) ... ok test src/value/mod.rs - value::Value::is_bool (line 241) ... ok test src/value/mod.rs - value::Value::get (line 156) ... ok test src/value/partial_eq.rs - value::partial_eq::Value::eq (line 22) ... ok test src/value/partial_eq.rs - value::partial_eq::Value::eq (line 50) ... ok test src/value/mod.rs - value::Value::is_mapping (line 532) ... ok test src/value/partial_eq.rs - value::partial_eq::Value::eq (line 36) ... ok test src/value/mod.rs - value::Value::as_mapping (line 550) ... ok test src/value/mod.rs - value::Value::is_number (line 285) ... ok test src/value/mod.rs - value::Value::is_f64 (line 395) ... ok test src/number.rs - number::Number::as_f64 (line 187) ... ok test src/value/mod.rs - value::Value::as_sequence (line 489) ... ok test src/value/mod.rs - value::Value::as_u64 (line 363) ... ok test src/value/index.rs - value::index::Value::index (line 218) ... ok test src/value/mod.rs - value::Value::as_str (line 451) ... ok test src/value/mod.rs - value::Value::get (line 135) ... ok test src/value/mod.rs - value::Value::as_u64 (line 369) ... ok test src/value/mod.rs - value::Value::as_null (line 218) ... ok test src/value/mod.rs - value::Value::as_sequence_mut (line 510) ... ok test src/lib.rs - (line 17) ... ok test src/ser.rs - ser::Serializer (line 24) ... ok test src/number.rs - number::Number::as_f64 (line 202) ... ok test src/value/ser.rs - value::ser::Serializer (line 43) ... ok test src/value/mod.rs - value::Value::is_bool (line 247) ... ok test src/value/mod.rs - value::Value::is_sequence (line 471) ... ok test src/value/mod.rs - value::Value::is_i64 (line 303) ... ok test src/value/mod.rs - value::Value::is_string (line 439) ... ok test src/value/mod.rs - value::to_value (line 90) ... ok test src/value/partial_eq.rs - value::partial_eq::Value::eq (line 8) ... ok test src/value/mod.rs - value::Value::is_u64 (line 345) ... ok test src/value/mod.rs - value::Value::is_f64 (line 389) ... ok test src/value/mod.rs - value::Value::is_null (line 197) ... ok test src/value/mod.rs - value::Value::is_sequence (line 477) ... ok test src/value/mod.rs - value::Value::is_i64 (line 309) ... ok test src/value/mod.rs - value::Value::is_null (line 203) ... ok test src/value/tagged.rs - value::tagged::Tag::new (line 64) ... ok test src/value/mod.rs - value::Value::is_u64 (line 351) ... ok test src/value/mod.rs - value::from_value (line 112) ... ok test src/with.rs - with::singleton_map (line 8) ... ok test src/with.rs - with::singleton_map_recursive (line 902) ... ok test src/value/mod.rs - value::Value::is_mapping (line 538) ... ok test src/value/mod.rs - value::Value::is_string (line 433) ... ok test src/value/mod.rs - value::Value::is_number (line 279) ... ok test src/value/tagged.rs - value::tagged::TaggedValue (line 26) ... ok test src/with.rs - with::singleton_map_recursive (line 842) ... ok test result: ok. 84 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.43s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-serde_yaml-devel-0.9.34-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/serde_yaml-0.9.34/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/serde_yaml-0.9.34/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/serde_yaml-0.9.34/README.md Provides: crate(serde_yaml) = 0.9.34 rust-serde_yaml-devel = 0.9.34-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(indexmap/default) >= 2.2.1 crate(itoa/default) >= 1.0.0 crate(ryu/default) >= 1.0.0 crate(serde/default) >= 1.0.195 crate(unsafe-libyaml/default) >= 0.2.11 rust >= 1.64 Processing files: rust-serde_yaml+default-devel-0.9.34-1.mga10.noarch Provides: crate(serde_yaml/default) = 0.9.34 rust-serde_yaml+default-devel = 0.9.34-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(serde_yaml) = 0.9.34 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-serde_yaml+default-devel-0.9.34-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-serde_yaml-devel-0.9.34-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xj11nG + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build + test -d /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-serde_yaml-0.9.34-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/serde_yaml-0.9.34/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/serde_yaml-0.9.34/LICENSE-MIT File listed twice: /usr/share/cargo/registry/serde_yaml-0.9.34/README.md D: [iurt_root_command] Success!