[INFO] cloning repository https://github.com/takeru56/parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/takeru56/parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakeru56%2Fparser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakeru56%2Fparser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ccb11ae9f6d2e172c8d23c01759b84c8b03d5009 [INFO] checking takeru56/parser against master#4d1bd0db7f489b22c6d8aa2385937a95412c015b for pr-114682 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakeru56%2Fparser" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/takeru56/parser on toolchain 4d1bd0db7f489b22c6d8aa2385937a95412c015b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/takeru56/parser [INFO] finished tweaking git repo https://github.com/takeru56/parser [INFO] tweaked toml for git repo https://github.com/takeru56/parser written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/takeru56/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" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking takeru56/parser against try#785364c7e5e0804473a3fddfb579798ea14e3493 for pr-114682 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakeru56%2Fparser" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/takeru56/parser on toolchain 785364c7e5e0804473a3fddfb579798ea14e3493 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/takeru56/parser [INFO] finished tweaking git repo https://github.com/takeru56/parser [INFO] tweaked toml for git repo https://github.com/takeru56/parser written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/takeru56/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" "+785364c7e5e0804473a3fddfb579798ea14e3493" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+785364c7e5e0804473a3fddfb579798ea14e3493" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] caeac8c1e4a1640578f6294d74c2f52cf5078418be2dfbee999a9fdb9c387794 [INFO] running `Command { std: "docker" "start" "-a" "caeac8c1e4a1640578f6294d74c2f52cf5078418be2dfbee999a9fdb9c387794", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "caeac8c1e4a1640578f6294d74c2f52cf5078418be2dfbee999a9fdb9c387794", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caeac8c1e4a1640578f6294d74c2f52cf5078418be2dfbee999a9fdb9c387794", kill_on_drop: false }` [INFO] [stdout] caeac8c1e4a1640578f6294d74c2f52cf5078418be2dfbee999a9fdb9c387794 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+785364c7e5e0804473a3fddfb579798ea14e3493" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0509726160a1da3eb80a1e3ffce23d5e12111e4794b5ae8716482b33bc8e85da [INFO] running `Command { std: "docker" "start" "-a" "0509726160a1da3eb80a1e3ffce23d5e12111e4794b5ae8716482b33bc8e85da", kill_on_drop: false }` [INFO] [stderr] Checking parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | b'0'...b'9' => lex_a_token!(lex_number(input, pos)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | b'0'...b'9' => lex_a_token!(lex_number(input, pos)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `merge` is never used [INFO] [stdout] --> src/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Loc { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 8 | 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: variants `UnexpectedToken`, `NotExpression`, `NotOperation`, `UnclosedOpenParen`, `RedundantExpression`, and `Eof` are never constructed [INFO] [stdout] --> src/main.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 203 | enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 204 | UnexpectedToken(Token), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 205 | NotExpression(Token), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 206 | NotOperation(Token), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 207 | UnclosedOpenParen(Token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 208 | RedundantExpression(Token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 209 | 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] [INFO] [stdout] [INFO] [stdout] warning: variants `Num`, `UniOp`, and `BinOp` are never constructed [INFO] [stdout] --> src/main.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 213 | enum AstKind { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 214 | Num(u64), [INFO] [stdout] | ^^^ [INFO] [stdout] 215 | UniOp {op: UniOp, e: Box}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 216 | BinOp {op: BinOp, l: Box, r: Box}, [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] [INFO] [stdout] [INFO] [stdout] warning: variants `Plus` and `Minus` are never constructed [INFO] [stdout] --> src/main.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 222 | enum UniOpKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 223 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 224 | 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] [INFO] [stdout] [INFO] [stdout] warning: associated functions `plus` and `minus` are never used [INFO] [stdout] --> src/main.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 229 | impl UniOp { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 230 | fn plus(loc: Loc) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn minus(loc: Loc) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Add`, `Sub`, `Mult`, and `Div` are never constructed [INFO] [stdout] --> src/main.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 240 | enum BinOpKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 241 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 242 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 243 | Mult, [INFO] [stdout] | ^^^^ [INFO] [stdout] 244 | 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] [INFO] [stdout] [INFO] [stdout] warning: associated functions `add`, `sub`, `mult`, and `div` are never used [INFO] [stdout] --> src/main.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 249 | impl BinOp { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 250 | fn add(loc: Loc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | fn sub(loc: Loc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | fn mult(loc: Loc) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | fn div(loc: Loc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `num`, `uniop`, and `binop` are never used [INFO] [stdout] --> src/main.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 264 | impl Ast { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 265 | fn num(n: u64, loc: Loc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | fn uniop(op: UniOp, e: Ast, loc: Loc) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | fn binop(op: BinOp, l: Ast, r: Ast, loc: Loc) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/main.rs:289:4 [INFO] [stdout] | [INFO] [stdout] 289 | fn add(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul` is never used [INFO] [stdout] --> src/main.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn mul(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unary` is never used [INFO] [stdout] --> src/main.rs:350:4 [INFO] [stdout] | [INFO] [stdout] 350 | fn unary(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `atom` is never used [INFO] [stdout] --> src/main.rs:378:4 [INFO] [stdout] | [INFO] [stdout] 378 | fn atom(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/main.rs:402:4 [INFO] [stdout] | [INFO] [stdout] 402 | fn parse(tokens: Vec) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expr` is never used [INFO] [stdout] --> src/main.rs:411:4 [INFO] [stdout] | [INFO] [stdout] 411 | fn parse_expr(tokens: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnexpectedToken` and `NotOperation` are never constructed [INFO] [stdout] --> src/main.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 203 | enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 204 | UnexpectedToken(Token), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 205 | NotExpression(Token), [INFO] [stdout] 206 | NotOperation(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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "0509726160a1da3eb80a1e3ffce23d5e12111e4794b5ae8716482b33bc8e85da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0509726160a1da3eb80a1e3ffce23d5e12111e4794b5ae8716482b33bc8e85da", kill_on_drop: false }` [INFO] [stdout] 0509726160a1da3eb80a1e3ffce23d5e12111e4794b5ae8716482b33bc8e85da