[INFO] cloning repository https://github.com/powermacros/power-protobuf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/powermacros/power-protobuf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpowermacros%2Fpower-protobuf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpowermacros%2Fpower-protobuf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01ea9d733571ce68732c8a13bf93fef8b789c1dd [INFO] checking powermacros/power-protobuf against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpowermacros%2Fpower-protobuf" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/powermacros/power-protobuf on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/powermacros/power-protobuf [INFO] finished tweaking git repo https://github.com/powermacros/power-protobuf [INFO] tweaked toml for git repo https://github.com/powermacros/power-protobuf written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/powermacros/syn-prelude.git` [INFO] [stderr] Locking 12 packages [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d93c936d74c16acf7dd0b26623a64d79a3fba15d63bca792aa5dd3360000f983 [INFO] running `Command { std: "docker" "start" "-a" "d93c936d74c16acf7dd0b26623a64d79a3fba15d63bca792aa5dd3360000f983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d93c936d74c16acf7dd0b26623a64d79a3fba15d63bca792aa5dd3360000f983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d93c936d74c16acf7dd0b26623a64d79a3fba15d63bca792aa5dd3360000f983", kill_on_drop: false }` [INFO] [stdout] d93c936d74c16acf7dd0b26623a64d79a3fba15d63bca792aa5dd3360000f983 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4968470bd57074b6aecbcf2b709f85184b5ec20d3654eddcf5af748cffc90e32 [INFO] running `Command { std: "docker" "start" "-a" "4968470bd57074b6aecbcf2b709f85184b5ec20d3654eddcf5af748cffc90e32", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking syn v2.0.58 [INFO] [stderr] Compiling syn-prelude-macros v0.1.0 (https://github.com/powermacros/syn-prelude.git#a354d008) [INFO] [stderr] Checking syn-prelude v0.1.0 (https://github.com/powermacros/syn-prelude.git#a354d008) [INFO] [stderr] Checking power-protobuf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/expand.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `process::id` [INFO] [stdout] --> src/expand.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, process::id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AngleBracketedGenericArguments`, `PathArguments`, `PathSegment`, `Token` [INFO] [stdout] --> src/expand.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | punctuated::Punctuated, spanned::Spanned, AngleBracketedGenericArguments, Ident, LitStr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | PathArguments, PathSegment, Token, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProtobufOptionName` [INFO] [stdout] --> src/expand.rs:15:73 [INFO] [stdout] | [INFO] [stdout] 15 | Modifier, NestedTypeIndex, OneOf, ProtobufConstant, ProtobufOption, ProtobufOptionName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_macro::TokenStream` [INFO] [stdout] --> src/model.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use proc_macro::TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/expand.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `process::id` [INFO] [stdout] --> src/expand.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, process::id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AngleBracketedGenericArguments`, `PathArguments`, `PathSegment`, `Token` [INFO] [stdout] --> src/expand.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | punctuated::Punctuated, spanned::Spanned, AngleBracketedGenericArguments, Ident, LitStr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | PathArguments, PathSegment, Token, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProtobufOptionName` [INFO] [stdout] --> src/expand.rs:15:73 [INFO] [stdout] | [INFO] [stdout] 15 | Modifier, NestedTypeIndex, OneOf, ProtobufConstant, ProtobufOption, ProtobufOptionName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_macro::TokenStream` [INFO] [stdout] --> src/model.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use proc_macro::TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_path` [INFO] [stdout] --> src/expand.rs:258:48 [INFO] [stdout] | [INFO] [stdout] 258 | let type_tag = typ.to_tag(|enum_path| None).map(|tokens| quote!(#tokens,)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group` [INFO] [stdout] --> src/expand.rs:398:30 [INFO] [stdout] | [INFO] [stdout] 398 | FieldType::Group(group) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_path` [INFO] [stdout] --> src/expand.rs:258:48 [INFO] [stdout] | [INFO] [stdout] 258 | let type_tag = typ.to_tag(|enum_path| None).map(|tokens| quote!(#tokens,)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group` [INFO] [stdout] --> src/expand.rs:398:30 [INFO] [stdout] | [INFO] [stdout] 398 | FieldType::Group(group) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/model.rs:565:57 [INFO] [stdout] | [INFO] [stdout] 565 | ... ProtobufOptionNamePart::Ext(ext) => return false, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/model.rs:565:57 [INFO] [stdout] | [INFO] [stdout] 565 | ... ProtobufOptionNamePart::Ext(ext) => return false, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_bulitin` is never used [INFO] [stdout] --> src/model.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl ProtobufPath { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 27 | pub fn is_bulitin(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | Proto2(Option), [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] 52 | Proto2(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | Proto3(Span), [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] 54 | Proto3(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/model.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 69 | impl Modifier { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 70 | pub const fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fields` is never read [INFO] [stdout] --> src/model.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Group { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | pub fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `reserved_nums`, `reserved_names`, `options`, `extension_ranges`, and `extensions` are never read [INFO] [stdout] --> src/model.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 213 | /// Message name [INFO] [stdout] 214 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub reserved_nums: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 221 | /// Message reserved names [INFO] [stdout] 222 | pub reserved_names: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub options: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 229 | /// Extension field numbers [INFO] [stdout] 230 | pub extension_ranges: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 231 | /// Extensions [INFO] [stdout] 232 | pub extensions: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `regular_fields_including_in_oneofs`, `field_by_name`, `regular_fields_for_test`, and `oneofs` are never used [INFO] [stdout] --> src/model.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 236 | impl Message { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 237 | pub fn regular_fields_including_in_oneofs(&self) -> Vec<&Field> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn field_by_name(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn regular_fields_for_test(&self) -> Vec<&Field> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn oneofs(&self) -> Vec<&OneOf> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `options` are never read [INFO] [stdout] --> src/model.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct EnumValue { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 289 | /// enum value name [INFO] [stdout] 290 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | pub options: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `options`, `reserved_nums`, and `reserved_names` are never read [INFO] [stdout] --> src/model.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct Enumeration { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 309 | pub options: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 310 | /// enum reserved numbers [INFO] [stdout] 311 | pub reserved_nums: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 312 | /// enum reserved names [INFO] [stdout] 313 | pub reserved_names: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enumeration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `extendee` and `field` are never read [INFO] [stdout] --> src/model.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Extension { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 333 | /// Extend this type with field [INFO] [stdout] 334 | pub extendee: ProtobufPath, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 335 | /// Extension field [INFO] [stdout] 336 | pub field: Field, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Extension` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/model.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 341 | pub struct Method { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 342 | /// Method name [INFO] [stdout] 343 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Method` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `options` are never read [INFO] [stdout] --> src/model.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 361 | pub struct Service { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 362 | /// Service name [INFO] [stdout] 363 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | pub options: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Service` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ident` is never constructed [INFO] [stdout] --> src/model.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 406 | pub enum ProtobufConstant { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 410 | Ident(ProtobufPath), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtobufConstant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format` is never used [INFO] [stdout] --> src/model.rs:440:12 [INFO] [stdout] | [INFO] [stdout] 439 | impl ProtobufConstantMessage { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 440 | pub fn format(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format` is never used [INFO] [stdout] --> src/model.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 454 | impl ProtobufConstant { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 455 | pub fn format(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:604:12 [INFO] [stdout] | [INFO] [stdout] 604 | Public(Span), [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] 604 | Public(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:605:10 [INFO] [stdout] | [INFO] [stdout] 605 | Weak(Span), [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] 605 | Weak(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `import_token`, `path`, and `vis` are never read [INFO] [stdout] --> src/model.rs:617:9 [INFO] [stdout] | [INFO] [stdout] 616 | pub struct Import { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 617 | pub import_token: Span, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 618 | pub path: LitStr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 619 | pub vis: ImportVis, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Import` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `package` is never read [INFO] [stdout] --> src/model.rs:624:9 [INFO] [stdout] | [INFO] [stdout] 623 | pub struct Package { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 624 | pub package: Ident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Package` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `some_label_required` is never used [INFO] [stdout] --> src/parse.rs:452:8 [INFO] [stdout] | [INFO] [stdout] 429 | impl MessageBodyParseMode { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 452 | fn some_label_required(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_bulitin` is never used [INFO] [stdout] --> src/model.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl ProtobufPath { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 27 | pub fn is_bulitin(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | Proto2(Option), [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] 52 | Proto2(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | Proto3(Span), [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] 54 | Proto3(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/model.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 69 | impl Modifier { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 70 | pub const fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fields` is never read [INFO] [stdout] --> src/model.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Group { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | pub fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `reserved_nums`, `reserved_names`, `options`, `extension_ranges`, and `extensions` are never read [INFO] [stdout] --> src/model.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 213 | /// Message name [INFO] [stdout] 214 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub reserved_nums: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 221 | /// Message reserved names [INFO] [stdout] 222 | pub reserved_names: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub options: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 229 | /// Extension field numbers [INFO] [stdout] 230 | pub extension_ranges: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 231 | /// Extensions [INFO] [stdout] 232 | pub extensions: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `regular_fields_including_in_oneofs`, `field_by_name`, and `oneofs` are never used [INFO] [stdout] --> src/model.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 236 | impl Message { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 237 | pub fn regular_fields_including_in_oneofs(&self) -> Vec<&Field> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn field_by_name(&self, name: &str) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn oneofs(&self) -> Vec<&OneOf> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `options` are never read [INFO] [stdout] --> src/model.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct EnumValue { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 289 | /// enum value name [INFO] [stdout] 290 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | pub options: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `options`, `reserved_nums`, and `reserved_names` are never read [INFO] [stdout] --> src/model.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct Enumeration { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 309 | pub options: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 310 | /// enum reserved numbers [INFO] [stdout] 311 | pub reserved_nums: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 312 | /// enum reserved names [INFO] [stdout] 313 | pub reserved_names: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enumeration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `extendee` and `field` are never read [INFO] [stdout] --> src/model.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Extension { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 333 | /// Extend this type with field [INFO] [stdout] 334 | pub extendee: ProtobufPath, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 335 | /// Extension field [INFO] [stdout] 336 | pub field: Field, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Extension` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/model.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 341 | pub struct Method { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 342 | /// Method name [INFO] [stdout] 343 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Method` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `options` are never read [INFO] [stdout] --> src/model.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 361 | pub struct Service { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 362 | /// Service name [INFO] [stdout] 363 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | pub options: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Service` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ident` is never constructed [INFO] [stdout] --> src/model.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 406 | pub enum ProtobufConstant { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 410 | Ident(ProtobufPath), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtobufConstant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format` is never used [INFO] [stdout] --> src/model.rs:440:12 [INFO] [stdout] | [INFO] [stdout] 439 | impl ProtobufConstantMessage { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 440 | pub fn format(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format` is never used [INFO] [stdout] --> src/model.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 454 | impl ProtobufConstant { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 455 | pub fn format(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:604:12 [INFO] [stdout] | [INFO] [stdout] 604 | Public(Span), [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] 604 | Public(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:605:10 [INFO] [stdout] | [INFO] [stdout] 605 | Weak(Span), [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] 605 | Weak(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `import_token`, `path`, and `vis` are never read [INFO] [stdout] --> src/model.rs:617:9 [INFO] [stdout] | [INFO] [stdout] 616 | pub struct Import { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 617 | pub import_token: Span, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 618 | pub path: LitStr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 619 | pub vis: ImportVis, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Import` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `package` is never read [INFO] [stdout] --> src/model.rs:624:9 [INFO] [stdout] | [INFO] [stdout] 623 | pub struct Package { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 624 | pub package: Ident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Package` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `some_label_required` is never used [INFO] [stdout] --> src/parse.rs:452:8 [INFO] [stdout] | [INFO] [stdout] 429 | impl MessageBodyParseMode { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 452 | fn some_label_required(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.41s [INFO] running `Command { std: "docker" "inspect" "4968470bd57074b6aecbcf2b709f85184b5ec20d3654eddcf5af748cffc90e32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4968470bd57074b6aecbcf2b709f85184b5ec20d3654eddcf5af748cffc90e32", kill_on_drop: false }` [INFO] [stdout] 4968470bd57074b6aecbcf2b709f85184b5ec20d3654eddcf5af748cffc90e32 [INFO] checking powermacros/power-protobuf against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpowermacros%2Fpower-protobuf" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/powermacros/power-protobuf on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/powermacros/power-protobuf [INFO] finished tweaking git repo https://github.com/powermacros/power-protobuf [INFO] tweaked toml for git repo https://github.com/powermacros/power-protobuf written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/powermacros/syn-prelude.git` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9989f249d0280c4cb87808390fafaff97a1c356fd5b002896e7ff7592b05c629 [INFO] running `Command { std: "docker" "start" "-a" "9989f249d0280c4cb87808390fafaff97a1c356fd5b002896e7ff7592b05c629", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9989f249d0280c4cb87808390fafaff97a1c356fd5b002896e7ff7592b05c629", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9989f249d0280c4cb87808390fafaff97a1c356fd5b002896e7ff7592b05c629", kill_on_drop: false }` [INFO] [stdout] 9989f249d0280c4cb87808390fafaff97a1c356fd5b002896e7ff7592b05c629 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36c8e0d8f85db0c01203552ddf1675566a24bf0d32090d8a46b7bca4259eb27b [INFO] running `Command { std: "docker" "start" "-a" "36c8e0d8f85db0c01203552ddf1675566a24bf0d32090d8a46b7bca4259eb27b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking syn v2.0.58 [INFO] [stderr] Compiling syn-prelude-macros v0.1.0 (https://github.com/powermacros/syn-prelude.git#a354d008) [INFO] [stderr] Checking syn-prelude v0.1.0 (https://github.com/powermacros/syn-prelude.git#a354d008) [INFO] [stderr] Checking power-protobuf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/expand.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `process::id` [INFO] [stdout] --> src/expand.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, process::id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AngleBracketedGenericArguments`, `PathArguments`, `PathSegment`, `Token` [INFO] [stdout] --> src/expand.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | punctuated::Punctuated, spanned::Spanned, AngleBracketedGenericArguments, Ident, LitStr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | PathArguments, PathSegment, Token, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProtobufOptionName` [INFO] [stdout] --> src/expand.rs:15:73 [INFO] [stdout] | [INFO] [stdout] 15 | Modifier, NestedTypeIndex, OneOf, ProtobufConstant, ProtobufOption, ProtobufOptionName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_macro::TokenStream` [INFO] [stdout] --> src/model.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use proc_macro::TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/expand.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `process::id` [INFO] [stdout] --> src/expand.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, process::id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AngleBracketedGenericArguments`, `PathArguments`, `PathSegment`, `Token` [INFO] [stdout] --> src/expand.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | punctuated::Punctuated, spanned::Spanned, AngleBracketedGenericArguments, Ident, LitStr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | PathArguments, PathSegment, Token, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProtobufOptionName` [INFO] [stdout] --> src/expand.rs:15:73 [INFO] [stdout] | [INFO] [stdout] 15 | Modifier, NestedTypeIndex, OneOf, ProtobufConstant, ProtobufOption, ProtobufOptionName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_macro::TokenStream` [INFO] [stdout] --> src/model.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use proc_macro::TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parse.rs:70:63 [INFO] [stdout] | [INFO] [stdout] 70 | input.span().to_syn_error("unexpected token").to_err()?; [INFO] [stdout] | ^^^^^^ cannot infer type of the type parameter `T` declared on the method `to_err` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 70 | input.span().to_syn_error("unexpected token").to_err::()?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parse.rs:288:70 [INFO] [stdout] | [INFO] [stdout] 288 | stream.to_syn_error("unexpect stream in proto3").to_err()?; [INFO] [stdout] | ^^^^^^ cannot infer type of the type parameter `T` declared on the method `to_err` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 288 | stream.to_syn_error("unexpect stream in proto3").to_err::()?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parse.rs:319:57 [INFO] [stdout] | [INFO] [stdout] 319 | inner.span().to_syn_error("expect ')'").to_err()?; [INFO] [stdout] | ^^^^^^ cannot infer type of the type parameter `T` declared on the method `to_err` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 319 | inner.span().to_syn_error("expect ')'").to_err::()?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parse.rs:70:63 [INFO] [stdout] | [INFO] [stdout] 70 | input.span().to_syn_error("unexpected token").to_err()?; [INFO] [stdout] | ^^^^^^ cannot infer type of the type parameter `T` declared on the method `to_err` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 70 | input.span().to_syn_error("unexpected token").to_err::()?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parse.rs:575:26 [INFO] [stdout] | [INFO] [stdout] 575 | .to_err()?; [INFO] [stdout] | ^^^^^^ cannot infer type of the type parameter `T` declared on the method `to_err` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 575 | .to_err::()?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parse.rs:288:70 [INFO] [stdout] | [INFO] [stdout] 288 | stream.to_syn_error("unexpect stream in proto3").to_err()?; [INFO] [stdout] | ^^^^^^ cannot infer type of the type parameter `T` declared on the method `to_err` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 288 | stream.to_syn_error("unexpect stream in proto3").to_err::()?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parse.rs:319:57 [INFO] [stdout] | [INFO] [stdout] 319 | inner.span().to_syn_error("expect ')'").to_err()?; [INFO] [stdout] | ^^^^^^ cannot infer type of the type parameter `T` declared on the method `to_err` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 319 | inner.span().to_syn_error("expect ')'").to_err::()?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parse.rs:674:22 [INFO] [stdout] | [INFO] [stdout] 674 | .to_err()?; [INFO] [stdout] | ^^^^^^ cannot infer type of the type parameter `T` declared on the method `to_err` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 674 | .to_err::()?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parse.rs:807:53 [INFO] [stdout] | [INFO] [stdout] 807 | name.to_syn_error("missing fields").to_err()?; [INFO] [stdout] | ^^^^^^ cannot infer type of the type parameter `T` declared on the method `to_err` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 807 | name.to_syn_error("missing fields").to_err::()?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parse.rs:575:26 [INFO] [stdout] | [INFO] [stdout] 575 | .to_err()?; [INFO] [stdout] | ^^^^^^ cannot infer type of the type parameter `T` declared on the method `to_err` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 575 | .to_err::()?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parse.rs:674:22 [INFO] [stdout] | [INFO] [stdout] 674 | .to_err()?; [INFO] [stdout] | ^^^^^^ cannot infer type of the type parameter `T` declared on the method `to_err` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 674 | .to_err::()?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parse.rs:807:53 [INFO] [stdout] | [INFO] [stdout] 807 | name.to_syn_error("missing fields").to_err()?; [INFO] [stdout] | ^^^^^^ cannot infer type of the type parameter `T` declared on the method `to_err` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 807 | name.to_syn_error("missing fields").to_err::()?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_path` [INFO] [stdout] --> src/expand.rs:258:48 [INFO] [stdout] | [INFO] [stdout] 258 | let type_tag = typ.to_tag(|enum_path| None).map(|tokens| quote!(#tokens,)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group` [INFO] [stdout] --> src/expand.rs:398:30 [INFO] [stdout] | [INFO] [stdout] 398 | FieldType::Group(group) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_path` [INFO] [stdout] --> src/expand.rs:258:48 [INFO] [stdout] | [INFO] [stdout] 258 | let type_tag = typ.to_tag(|enum_path| None).map(|tokens| quote!(#tokens,)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group` [INFO] [stdout] --> src/expand.rs:398:30 [INFO] [stdout] | [INFO] [stdout] 398 | FieldType::Group(group) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/model.rs:565:57 [INFO] [stdout] | [INFO] [stdout] 565 | ... ProtobufOptionNamePart::Ext(ext) => return false, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/model.rs:565:57 [INFO] [stdout] | [INFO] [stdout] 565 | ... ProtobufOptionNamePart::Ext(ext) => return false, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `power-protobuf` (lib test) due to 7 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `power-protobuf` (lib) due to 7 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "36c8e0d8f85db0c01203552ddf1675566a24bf0d32090d8a46b7bca4259eb27b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36c8e0d8f85db0c01203552ddf1675566a24bf0d32090d8a46b7bca4259eb27b", kill_on_drop: false }` [INFO] [stdout] 36c8e0d8f85db0c01203552ddf1675566a24bf0d32090d8a46b7bca4259eb27b