You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cargo build --release
warning: trait objects without an explicit dyn are deprecated
--> src/main.rs:44:32
|
44 | read: &mut Read,
| ^^^^ help: use dyn: dyn Read
|
= note: #[warn(bare_trait_objects)] on by default
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
= note: for more information, see https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html
warning: trait objects without an explicit dyn are deprecated
--> src/main.rs:45:33
|
45 | write: &mut Write,
| ^^^^^ help: use dyn: dyn Write
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
= note: for more information, see https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html
warning: trait objects without an explicit dyn are deprecated
--> src/main.rs:139:33
|
139 | read: &mut Read,
| ^^^^ help: use dyn: dyn Read
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
= note: for more information, see https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html
warning: trait objects without an explicit dyn are deprecated
--> src/main.rs:140:34
|
140 | write: &mut Write,
| ^^^^^ help: use dyn: dyn Write
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
= note: for more information, see https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html
warning: trait objects without an explicit dyn are deprecated
--> src/main.rs:220:23
|
220 | read: &mut Read,
| ^^^^ help: use dyn: dyn Read
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
= note: for more information, see https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html
warning: trait objects without an explicit dyn are deprecated
--> src/main.rs:221:24
|
221 | write: &mut Write,
| ^^^^^ help: use dyn: dyn Write
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
= note: for more information, see https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html
warning: trait objects without an explicit dyn are deprecated
--> src/main.rs:277:38
|
277 | &mut stdout_lock as &mut Write
| ^^^^^ help: use dyn: dyn Write
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
= note: for more information, see https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html
warning: trait objects without an explicit dyn are deprecated
--> src/main.rs:283:39
|
283 | &mut file as &mut Write
| ^^^^^ help: use dyn: dyn Write
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
= note: for more information, see https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html
Unable to compile("cargo build --release")
[dependencies]
encoding_rs = "0.8.30"
$ cargo build --release
warning: trait objects without an explicit
dyn
are deprecated--> src/main.rs:44:32
|
44 | read: &mut Read,
| ^^^^ help: use
dyn
:dyn Read
|
= note:
#[warn(bare_trait_objects)]
on by default= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
= note: for more information, see https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html
warning: trait objects without an explicit
dyn
are deprecated--> src/main.rs:45:33
|
45 | write: &mut Write,
| ^^^^^ help: use
dyn
:dyn Write
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
= note: for more information, see https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html
warning: trait objects without an explicit
dyn
are deprecated--> src/main.rs:139:33
|
139 | read: &mut Read,
| ^^^^ help: use
dyn
:dyn Read
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
= note: for more information, see https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html
warning: trait objects without an explicit
dyn
are deprecated--> src/main.rs:140:34
|
140 | write: &mut Write,
| ^^^^^ help: use
dyn
:dyn Write
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
= note: for more information, see https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html
warning: trait objects without an explicit
dyn
are deprecated--> src/main.rs:220:23
|
220 | read: &mut Read,
| ^^^^ help: use
dyn
:dyn Read
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
= note: for more information, see https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html
warning: trait objects without an explicit
dyn
are deprecated--> src/main.rs:221:24
|
221 | write: &mut Write,
| ^^^^^ help: use
dyn
:dyn Write
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
= note: for more information, see https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html
warning: trait objects without an explicit
dyn
are deprecated--> src/main.rs:277:38
|
277 | &mut stdout_lock as &mut Write
| ^^^^^ help: use
dyn
:dyn Write
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
= note: for more information, see https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html
warning: trait objects without an explicit
dyn
are deprecated--> src/main.rs:283:39
|
283 | &mut file as &mut Write
| ^^^^^ help: use
dyn
:dyn Write
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
= note: for more information, see https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html
warning:
recode_rs
(bin "recode_rs") generated 8 warningsFinished release [optimized] target(s) in 0.07s
The text was updated successfully, but these errors were encountered: