Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile("0.8.30") #1

Open
happygrammer opened this issue Dec 31, 2021 · 0 comments
Open

Unable to compile("0.8.30") #1

happygrammer opened this issue Dec 31, 2021 · 0 comments

Comments

@happygrammer
Copy link

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 warnings
Finished release [optimized] target(s) in 0.07s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant