[INFO] cloning repository https://github.com/mippo-app/derive_pb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mippo-app/derive_pb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmippo-app%2Fderive_pb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmippo-app%2Fderive_pb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dccd9e65a8c302fe4a00080f044c9f43dae46a73
[INFO] checking mippo-app/derive_pb/dccd9e65a8c302fe4a00080f044c9f43dae46a73 against master#57f772f25c5ce2bd870d6f8c3ab318eaee5a3326 for pr-133502-22
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmippo-app%2Fderive_pb" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mippo-app/derive_pb
[INFO] removed 0 missing tests
[INFO] finished tweaking git repo https://github.com/mippo-app/derive_pb
[INFO] tweaked toml for git repo https://github.com/mippo-app/derive_pb written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mippo-app/derive_pb on toolchain 57f772f25c5ce2bd870d6f8c3ab318eaee5a3326
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mippo-app/derive_pb 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" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 6 packages to latest compatible versions
[INFO] [stderr]       Adding m-helper v0.0.1
[INFO] [stderr]     Updating proc-macro2 v1.0.43 -> v1.0.106
[INFO] [stderr]     Updating quote v1.0.21 -> v1.0.45
[INFO] [stderr]       Adding same-file v1.0.6
[INFO] [stderr]       Adding syn v2.0.117
[INFO] [stderr]       Adding walkdir v2.5.0
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.144
[INFO] [stderr]   Downloaded toml v0.5.9
[INFO] [stderr]   Downloaded trybuild v1.0.64
[INFO] [stderr]   Downloaded m-helper v0.0.1
[INFO] [stderr]   Downloaded once_cell v1.14.0
[INFO] [stderr]   Downloaded dissimilar v1.0.4
[INFO] [stderr]   Downloaded uuid v1.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d88adf70d4e902e0cbddb0a58cd7d734d9bf43190c74a1a2eb5e9c77faa50aa7
[INFO] running `Command { std: "docker" "start" "-a" "d88adf70d4e902e0cbddb0a58cd7d734d9bf43190c74a1a2eb5e9c77faa50aa7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d88adf70d4e902e0cbddb0a58cd7d734d9bf43190c74a1a2eb5e9c77faa50aa7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d88adf70d4e902e0cbddb0a58cd7d734d9bf43190c74a1a2eb5e9c77faa50aa7", kill_on_drop: false }`
[INFO] [stdout] d88adf70d4e902e0cbddb0a58cd7d734d9bf43190c74a1a2eb5e9c77faa50aa7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 693898ac8f70bbbe569654847e544478e7fc0ca465ad9d036306f069da17e6bd
[INFO] running `Command { std: "docker" "start" "-a" "693898ac8f70bbbe569654847e544478e7fc0ca465ad9d036306f069da17e6bd", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling serde v1.0.144
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling serde_derive v1.0.144
[INFO] [stderr]    Compiling serde_json v1.0.85
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking uuid v1.1.2
[INFO] [stderr]     Checking itoa v1.0.3
[INFO] [stderr]     Checking ryu v1.0.11
[INFO] [stderr]    Compiling trybuild v1.0.64
[INFO] [stderr]     Checking dissimilar v1.0.4
[INFO] [stderr]     Checking glob v0.3.0
[INFO] [stderr]     Checking once_cell v1.14.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking m-helper v0.0.1
[INFO] [stderr]     Checking quote v1.0.45
[INFO] [stderr]     Checking syn v2.0.117
[INFO] [stderr]     Checking toml v0.5.9
[INFO] [stderr]     Checking derive_pb v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `parenthesized` and `token`
[INFO] [stdout]  --> src/field_meta_map.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use syn::{parenthesized, token, LitStr};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `proc_macro2::TokenStream`
[INFO] [stdout]  --> src/utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use proc_macro2::TokenStream; // Punct, Spacing, Span, TokenTree
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quote::ToTokens`
[INFO] [stdout]  --> src/utils.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use quote::ToTokens; // TokenStreamExt
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `syn::Expr`
[INFO] [stdout]  --> src/utils.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use syn::Expr;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `syn::ExprLit`
[INFO] [stdout]  --> src/utils.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use syn::ExprLit;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `syn::Lit`
[INFO] [stdout]  --> src/utils.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use syn::Lit;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bb`
[INFO] [stdout]    --> src/a_enum.rs:125:33
[INFO] [stdout]     |
[INFO] [stdout] 125 | ...                   let bb: syn::Type =
[INFO] [stdout]     |                           ^^ help: if this is intentional, prefix it with an underscore: `_bb`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bb`
[INFO] [stdout]    --> src/a_enum.rs:148:33
[INFO] [stdout]     |
[INFO] [stdout] 148 | ...                   let bb: syn::Type =
[INFO] [stdout]     |                           ^^ help: if this is intentional, prefix it with an underscore: `_bb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_pure_enum`
[INFO] [stdout]   --> src/a_struct.rs:87:42
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let (name, pb_name, module_path, is_pure_enum) = get_target_info(&ast);
[INFO] [stdout]    |                                          ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_pure_enum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/utils.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut is_primitive = false;
[INFO] [stdout]    |         ----^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_primitive`
[INFO] [stdout]   --> src/utils.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut is_primitive = false;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_primitive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `named`
[INFO] [stdout]   --> src/lib.rs:71:55
[INFO] [stdout]    |
[INFO] [stdout] 71 |         fields: syn::Fields::Named(syn::FieldsNamed { ref named, .. }),
[INFO] [stdout]    |                                                       ^^^^^^^^^ help: try ignoring the field: `named: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `aaa`
[INFO] [stdout]   --> src/lib.rs:85:35
[INFO] [stdout]    |
[INFO] [stdout] 85 |     } else if let syn::Data::Enum(aaa) = &ast.data {
[INFO] [stdout]    |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_aaa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `module_path` and `variant_meta_map` are never read
[INFO] [stdout]   --> src/a_enum.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct EnumInfo {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub module_path: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 18 |     pub variant_meta_map: super::FieldMetaMap,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `field_meta_map` is never read
[INFO] [stdout]   --> src/a_struct.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct StructInfo {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub field_meta_map: super::FieldMetaMap,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `from_pb_func_name` and `to_pb_func_name` are never read
[INFO] [stdout]  --> src/field_attr.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct VariantAttr {
[INFO] [stdout]   |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     pub from_pb_func_name: Option<String>,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9 |     pub to_pb_func_name: Option<String>,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `VariantAttr` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `parenthesized` and `token`
[INFO] [stdout]  --> src/field_meta_map.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use syn::{parenthesized, token, LitStr};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `proc_macro2::TokenStream`
[INFO] [stdout]  --> src/utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use proc_macro2::TokenStream; // Punct, Spacing, Span, TokenTree
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quote::ToTokens`
[INFO] [stdout]  --> src/utils.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use quote::ToTokens; // TokenStreamExt
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `syn::Expr`
[INFO] [stdout]  --> src/utils.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use syn::Expr;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `syn::ExprLit`
[INFO] [stdout]  --> src/utils.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use syn::ExprLit;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `syn::Lit`
[INFO] [stdout]  --> src/utils.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use syn::Lit;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bb`
[INFO] [stdout]    --> src/a_enum.rs:125:33
[INFO] [stdout]     |
[INFO] [stdout] 125 | ...                   let bb: syn::Type =
[INFO] [stdout]     |                           ^^ help: if this is intentional, prefix it with an underscore: `_bb`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bb`
[INFO] [stdout]    --> src/a_enum.rs:148:33
[INFO] [stdout]     |
[INFO] [stdout] 148 | ...                   let bb: syn::Type =
[INFO] [stdout]     |                           ^^ help: if this is intentional, prefix it with an underscore: `_bb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_pure_enum`
[INFO] [stdout]   --> src/a_struct.rs:87:42
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let (name, pb_name, module_path, is_pure_enum) = get_target_info(&ast);
[INFO] [stdout]    |                                          ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_pure_enum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/utils.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut is_primitive = false;
[INFO] [stdout]    |         ----^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_primitive`
[INFO] [stdout]   --> src/utils.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut is_primitive = false;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_primitive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `named`
[INFO] [stdout]   --> src/lib.rs:71:55
[INFO] [stdout]    |
[INFO] [stdout] 71 |         fields: syn::Fields::Named(syn::FieldsNamed { ref named, .. }),
[INFO] [stdout]    |                                                       ^^^^^^^^^ help: try ignoring the field: `named: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `aaa`
[INFO] [stdout]   --> src/lib.rs:85:35
[INFO] [stdout]    |
[INFO] [stdout] 85 |     } else if let syn::Data::Enum(aaa) = &ast.data {
[INFO] [stdout]    |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_aaa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `module_path` and `variant_meta_map` are never read
[INFO] [stdout]   --> src/a_enum.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct EnumInfo {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub module_path: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 18 |     pub variant_meta_map: super::FieldMetaMap,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `field_meta_map` is never read
[INFO] [stdout]   --> src/a_struct.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct StructInfo {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub field_meta_map: super::FieldMetaMap,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `from_pb_func_name` and `to_pb_func_name` are never read
[INFO] [stdout]  --> src/field_attr.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct VariantAttr {
[INFO] [stdout]   |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     pub from_pb_func_name: Option<String>,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9 |     pub to_pb_func_name: Option<String>,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `VariantAttr` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] key: "pb_name"
[INFO] [stderr] value: "pb_ValueOf"
[INFO] [stdout] Enum
[INFO] [stderr] hashmap: {"pb_name": "pb_ValueOf"}
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(305..307) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(308..315) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(316..317) }, Literal { kind: Str, symbol: "pb_ValueOf", suffix: None, span: #0 bytes(318..330) }] } }
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(305..307) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(308..315) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(316..317) }, Literal { kind: Str, symbol: "pb_ValueOf", suffix: None, span: #0 bytes(318..330) }] } }
[INFO] [stdout] A
[INFO] [stdout] B
[INFO] [stdout] new: Ident { ident: "ValueOf", span: #0 bytes(346..353) }|Ident { ident: "pb_ValueOf", span: #0 bytes(346..353) }|"m_helper"
[INFO] [stdout] dataenum: [Variant { attrs: [], ident: Ident { ident: "Int32Value", span: #0 bytes(364..374) }, fields: Fields::Unnamed { paren_token: Paren, unnamed: [Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: None, colon_token: None, ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "i32", span: #0 bytes(375..378) }, arguments: PathArguments::None }] } } }] }, discriminant: None }, Comma, Variant { attrs: [], ident: Ident { ident: "Int64Value", span: #0 bytes(389..399) }, fields: Fields::Unnamed { paren_token: Paren, unnamed: [Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: None, colon_token: None, ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "i64", span: #0 bytes(400..403) }, arguments: PathArguments::None }] } } }] }, discriminant: None }, Comma, Variant { attrs: [], ident: Ident { ident: "FloatValue", span: #0 bytes(414..424) }, fields: Fields::Unnamed { paren_token: Paren, unnamed: [Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: None, colon_token: None, ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "f32", span: #0 bytes(425..428) }, arguments: PathArguments::None }] } } }] }, discriminant: None }, Comma, Variant { attrs: [], ident: Ident { ident: "DoubleValue", span: #0 bytes(439..450) }, fields: Fields::Unnamed { paren_token: Paren, unnamed: [Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: None, colon_token: None, ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "f64", span: #0 bytes(451..454) }, arguments: PathArguments::None }] } } }] }, discriminant: None }, Comma]
[INFO] [stdout] Variant { attrs: [], ident: Ident { ident: "Int32Value", span: #0 bytes(364..374) }, fields: Fields::Unnamed { paren_token: Paren, unnamed: [Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: None, colon_token: None, ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "i32", span: #0 bytes(375..378) }, arguments: PathArguments::None }] } } }] }, discriminant: None }
[INFO] [stdout] Variant { attrs: [], ident: Ident { ident: "Int64Value", span: #0 bytes(389..399) }, fields: Fields::Unnamed { paren_token: Paren, unnamed: [Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: None, colon_token: None, ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "i64", span: #0 bytes(400..403) }, arguments: PathArguments::None }] } } }] }, discriminant: None }
[INFO] [stdout] Variant { attrs: [], ident: Ident { ident: "FloatValue", span: #0 bytes(414..424) }, fields: Fields::Unnamed { paren_token: Paren, unnamed: [Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: None, colon_token: None, ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "f32", span: #0 bytes(425..428) }, arguments: PathArguments::None }] } } }] }, discriminant: None }
[INFO] [stdout] Variant { attrs: [], ident: Ident { ident: "DoubleValue", span: #0 bytes(439..450) }, fields: Fields::Unnamed { paren_token: Paren, unnamed: [Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: None, colon_token: None, ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "f64", span: #0 bytes(451..454) }, arguments: PathArguments::None }] } } }] }, discriminant: None }
[INFO] [stdout] FieldMetaMap { field_meta_map: {} }
[INFO] [stdout] "Int32Value"
[INFO] [stdout] []
[INFO] [stdout] "Int64Value"
[INFO] [stdout] []
[INFO] [stdout] "FloatValue"
[INFO] [stdout] []
[INFO] [stdout] "DoubleValue"
[INFO] [stdout] []
[INFO] [stdout] warning: type `pb_ValueOf` should have an upper camel case name
[INFO] [stdout]  --> tests/bbb.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub enum pb_ValueOf {
[INFO] [stdout]   |              ^^^^^^^^^^ help: convert the identifier to upper camel case: `PbValueOf`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] key: "pb_name"
[INFO] [stderr] value: "pb_Hoge"
[INFO] [stderr] key: "aa"
[INFO] [stdout] struct
[INFO] [stderr] value: "A"
[INFO] [stdout] 2
[INFO] [stderr] hashmap: {"aa": "A", "pb_name": "pb_Hoge"}
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(303..305) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(306..313) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(314..315) }, Literal { kind: Str, symbol: "pb_Hoge", suffix: None, span: #0 bytes(316..325) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(325..326) }, Ident { ident: "aa", span: #0 bytes(327..329) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(330..331) }, Literal { kind: Str, symbol: "A", suffix: None, span: #0 bytes(332..335) }] } }
[INFO] [stderr] key: "pb_name"
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(303..305) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(306..313) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(314..315) }, Literal { kind: Str, symbol: "pb_Hoge", suffix: None, span: #0 bytes(316..325) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(325..326) }, Ident { ident: "aa", span: #0 bytes(327..329) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(330..331) }, Literal { kind: Str, symbol: "A", suffix: None, span: #0 bytes(332..335) }] } }
[INFO] [stderr] value: "pb_MantleType"
[INFO] [stdout] A
[INFO] [stderr] hashmap: {"pb_name": "pb_MantleType"}
[INFO] [stdout] B
[INFO] [stderr] key: "i32"
[INFO] [stdout] AAA
[INFO] [stdout] BBB
[INFO] [stdout] field_meta_map: FieldMetaMap { field_meta_map: {} }
[INFO] [stdout] FieldAttr: Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: Some(Ident { ident: "id", span: #0 bytes(364..366) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "u64", span: #0 bytes(368..371) }, arguments: PathArguments::None }] } } }
[INFO] [stdout] FieldAttr: Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: Some(Ident { ident: "name", span: #0 bytes(381..385) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "String", span: #0 bytes(387..393) }, arguments: PathArguments::None }] } } }
[INFO] [stdout] get_from_pb_fields: FieldAttr { is_skip: false, type_vec: [Ident { ident: "u64", span: #0 bytes(368..371) }], from_pb_func_name: None, to_pb_func_name: None, field: Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: Some(Ident { ident: "id", span: #0 bytes(364..366) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "u64", span: #0 bytes(368..371) }, arguments: PathArguments::None }] } } } }
[INFO] [stdout] get_field_name: Some(Ident { ident: "id", span: #0 bytes(364..366) })
[INFO] [stdout] get_from_field_quote: Ident { ident: "id", span: #0 bytes(364..366) } "m_helper" [Ident { ident: "u64", span: #0 bytes(368..371) }] None None
[INFO] [stdout] get_from_pb_fields: FieldAttr { is_skip: false, type_vec: [Ident { ident: "String", span: #0 bytes(387..393) }], from_pb_func_name: None, to_pb_func_name: None, field: Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: Some(Ident { ident: "name", span: #0 bytes(381..385) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "String", span: #0 bytes(387..393) }, arguments: PathArguments::None }] } } } }
[INFO] [stdout] get_field_name: Some(Ident { ident: "name", span: #0 bytes(381..385) })
[INFO] [stdout] get_from_field_quote: Ident { ident: "name", span: #0 bytes(381..385) } "m_helper" [Ident { ident: "String", span: #0 bytes(387..393) }] None None
[INFO] [stdout] get_field_name: Some(Ident { ident: "id", span: #0 bytes(364..366) })
[INFO] [stdout] get_field_name: Some(Ident { ident: "name", span: #0 bytes(381..385) })
[INFO] [stdout] Enum
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(3121..3123) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(3124..3131) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(3132..3133) }, Literal { kind: Str, symbol: "pb_MantleType", suffix: None, span: #0 bytes(3134..3149) }] } }
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(3121..3123) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(3124..3131) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(3132..3133) }, Literal { kind: Str, symbol: "pb_MantleType", suffix: None, span: #0 bytes(3134..3149) }] } }
[INFO] [stdout] Enum
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "repr", span: #0 bytes(3166..3170) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "i32", span: #0 bytes(3171..3174) }] } }
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "repr", span: #0 bytes(3166..3170) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "i32", span: #0 bytes(3171..3174) }] } }
[INFO] [stdout] A
[INFO] [stdout] B
[INFO] [stdout] new: Ident { ident: "MantleType", span: #0 bytes(3198..3208) }|Ident { ident: "pb_MantleType", span: #0 bytes(3198..3208) }|"m_helper"
[INFO] [stdout] dataenum: [Variant { attrs: [], ident: Ident { ident: "Unknown", span: #0 bytes(3227..3234) }, fields: Fields::Unit, discriminant: Some((Eq, Expr::Lit { attrs: [], lit: Lit::Int { token: 0 } })) }, Comma, Variant { attrs: [], ident: Ident { ident: "Sand", span: #0 bytes(3256..3260) }, fields: Fields::Unit, discriminant: Some((Eq, Expr::Lit { attrs: [], lit: Lit::Int { token: 1 } })) }, Comma, Variant { attrs: [], ident: Ident { ident: "Stone", span: #0 bytes(3282..3287) }, fields: Fields::Unit, discriminant: Some((Eq, Expr::Lit { attrs: [], lit: Lit::Int { token: 2 } })) }, Comma]
[INFO] [stdout] Variant { attrs: [], ident: Ident { ident: "Unknown", span: #0 bytes(3227..3234) }, fields: Fields::Unit, discriminant: Some((Eq, Expr::Lit { attrs: [], lit: Lit::Int { token: 0 } })) }
[INFO] [stdout] Variant { attrs: [], ident: Ident { ident: "Sand", span: #0 bytes(3256..3260) }, fields: Fields::Unit, discriminant: Some((Eq, Expr::Lit { attrs: [], lit: Lit::Int { token: 1 } })) }
[INFO] [stdout] Variant { attrs: [], ident: Ident { ident: "Stone", span: #0 bytes(3282..3287) }, fields: Fields::Unit, discriminant: Some((Eq, Expr::Lit { attrs: [], lit: Lit::Int { token: 2 } })) }
[INFO] [stdout] FieldMetaMap { field_meta_map: {} }
[INFO] [stdout] "Unknown"
[INFO] [stdout] []
[INFO] [stdout] "Sand"
[INFO] [stdout] []
[INFO] [stdout] "Stone"
[INFO] [stdout] []
[INFO] [stdout] variant: Ident { ident: "Unknown", span: #0 bytes(3227..3234) } | LitInt { token: 0 }
[INFO] [stdout] variant: Ident { ident: "Sand", span: #0 bytes(3256..3260) } | LitInt { token: 1 }
[INFO] [stdout] variant: Ident { ident: "Stone", span: #0 bytes(3282..3287) } | LitInt { token: 2 }
[INFO] [stdout] variant: Ident { ident: "Unknown", span: #0 bytes(3227..3234) } | LitInt { token: 0 }
[INFO] [stdout] variant: Ident { ident: "Sand", span: #0 bytes(3256..3260) } | LitInt { token: 1 }
[INFO] [stdout] variant: Ident { ident: "Stone", span: #0 bytes(3282..3287) } | LitInt { token: 2 }
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(435..437) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(438..445) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(446..447) }, Literal { kind: Str, symbol: "pb_MantleType", suffix: None, span: #0 bytes(448..463) }] } }
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(435..437) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(438..445) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(446..447) }, Literal { kind: Str, symbol: "pb_MantleType", suffix: None, span: #0 bytes(448..463) }] } }
[INFO] [stdout] A
[INFO] [stdout] B
[INFO] [stdout] new: Ident { ident: "MantleType", span: #0 bytes(479..489) }|Ident { ident: "pb_MantleType", span: #0 bytes(479..489) }|"m_helper"
[INFO] [stdout] dataenum: [Variant { attrs: [], ident: Ident { ident: "Sand", span: #0 bytes(500..504) }, fields: Fields::Unnamed { paren_token: Paren, unnamed: [Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: None, colon_token: None, ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "Sand", span: #0 bytes(505..509) }, arguments: PathArguments::None }] } } }] }, discriminant: None }, Comma, Variant { attrs: [], ident: Ident { ident: "Stone", span: #0 bytes(520..525) }, fields: Fields::Unnamed { paren_token: Paren, unnamed: [Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: None, colon_token: None, ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "Stone", span: #0 bytes(526..531) }, arguments: PathArguments::None }] } } }] }, discriminant: None }, Comma, Variant { attrs: [], ident: Ident { ident: "Temp", span: #0 bytes(542..546) }, fields: Fields::Unnamed { paren_token: Paren, unnamed: [Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: None, colon_token: None, ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "u32", span: #0 bytes(547..550) }, arguments: PathArguments::None }] } } }] }, discriminant: None }, Comma]
[INFO] [stdout] Variant { attrs: [], ident: Ident { ident: "Sand", span: #0 bytes(500..504) }, fields: Fields::Unnamed { paren_token: Paren, unnamed: [Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: None, colon_token: None, ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "Sand", span: #0 bytes(505..509) }, arguments: PathArguments::None }] } } }] }, discriminant: None }
[INFO] [stdout] Variant { attrs: [], ident: Ident { ident: "Stone", span: #0 bytes(520..525) }, fields: Fields::Unnamed { paren_token: Paren, unnamed: [Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: None, colon_token: None, ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "Stone", span: #0 bytes(526..531) }, arguments: PathArguments::None }] } } }] }, discriminant: None }
[INFO] [stdout] Variant { attrs: [], ident: Ident { ident: "Temp", span: #0 bytes(542..546) }, fields: Fields::Unnamed { paren_token: Paren, unnamed: [Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: None, colon_token: None, ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "u32", span: #0 bytes(547..550) }, arguments: PathArguments::None }] } } }] }, discriminant: None }
[INFO] [stdout] FieldMetaMap { field_meta_map: {} }
[INFO] [stdout] "Sand"
[INFO] [stdout] []
[INFO] [stdout] "Stone"
[INFO] [stdout] []
[INFO] [stdout] "Temp"
[INFO] [stdout] []
[INFO] [stdout] struct
[INFO] [stdout] 4
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(8726..8728) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(8729..8736) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(8737..8738) }, Literal { kind: Str, symbol: "pb_MantleId", suffix: None, span: #0 bytes(8739..8752) }] } }
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(8726..8728) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(8729..8736) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(8737..8738) }, Literal { kind: Str, symbol: "pb_MantleId", suffix: None, span: #0 bytes(8739..8752) }] } }
[INFO] [stdout] struct
[INFO] [stdout] 2
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(651..653) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(654..661) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(662..663) }, Literal { kind: Str, symbol: "pb_Sand", suffix: None, span: #0 bytes(664..673) }] } }
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(651..653) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(654..661) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(662..663) }, Literal { kind: Str, symbol: "pb_Sand", suffix: None, span: #0 bytes(664..673) }] } }
[INFO] [stdout] A
[INFO] [stdout] B
[INFO] [stdout] AAA
[INFO] [stdout] BBB
[INFO] [stdout] field_meta_map: FieldMetaMap { field_meta_map: {} }
[INFO] [stdout] FieldAttr: Field { attrs: [], vis: Visibility::Public(Pub), mutability: FieldMutability::None, ident: Some(Ident { ident: "place_id", span: #0 bytes(8809..8817) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "String", span: #0 bytes(8819..8825) }, arguments: PathArguments::None }] } } }
[INFO] [stdout] FieldAttr: Field { attrs: [], vis: Visibility::Public(Pub), mutability: FieldMutability::None, ident: Some(Ident { ident: "mantle_type", span: #0 bytes(8847..8858) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "MantleType", span: #0 bytes(8860..8870) }, arguments: PathArguments::None }] } } }
[INFO] [stdout] FieldAttr: Field { attrs: [], vis: Visibility::Public(Pub), mutability: FieldMutability::None, ident: Some(Ident { ident: "mineral_type", span: #0 bytes(8892..8904) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "i32", span: #0 bytes(8906..8909) }, arguments: PathArguments::None }] } } }
[INFO] [stderr] key: "pb_name"
[INFO] [stdout] FieldAttr: Field { attrs: [], vis: Visibility::Public(Pub), mutability: FieldMutability::None, ident: Some(Ident { ident: "rift_name", span: #0 bytes(8931..8940) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "String", span: #0 bytes(8942..8948) }, arguments: PathArguments::None }] } } }
[INFO] [stderr] value: "pb_MantleType"
[INFO] [stdout] get_from_pb_fields: FieldAttr { is_skip: false, type_vec: [Ident { ident: "String", span: #0 bytes(8819..8825) }], from_pb_func_name: None, to_pb_func_name: None, field: Field { attrs: [], vis: Visibility::Public(Pub), mutability: FieldMutability::None, ident: Some(Ident { ident: "place_id", span: #0 bytes(8809..8817) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "String", span: #0 bytes(8819..8825) }, arguments: PathArguments::None }] } } } }
[INFO] [stderr] hashmap: {"pb_name": "pb_MantleType"}
[INFO] [stdout] get_field_name: Some(Ident { ident: "place_id", span: #0 bytes(8809..8817) })
[INFO] [stderr] key: "pb_name"
[INFO] [stdout] get_from_field_quote: Ident { ident: "place_id", span: #0 bytes(8809..8817) } "m_helper" [Ident { ident: "String", span: #0 bytes(8819..8825) }] None None
[INFO] [stderr] value: "pb_MantleId"
[INFO] [stdout] get_from_pb_fields: FieldAttr { is_skip: false, type_vec: [Ident { ident: "MantleType", span: #0 bytes(8860..8870) }], from_pb_func_name: None, to_pb_func_name: None, field: Field { attrs: [], vis: Visibility::Public(Pub), mutability: FieldMutability::None, ident: Some(Ident { ident: "mantle_type", span: #0 bytes(8847..8858) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "MantleType", span: #0 bytes(8860..8870) }, arguments: PathArguments::None }] } } } }
[INFO] [stderr] hashmap: {"pb_name": "pb_MantleId"}
[INFO] [stdout] get_field_name: Some(Ident { ident: "mantle_type", span: #0 bytes(8847..8858) })
[INFO] [stderr] key: "pb_name"
[INFO] [stdout] get_from_field_quote: Ident { ident: "mantle_type", span: #0 bytes(8847..8858) } "m_helper" [Ident { ident: "MantleType", span: #0 bytes(8860..8870) }] None None
[INFO] [stderr] key: "pb_name"
[INFO] [stdout] get_from_pb_fields: FieldAttr { is_skip: false, type_vec: [Ident { ident: "i32", span: #0 bytes(8906..8909) }], from_pb_func_name: None, to_pb_func_name: None, field: Field { attrs: [], vis: Visibility::Public(Pub), mutability: FieldMutability::None, ident: Some(Ident { ident: "mineral_type", span: #0 bytes(8892..8904) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "i32", span: #0 bytes(8906..8909) }, arguments: PathArguments::None }] } } } }
[INFO] [stderr] value: "pb_MantleType"
[INFO] [stdout] get_field_name: Some(Ident { ident: "mineral_type", span: #0 bytes(8892..8904) })
[INFO] [stderr] hashmap: {"pb_name": "pb_MantleType"}
[INFO] [stdout] get_from_field_quote: Ident { ident: "mineral_type", span: #0 bytes(8892..8904) } "m_helper" [Ident { ident: "i32", span: #0 bytes(8906..8909) }] None None
[INFO] [stderr] value: "pb_Sand"
[INFO] [stdout] get_from_pb_fields: FieldAttr { is_skip: false, type_vec: [Ident { ident: "String", span: #0 bytes(8942..8948) }], from_pb_func_name: None, to_pb_func_name: None, field: Field { attrs: [], vis: Visibility::Public(Pub), mutability: FieldMutability::None, ident: Some(Ident { ident: "rift_name", span: #0 bytes(8931..8940) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "String", span: #0 bytes(8942..8948) }, arguments: PathArguments::None }] } } } }
[INFO] [stderr] key: "i32"
[INFO] [stdout] get_field_name: Some(Ident { ident: "rift_name", span: #0 bytes(8931..8940) })
[INFO] [stderr] hashmap: {"pb_name": "pb_Sand"}
[INFO] [stdout] get_from_field_quote: Ident { ident: "rift_name", span: #0 bytes(8931..8940) } "m_helper" [Ident { ident: "String", span: #0 bytes(8942..8948) }] None None
[INFO] [stderr] key: "pb_name"
[INFO] [stdout] get_field_name: Some(Ident { ident: "place_id", span: #0 bytes(8809..8817) })
[INFO] [stderr] value: "pb_Stone"
[INFO] [stdout] A
[INFO] [stderr] hashmap: {"pb_name": "pb_Stone"}
[INFO] [stdout] get_field_name: Some(Ident { ident: "mantle_type", span: #0 bytes(8847..8858) })
[INFO] [stderr] key: "pb_name"
[INFO] [stdout] B
[INFO] [stderr] value: "pb_Id"
[INFO] [stdout] get_field_name: Some(Ident { ident: "mineral_type", span: #0 bytes(8892..8904) })
[INFO] [stderr] hashmap: {"pb_name": "pb_Id"}
[INFO] [stdout] AAA
[INFO] [stderr] key: "pb_name"
[INFO] [stdout] get_field_name: Some(Ident { ident: "rift_name", span: #0 bytes(8931..8940) })
[INFO] [stderr] value: "pb_Valueof"
[INFO] [stdout] BBB
[INFO] [stderr] hashmap: {"pb_name": "pb_Valueof"}
[INFO] [stdout] Enum
[INFO] [stdout] field_meta_map: FieldMetaMap { field_meta_map: {} }
[INFO] [stdout] FieldAttr: Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: Some(Ident { ident: "id", span: #0 bytes(702..704) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "u64", span: #0 bytes(706..709) }, arguments: PathArguments::None }] } } }
[INFO] [stdout] FieldAttr: Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: Some(Ident { ident: "name", span: #0 bytes(719..723) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "String", span: #0 bytes(725..731) }, arguments: PathArguments::None }] } } }
[INFO] [stdout] get_from_pb_fields: FieldAttr { is_skip: false, type_vec: [Ident { ident: "u64", span: #0 bytes(706..709) }], from_pb_func_name: None, to_pb_func_name: None, field: Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: Some(Ident { ident: "id", span: #0 bytes(702..704) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "u64", span: #0 bytes(706..709) }, arguments: PathArguments::None }] } } } }
[INFO] [stdout] get_field_name: Some(Ident { ident: "id", span: #0 bytes(702..704) })
[INFO] [stdout] get_from_field_quote: Ident { ident: "id", span: #0 bytes(702..704) } "m_helper" [Ident { ident: "u64", span: #0 bytes(706..709) }] None None
[INFO] [stdout] get_from_pb_fields: FieldAttr { is_skip: false, type_vec: [Ident { ident: "String", span: #0 bytes(725..731) }], from_pb_func_name: None, to_pb_func_name: None, field: Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: Some(Ident { ident: "name", span: #0 bytes(719..723) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "String", span: #0 bytes(725..731) }, arguments: PathArguments::None }] } } } }
[INFO] [stdout] get_field_name: Some(Ident { ident: "name", span: #0 bytes(719..723) })
[INFO] [stdout] get_from_field_quote: Ident { ident: "name", span: #0 bytes(719..723) } "m_helper" [Ident { ident: "String", span: #0 bytes(725..731) }] None None
[INFO] [stdout] get_field_name: Some(Ident { ident: "id", span: #0 bytes(702..704) })
[INFO] [stdout] get_field_name: Some(Ident { ident: "name", span: #0 bytes(719..723) })
[INFO] [stdout] struct
[INFO] [stdout] 2
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(832..834) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(835..842) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(843..844) }, Literal { kind: Str, symbol: "pb_Stone", suffix: None, span: #0 bytes(845..855) }] } }
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(832..834) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(835..842) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(843..844) }, Literal { kind: Str, symbol: "pb_Stone", suffix: None, span: #0 bytes(845..855) }] } }
[INFO] [stdout] A
[INFO] [stdout] B
[INFO] [stdout] AAA
[INFO] [stdout] BBB
[INFO] [stdout] field_meta_map: FieldMetaMap { field_meta_map: {} }
[INFO] [stdout] FieldAttr: Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: Some(Ident { ident: "id", span: #0 bytes(885..887) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "u64", span: #0 bytes(889..892) }, arguments: PathArguments::None }] } } }
[INFO] [stdout] FieldAttr: Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: Some(Ident { ident: "name", span: #0 bytes(902..906) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "String", span: #0 bytes(908..914) }, arguments: PathArguments::None }] } } }
[INFO] [stdout] get_from_pb_fields: FieldAttr { is_skip: false, type_vec: [Ident { ident: "u64", span: #0 bytes(889..892) }], from_pb_func_name: None, to_pb_func_name: None, field: Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: Some(Ident { ident: "id", span: #0 bytes(885..887) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "u64", span: #0 bytes(889..892) }, arguments: PathArguments::None }] } } } }
[INFO] [stdout] get_field_name: Some(Ident { ident: "id", span: #0 bytes(885..887) })
[INFO] [stdout] get_from_field_quote: Ident { ident: "id", span: #0 bytes(885..887) } "m_helper" [Ident { ident: "u64", span: #0 bytes(889..892) }] None None
[INFO] [stdout] get_from_pb_fields: FieldAttr { is_skip: false, type_vec: [Ident { ident: "String", span: #0 bytes(908..914) }], from_pb_func_name: None, to_pb_func_name: None, field: Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: Some(Ident { ident: "name", span: #0 bytes(902..906) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "String", span: #0 bytes(908..914) }, arguments: PathArguments::None }] } } } }
[INFO] [stdout] get_field_name: Some(Ident { ident: "name", span: #0 bytes(902..906) })
[INFO] [stdout] get_from_field_quote: Ident { ident: "name", span: #0 bytes(902..906) } "m_helper" [Ident { ident: "String", span: #0 bytes(908..914) }] None None
[INFO] [stdout] get_field_name: Some(Ident { ident: "id", span: #0 bytes(885..887) })
[INFO] [stdout] get_field_name: Some(Ident { ident: "name", span: #0 bytes(902..906) })
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(9005..9007) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(9008..9015) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(9016..9017) }, Literal { kind: Str, symbol: "pb_MantleType", suffix: None, span: #0 bytes(9018..9033) }] } }
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(9005..9007) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(9008..9015) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(9016..9017) }, Literal { kind: Str, symbol: "pb_MantleType", suffix: None, span: #0 bytes(9018..9033) }] } }
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "repr", span: #0 bytes(9050..9054) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "i32", span: #0 bytes(9055..9058) }] } }
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "repr", span: #0 bytes(9050..9054) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "i32", span: #0 bytes(9055..9058) }] } }
[INFO] [stdout] A
[INFO] [stdout] B
[INFO] [stdout] new: Ident { ident: "MantleType", span: #0 bytes(9082..9092) }|Ident { ident: "pb_MantleType", span: #0 bytes(9082..9092) }|"m_helper"
[INFO] [stdout] dataenum: [Variant { attrs: [], ident: Ident { ident: "Unknown", span: #0 bytes(9111..9118) }, fields: Fields::Unit, discriminant: Some((Eq, Expr::Lit { attrs: [], lit: Lit::Int { token: 0 } })) }, Comma, Variant { attrs: [], ident: Ident { ident: "Sand", span: #0 bytes(9140..9144) }, fields: Fields::Unit, discriminant: Some((Eq, Expr::Lit { attrs: [], lit: Lit::Int { token: 1 } })) }, Comma, Variant { attrs: [], ident: Ident { ident: "Stone", span: #0 bytes(9166..9171) }, fields: Fields::Unit, discriminant: Some((Eq, Expr::Lit { attrs: [], lit: Lit::Int { token: 2 } })) }, Comma]
[INFO] [stdout] Variant { attrs: [], ident: Ident { ident: "Unknown", span: #0 bytes(9111..9118) }, fields: Fields::Unit, discriminant: Some((Eq, Expr::Lit { attrs: [], lit: Lit::Int { token: 0 } })) }
[INFO] [stdout] Variant { attrs: [], ident: Ident { ident: "Sand", span: #0 bytes(9140..9144) }, fields: Fields::Unit, discriminant: Some((Eq, Expr::Lit { attrs: [], lit: Lit::Int { token: 1 } })) }
[INFO] [stdout] Variant { attrs: [], ident: Ident { ident: "Stone", span: #0 bytes(9166..9171) }, fields: Fields::Unit, discriminant: Some((Eq, Expr::Lit { attrs: [], lit: Lit::Int { token: 2 } })) }
[INFO] [stdout] FieldMetaMap { field_meta_map: {} }
[INFO] [stdout] "Unknown"
[INFO] [stdout] []
[INFO] [stdout] "Sand"
[INFO] [stdout] []
[INFO] [stdout] "Stone"
[INFO] [stdout] []
[INFO] [stdout] variant: Ident { ident: "Unknown", span: #0 bytes(9111..9118) } | LitInt { token: 0 }
[INFO] [stdout] variant: Ident { ident: "Sand", span: #0 bytes(9140..9144) } | LitInt { token: 1 }
[INFO] [stdout] variant: Ident { ident: "Stone", span: #0 bytes(9166..9171) } | LitInt { token: 2 }
[INFO] [stdout] variant: Ident { ident: "Unknown", span: #0 bytes(9111..9118) } | LitInt { token: 0 }
[INFO] [stdout] variant: Ident { ident: "Sand", span: #0 bytes(9140..9144) } | LitInt { token: 1 }
[INFO] [stdout] variant: Ident { ident: "Stone", span: #0 bytes(9166..9171) } | LitInt { token: 2 }
[INFO] [stdout] struct
[INFO] [stdout] 1
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(1279..1281) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(1282..1289) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(1290..1291) }, Literal { kind: Str, symbol: "pb_Id", suffix: None, span: #0 bytes(1292..1299) }] } }
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(1279..1281) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(1282..1289) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(1290..1291) }, Literal { kind: Str, symbol: "pb_Id", suffix: None, span: #0 bytes(1292..1299) }] } }
[INFO] [stdout] A
[INFO] [stdout] B
[INFO] [stdout] AAA
[INFO] [stdout] BBB
[INFO] [stdout] field_meta_map: FieldMetaMap { field_meta_map: {} }
[INFO] [stdout] FieldAttr: Field { attrs: [], vis: Visibility::Public(Pub), mutability: FieldMutability::None, ident: Some(Ident { ident: "valueof", span: #0 bytes(1342..1349) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "Option", span: #0 bytes(1351..1357) }, arguments: PathArguments::AngleBracketed { colon2_token: None, lt_token: Lt, args: [GenericArgument::Type(Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "ValueOf", span: #0 bytes(1358..1365) }, arguments: PathArguments::None }] } })], gt_token: Gt } }] } } }
[INFO] [stdout] get_from_pb_fields: FieldAttr { is_skip: false, type_vec: [Ident { ident: "Option", span: #0 bytes(1351..1357) }, Ident { ident: "ValueOf", span: #0 bytes(1358..1365) }], from_pb_func_name: None, to_pb_func_name: None, field: Field { attrs: [], vis: Visibility::Public(Pub), mutability: FieldMutability::None, ident: Some(Ident { ident: "valueof", span: #0 bytes(1342..1349) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "Option", span: #0 bytes(1351..1357) }, arguments: PathArguments::AngleBracketed { colon2_token: None, lt_token: Lt, args: [GenericArgument::Type(Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "ValueOf", span: #0 bytes(1358..1365) }, arguments: PathArguments::None }] } })], gt_token: Gt } }] } } } }
[INFO] [stdout] get_field_name: Some(Ident { ident: "valueof", span: #0 bytes(1342..1349) })
[INFO] [stdout] get_from_field_quote: Ident { ident: "valueof", span: #0 bytes(1342..1349) } "m_helper" [Ident { ident: "Option", span: #0 bytes(1351..1357) }, Ident { ident: "ValueOf", span: #0 bytes(1358..1365) }] None None
[INFO] [stdout] get_from_field_quote: Ident { ident: "valueof", span: #0 bytes(1342..1349) } "m_helper" [Ident { ident: "ValueOf", span: #0 bytes(1358..1365) }] Some(Ident { ident: "Option", span: #0 bytes(1351..1357) }) None
[INFO] [stdout] get_custom_func_ident: "m_helper::conv_option_pb_to_option_one"
[INFO] [stdout] get_field_name: Some(Ident { ident: "valueof", span: #0 bytes(1342..1349) })
[INFO] [stdout] get_custom_func_ident: "m_helper::conv_option_one_to_option_pb"
[INFO] [stdout] Enum
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(1154..1156) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(1157..1164) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(1165..1166) }, Literal { kind: Str, symbol: "pb_Valueof", suffix: None, span: #0 bytes(1167..1179) }] } }
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(1154..1156) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(1157..1164) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(1165..1166) }, Literal { kind: Str, symbol: "pb_Valueof", suffix: None, span: #0 bytes(1167..1179) }] } }
[INFO] [stdout] warning: enum `pb_ValueOf` is never used
[INFO] [stdout]  --> tests/bbb.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub enum pb_ValueOf {
[INFO] [stdout]   |              ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ValueOf` is never used
[INFO] [stdout]   --> tests/bbb.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub enum ValueOf {
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] A
[INFO] [stdout] B
[INFO] [stdout] new: Ident { ident: "ValueOf", span: #0 bytes(1199..1206) }|Ident { ident: "pb_Valueof", span: #0 bytes(1199..1206) }|"m_helper"
[INFO] [stdout] dataenum: [Variant { attrs: [], ident: Ident { ident: "Uuid", span: #0 bytes(1221..1225) }, fields: Fields::Unnamed { paren_token: Paren, unnamed: [Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: None, colon_token: None, ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb_Uuid", span: #0 bytes(1226..1233) }, arguments: PathArguments::None }] } } }] }, discriminant: None }, Comma]
[INFO] [stdout] Variant { attrs: [], ident: Ident { ident: "Uuid", span: #0 bytes(1221..1225) }, fields: Fields::Unnamed { paren_token: Paren, unnamed: [Field { attrs: [], vis: Visibility::Inherited, mutability: FieldMutability::None, ident: None, colon_token: None, ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb_Uuid", span: #0 bytes(1226..1233) }, arguments: PathArguments::None }] } } }] }, discriminant: None }
[INFO] [stdout] FieldMetaMap { field_meta_map: {} }
[INFO] [stdout] "Uuid"
[INFO] [stdout] []
[INFO] [stderr] key: "pb_name"
[INFO] [stdout] struct
[INFO] [stderr] value: "pb_Uuid"
[INFO] [stdout] 2
[INFO] [stderr] hashmap: {"pb_name": "pb_Uuid"}
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(985..987) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(988..995) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(996..997) }, Literal { kind: Str, symbol: "pb_Uuid", suffix: None, span: #0 bytes(998..1007) }] } }
[INFO] [stdout] attr: Attribute { pound_token: Pound, style: AttrStyle::Outer, bracket_token: Bracket, meta: Meta::List { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "pb", span: #0 bytes(985..987) }, arguments: PathArguments::None }] }, delimiter: MacroDelimiter::Paren(Paren), tokens: TokenStream [Ident { ident: "pb_name", span: #0 bytes(988..995) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(996..997) }, Literal { kind: Str, symbol: "pb_Uuid", suffix: None, span: #0 bytes(998..1007) }] } }
[INFO] [stdout] A
[INFO] [stdout] B
[INFO] [stdout] AAA
[INFO] [stdout] BBB
[INFO] [stdout] field_meta_map: FieldMetaMap { field_meta_map: {} }
[INFO] [stdout] FieldAttr: Field { attrs: [], vis: Visibility::Public(Pub), mutability: FieldMutability::None, ident: Some(Ident { ident: "target_type", span: #0 bytes(1052..1063) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "String", span: #0 bytes(1065..1071) }, arguments: PathArguments::None }] } } }
[INFO] [stdout] FieldAttr: Field { attrs: [], vis: Visibility::Public(Pub), mutability: FieldMutability::None, ident: Some(Ident { ident: "uuid", span: #0 bytes(1089..1093) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "Option", span: #0 bytes(1095..1101) }, arguments: PathArguments::AngleBracketed { colon2_token: None, lt_token: Lt, args: [GenericArgument::Type(Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "String", span: #0 bytes(1102..1108) }, arguments: PathArguments::None }] } })], gt_token: Gt } }] } } }
[INFO] [stdout] get_from_pb_fields: FieldAttr { is_skip: false, type_vec: [Ident { ident: "String", span: #0 bytes(1065..1071) }], from_pb_func_name: None, to_pb_func_name: None, field: Field { attrs: [], vis: Visibility::Public(Pub), mutability: FieldMutability::None, ident: Some(Ident { ident: "target_type", span: #0 bytes(1052..1063) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "String", span: #0 bytes(1065..1071) }, arguments: PathArguments::None }] } } } }
[INFO] [stdout] get_field_name: Some(Ident { ident: "target_type", span: #0 bytes(1052..1063) })
[INFO] [stdout] get_from_field_quote: Ident { ident: "target_type", span: #0 bytes(1052..1063) } "m_helper" [Ident { ident: "String", span: #0 bytes(1065..1071) }] None None
[INFO] [stdout] get_from_pb_fields: FieldAttr { is_skip: false, type_vec: [Ident { ident: "Option", span: #0 bytes(1095..1101) }, Ident { ident: "String", span: #0 bytes(1102..1108) }], from_pb_func_name: None, to_pb_func_name: None, field: Field { attrs: [], vis: Visibility::Public(Pub), mutability: FieldMutability::None, ident: Some(Ident { ident: "uuid", span: #0 bytes(1089..1093) }), colon_token: Some(Colon), ty: Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "Option", span: #0 bytes(1095..1101) }, arguments: PathArguments::AngleBracketed { colon2_token: None, lt_token: Lt, args: [GenericArgument::Type(Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "String", span: #0 bytes(1102..1108) }, arguments: PathArguments::None }] } })], gt_token: Gt } }] } } } }
[INFO] [stdout] get_field_name: Some(Ident { ident: "uuid", span: #0 bytes(1089..1093) })
[INFO] [stdout] get_from_field_quote: Ident { ident: "uuid", span: #0 bytes(1089..1093) } "m_helper" [Ident { ident: "Option", span: #0 bytes(1095..1101) }, Ident { ident: "String", span: #0 bytes(1102..1108) }] None None
[INFO] [stdout] get_from_field_quote: Ident { ident: "uuid", span: #0 bytes(1089..1093) } "m_helper" [Ident { ident: "String", span: #0 bytes(1102..1108) }] Some(Ident { ident: "Option", span: #0 bytes(1095..1101) }) None
[INFO] [stdout] get_field_name: Some(Ident { ident: "target_type", span: #0 bytes(1052..1063) })
[INFO] [stdout] get_field_name: Some(Ident { ident: "uuid", span: #0 bytes(1089..1093) })
[INFO] [stdout] warning: unused imports: `parenthesized` and `token`
[INFO] [stdout]  --> src/field_meta_map.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use syn::{parenthesized, token, LitStr};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `proc_macro2::TokenStream`
[INFO] [stdout]  --> src/utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use proc_macro2::TokenStream; // Punct, Spacing, Span, TokenTree
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quote::ToTokens`
[INFO] [stdout]  --> src/utils.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use quote::ToTokens; // TokenStreamExt
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `syn::Expr`
[INFO] [stdout]  --> src/utils.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use syn::Expr;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `syn::ExprLit`
[INFO] [stdout]  --> src/utils.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use syn::ExprLit;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `syn::Lit`
[INFO] [stdout]  --> src/utils.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use syn::Lit;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `pb_Hoge` should have an upper camel case name
[INFO] [stdout]   --> tests/basic.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     struct pb_Hoge {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to upper camel case: `PbHoge`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `pb_Uuid` should have an upper camel case name
[INFO] [stdout]   --> tests/basic.rs:35:20
[INFO] [stdout]    |
[INFO] [stdout] 35 |         pub struct pb_Uuid {
[INFO] [stdout]    |                    ^^^^^^^ help: convert the identifier to upper camel case: `PbUuid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `pb_Id` should have an upper camel case name
[INFO] [stdout]   --> tests/basic.rs:41:20
[INFO] [stdout]    |
[INFO] [stdout] 41 |         pub struct pb_Id {
[INFO] [stdout]    |                    ^^^^^ help: convert the identifier to upper camel case: `PbId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `pb_Valueof` should have an upper camel case name
[INFO] [stdout]   --> tests/basic.rs:45:18
[INFO] [stdout]    |
[INFO] [stdout] 45 |         pub enum pb_Valueof {
[INFO] [stdout]    |                  ^^^^^^^^^^ help: convert the identifier to upper camel case: `PbValueof`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pb_ValueOf` in this scope
[INFO] [stdout]   --> tests/basic.rs:56:18
[INFO] [stdout]    |
[INFO] [stdout] 56 |         #[derive(Pb)]
[INFO] [stdout]    |                  ^^ use of unresolved module or unlinked crate `pb_ValueOf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `Pb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `derive_pb` (test "basic") due to 1 previous error; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `bb`
[INFO] [stdout]    --> src/a_enum.rs:125:33
[INFO] [stdout]     |
[INFO] [stdout] 125 | ...                   let bb: syn::Type =
[INFO] [stdout]     |                           ^^ help: if this is intentional, prefix it with an underscore: `_bb`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bb`
[INFO] [stdout]    --> src/a_enum.rs:148:33
[INFO] [stdout]     |
[INFO] [stdout] 148 | ...                   let bb: syn::Type =
[INFO] [stdout]     |                           ^^ help: if this is intentional, prefix it with an underscore: `_bb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_pure_enum`
[INFO] [stdout]   --> src/a_struct.rs:87:42
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let (name, pb_name, module_path, is_pure_enum) = get_target_info(&ast);
[INFO] [stdout]    |                                          ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_pure_enum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/utils.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut is_primitive = false;
[INFO] [stdout]    |         ----^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_primitive`
[INFO] [stdout]   --> src/utils.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut is_primitive = false;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_primitive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `named`
[INFO] [stdout]   --> src/lib.rs:71:55
[INFO] [stdout]    |
[INFO] [stdout] 71 |         fields: syn::Fields::Named(syn::FieldsNamed { ref named, .. }),
[INFO] [stdout]    |                                                       ^^^^^^^^^ help: try ignoring the field: `named: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `aaa`
[INFO] [stdout]   --> src/lib.rs:85:35
[INFO] [stdout]    |
[INFO] [stdout] 85 |     } else if let syn::Data::Enum(aaa) = &ast.data {
[INFO] [stdout]    |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_aaa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `pb_MantleType` should have an upper camel case name
[INFO] [stdout]  --> tests/aaa.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub struct pb_MantleType {
[INFO] [stdout]   |                ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PbMantleType`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `pb_Valueof` should have an upper camel case name
[INFO] [stdout]   --> tests/aaa.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub enum pb_Valueof {
[INFO] [stdout]    |              ^^^^^^^^^^ help: convert the identifier to upper camel case: `PbValueof`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `pb_Sand` should have an upper camel case name
[INFO] [stdout]   --> tests/aaa.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 |     struct pb_Sand {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to upper camel case: `PbSand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `pb_Stone` should have an upper camel case name
[INFO] [stdout]   --> tests/aaa.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     struct pb_Stone {
[INFO] [stdout]    |            ^^^^^^^^ help: convert the identifier to upper camel case: `PbStone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `module_path` and `variant_meta_map` are never read
[INFO] [stdout]   --> src/a_enum.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct EnumInfo {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub module_path: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 18 |     pub variant_meta_map: super::FieldMetaMap,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `field_meta_map` is never read
[INFO] [stdout]   --> src/a_struct.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct StructInfo {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub field_meta_map: super::FieldMetaMap,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `from_pb_func_name` and `to_pb_func_name` are never read
[INFO] [stdout]  --> src/field_attr.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct VariantAttr {
[INFO] [stdout]   |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     pub from_pb_func_name: Option<String>,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9 |     pub to_pb_func_name: Option<String>,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `VariantAttr` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pb_ValueOf` in this scope
[INFO] [stdout]   --> tests/aaa.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     #[derive(Pb)]
[INFO] [stdout]    |              ^^ use of unresolved module or unlinked crate `pb_ValueOf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `Pb` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `derive_pb` (test "aaa") due to 1 previous error; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "693898ac8f70bbbe569654847e544478e7fc0ca465ad9d036306f069da17e6bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "693898ac8f70bbbe569654847e544478e7fc0ca465ad9d036306f069da17e6bd", kill_on_drop: false }`
[INFO] [stdout] 693898ac8f70bbbe569654847e544478e7fc0ca465ad9d036306f069da17e6bd
