[INFO] cloning repository https://github.com/shadyBugs/proto2x
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shadyBugs/proto2x" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FshadyBugs%2Fproto2x", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FshadyBugs%2Fproto2x'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d00b80c75982f540557bc4f02f6ad09b2b13dc86
[INFO] checking shadyBugs/proto2x/d00b80c75982f540557bc4f02f6ad09b2b13dc86 against master#e1613686e0efc80a1a18b1263625450a8de3fb04 for pr-154492
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FshadyBugs%2Fproto2x" "/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/shadyBugs/proto2x
[INFO] finished tweaking git repo https://github.com/shadyBugs/proto2x
[INFO] tweaked toml for git repo https://github.com/shadyBugs/proto2x written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shadyBugs/proto2x on toolchain e1613686e0efc80a1a18b1263625450a8de3fb04
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shadyBugs/proto2x 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" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded protos v0.1.30
[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" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 439dd83c5434ee7ebdad314864e50f24465ed987e7bb98cd37ded62e29425fe2
[INFO] running `Command { std: "docker" "start" "-a" "439dd83c5434ee7ebdad314864e50f24465ed987e7bb98cd37ded62e29425fe2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "439dd83c5434ee7ebdad314864e50f24465ed987e7bb98cd37ded62e29425fe2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "439dd83c5434ee7ebdad314864e50f24465ed987e7bb98cd37ded62e29425fe2", kill_on_drop: false }`
[INFO] [stdout] 439dd83c5434ee7ebdad314864e50f24465ed987e7bb98cd37ded62e29425fe2
[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" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3a3f2f570598166295bd3cd0a2146f536995ad6009c55cf15f8e7daf05ed4f93
[INFO] running `Command { std: "docker" "start" "-a" "3a3f2f570598166295bd3cd0a2146f536995ad6009c55cf15f8e7daf05ed4f93", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling toml_datetime v0.7.3
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling parity-scale-codec v3.7.5
[INFO] [stderr]     Checking byte-slice-cast v1.2.3
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.34
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking const_format v0.2.35
[INFO] [stderr]    Compiling toml_parser v1.0.4
[INFO] [stderr]    Compiling toml_edit v0.23.7
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.3
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.7.5
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling scale-info-derive v2.11.6
[INFO] [stderr]     Checking derive_more v1.0.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking scale-info v2.11.6
[INFO] [stderr]     Checking protos v0.1.30
[INFO] [stderr]     Checking proto2o v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused macro definition: `add_comment_field`
[INFO] [stdout]  --> src/protos/p_file.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | macro_rules! add_comment_field {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]   --> src/protos/parser.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::{BufRead, BufReader, Read};
[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 macro definition: `add_comment_field`
[INFO] [stdout]  --> src/protos/p_file.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | macro_rules! add_comment_field {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]   --> src/protos/parser.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::{BufRead, BufReader, Read};
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/protos/parser.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let mut msg = self.get_or_new_message(&token.value);
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/protos/parser.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let mut token = Token::default();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/protos/parser.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let mut token = Token::default();
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cnt`
[INFO] [stdout]    --> src/protos/parser.rs:255:21
[INFO] [stdout]     |
[INFO] [stdout] 255 |         let (token, cnt) = self.next_token_skip_whitespace();
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_cnt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `StringLiteral` is never constructed
[INFO] [stdout]   --> src/protos/lexer.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub enum TokenType {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     StringLiteral,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TokenType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `EOF` is never constructed
[INFO] [stdout]   --> src/protos/lexer.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub enum CharType {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 51 |     EOF,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CharType` 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 `file_name` and `enum_map` are never read
[INFO] [stdout]   --> src/protos/parser.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Parser {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 17 |     file_name: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     enum_map: HashMap<String, EnumTypeHandler>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/protos/parser.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Parser {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 24 |     pub fn new(file_name: &str) -> Result<Parser> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GoXContainer` is never constructed
[INFO] [stdout]  --> src/generator/go_gen.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct GoXContainer<TType> {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `insert`, and `get_by_id` are never used
[INFO] [stdout]   --> src/generator/go_gen.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl<TType> GoXContainer<TType> {
[INFO] [stdout]    | ------------------------------- associated items in this implementation
[INFO] [stdout] 13 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn insert(&mut self, value: TType) -> i32 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn get_by_id(&self, id: i32) -> Option<Rc<RefCell<TType>>> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_or_new` is never used
[INFO] [stdout]   --> src/generator/go_gen.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl<TType: DefaultWithName> GoXContainer<TType> {
[INFO] [stdout]    | ------------------------------------------------ method in this implementation
[INFO] [stdout] 29 |     fn get_or_new(&mut self, name: &str) -> (i32, Rc<RefCell<TType>>) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GoX` is never constructed
[INFO] [stdout]   --> src/generator/go_gen.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct GoX {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GoBaseType` is never used
[INFO] [stdout]   --> src/generator/go_gen.rs:50:6
[INFO] [stdout]    |
[INFO] [stdout] 50 | enum GoBaseType {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GoComplexType` is never used
[INFO] [stdout]   --> src/generator/go_gen.rs:64:6
[INFO] [stdout]    |
[INFO] [stdout] 64 | enum GoComplexType {
[INFO] [stdout]    |      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GoType` is never used
[INFO] [stdout]   --> src/generator/go_gen.rs:73:6
[INFO] [stdout]    |
[INFO] [stdout] 73 | enum GoType {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DefaultWithName` is never used
[INFO] [stdout]   --> src/generator/go_gen.rs:78:7
[INFO] [stdout]    |
[INFO] [stdout] 78 | trait DefaultWithName {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `GoStructId` is never used
[INFO] [stdout]   --> src/generator/go_gen.rs:82:6
[INFO] [stdout]    |
[INFO] [stdout] 82 | type GoStructId = i32;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GoStruct` is never constructed
[INFO] [stdout]   --> src/generator/go_gen.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct GoStruct {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GoField` is never constructed
[INFO] [stdout]   --> src/generator/go_gen.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 | struct GoField {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `get_name` and `new_from_proto` are never used
[INFO] [stdout]    --> src/generator/go_gen.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | impl GoBaseType {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 104 |     fn get_name(&self) -> &str {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     fn new_from_proto(base_type: &BaseType) -> Option<GoBaseType> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]    --> src/generator/go_gen.rs:142:8
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl GoStruct {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 142 |     fn print(&self) -> String {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]    --> src/generator/go_gen.rs:154:8
[INFO] [stdout]     |
[INFO] [stdout] 153 | impl GoField {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] 154 |     fn print(&self) -> String {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]    --> src/generator/go_gen.rs:167:8
[INFO] [stdout]     |
[INFO] [stdout] 166 | impl GoType {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] 167 |     fn print(&self) -> String {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]    --> src/generator/go_gen.rs:180:8
[INFO] [stdout]     |
[INFO] [stdout] 179 | impl GoComplexType {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] 180 |     fn print(&self) -> String {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/protos/parser.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let mut msg = self.get_or_new_message(&token.value);
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/protos/parser.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let mut token = Token::default();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/protos/parser.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let mut token = Token::default();
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cnt`
[INFO] [stdout]    --> src/protos/parser.rs:255:21
[INFO] [stdout]     |
[INFO] [stdout] 255 |         let (token, cnt) = self.next_token_skip_whitespace();
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_cnt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TokenType` is never used
[INFO] [stdout]  --> src/protos/lexer.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum TokenType {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Token` is never constructed
[INFO] [stdout]   --> src/protos/lexer.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Token {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Lexer` is never constructed
[INFO] [stdout]   --> src/protos/lexer.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Lexer {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CharType` is never used
[INFO] [stdout]   --> src/protos/lexer.rs:45:10
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub enum CharType {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COMMENT_SYMBOL` is never used
[INFO] [stdout]   --> src/protos/lexer.rs:55:7
[INFO] [stdout]    |
[INFO] [stdout] 55 | const COMMENT_SYMBOL: char = '/';
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_token_type` is never used
[INFO] [stdout]   --> src/protos/lexer.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl CharType {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 58 |     fn get_token_type(&self) -> TokenType {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `char_type` is never used
[INFO] [stdout]   --> src/protos/lexer.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn char_type(c: char) -> CharType {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `backtrack`, and `next_token` are never used
[INFO] [stdout]    --> src/protos/lexer.rs:88:12
[INFO] [stdout]     |
[INFO] [stdout]  87 | impl Lexer {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  88 |     pub fn new(input: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn backtrack(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn next_token(&mut self) -> Token {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `MessageTypeHandler` is never used
[INFO] [stdout]   --> src/protos/parser.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | type MessageTypeHandler = Rc<RefCell<Message>>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `EnumTypeHandler` is never used
[INFO] [stdout]   --> src/protos/parser.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | type EnumTypeHandler = Rc<RefCell<Enumeration>>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Parser` is never constructed
[INFO] [stdout]   --> src/protos/parser.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Parser {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/protos/parser.rs:24:12
[INFO] [stdout]     |
[INFO] [stdout]  23 | impl Parser {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  24 |     pub fn new(file_name: &str) -> Result<Parser> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  39 |     pub fn new_from_str(content: &str) -> Result<Parser> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  48 |     pub fn get_or_new_message(&mut self, name: &str) -> MessageTypeHandler {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  60 |     fn next_token_skip_whitespace(&mut self) -> (Token, i32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  70 |     fn next_token(&mut self) -> Token {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  74 |     fn next_token_skip_whitespace_and_newline(&mut self) -> (Token, i32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  84 |     fn parse(&mut self) -> Result<()> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     fn parse_message(&mut self) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 |     fn parse_message_field(&mut self) -> Result<MessageField> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     fn parse_field_type(&mut self) -> Result<MessageFieldType> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 199 |     fn parse_list_field_type(&mut self) -> Result<MessageFieldType> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     fn parse_map_field_type(&mut self) -> Result<MessageFieldType> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 239 |     fn parse_field_name(&mut self) -> Result<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     fn parse_field_sequence(&mut self) -> Result<i32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_number` is never used
[INFO] [stdout]  --> src/protos/util.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn is_number(s: &str) -> bool {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid_method_or_field_name` is never used
[INFO] [stdout]  --> src/protos/util.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn is_valid_method_or_field_name(s: &str) -> bool {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GoXContainer` is never constructed
[INFO] [stdout]  --> src/generator/go_gen.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct GoXContainer<TType> {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `insert`, and `get_by_id` are never used
[INFO] [stdout]   --> src/generator/go_gen.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl<TType> GoXContainer<TType> {
[INFO] [stdout]    | ------------------------------- associated items in this implementation
[INFO] [stdout] 13 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn insert(&mut self, value: TType) -> i32 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn get_by_id(&self, id: i32) -> Option<Rc<RefCell<TType>>> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_or_new` is never used
[INFO] [stdout]   --> src/generator/go_gen.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl<TType: DefaultWithName> GoXContainer<TType> {
[INFO] [stdout]    | ------------------------------------------------ method in this implementation
[INFO] [stdout] 29 |     fn get_or_new(&mut self, name: &str) -> (i32, Rc<RefCell<TType>>) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GoX` is never constructed
[INFO] [stdout]   --> src/generator/go_gen.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct GoX {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GoBaseType` is never used
[INFO] [stdout]   --> src/generator/go_gen.rs:50:6
[INFO] [stdout]    |
[INFO] [stdout] 50 | enum GoBaseType {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GoComplexType` is never used
[INFO] [stdout]   --> src/generator/go_gen.rs:64:6
[INFO] [stdout]    |
[INFO] [stdout] 64 | enum GoComplexType {
[INFO] [stdout]    |      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GoType` is never used
[INFO] [stdout]   --> src/generator/go_gen.rs:73:6
[INFO] [stdout]    |
[INFO] [stdout] 73 | enum GoType {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DefaultWithName` is never used
[INFO] [stdout]   --> src/generator/go_gen.rs:78:7
[INFO] [stdout]    |
[INFO] [stdout] 78 | trait DefaultWithName {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `GoStructId` is never used
[INFO] [stdout]   --> src/generator/go_gen.rs:82:6
[INFO] [stdout]    |
[INFO] [stdout] 82 | type GoStructId = i32;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GoStruct` is never constructed
[INFO] [stdout]   --> src/generator/go_gen.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct GoStruct {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GoField` is never constructed
[INFO] [stdout]   --> src/generator/go_gen.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 | struct GoField {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `get_name` and `new_from_proto` are never used
[INFO] [stdout]    --> src/generator/go_gen.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | impl GoBaseType {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 104 |     fn get_name(&self) -> &str {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     fn new_from_proto(base_type: &BaseType) -> Option<GoBaseType> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]    --> src/generator/go_gen.rs:142:8
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl GoStruct {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 142 |     fn print(&self) -> String {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]    --> src/generator/go_gen.rs:154:8
[INFO] [stdout]     |
[INFO] [stdout] 153 | impl GoField {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] 154 |     fn print(&self) -> String {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]    --> src/generator/go_gen.rs:167:8
[INFO] [stdout]     |
[INFO] [stdout] 166 | impl GoType {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] 167 |     fn print(&self) -> String {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]    --> src/generator/go_gen.rs:180:8
[INFO] [stdout]     |
[INFO] [stdout] 179 | impl GoComplexType {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] 180 |     fn print(&self) -> String {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.96s
[INFO] running `Command { std: "docker" "inspect" "3a3f2f570598166295bd3cd0a2146f536995ad6009c55cf15f8e7daf05ed4f93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a3f2f570598166295bd3cd0a2146f536995ad6009c55cf15f8e7daf05ed4f93", kill_on_drop: false }`
[INFO] [stdout] 3a3f2f570598166295bd3cd0a2146f536995ad6009c55cf15f8e7daf05ed4f93
