[INFO] cloning repository https://github.com/ucanme/math_calculator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ucanme/math_calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fucanme%2Fmath_calculator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fucanme%2Fmath_calculator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8103ae1449ef5192f392e5f9b43bc1765ccf3abb
[INFO] checking ucanme/math_calculator against d0ab665d12770dbaae620b539ee4319b83445f45 for pr-133502-25
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fucanme%2Fmath_calculator" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ucanme/math_calculator
[INFO] finished tweaking git repo https://github.com/ucanme/math_calculator
[INFO] tweaked toml for git repo https://github.com/ucanme/math_calculator written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ucanme/math_calculator on toolchain d0ab665d12770dbaae620b539ee4319b83445f45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ucanme/math_calculator 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" "+d0ab665d12770dbaae620b539ee4319b83445f45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6cd71cbb49aafcc5ef7ef51518b1cc5a71561acdbb6add025cacf3c286e0b31f
[INFO] running `Command { std: "docker" "start" "6cd71cbb49aafcc5ef7ef51518b1cc5a71561acdbb6add025cacf3c286e0b31f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6cd71cbb49aafcc5ef7ef51518b1cc5a71561acdbb6add025cacf3c286e0b31f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6cd71cbb49aafcc5ef7ef51518b1cc5a71561acdbb6add025cacf3c286e0b31f" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6cd71cbb49aafcc5ef7ef51518b1cc5a71561acdbb6add025cacf3c286e0b31f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6cd71cbb49aafcc5ef7ef51518b1cc5a71561acdbb6add025cacf3c286e0b31f" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking thiserror v2.0.12
[INFO] [stderr]     Checking math_calculator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::f32::consts::E`
[INFO] [stdout]  --> src/ast.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::f32::consts::E;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Alignment::Left`
[INFO] [stdout]  --> src/ast.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::Alignment::Left;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::hash`
[INFO] [stdout]  --> src/ast.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ptr::hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]  --> src/ast.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::thread::sleep;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Parser`
[INFO] [stdout]  --> src/ast.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::lex::{Parser, Token, TokenType};
[INFO] [stdout]   |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NumberAst`
[INFO] [stdout]  --> src/exec.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ast::{AstNode, NumberAst, get_func};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/exec.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![feature]` attribute can only be used at the crate root
[INFO] [stdout]  --> src/error/error.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(io_error_more)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: the crate root is at `src/main.rs`
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::consts::E`
[INFO] [stdout]  --> src/ast.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::f32::consts::E;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Alignment::Left`
[INFO] [stdout]  --> src/ast.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::Alignment::Left;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::hash`
[INFO] [stdout]  --> src/ast.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ptr::hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]  --> src/ast.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::thread::sleep;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Parser`
[INFO] [stdout]  --> src/ast.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::lex::{Parser, Token, TokenType};
[INFO] [stdout]   |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NumberAst`
[INFO] [stdout]  --> src/exec.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ast::{AstNode, NumberAst, get_func};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/exec.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![feature]` attribute can only be used at the crate root
[INFO] [stdout]  --> src/error/error.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(io_error_more)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: the crate root is at `src/main.rs`
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/ast.rs:314:58
[INFO] [stdout]     |
[INFO] [stdout] 314 | ...                   Some(token) => {
[INFO] [stdout]     |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/exec.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         _ => Ok(0.0),
[INFO] [stdout]    |         ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/exec.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout]  7 |         AstNode::Number(num) => Ok(num.val),
[INFO] [stdout]    |         -------------------- matches some of the same values
[INFO] [stdout]  8 |         AstNode::Binary(binary) => {
[INFO] [stdout]    |         ----------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 21 |         AstNode::FunCaller(fun) => {
[INFO] [stdout]    |         ----------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 54 |         _ => Ok(0.0),
[INFO] [stdout]    |         ^ collectively making this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `binary`
[INFO] [stdout]   --> src/exec.rs:34:49
[INFO] [stdout]    |
[INFO] [stdout] 34 | ...                   AstNode::Binary(binary) => {
[INFO] [stdout]    |                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fun`
[INFO] [stdout]   --> src/exec.rs:40:52
[INFO] [stdout]    |
[INFO] [stdout] 40 | ...                   AstNode::FunCaller(fun) => {
[INFO] [stdout]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_fun`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `flag` and `offset` are never read
[INFO] [stdout]   --> src/lex.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct  Token  {
[INFO] [stdout]    |             ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     flag : i8,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 18 |     offset: i16
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Token` has a derived impl for the trait `Debug`, but this is 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: field `error` is never read
[INFO] [stdout]   --> src/lex.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Parser {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |    pub error: Error
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_digit_number` is never used
[INFO] [stdout]    --> src/lex.rs:161:8
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl Parser {
[INFO] [stdout]     | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 161 |     fn is_digit_number(ch: char) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `argc` is never read
[INFO] [stdout]   --> src/ast.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct Func {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 31 |    pub   argc: i8,
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Func` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/ast.rs:314:58
[INFO] [stdout]     |
[INFO] [stdout] 314 | ...                   Some(token) => {
[INFO] [stdout]     |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/exec.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         _ => Ok(0.0),
[INFO] [stdout]    |         ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/exec.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout]  7 |         AstNode::Number(num) => Ok(num.val),
[INFO] [stdout]    |         -------------------- matches some of the same values
[INFO] [stdout]  8 |         AstNode::Binary(binary) => {
[INFO] [stdout]    |         ----------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 21 |         AstNode::FunCaller(fun) => {
[INFO] [stdout]    |         ----------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 54 |         _ => Ok(0.0),
[INFO] [stdout]    |         ^ collectively making this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `binary`
[INFO] [stdout]   --> src/exec.rs:34:49
[INFO] [stdout]    |
[INFO] [stdout] 34 | ...                   AstNode::Binary(binary) => {
[INFO] [stdout]    |                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fun`
[INFO] [stdout]   --> src/exec.rs:40:52
[INFO] [stdout]    |
[INFO] [stdout] 40 | ...                   AstNode::FunCaller(fun) => {
[INFO] [stdout]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_fun`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `flag` and `offset` are never read
[INFO] [stdout]   --> src/lex.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct  Token  {
[INFO] [stdout]    |             ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     flag : i8,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 18 |     offset: i16
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Token` has a derived impl for the trait `Debug`, but this is 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: field `error` is never read
[INFO] [stdout]   --> src/lex.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Parser {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |    pub error: Error
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_digit_number` is never used
[INFO] [stdout]    --> src/lex.rs:161:8
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl Parser {
[INFO] [stdout]     | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 161 |     fn is_digit_number(ch: char) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `argc` is never read
[INFO] [stdout]   --> src/ast.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct Func {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 31 |    pub   argc: i8,
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Func` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.31s
[INFO] running `Command { std: "docker" "inspect" "6cd71cbb49aafcc5ef7ef51518b1cc5a71561acdbb6add025cacf3c286e0b31f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6cd71cbb49aafcc5ef7ef51518b1cc5a71561acdbb6add025cacf3c286e0b31f", kill_on_drop: false }`
[INFO] [stdout] 6cd71cbb49aafcc5ef7ef51518b1cc5a71561acdbb6add025cacf3c286e0b31f
