[INFO] fetching crate protobuf-codegen-no-elision 2.0.4... [INFO] checking protobuf-codegen-no-elision-2.0.4 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate protobuf-codegen-no-elision 2.0.4 into /workspace/builds/worker-0-tc2/source [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] validating manifest of crates.io crate protobuf-codegen-no-elision 2.0.4 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a59c42fc568cf2e6ada38c4d066bbb224f4430382c8b22276a6211ebce542d76 [INFO] running `Command { std: "docker" "start" "-a" "a59c42fc568cf2e6ada38c4d066bbb224f4430382c8b22276a6211ebce542d76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a59c42fc568cf2e6ada38c4d066bbb224f4430382c8b22276a6211ebce542d76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a59c42fc568cf2e6ada38c4d066bbb224f4430382c8b22276a6211ebce542d76", kill_on_drop: false }` [INFO] [stdout] a59c42fc568cf2e6ada38c4d066bbb224f4430382c8b22276a6211ebce542d76 [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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab471c76a93b7a75362795742d4b20ab637cfb0f5fe545a53386dfdd1e3fb06e [INFO] running `Command { std: "docker" "start" "-a" "ab471c76a93b7a75362795742d4b20ab637cfb0f5fe545a53386dfdd1e3fb06e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling protobuf v2.0.4 [INFO] [stderr] Checking protobuf-codegen-no-elision v2.0.4 (/opt/rustwide/workdir) [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: 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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, String, Option>), [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, String, RustIdent), [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: struct `ProtobufIdent` is never constructed [INFO] [stdout] --> src/ident.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ProtobufIdent(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/message.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | fn required_fields(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 65 | fn required_fields(&'a self) -> Vec<&'a FieldGen<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/message.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | fn message_fields(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 75 | fn message_fields(&'a self) -> Vec<&'a FieldGen<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/message.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | fn fields_except_oneof(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 82 | fn fields_except_oneof(&'a self) -> Vec<&'a FieldGen<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/message.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | fn fields_except_group(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 89 | fn fields_except_group(&'a self) -> Vec<&'a FieldGen<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/message.rs:96:39 [INFO] [stdout] | [INFO] [stdout] 96 | fn fields_except_oneof_and_group(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 96 | fn fields_except_oneof_and_group(&'a self) -> Vec<&'a FieldGen<'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, String, Option>), [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, String, RustIdent), [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: struct `ProtobufIdent` is never constructed [INFO] [stdout] --> src/ident.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ProtobufIdent(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/message.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | fn required_fields(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 65 | fn required_fields(&'a self) -> Vec<&'a FieldGen<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/message.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | fn message_fields(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 75 | fn message_fields(&'a self) -> Vec<&'a FieldGen<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/message.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | fn fields_except_oneof(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 82 | fn fields_except_oneof(&'a self) -> Vec<&'a FieldGen<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/message.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | fn fields_except_group(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 89 | fn fields_except_group(&'a self) -> Vec<&'a FieldGen<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/message.rs:96:39 [INFO] [stdout] | [INFO] [stdout] 96 | fn fields_except_oneof_and_group(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^ -- -------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 96 | fn fields_except_oneof_and_group(&'a self) -> Vec<&'a FieldGen<'a>> { [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 a dyn-compatible 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 a dyn-compatible 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.36s [INFO] running `Command { std: "docker" "inspect" "ab471c76a93b7a75362795742d4b20ab637cfb0f5fe545a53386dfdd1e3fb06e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab471c76a93b7a75362795742d4b20ab637cfb0f5fe545a53386dfdd1e3fb06e", kill_on_drop: false }` [INFO] [stdout] ab471c76a93b7a75362795742d4b20ab637cfb0f5fe545a53386dfdd1e3fb06e