[INFO] cloning repository https://github.com/Paluth/super_parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Paluth/super_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaluth%2Fsuper_parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaluth%2Fsuper_parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba3468aab7fb955576d04801f4d118df47343bb1 [INFO] checking Paluth/super_parser/ba3468aab7fb955576d04801f4d118df47343bb1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaluth%2Fsuper_parser" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Paluth/super_parser on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Paluth/super_parser [INFO] finished tweaking git repo https://github.com/Paluth/super_parser [INFO] tweaked toml for git repo https://github.com/Paluth/super_parser written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Paluth/super_parser 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e59f21c186d438b285d6a738b8f93cd1160f00389fc50e2e00093b3d7e15c600 [INFO] running `Command { std: "docker" "start" "-a" "e59f21c186d438b285d6a738b8f93cd1160f00389fc50e2e00093b3d7e15c600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e59f21c186d438b285d6a738b8f93cd1160f00389fc50e2e00093b3d7e15c600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e59f21c186d438b285d6a738b8f93cd1160f00389fc50e2e00093b3d7e15c600", kill_on_drop: false }` [INFO] [stdout] e59f21c186d438b285d6a738b8f93cd1160f00389fc50e2e00093b3d7e15c600 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 044c7f14b46434d63e0c7e7514e5c21031a2a421a6d78dc8d07a4cae82288ca0 [INFO] running `Command { std: "docker" "start" "-a" "044c7f14b46434d63e0c7e7514e5c21031a2a421a6d78dc8d07a4cae82288ca0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking super_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `empty`, `to_f64`, `to_i32`, and `triml` [INFO] [stdout] --> src/pdb_parser.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use chain::{trimr, triml, trim, empty, to_i32, to_u8, to_byte, to_f64, opt, store}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `seq`, `skip`, and `take` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use parser::{seq, take, skip}; [INFO] [stdout] | ^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `empty`, `opt`, `store`, `to_byte`, `to_f64`, `to_i32`, `to_u8`, `trim`, `triml`, and `trimr` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use chain::{trimr, triml, trim, empty, to_i32, to_u8, to_byte, to_f64, opt, store}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^^^ ^^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `empty`, `to_f64`, `to_i32`, and `triml` [INFO] [stdout] --> src/pdb_parser.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use chain::{trimr, triml, trim, empty, to_i32, to_u8, to_byte, to_f64, opt, store}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `seq`, `skip`, and `take` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use parser::{seq, take, skip}; [INFO] [stdout] | ^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `empty`, `opt`, `store`, `to_byte`, `to_f64`, `to_i32`, `to_u8`, `trim`, `triml`, and `trimr` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use chain::{trimr, triml, trim, empty, to_i32, to_u8, to_byte, to_f64, opt, store}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^^^ ^^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chain.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | Store(Box<&'c mut Any>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | Store(Box<&'c mut dyn Any>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/chain.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | Store(Box<&'c mut Any>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | Store(Box<&'c mut dyn Any>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut temp = buffer; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/utils.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | if let Ok(Split { left, right }) = result { [INFO] [stdout] | ^^^^ help: try ignoring the field: `left: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/utils.rs:126:33 [INFO] [stdout] | [INFO] [stdout] 126 | if let Ok(Split { left, right }) = result { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `right: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut temp = buffer; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/utils.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | if let Ok(Split { left, right }) = result { [INFO] [stdout] | ^^^^ help: try ignoring the field: `left: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/utils.rs:126:33 [INFO] [stdout] | [INFO] [stdout] 126 | if let Ok(Split { left, right }) = result { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `right: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_ident` [INFO] [stdout] --> src/inspect.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | let new_ident = indent.push_clone(Indentation::Space(fskip.len())); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_ident` [INFO] [stdout] --> src/inspect.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let new_ident = indent.push_clone(Indentation::Space(ftag.len())); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_ident` [INFO] [stdout] --> src/inspect.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | let new_ident = indent.push_clone(Indentation::Space(fpword.len())); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_ident` [INFO] [stdout] --> src/inspect.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | let new_ident = indent.push_clone(Indentation::Space(fblank.len())); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_ident` [INFO] [stdout] --> src/inspect.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | let new_ident = indent.push_clone(Indentation::Space(fskip.len())); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_ident` [INFO] [stdout] --> src/inspect.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let new_ident = indent.push_clone(Indentation::Space(ftag.len())); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_ident` [INFO] [stdout] --> src/inspect.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | let new_ident = indent.push_clone(Indentation::Space(fpword.len())); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_ident` [INFO] [stdout] --> src/inspect.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | let new_ident = indent.push_clone(Indentation::Space(fblank.len())); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dml` [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let dml = [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dml` [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let dml = [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InvalidParserError` is more private than the item `ParsingError::InvalidParser::0` [INFO] [stdout] --> src/parser.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | InvalidParser(InvalidParserError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field `ParsingError::InvalidParser::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `InvalidParserError` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | enum InvalidParserError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InvalidParserError` is more private than the item `ParsingError::InvalidParser::0` [INFO] [stdout] --> src/parser.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | InvalidParser(InvalidParserError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field `ParsingError::InvalidParser::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `InvalidParserError` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | enum InvalidParserError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ChainingError` is more private than the item `ParsingError::ChainError::0` [INFO] [stdout] --> src/parser.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | ChainError(ChainingError), [INFO] [stdout] | ^^^^^^^^^^^^^ field `ParsingError::ChainError::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ChainingError` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser.rs:277:1 [INFO] [stdout] | [INFO] [stdout] 277 | enum ChainingError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ChainingError` is more private than the item `ParsingError::ChainError::0` [INFO] [stdout] --> src/parser.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | ChainError(ChainingError), [INFO] [stdout] | ^^^^^^^^^^^^^ field `ParsingError::ChainError::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ChainingError` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser.rs:277:1 [INFO] [stdout] | [INFO] [stdout] 277 | enum ChainingError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_darxml` is never used [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn parse_darxml() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TrimL`, `NotEqualString`, `Empty`, and `Or` are never constructed [INFO] [stdout] --> src/chain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Operation<'c> { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 4 | Trim, [INFO] [stdout] 5 | TrimL, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | NotEqualString(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | Or(Vec>), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_darxml` is never used [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn parse_darxml() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/chain.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl<'c> Chain<'c> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn trim(mut self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn triml(mut self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn trimr(mut self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn eqs(mut self, s: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn neqs(mut self, s: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn neq_str(mut self, s: &str) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn empty(mut self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn or(mut self, ops: Vec>) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn to_byte(mut self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn to_u8(mut self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn opt(mut self, chain : Chain<'c>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TrimL`, `NotEqualString`, `Empty`, and `Or` are never constructed [INFO] [stdout] --> src/chain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Operation<'c> { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 4 | Trim, [INFO] [stdout] 5 | TrimL, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | NotEqualString(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | Or(Vec>), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_i32` is never used [INFO] [stdout] --> src/chain.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn to_i32<'c>() -> Chain<'c> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_f64` is never used [INFO] [stdout] --> src/chain.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn to_f64<'c>() -> Chain<'c> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty` is never used [INFO] [stdout] --> src/chain.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn empty<'c>() -> Chain<'c> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `triml` is never used [INFO] [stdout] --> src/chain.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn triml<'c>() -> Chain<'c> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eqs` is never used [INFO] [stdout] --> src/chain.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn eqs<'c>(s: String) -> Chain<'c> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eq_str` is never used [INFO] [stdout] --> src/chain.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn eq_str<'c>(s: &str) -> Chain<'c> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `neqs` is never used [INFO] [stdout] --> src/chain.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn neqs<'c>(s: String) -> Chain<'c> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `neq_str` is never used [INFO] [stdout] --> src/chain.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn neq_str<'c>(s: &str) -> Chain<'c> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `or` is never used [INFO] [stdout] --> src/chain.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn or<'c>(ops: Vec>) -> Chain<'c> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PWord`, `Blank`, and `Tag` are never constructed [INFO] [stdout] --> src/parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ParserType<'d, 'a, 't> { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | PWord, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Blank, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | Tag(&'t str) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pword` is never used [INFO] [stdout] --> src/parser.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn pword<'d, 'c, 't>() -> Parser<'d, 'c, 't> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blank` is never used [INFO] [stdout] --> src/parser.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn blank<'d, 'c, 't>() -> Parser<'d, 'c, 't> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SeqEmpty`, `SeqChain`, `TakeZero`, `ChainOrLast`, and `ChainStoreLast` are never constructed [INFO] [stdout] --> src/parser.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 62 | enum InvalidParserError { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 63 | // Sequence has no parsers [INFO] [stdout] 64 | SeqEmpty, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | SeqChain, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | TakeZero, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 79 | // Or must be last in operation chain [INFO] [stdout] 80 | ChainOrLast, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 81 | // Store must be last in operation chain [INFO] [stdout] 82 | ChainStoreLast, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvalidParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | InvalidParser(InvalidParserError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 90 | InvalidParser(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | ChainError(ChainingError), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 98 | ChainError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/chain.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl<'c> Chain<'c> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn trim(mut self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn triml(mut self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn trimr(mut self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn eqs(mut self, s: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn neqs(mut self, s: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn neq_str(mut self, s: &str) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn empty(mut self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn or(mut self, ops: Vec>) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn to_byte(mut self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn to_u8(mut self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn opt(mut self, chain : Chain<'c>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser.rs:285:19 [INFO] [stdout] | [INFO] [stdout] 285 | ExpectedFound(ParsingDataTypes, ParsingDataTypes), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChainingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 285 | ExpectedFound((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_i32` is never used [INFO] [stdout] --> src/chain.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn to_i32<'c>() -> Chain<'c> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PreviousOpFailed` and `InvalidTypeError` are never constructed [INFO] [stdout] --> src/parser.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 277 | enum ChainingError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 281 | PreviousOpFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | InvalidTypeError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChainingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_f64` is never used [INFO] [stdout] --> src/chain.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn to_f64<'c>() -> Chain<'c> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty` is never used [INFO] [stdout] --> src/chain.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn empty<'c>() -> Chain<'c> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `triml` is never used [INFO] [stdout] --> src/chain.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn triml<'c>() -> Chain<'c> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chain_id`, `res_seq`, `occupancy`, `temp_factor`, `element`, and `charge` are never read [INFO] [stdout] --> src/pdb_parser.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ATOM { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub chain_id: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | pub res_seq: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub occupancy: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 37 | pub temp_factor: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 38 | pub element: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | pub charge: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eqs` is never used [INFO] [stdout] --> src/chain.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn eqs<'c>(s: String) -> Chain<'c> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eq_str` is never used [INFO] [stdout] --> src/chain.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn eq_str<'c>(s: &str) -> Chain<'c> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Word` is never constructed [INFO] [stdout] --> src/inspect.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum Indentation { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Word(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Indentation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `neqs` is never used [INFO] [stdout] --> src/chain.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn neqs<'c>(s: String) -> Chain<'c> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `neq_str` is never used [INFO] [stdout] --> src/chain.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn neq_str<'c>(s: &str) -> Chain<'c> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `or` is never used [INFO] [stdout] --> src/chain.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn or<'c>(ops: Vec>) -> Chain<'c> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PWord`, `Blank`, and `Tag` are never constructed [INFO] [stdout] --> src/parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ParserType<'d, 'a, 't> { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | PWord, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Blank, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | Tag(&'t str) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pword` is never used [INFO] [stdout] --> src/parser.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn pword<'d, 'c, 't>() -> Parser<'d, 'c, 't> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blank` is never used [INFO] [stdout] --> src/parser.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn blank<'d, 'c, 't>() -> Parser<'d, 'c, 't> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SeqEmpty`, `SeqChain`, `TakeZero`, `ChainOrLast`, and `ChainStoreLast` are never constructed [INFO] [stdout] --> src/parser.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 62 | enum InvalidParserError { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 63 | // Sequence has no parsers [INFO] [stdout] 64 | SeqEmpty, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | SeqChain, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | TakeZero, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 79 | // Or must be last in operation chain [INFO] [stdout] 80 | ChainOrLast, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 81 | // Store must be last in operation chain [INFO] [stdout] 82 | ChainStoreLast, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvalidParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | InvalidParser(InvalidParserError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 90 | InvalidParser(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | ChainError(ChainingError), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParsingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 98 | ChainError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser.rs:285:19 [INFO] [stdout] | [INFO] [stdout] 285 | ExpectedFound(ParsingDataTypes, ParsingDataTypes), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChainingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 285 | ExpectedFound((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PreviousOpFailed` and `InvalidTypeError` are never constructed [INFO] [stdout] --> src/parser.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 277 | enum ChainingError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 281 | PreviousOpFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | InvalidTypeError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChainingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chain_id`, `res_seq`, `occupancy`, `temp_factor`, `element`, and `charge` are never read [INFO] [stdout] --> src/pdb_parser.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ATOM { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub chain_id: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | pub res_seq: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub occupancy: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 37 | pub temp_factor: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 38 | pub element: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | pub charge: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Word` is never constructed [INFO] [stdout] --> src/inspect.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum Indentation { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Word(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Indentation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "044c7f14b46434d63e0c7e7514e5c21031a2a421a6d78dc8d07a4cae82288ca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "044c7f14b46434d63e0c7e7514e5c21031a2a421a6d78dc8d07a4cae82288ca0", kill_on_drop: false }` [INFO] [stdout] 044c7f14b46434d63e0c7e7514e5c21031a2a421a6d78dc8d07a4cae82288ca0