-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I'm building fallible-streaming-iterator on debian unstable, and i see these two warnings:
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=fallible_streaming_iterator CARGO_MANIFEST_DIR=/home/dkg/src/sequoia/2021-03-26/rust-fallible-streaming-iterator-0.1.9 CARGO_PKG_AUTHORS='Steven Fackler <[email protected]>' CARGO_PKG_DESCRIPTION='Fallible streaming iteration' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=fallible-streaming-iterator CARGO_PKG_REPOSITORY='https://github.com/sfackler/fallible-streaming-iterator' CARGO_PKG_VERSION=0.1.9 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=9 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/home/dkg/src/sequoia/2021-03-26/rust-fallible-streaming-iterator-0.1.9/target/debug/deps:/usr/lib' rustc --crate-name fallible_streaming_iterator src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -Cembed-bitcode=no -C debuginfo=2 --test -C metadata=7b49266f84b724bd -C extra-filename=-7b49266f84b724bd --out-dir /home/dkg/src/sequoia/2021-03-26/rust-fallible-streaming-iterator-0.1.9/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/home/dkg/src/sequoia/2021-03-26/rust-fallible-streaming-iterator-0.1.9/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/home/dkg/src/sequoia/2021-03-26/rust-fallible-streaming-iterator-0.1.9/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/home/dkg/src/sequoia/2021-03-26/rust-fallible-streaming-iterator-0.1.9/target/debug/deps -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /home/dkg/src/sequoia/2021-03-26/rust-fallible-streaming-iterator-0.1.9=/usr/share/cargo/registry/fallible-streaming-iterator-0.1.9`
warning: trait objects without an explicit `dyn` are deprecated
--> src/lib.rs:897:28
|
897 | fn _is_object_safe(_: &FallibleStreamingIterator<Item = (), Error = ()>) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FallibleStreamingIterator<Item = (), Error = ()>`
|
= note: `#[warn(bare_trait_objects)]` on by default
warning: trait objects without an explicit `dyn` are deprecated
--> src/lib.rs:898:35
|
898 | fn _is_object_safe_double(_: &DoubleEndedFallibleStreamingIterator<Item = (), Error = ()>) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn DoubleEndedFallibleStreamingIterator<Item = (), Error = ()>`
warning: 2 warnings emitted
Finished test [unoptimized + debuginfo] target(s) in 0.91s
Running `/home/dkg/src/sequoia/2021-03-26/rust-fallible-streaming-iterator-0.1.9/target/x86_64-unknown-linux-gnu/debug/deps/fallible_streaming_iterator-7b49266f84b724bd`
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
Metadata
Metadata
Assignees
Labels
No labels