[INFO] cloning repository https://github.com/msft-mirror-aosp/platform.external.rust.crates.protobuf-codegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/msft-mirror-aosp/platform.external.rust.crates.protobuf-codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsft-mirror-aosp%2Fplatform.external.rust.crates.protobuf-codegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsft-mirror-aosp%2Fplatform.external.rust.crates.protobuf-codegen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 79872fadf2ee58d29ffa03a66bbaf428f64e8db6 [INFO] building msft-mirror-aosp/platform.external.rust.crates.protobuf-codegen against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsft-mirror-aosp%2Fplatform.external.rust.crates.protobuf-codegen" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.protobuf-codegen on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.protobuf-codegen [INFO] finished tweaking git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.protobuf-codegen [INFO] tweaked toml for git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.protobuf-codegen written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.protobuf-codegen already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded protobuf v2.22.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd5c70e457675453dbb5ae86218336564e61c7d35ab87c45d05351f230cfe3d0 [INFO] running `Command { std: "docker" "start" "-a" "fd5c70e457675453dbb5ae86218336564e61c7d35ab87c45d05351f230cfe3d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd5c70e457675453dbb5ae86218336564e61c7d35ab87c45d05351f230cfe3d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd5c70e457675453dbb5ae86218336564e61c7d35ab87c45d05351f230cfe3d0", kill_on_drop: false }` [INFO] [stdout] fd5c70e457675453dbb5ae86218336564e61c7d35ab87c45d05351f230cfe3d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34923f2741ee258160ffc7c0862f9c030e13d8f3c1eed85f6f2b952b1844a1a7 [INFO] running `Command { std: "docker" "start" "-a" "34923f2741ee258160ffc7c0862f9c030e13d8f3c1eed85f6f2b952b1844a1a7", 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.22.1 [INFO] [stderr] Compiling protobuf-codegen v2.22.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/message.rs:96:45 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 96 | 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:106:44 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 106 | 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:113:49 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 113 | 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:117:49 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 117 | 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:124:59 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 124 | 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: field `name` is never read [INFO] [stdout] --> src/field/mod.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct MapField<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 192 | 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/mod.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 234 | Message( [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 235 | String, [INFO] [stdout] 236 | String, [INFO] [stdout] | ^^^^^^ [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] 236 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/field/mod.rs:241:18 [INFO] [stdout] | [INFO] [stdout] 241 | 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] 241 | Enum(String, (), RustIdent), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root_scope` is never read [INFO] [stdout] --> src/field/mod.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 430 | pub(crate) struct FieldGen<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 431 | root_scope: &'a RootScope<'a>, [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`, `variant`, and `customize` are never read [INFO] [stdout] --> src/oneof.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) struct OneofVariantGen<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 81 | oneof: &'a OneofGen<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 82 | variant: OneofVariantWithContext<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | customize: Customize, [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 `lite_runtime` is never read [INFO] [stdout] --> src/oneof.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 126 | pub(crate) struct OneofGen<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 131 | lite_runtime: bool, [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: field `en` is never read [INFO] [stdout] --> src/scope.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 414 | pub(crate) struct EnumValueWithContext<'a> { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 415 | pub en: EnumWithScope<'a>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumValueWithContext` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/protobuf_name.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | assert!(path.is_empty() || path.starts_with("."), path); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 248 | assert!(path.is_empty() || path.starts_with("."), "{}", path); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/protobuf_name.rs:249:39 [INFO] [stdout] | [INFO] [stdout] 249 | assert!(!path.ends_with("."), path); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 249 | assert!(!path.ends_with("."), "{}", path); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.28s [INFO] running `Command { std: "docker" "inspect" "34923f2741ee258160ffc7c0862f9c030e13d8f3c1eed85f6f2b952b1844a1a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34923f2741ee258160ffc7c0862f9c030e13d8f3c1eed85f6f2b952b1844a1a7", kill_on_drop: false }` [INFO] [stdout] 34923f2741ee258160ffc7c0862f9c030e13d8f3c1eed85f6f2b952b1844a1a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81b8776ecb1393dbfc5cae8c0d42182cce3c9ab2569611b4e4639123d2705931 [INFO] running `Command { std: "docker" "start" "-a" "81b8776ecb1393dbfc5cae8c0d42182cce3c9ab2569611b4e4639123d2705931", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/message.rs:96:45 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 96 | 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:106:44 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 106 | 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:113:49 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 113 | 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:117:49 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 117 | 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:124:59 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 124 | 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: field `name` is never read [INFO] [stdout] --> src/field/mod.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct MapField<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 192 | 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/mod.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 234 | Message( [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 235 | String, [INFO] [stdout] 236 | String, [INFO] [stdout] | ^^^^^^ [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] 236 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/field/mod.rs:241:18 [INFO] [stdout] | [INFO] [stdout] 241 | 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] 241 | Enum(String, (), RustIdent), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root_scope` is never read [INFO] [stdout] --> src/field/mod.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 430 | pub(crate) struct FieldGen<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 431 | root_scope: &'a RootScope<'a>, [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`, `variant`, and `customize` are never read [INFO] [stdout] --> src/oneof.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) struct OneofVariantGen<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 81 | oneof: &'a OneofGen<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 82 | variant: OneofVariantWithContext<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | customize: Customize, [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 `lite_runtime` is never read [INFO] [stdout] --> src/oneof.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 126 | pub(crate) struct OneofGen<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 131 | lite_runtime: bool, [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: field `en` is never read [INFO] [stdout] --> src/scope.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 414 | pub(crate) struct EnumValueWithContext<'a> { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 415 | pub en: EnumWithScope<'a>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumValueWithContext` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/protobuf_name.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | assert!(path.is_empty() || path.starts_with("."), path); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 248 | assert!(path.is_empty() || path.starts_with("."), "{}", path); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/protobuf_name.rs:249:39 [INFO] [stdout] | [INFO] [stdout] 249 | assert!(!path.ends_with("."), path); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 249 | assert!(!path.ends_with("."), "{}", path); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling protobuf-codegen v2.22.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/message.rs:96:45 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 96 | 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:106:44 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 106 | 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:113:49 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 113 | 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:117:49 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 117 | 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:124:59 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 124 | 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: field `name` is never read [INFO] [stdout] --> src/field/mod.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct MapField<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 192 | 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/mod.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 234 | Message( [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 235 | String, [INFO] [stdout] 236 | String, [INFO] [stdout] | ^^^^^^ [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] 236 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/field/mod.rs:241:18 [INFO] [stdout] | [INFO] [stdout] 241 | 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] 241 | Enum(String, (), RustIdent), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root_scope` is never read [INFO] [stdout] --> src/field/mod.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 430 | pub(crate) struct FieldGen<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 431 | root_scope: &'a RootScope<'a>, [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`, `variant`, and `customize` are never read [INFO] [stdout] --> src/oneof.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) struct OneofVariantGen<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 81 | oneof: &'a OneofGen<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 82 | variant: OneofVariantWithContext<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | customize: Customize, [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 `lite_runtime` is never read [INFO] [stdout] --> src/oneof.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 126 | pub(crate) struct OneofGen<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 131 | lite_runtime: bool, [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: field `en` is never read [INFO] [stdout] --> src/scope.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 414 | pub(crate) struct EnumValueWithContext<'a> { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 415 | pub en: EnumWithScope<'a>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumValueWithContext` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/protobuf_name.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | assert!(path.is_empty() || path.starts_with("."), path); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 248 | assert!(path.is_empty() || path.starts_with("."), "{}", path); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/protobuf_name.rs:249:39 [INFO] [stdout] | [INFO] [stdout] 249 | assert!(!path.ends_with("."), path); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 249 | assert!(!path.ends_with("."), "{}", path); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "81b8776ecb1393dbfc5cae8c0d42182cce3c9ab2569611b4e4639123d2705931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81b8776ecb1393dbfc5cae8c0d42182cce3c9ab2569611b4e4639123d2705931", kill_on_drop: false }` [INFO] [stdout] 81b8776ecb1393dbfc5cae8c0d42182cce3c9ab2569611b4e4639123d2705931