[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 never-type-fallback-to-never [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 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-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b74cdadf4c508dbc8cab7467528638f2f64da43e8fad7db3da8883bfdcc2655 [INFO] running `Command { std: "docker" "start" "-a" "9b74cdadf4c508dbc8cab7467528638f2f64da43e8fad7db3da8883bfdcc2655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b74cdadf4c508dbc8cab7467528638f2f64da43e8fad7db3da8883bfdcc2655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b74cdadf4c508dbc8cab7467528638f2f64da43e8fad7db3da8883bfdcc2655", kill_on_drop: false }` [INFO] [stdout] 9b74cdadf4c508dbc8cab7467528638f2f64da43e8fad7db3da8883bfdcc2655 [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" "-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] bff761b0156a47d3d00d29136ae5069405d98b0ef93e057c867e581724cc971d [INFO] running `Command { std: "docker" "start" "-a" "bff761b0156a47d3d00d29136ae5069405d98b0ef93e057c867e581724cc971d", 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 `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 `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: 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: 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.38s [INFO] running `Command { std: "docker" "inspect" "bff761b0156a47d3d00d29136ae5069405d98b0ef93e057c867e581724cc971d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bff761b0156a47d3d00d29136ae5069405d98b0ef93e057c867e581724cc971d", kill_on_drop: false }` [INFO] [stdout] bff761b0156a47d3d00d29136ae5069405d98b0ef93e057c867e581724cc971d [INFO] checking msft-mirror-aosp/platform.external.rust.crates.protobuf-codegen against try#2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 for never-type-fallback-to-never [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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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 2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "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-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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17959c891832e48bf46af4c8a0835dd72fce0b22ecb55976d2a6f4b14203ec6f [INFO] running `Command { std: "docker" "start" "-a" "17959c891832e48bf46af4c8a0835dd72fce0b22ecb55976d2a6f4b14203ec6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17959c891832e48bf46af4c8a0835dd72fce0b22ecb55976d2a6f4b14203ec6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17959c891832e48bf46af4c8a0835dd72fce0b22ecb55976d2a6f4b14203ec6f", kill_on_drop: false }` [INFO] [stdout] 17959c891832e48bf46af4c8a0835dd72fce0b22ecb55976d2a6f4b14203ec6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f95e12140945dab4607c81760b0e62bdc5ae0baac4b06c95e28018ac527142b [INFO] running `Command { std: "docker" "start" "-a" "8f95e12140945dab4607c81760b0e62bdc5ae0baac4b06c95e28018ac527142b", 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 4.49s [INFO] running `Command { std: "docker" "inspect" "8f95e12140945dab4607c81760b0e62bdc5ae0baac4b06c95e28018ac527142b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f95e12140945dab4607c81760b0e62bdc5ae0baac4b06c95e28018ac527142b", kill_on_drop: false }` [INFO] [stdout] 8f95e12140945dab4607c81760b0e62bdc5ae0baac4b06c95e28018ac527142b