[INFO] fetching crate protobuf-codegen-no-elision 2.0.4... [INFO] checking protobuf-codegen-no-elision-2.0.4 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate protobuf-codegen-no-elision 2.0.4 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate protobuf-codegen-no-elision 2.0.4 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate protobuf-codegen-no-elision 2.0.4 [INFO] finished tweaking crates.io crate protobuf-codegen-no-elision 2.0.4 [INFO] tweaked toml for crates.io crate protobuf-codegen-no-elision 2.0.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding protobuf v2.0.4 (available: v2.28.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f88f542bdb661477246f176ab65c7d018704e89841a5eb9d57eba0c8af598ae8 [INFO] running `Command { std: "docker" "start" "-a" "f88f542bdb661477246f176ab65c7d018704e89841a5eb9d57eba0c8af598ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f88f542bdb661477246f176ab65c7d018704e89841a5eb9d57eba0c8af598ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f88f542bdb661477246f176ab65c7d018704e89841a5eb9d57eba0c8af598ae8", kill_on_drop: false }` [INFO] [stdout] f88f542bdb661477246f176ab65c7d018704e89841a5eb9d57eba0c8af598ae8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0f5030df0f10a42f4088377c44e24e56acd0a5fa802cbad0e922de448c29dc6 [INFO] running `Command { std: "docker" "start" "-a" "d0f5030df0f10a42f4088377c44e24e56acd0a5fa802cbad0e922de448c29dc6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling protobuf v2.0.4 [INFO] [stderr] Checking protobuf-codegen-no-elision v2.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/message.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 65 | fn required_fields(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/message.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 75 | fn message_fields(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/message.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 82 | fn fields_except_oneof(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/message.rs:89:49 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 89 | fn fields_except_group(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/message.rs:96:59 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 96 | fn fields_except_oneof_and_group(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/message.rs:268:69 [INFO] [stdout] | [INFO] [stdout] 268 | self.write_descriptor_field("fields", field, w);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/code_writer.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | writer: &'a mut (Write + 'a), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | writer: &'a mut (dyn Write + 'a), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/message.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 65 | fn required_fields(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/message.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 75 | fn message_fields(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/message.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 82 | fn fields_except_oneof(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/message.rs:89:49 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 89 | fn fields_except_group(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/message.rs:96:59 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 96 | fn fields_except_oneof_and_group(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/message.rs:268:69 [INFO] [stdout] | [INFO] [stdout] 268 | self.write_descriptor_field("fields", field, w);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/code_writer.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(writer: &'a mut Write) -> CodeWriter<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(writer: &'a mut dyn Write) -> CodeWriter<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/code_writer.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | writer: &'a mut (Write + 'a), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | writer: &'a mut (dyn Write + 'a), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/code_writer.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(writer: &'a mut Write) -> CodeWriter<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(writer: &'a mut dyn Write) -> CodeWriter<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/field.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct MapField { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 179 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MapField` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/field.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | Message(String, String, Option>), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FieldElem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 221 | Message(String, (), Option>), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/field.rs:223:18 [INFO] [stdout] | [INFO] [stdout] 223 | Enum(String, String, RustIdent), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FieldElem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 223 | Enum(String, (), RustIdent), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `root_scope` and `generate_accessors` are never read [INFO] [stdout] --> src/field.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 404 | pub struct FieldGen<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 405 | root_scope: &'a RootScope<'a>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub generate_accessors: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldGen` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `oneof` and `variant` are never read [INFO] [stdout] --> src/oneof.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct OneofVariantGen<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 63 | oneof: &'a OneofGen<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | variant: OneofVariantWithContext<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OneofVariantGen` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `customize` is never read [INFO] [stdout] --> src/oneof.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct OneofGen<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | customize: Customize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OneofGen` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/field.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct MapField { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 179 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MapField` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/field.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | Message(String, String, Option>), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FieldElem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 221 | Message(String, (), Option>), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/field.rs:223:18 [INFO] [stdout] | [INFO] [stdout] 223 | Enum(String, String, RustIdent), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FieldElem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 223 | Enum(String, (), RustIdent), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `root_scope` and `generate_accessors` are never read [INFO] [stdout] --> src/field.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 404 | pub struct FieldGen<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 405 | root_scope: &'a RootScope<'a>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub generate_accessors: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldGen` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `oneof` and `variant` are never read [INFO] [stdout] --> src/oneof.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct OneofVariantGen<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 63 | oneof: &'a OneofGen<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | variant: OneofVariantWithContext<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OneofVariantGen` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `customize` is never read [INFO] [stdout] --> src/oneof.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct OneofGen<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | customize: Customize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OneofGen` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/protobuf-bin-gen-rust-do-not-use.rs:15:70 [INFO] [stdout] | [INFO] [stdout] 15 | let fds = parse_from_reader::(&mut is as &mut Read).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | let fds = parse_from_reader::(&mut is as &mut dyn Read).unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/protobuf-bin-gen-rust-do-not-use.rs:15:70 [INFO] [stdout] | [INFO] [stdout] 15 | let fds = parse_from_reader::(&mut is as &mut Read).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | let fds = parse_from_reader::(&mut is as &mut dyn Read).unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.17s [INFO] running `Command { std: "docker" "inspect" "d0f5030df0f10a42f4088377c44e24e56acd0a5fa802cbad0e922de448c29dc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0f5030df0f10a42f4088377c44e24e56acd0a5fa802cbad0e922de448c29dc6", kill_on_drop: false }` [INFO] [stdout] d0f5030df0f10a42f4088377c44e24e56acd0a5fa802cbad0e922de448c29dc6