[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] checking msft-mirror-aosp/platform.external.rust.crates.protobuf-codegen against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [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-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-1-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded protobuf v2.22.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a5ef14a9d6fd954e37a93938907efc89e4b26974cfe8d46cfb4d87dfd8ce7c3 [INFO] running `Command { std: "docker" "start" "-a" "6a5ef14a9d6fd954e37a93938907efc89e4b26974cfe8d46cfb4d87dfd8ce7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a5ef14a9d6fd954e37a93938907efc89e4b26974cfe8d46cfb4d87dfd8ce7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a5ef14a9d6fd954e37a93938907efc89e4b26974cfe8d46cfb4d87dfd8ce7c3", kill_on_drop: false }` [INFO] [stdout] 6a5ef14a9d6fd954e37a93938907efc89e4b26974cfe8d46cfb4d87dfd8ce7c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1357bfdf9aa0787da26c794df3383328c49a650fa55f717e7adf0d673df2426 [INFO] running `Command { std: "docker" "start" "-a" "e1357bfdf9aa0787da26c794df3383328c49a650fa55f717e7adf0d673df2426", 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.22.1 [INFO] [stderr] Checking protobuf-codegen v2.22.1 (/opt/rustwide/workdir) [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] [stdout] warning: 9 warnings emitted [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] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.71s [INFO] running `Command { std: "docker" "inspect" "e1357bfdf9aa0787da26c794df3383328c49a650fa55f717e7adf0d673df2426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1357bfdf9aa0787da26c794df3383328c49a650fa55f717e7adf0d673df2426", kill_on_drop: false }` [INFO] [stdout] e1357bfdf9aa0787da26c794df3383328c49a650fa55f717e7adf0d673df2426