[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] a0b8cefd153835898c96771ce876d2b56dd3b351 [INFO] checking Paluth/super_parser against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaluth%2Fsuper_parser" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Paluth/super_parser on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-7-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 803cdc8988a7940c81e8f23955b6a79bd89d4f5e189a2ce2f05885cce99a21aa [INFO] running `Command { std: "docker" "start" "-a" "803cdc8988a7940c81e8f23955b6a79bd89d4f5e189a2ce2f05885cce99a21aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "803cdc8988a7940c81e8f23955b6a79bd89d4f5e189a2ce2f05885cce99a21aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "803cdc8988a7940c81e8f23955b6a79bd89d4f5e189a2ce2f05885cce99a21aa", kill_on_drop: false }` [INFO] [stdout] 803cdc8988a7940c81e8f23955b6a79bd89d4f5e189a2ce2f05885cce99a21aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddc0d7350924382c83727f57ea7e930665693d1f6ca622f901a96088ca242f2e [INFO] running `Command { std: "docker" "start" "-a" "ddc0d7350924382c83727f57ea7e930665693d1f6ca622f901a96088ca242f2e", kill_on_drop: false }` [INFO] [stderr] Checking super_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `empty`, `to_f64`, `to_i32`, `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] [INFO] [stdout] warning: unused imports: `seq`, `skip`, `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`, `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: the item `Vec` is imported redundantly [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `empty`, `to_f64`, `to_i32`, `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] [INFO] [stdout] warning: unused imports: `seq`, `skip`, `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`, `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] error[E0277]: can't compare `&str` with `Result, utils::Error>` [INFO] [stdout] --> src/utils.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | / assert_eq!("n͈̰̎u͔n͈̰̎i̙̮͚̦c͚̉o̼̩̰͗d͔̆̓ͥé\n\t \t\r\r", [INFO] [stdout] 171 | | triml(TEST_STRING)); [INFO] [stdout] | |______________________________________^ no implementation for `&str == Result, utils::Error>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq, utils::Error>>` is not implemented for `&str` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] <&'a str as PartialEq> [INFO] [stdout] <&'a str as PartialEq> [INFO] [stdout] <&'b str as PartialEq>> [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&str` with `Result, utils::Error>` [INFO] [stdout] --> src/utils.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | / assert_eq!("\t\r \nn͈̰̎u͔n͈̰̎i̙̮͚̦c͚̉o̼̩̰͗d͔̆̓ͥé", [INFO] [stdout] 176 | | trimr(TEST_STRING)); [INFO] [stdout] | |______________________________________^ no implementation for `&str == Result, utils::Error>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq, utils::Error>>` is not implemented for `&str` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] <&'a str as PartialEq> [INFO] [stdout] <&'a str as PartialEq> [INFO] [stdout] <&'b str as PartialEq>> [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&str` with `Result<&str, utils::Error>` [INFO] [stdout] --> src/utils.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | / assert_eq!("n͈̰̎u͔n͈̰̎i̙̮͚̦c͚̉o̼̩̰͗d͔̆̓ͥé", [INFO] [stdout] 181 | | trim(TEST_STRING)); [INFO] [stdout] | |_____________________________________^ no implementation for `&str == Result<&str, utils::Error>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `&str` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] <&'a str as PartialEq> [INFO] [stdout] <&'a str as PartialEq> [INFO] [stdout] <&'b str as PartialEq>> [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 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: `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: `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: type `ParsingError` is more private than the item `Parser::<'d, 'c, 't>::parse` [INFO] [stdout] --> src/parser.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parse(&mut self, buffer: &'d str) -> Result, ParsingError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Parser::<'d, 'c, 't>::parse` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ParsingError` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | enum ParsingError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [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: 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: 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] 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] 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] 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: 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] error: type `ParsingError` is private [INFO] [stdout] --> src/pdb_parser.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | let result = parser.parse(buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `ParsingError` is private [INFO] [stdout] --> src/pdb_parser.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | match result { [INFO] [stdout] | ^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `super_parser` (bin "super_parser" test) due to 4 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `super_parser` (bin "super_parser") due to 3 previous errors; 36 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ddc0d7350924382c83727f57ea7e930665693d1f6ca622f901a96088ca242f2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddc0d7350924382c83727f57ea7e930665693d1f6ca622f901a96088ca242f2e", kill_on_drop: false }` [INFO] [stdout] ddc0d7350924382c83727f57ea7e930665693d1f6ca622f901a96088ca242f2e [INFO] checking Paluth/super_parser against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaluth%2Fsuper_parser" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Paluth/super_parser on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-7-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75875c00cd98f8ac77d86c58301a6074b826b5bb24500ee6ef5fbfbfb5345bfe [INFO] running `Command { std: "docker" "start" "-a" "75875c00cd98f8ac77d86c58301a6074b826b5bb24500ee6ef5fbfbfb5345bfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75875c00cd98f8ac77d86c58301a6074b826b5bb24500ee6ef5fbfbfb5345bfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75875c00cd98f8ac77d86c58301a6074b826b5bb24500ee6ef5fbfbfb5345bfe", kill_on_drop: false }` [INFO] [stdout] 75875c00cd98f8ac77d86c58301a6074b826b5bb24500ee6ef5fbfbfb5345bfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b37545dd488d891146613f39b45ca7baded6002e403b0ba1595b955ea86fb55a [INFO] running `Command { std: "docker" "start" "-a" "b37545dd488d891146613f39b45ca7baded6002e403b0ba1595b955ea86fb55a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "b37545dd488d891146613f39b45ca7baded6002e403b0ba1595b955ea86fb55a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b37545dd488d891146613f39b45ca7baded6002e403b0ba1595b955ea86fb55a", kill_on_drop: false }` [INFO] [stdout] b37545dd488d891146613f39b45ca7baded6002e403b0ba1595b955ea86fb55a