[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [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-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-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 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-6-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 105f0737547603854bb30b4f3011720e048ea105a143ed3b98981d886cd5ed82 [INFO] running `Command { std: "docker" "start" "-a" "105f0737547603854bb30b4f3011720e048ea105a143ed3b98981d886cd5ed82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "105f0737547603854bb30b4f3011720e048ea105a143ed3b98981d886cd5ed82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "105f0737547603854bb30b4f3011720e048ea105a143ed3b98981d886cd5ed82", kill_on_drop: false }` [INFO] [stdout] 105f0737547603854bb30b4f3011720e048ea105a143ed3b98981d886cd5ed82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b12795729495d1f27332d508a29ed3c9acd1f86dfac58e6c826fb7c09c775ef7 [INFO] running `Command { std: "docker" "start" "-a" "b12795729495d1f27332d508a29ed3c9acd1f86dfac58e6c826fb7c09c775ef7", kill_on_drop: false }` [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] 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] 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: 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] 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] 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: 9 warnings emitted [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 3.53s [INFO] running `Command { std: "docker" "inspect" "b12795729495d1f27332d508a29ed3c9acd1f86dfac58e6c826fb7c09c775ef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b12795729495d1f27332d508a29ed3c9acd1f86dfac58e6c826fb7c09c775ef7", kill_on_drop: false }` [INFO] [stdout] b12795729495d1f27332d508a29ed3c9acd1f86dfac58e6c826fb7c09c775ef7 [INFO] checking msft-mirror-aosp/platform.external.rust.crates.protobuf-codegen against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [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-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.protobuf-codegen on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-6-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a81fab9983bd8921191f06af5a36cb22e898b59c65be47d2bc55a70b712f230 [INFO] running `Command { std: "docker" "start" "-a" "4a81fab9983bd8921191f06af5a36cb22e898b59c65be47d2bc55a70b712f230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a81fab9983bd8921191f06af5a36cb22e898b59c65be47d2bc55a70b712f230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a81fab9983bd8921191f06af5a36cb22e898b59c65be47d2bc55a70b712f230", kill_on_drop: false }` [INFO] [stdout] 4a81fab9983bd8921191f06af5a36cb22e898b59c65be47d2bc55a70b712f230 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4410b335668e521727f4bda87913456318c976e7c1ad4570a0206fa27dbf3a2c [INFO] running `Command { std: "docker" "start" "-a" "4410b335668e521727f4bda87913456318c976e7c1ad4570a0206fa27dbf3a2c", kill_on_drop: false }` [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] 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] 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] 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] 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 3.25s [INFO] running `Command { std: "docker" "inspect" "4410b335668e521727f4bda87913456318c976e7c1ad4570a0206fa27dbf3a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4410b335668e521727f4bda87913456318c976e7c1ad4570a0206fa27dbf3a2c", kill_on_drop: false }` [INFO] [stdout] 4410b335668e521727f4bda87913456318c976e7c1ad4570a0206fa27dbf3a2c