[INFO] cloning repository https://github.com/tossyyukky/rust-sample-easy-parser
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tossyyukky/rust-sample-easy-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftossyyukky%2Frust-sample-easy-parser", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftossyyukky%2Frust-sample-easy-parser'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c1da1ebcf95313fe16fd5d8d2521c5fc1d0f7cab
[INFO] checking tossyyukky/rust-sample-easy-parser against master#cf79d034aa3d8f396d407aafce6f1ccd818e710e for pr-155657-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftossyyukky%2Frust-sample-easy-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] started tweaking git repo https://github.com/tossyyukky/rust-sample-easy-parser
[INFO] finished tweaking git repo https://github.com/tossyyukky/rust-sample-easy-parser
[INFO] tweaked toml for git repo https://github.com/tossyyukky/rust-sample-easy-parser written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tossyyukky/rust-sample-easy-parser on toolchain cf79d034aa3d8f396d407aafce6f1ccd818e710e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tossyyukky/rust-sample-easy-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" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4cfb55ff3dceb5aeaacd40e8637f32a999fd47537d692ca00f2eab7578684287
[INFO] running `Command { std: "docker" "start" "-a" "4cfb55ff3dceb5aeaacd40e8637f32a999fd47537d692ca00f2eab7578684287", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4cfb55ff3dceb5aeaacd40e8637f32a999fd47537d692ca00f2eab7578684287", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4cfb55ff3dceb5aeaacd40e8637f32a999fd47537d692ca00f2eab7578684287", kill_on_drop: false }`
[INFO] [stdout] 4cfb55ff3dceb5aeaacd40e8637f32a999fd47537d692ca00f2eab7578684287
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d47b3d6c96f3b203462d6268150604438389b9f1d6a3bcafe423e057eabfb7a8
[INFO] running `Command { std: "docker" "start" "-a" "d47b3d6c96f3b203462d6268150604438389b9f1d6a3bcafe423e057eabfb7a8", kill_on_drop: false }`
[INFO] [stderr]     Checking parser v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:671:25
[INFO] [stdout]     |
[INFO] [stdout] 671 |         let (e, loc): (&StdError, Loc) = match self {
[INFO] [stdout]     |                         ^^^^^^^^
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 671 |         let (e, loc): (&dyn StdError, Loc) = match self {
[INFO] [stdout]     |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:671:25
[INFO] [stdout]     |
[INFO] [stdout] 671 |         let (e, loc): (&StdError, Loc) = match self {
[INFO] [stdout]     |                         ^^^^^^^^
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 671 |         let (e, loc): (&dyn StdError, Loc) = match self {
[INFO] [stdout]     |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> src/main.rs:727:31
[INFO] [stdout]     |
[INFO] [stdout] 727 |     fn show_diagnostic(&self, input: &str) {
[INFO] [stdout]     |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnexpectedToken` is never constructed
[INFO] [stdout]    --> src/main.rs:382:5
[INFO] [stdout]     |
[INFO] [stdout] 380 | enum ParseError {
[INFO] [stdout]     |      ---------- variant in this enum
[INFO] [stdout] 381 |     /// 予期しないトークンがきた
[INFO] [stdout] 382 |     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]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Interperter` is never constructed
[INFO] [stdout]    --> src/main.rs:708:8
[INFO] [stdout]     |
[INFO] [stdout] 708 | struct Interperter;
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:711:12
[INFO] [stdout]     |
[INFO] [stdout] 710 | impl Interperter {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 711 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `DivisionByZero` is never constructed
[INFO] [stdout]    --> src/main.rs:718:5
[INFO] [stdout]     |
[INFO] [stdout] 717 | enum InterperterErrorKind {
[INFO] [stdout]     |      -------------------- variant in this enum
[INFO] [stdout] 718 |     DivisionByZero,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `InterperterErrorKind` 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: method `show_diagnostic` is never used
[INFO] [stdout]    --> src/main.rs:727:8
[INFO] [stdout]     |
[INFO] [stdout] 725 | impl InterperterError {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] 726 |     /// 診断メッセージを表示する
[INFO] [stdout] 727 |     fn show_diagnostic(&self, input: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `eval`, `eval_uniop`, and `eval_binop` are never used
[INFO] [stdout]    --> src/main.rs:760:12
[INFO] [stdout]     |
[INFO] [stdout] 759 | impl Interperter {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] 760 |     pub fn eval(&mut self, expr: &Ast) -> Result<i64, InterperterError> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 780 |     fn eval_uniop(&mut self, op: &UniOp, n: i64) -> i64 {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 787 |     fn eval_binop(&mut self, op: &BinOp, l: i64, r: i64) -> Result<i64, InterperterErrorKind> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> src/main.rs:727:31
[INFO] [stdout]     |
[INFO] [stdout] 727 |     fn show_diagnostic(&self, input: &str) {
[INFO] [stdout]     |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `num` is never used
[INFO] [stdout]    --> src/main.rs:309:8
[INFO] [stdout]     |
[INFO] [stdout] 308 | impl Ast {
[INFO] [stdout]     | -------- associated function in this implementation
[INFO] [stdout] 309 |     fn num(n: u64, loc: Loc) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnexpectedToken` is never constructed
[INFO] [stdout]    --> src/main.rs:382:5
[INFO] [stdout]     |
[INFO] [stdout] 380 | enum ParseError {
[INFO] [stdout]     |      ---------- variant in this enum
[INFO] [stdout] 381 |     /// 予期しないトークンがきた
[INFO] [stdout] 382 |     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] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Interperter` is never constructed
[INFO] [stdout]    --> src/main.rs:708:8
[INFO] [stdout]     |
[INFO] [stdout] 708 | struct Interperter;
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.50s
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:711:12
[INFO] [stdout]     |
[INFO] [stdout] 710 | impl Interperter {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 711 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `DivisionByZero` is never constructed
[INFO] [stdout]    --> src/main.rs:718:5
[INFO] [stdout]     |
[INFO] [stdout] 717 | enum InterperterErrorKind {
[INFO] [stdout]     |      -------------------- variant in this enum
[INFO] [stdout] 718 |     DivisionByZero,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `InterperterErrorKind` 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: method `show_diagnostic` is never used
[INFO] [stdout]    --> src/main.rs:727:8
[INFO] [stdout]     |
[INFO] [stdout] 725 | impl InterperterError {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] 726 |     /// 診断メッセージを表示する
[INFO] [stdout] 727 |     fn show_diagnostic(&self, input: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `eval`, `eval_uniop`, and `eval_binop` are never used
[INFO] [stdout]    --> src/main.rs:760:12
[INFO] [stdout]     |
[INFO] [stdout] 759 | impl Interperter {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] 760 |     pub fn eval(&mut self, expr: &Ast) -> Result<i64, InterperterError> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 780 |     fn eval_uniop(&mut self, op: &UniOp, n: i64) -> i64 {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 787 |     fn eval_binop(&mut self, op: &BinOp, l: i64, r: i64) -> Result<i64, InterperterErrorKind> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     stdout.write(s.as_bytes());
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]   = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let _ = stdout.write(s.as_bytes());
[INFO] [stdout]   |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     stdout.write(s.as_bytes());
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]   = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let _ = stdout.write(s.as_bytes());
[INFO] [stdout]   |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d47b3d6c96f3b203462d6268150604438389b9f1d6a3bcafe423e057eabfb7a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d47b3d6c96f3b203462d6268150604438389b9f1d6a3bcafe423e057eabfb7a8", kill_on_drop: false }`
[INFO] [stdout] d47b3d6c96f3b203462d6268150604438389b9f1d6a3bcafe423e057eabfb7a8
