[INFO] cloning repository https://github.com/yahooshiken/rust-parser
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yahooshiken/rust-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyahooshiken%2Frust-parser", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyahooshiken%2Frust-parser'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c04a1f0c613310dc8e7f7017c57da0544522234b
[INFO] testing yahooshiken/rust-parser against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyahooshiken%2Frust-parser" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/yahooshiken/rust-parser on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/yahooshiken/rust-parser
[INFO] finished tweaking git repo https://github.com/yahooshiken/rust-parser
[INFO] tweaked toml for git repo https://github.com/yahooshiken/rust-parser written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/yahooshiken/rust-parser already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cc7c56fe28a7d724b7f1d2ce7d17db1a995f6db33998b3abb4fd5b41df22ba55
[INFO] running `Command { std: "docker" "start" "-a" "cc7c56fe28a7d724b7f1d2ce7d17db1a995f6db33998b3abb4fd5b41df22ba55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cc7c56fe28a7d724b7f1d2ce7d17db1a995f6db33998b3abb4fd5b41df22ba55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc7c56fe28a7d724b7f1d2ce7d17db1a995f6db33998b3abb4fd5b41df22ba55", kill_on_drop: false }`
[INFO] [stdout] cc7c56fe28a7d724b7f1d2ce7d17db1a995f6db33998b3abb4fd5b41df22ba55
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6cba80bc0ff0aa7d56a53ba873a3eba0adf63d6eac0cef7e51556eb7464f1997
[INFO] running `Command { std: "docker" "start" "-a" "6cba80bc0ff0aa7d56a53ba873a3eba0adf63d6eac0cef7e51556eb7464f1997", kill_on_drop: false }`
[INFO] [stderr]    Compiling parser v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/main.rs:121:17
[INFO] [stdout]     |
[INFO] [stdout] 121 |             b'0'...b'9' => lex_a_token!(lex_number(input, pos)),
[INFO] [stdout]     |                 ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:152:29
[INFO] [stdout]     |
[INFO] [stdout] 152 | fn lex_number(input: &[u8], mut pos: usize) -> Result<(Token, usize), LexError> {
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:186:30
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn skip_spaces(input: &[u8], mut pos: usize) -> Result<((), usize), LexError> {
[INFO] [stdout]     |                              ----^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `merge`
[INFO] [stdout]  --> src/main.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn merge(&self, other: &Loc) -> Loc {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Num`
[INFO] [stdout]    --> src/main.rs:228:5
[INFO] [stdout]     |
[INFO] [stdout] 228 |     Num(u64),
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `AstKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    --> src/main.rs:225:10
[INFO] [stdout]     |
[INFO] [stdout] 225 | #[derive(Debug, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]     |          ^^^^^  ^^^^^
[INFO] [stdout]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `UniOp`
[INFO] [stdout]    --> src/main.rs:230:5
[INFO] [stdout]     |
[INFO] [stdout] 230 |     UniOp { op: UniOp, e: Box<Ast> },
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `AstKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    --> src/main.rs:225:10
[INFO] [stdout]     |
[INFO] [stdout] 225 | #[derive(Debug, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]     |          ^^^^^  ^^^^^
[INFO] [stdout]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `BinOp`
[INFO] [stdout]    --> src/main.rs:232:5
[INFO] [stdout]     |
[INFO] [stdout] 232 |     BinOp { op: BinOp, l: Box<Ast>, r: Box<Ast> },
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `AstKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    --> src/main.rs:225:10
[INFO] [stdout]     |
[INFO] [stdout] 225 | #[derive(Debug, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]     |          ^^^^^  ^^^^^
[INFO] [stdout]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `num`
[INFO] [stdout]    --> src/main.rs:238:8
[INFO] [stdout]     |
[INFO] [stdout] 238 |     fn num(n: u64, loc: Loc) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `uniop`
[INFO] [stdout]    --> src/main.rs:241:8
[INFO] [stdout]     |
[INFO] [stdout] 241 |     fn uniop(op: UniOp, e: Ast, loc: Loc) -> Self {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `binop`
[INFO] [stdout]    --> src/main.rs:244:8
[INFO] [stdout]     |
[INFO] [stdout] 244 |     fn binop(op: BinOp, l: Ast, r: Ast, loc: Loc) -> Self {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Plus`
[INFO] [stdout]    --> src/main.rs:258:5
[INFO] [stdout]     |
[INFO] [stdout] 258 |     Plus,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `UniOpKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    --> src/main.rs:256:10
[INFO] [stdout]     |
[INFO] [stdout] 256 | #[derive(Debug, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]     |          ^^^^^  ^^^^^
[INFO] [stdout]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Minus`
[INFO] [stdout]    --> src/main.rs:259:5
[INFO] [stdout]     |
[INFO] [stdout] 259 |     Minus,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `UniOpKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    --> src/main.rs:256:10
[INFO] [stdout]     |
[INFO] [stdout] 256 | #[derive(Debug, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]     |          ^^^^^  ^^^^^
[INFO] [stdout]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `plus`
[INFO] [stdout]    --> src/main.rs:265:8
[INFO] [stdout]     |
[INFO] [stdout] 265 |     fn plus(loc: Loc) -> Self {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `minus`
[INFO] [stdout]    --> src/main.rs:268:8
[INFO] [stdout]     |
[INFO] [stdout] 268 |     fn minus(loc: Loc) -> Self {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Add`
[INFO] [stdout]    --> src/main.rs:275:5
[INFO] [stdout]     |
[INFO] [stdout] 275 |     Add,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `BinOpKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    --> src/main.rs:273:10
[INFO] [stdout]     |
[INFO] [stdout] 273 | #[derive(Debug, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]     |          ^^^^^  ^^^^^
[INFO] [stdout]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Sub`
[INFO] [stdout]    --> src/main.rs:276:5
[INFO] [stdout]     |
[INFO] [stdout] 276 |     Sub,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `BinOpKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    --> src/main.rs:273:10
[INFO] [stdout]     |
[INFO] [stdout] 273 | #[derive(Debug, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]     |          ^^^^^  ^^^^^
[INFO] [stdout]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Mult`
[INFO] [stdout]    --> src/main.rs:277:5
[INFO] [stdout]     |
[INFO] [stdout] 277 |     Mult,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `BinOpKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    --> src/main.rs:273:10
[INFO] [stdout]     |
[INFO] [stdout] 273 | #[derive(Debug, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]     |          ^^^^^  ^^^^^
[INFO] [stdout]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Div`
[INFO] [stdout]    --> src/main.rs:278:5
[INFO] [stdout]     |
[INFO] [stdout] 278 |     Div,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `BinOpKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    --> src/main.rs:273:10
[INFO] [stdout]     |
[INFO] [stdout] 273 | #[derive(Debug, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]     |          ^^^^^  ^^^^^
[INFO] [stdout]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add`
[INFO] [stdout]    --> src/main.rs:284:8
[INFO] [stdout]     |
[INFO] [stdout] 284 |     fn add(loc: Loc) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `sub`
[INFO] [stdout]    --> src/main.rs:287:8
[INFO] [stdout]     |
[INFO] [stdout] 287 |     fn sub(loc: Loc) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `mult`
[INFO] [stdout]    --> src/main.rs:290:8
[INFO] [stdout]     |
[INFO] [stdout] 290 |     fn mult(loc: Loc) -> Self {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `div`
[INFO] [stdout]    --> src/main.rs:293:8
[INFO] [stdout]     |
[INFO] [stdout] 293 |     fn div(loc: Loc) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `UnexpectedToken`
[INFO] [stdout]    --> src/main.rs:301:5
[INFO] [stdout]     |
[INFO] [stdout] 301 |     UnexpectedToken(Token),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    --> src/main.rs:298:10
[INFO] [stdout]     |
[INFO] [stdout] 298 | #[derive(Debug, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]     |          ^^^^^  ^^^^^
[INFO] [stdout]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `NotExpression`
[INFO] [stdout]    --> src/main.rs:303:5
[INFO] [stdout]     |
[INFO] [stdout] 303 |     NotExpression(Token),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    --> src/main.rs:298:10
[INFO] [stdout]     |
[INFO] [stdout] 298 | #[derive(Debug, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]     |          ^^^^^  ^^^^^
[INFO] [stdout]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `NotOperator`
[INFO] [stdout]    --> src/main.rs:305:5
[INFO] [stdout]     |
[INFO] [stdout] 305 |     NotOperator(Token),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    --> src/main.rs:298:10
[INFO] [stdout]     |
[INFO] [stdout] 298 | #[derive(Debug, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]     |          ^^^^^  ^^^^^
[INFO] [stdout]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `UnclosedOpenParen`
[INFO] [stdout]    --> src/main.rs:307:5
[INFO] [stdout]     |
[INFO] [stdout] 307 |     UnclosedOpenParen(Token),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    --> src/main.rs:298:10
[INFO] [stdout]     |
[INFO] [stdout] 298 | #[derive(Debug, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]     |          ^^^^^  ^^^^^
[INFO] [stdout]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `RedundantExpression`
[INFO] [stdout]    --> src/main.rs:309:5
[INFO] [stdout]     |
[INFO] [stdout] 309 |     RedundantExpression(Token),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    --> src/main.rs:298:10
[INFO] [stdout]     |
[INFO] [stdout] 298 | #[derive(Debug, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]     |          ^^^^^  ^^^^^
[INFO] [stdout]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Eof`
[INFO] [stdout]    --> src/main.rs:311:5
[INFO] [stdout]     |
[INFO] [stdout] 311 |     Eof,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    --> src/main.rs:298:10
[INFO] [stdout]     |
[INFO] [stdout] 298 | #[derive(Debug, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]     |          ^^^^^  ^^^^^
[INFO] [stdout]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `parse_left_binop`
[INFO] [stdout]    --> src/main.rs:316:4
[INFO] [stdout]     |
[INFO] [stdout] 316 | fn parse_left_binop<Tokens>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `parse_atom`
[INFO] [stdout]    --> src/main.rs:343:4
[INFO] [stdout]     |
[INFO] [stdout] 343 | fn parse_atom<Tokens>(tokens: &mut Peekable<Tokens>) -> Result<Ast, ParseError>
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `parse_expr1`
[INFO] [stdout]    --> src/main.rs:367:4
[INFO] [stdout]     |
[INFO] [stdout] 367 | fn parse_expr1<Tokens>(tokens: &mut Peekable<Tokens>) -> Result<Ast, ParseError>
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `parse_expr2`
[INFO] [stdout]    --> src/main.rs:393:4
[INFO] [stdout]     |
[INFO] [stdout] 393 | fn parse_expr2<Tokens>(tokens: &mut Peekable<Tokens>) -> Result<Ast, ParseError>
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `parse_expr`
[INFO] [stdout]    --> src/main.rs:416:4
[INFO] [stdout]     |
[INFO] [stdout] 416 | fn parse_expr<Tokens>(tokens: &mut Peekable<Tokens>) -> Result<Ast, ParseError>
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `parse_expr3`
[INFO] [stdout]    --> src/main.rs:423:4
[INFO] [stdout]     |
[INFO] [stdout] 423 | fn parse_expr3<Tokens>(tokens: &mut Peekable<Tokens>) -> Result<Ast, ParseError>
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `parse`
[INFO] [stdout]    --> src/main.rs:446:4
[INFO] [stdout]     |
[INFO] [stdout] 446 | fn parse(tokens: Vec<Token>) -> Result<Ast, ParseError> {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 35 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.66s
[INFO] running `Command { std: "docker" "inspect" "6cba80bc0ff0aa7d56a53ba873a3eba0adf63d6eac0cef7e51556eb7464f1997", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6cba80bc0ff0aa7d56a53ba873a3eba0adf63d6eac0cef7e51556eb7464f1997", kill_on_drop: false }`
[INFO] [stdout] 6cba80bc0ff0aa7d56a53ba873a3eba0adf63d6eac0cef7e51556eb7464f1997
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 774770659f507016011510e80760096f47ff25d87e1078da1d33c975ae06a8bf
[INFO] running `Command { std: "docker" "start" "-a" "774770659f507016011510e80760096f47ff25d87e1078da1d33c975ae06a8bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling parser v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/main.rs:121:17
[INFO] [stdout]     |
[INFO] [stdout] 121 |             b'0'...b'9' => lex_a_token!(lex_number(input, pos)),
[INFO] [stdout]     |                 ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:152:29
[INFO] [stdout]     |
[INFO] [stdout] 152 | fn lex_number(input: &[u8], mut pos: usize) -> Result<(Token, usize), LexError> {
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:186:30
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn skip_spaces(input: &[u8], mut pos: usize) -> Result<((), usize), LexError> {
[INFO] [stdout]     |                              ----^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `UnexpectedToken`
[INFO] [stdout]    --> src/main.rs:301:5
[INFO] [stdout]     |
[INFO] [stdout] 301 |     UnexpectedToken(Token),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    --> src/main.rs:298:10
[INFO] [stdout]     |
[INFO] [stdout] 298 | #[derive(Debug, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]     |          ^^^^^  ^^^^^
[INFO] [stdout]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.74s
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/parser-40ef2751cec7a912)
[INFO] running `Command { std: "docker" "inspect" "774770659f507016011510e80760096f47ff25d87e1078da1d33c975ae06a8bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "774770659f507016011510e80760096f47ff25d87e1078da1d33c975ae06a8bf", kill_on_drop: false }`
[INFO] [stdout] 774770659f507016011510e80760096f47ff25d87e1078da1d33c975ae06a8bf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bafe66b2c749a2bcaf9f715e51edc8f694375e6cbbc9cbc873b715df1797ec52
[INFO] running `Command { std: "docker" "start" "-a" "bafe66b2c749a2bcaf9f715e51edc8f694375e6cbbc9cbc873b715df1797ec52", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]    --> src/main.rs:121:17
[INFO] [stderr]     |
[INFO] [stderr] 121 |             b'0'...b'9' => lex_a_token!(lex_number(input, pos)),
[INFO] [stderr]     |                 ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:152:29
[INFO] [stderr]     |
[INFO] [stderr] 152 | fn lex_number(input: &[u8], mut pos: usize) -> Result<(Token, usize), LexError> {
[INFO] [stderr]     |                             ----^^^
[INFO] [stderr]     |                             |
[INFO] [stderr]     |                             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:186:30
[INFO] [stderr]     |
[INFO] [stderr] 186 | fn skip_spaces(input: &[u8], mut pos: usize) -> Result<((), usize), LexError> {
[INFO] [stderr]     |                              ----^^^
[INFO] [stderr]     |                              |
[INFO] [stderr]     |                              help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `UnexpectedToken`
[INFO] [stderr]    --> src/main.rs:301:5
[INFO] [stderr]     |
[INFO] [stderr] 301 |     UnexpectedToken(Token),
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    --> src/main.rs:298:10
[INFO] [stderr]     |
[INFO] [stderr] 298 | #[derive(Debug, Clone, PartialEq, Eq, Hash)]
[INFO] [stderr]     |          ^^^^^  ^^^^^
[INFO] [stderr]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `parser` (bin "parser" test) generated 4 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.58s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/parser-40ef2751cec7a912)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test test_lexer ... ok
[INFO] [stdout] test test_parser ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "bafe66b2c749a2bcaf9f715e51edc8f694375e6cbbc9cbc873b715df1797ec52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bafe66b2c749a2bcaf9f715e51edc8f694375e6cbbc9cbc873b715df1797ec52", kill_on_drop: false }`
[INFO] [stdout] bafe66b2c749a2bcaf9f715e51edc8f694375e6cbbc9cbc873b715df1797ec52
