[INFO] cloning repository https://github.com/vanhtuan0409/rust-calculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vanhtuan0409/rust-calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvanhtuan0409%2Frust-calculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvanhtuan0409%2Frust-calculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 228cde0c72b5491ca8d81ff74928b88ad0f99aa3 [INFO] building vanhtuan0409/rust-calculator against try#8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvanhtuan0409%2Frust-calculator" "/workspace/builds/worker-69/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-69/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vanhtuan0409/rust-calculator on toolchain 8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vanhtuan0409/rust-calculator [INFO] finished tweaking git repo https://github.com/vanhtuan0409/rust-calculator [INFO] tweaked toml for git repo https://github.com/vanhtuan0409/rust-calculator written to /workspace/builds/worker-69/source/Cargo.toml [INFO] crate git repo https://github.com/vanhtuan0409/rust-calculator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "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-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12ed2644462b768699768465fdf451a53f977de6382e47e766296597837a74c8 [INFO] running `Command { std: "docker" "start" "-a" "12ed2644462b768699768465fdf451a53f977de6382e47e766296597837a74c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12ed2644462b768699768465fdf451a53f977de6382e47e766296597837a74c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12ed2644462b768699768465fdf451a53f977de6382e47e766296597837a74c8", kill_on_drop: false }` [INFO] [stdout] 12ed2644462b768699768465fdf451a53f977de6382e47e766296597837a74c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2004245333fcf1d7737b21b2cbb130996e2c7e95e2b79cf52116b0b928463629 [INFO] running `Command { std: "docker" "start" "-a" "2004245333fcf1d7737b21b2cbb130996e2c7e95e2b79cf52116b0b928463629", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust-calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum is never used: `Op` [INFO] [stdout] --> src/ast.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Op { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Expression` [INFO] [stdout] --> src/ast.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BinaryExpression` [INFO] [stdout] --> src/ast.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BinaryExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `UnaryExpression` [INFO] [stdout] --> src/ast.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct UnaryExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AstParser` [INFO] [stdout] --> src/ast.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AstParser { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `AstParseError` [INFO] [stdout] --> src/ast.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum AstParseError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ast.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(tokens: Tokenizer) -> AstParser { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/ast.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn parse(&mut self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.06s [INFO] running `Command { std: "docker" "inspect" "2004245333fcf1d7737b21b2cbb130996e2c7e95e2b79cf52116b0b928463629", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2004245333fcf1d7737b21b2cbb130996e2c7e95e2b79cf52116b0b928463629", kill_on_drop: false }` [INFO] [stdout] 2004245333fcf1d7737b21b2cbb130996e2c7e95e2b79cf52116b0b928463629 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cea18cedd52867f8ab28a5e0cc46007acee94ec83a294f2128a78f62e7b0bebf [INFO] running `Command { std: "docker" "start" "-a" "cea18cedd52867f8ab28a5e0cc46007acee94ec83a294f2128a78f62e7b0bebf", kill_on_drop: false }` [INFO] [stderr] Compiling rust-calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum is never used: `Op` [INFO] [stdout] --> src/ast.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Op { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Expression` [INFO] [stdout] --> src/ast.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BinaryExpression` [INFO] [stdout] --> src/ast.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BinaryExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `UnaryExpression` [INFO] [stdout] --> src/ast.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct UnaryExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AstParser` [INFO] [stdout] --> src/ast.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AstParser { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `AstParseError` [INFO] [stdout] --> src/ast.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum AstParseError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ast.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(tokens: Tokenizer) -> AstParser { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/ast.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn parse(&mut self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.69s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_calculator-8f2c0e86c8805c8a) [INFO] running `Command { std: "docker" "inspect" "cea18cedd52867f8ab28a5e0cc46007acee94ec83a294f2128a78f62e7b0bebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cea18cedd52867f8ab28a5e0cc46007acee94ec83a294f2128a78f62e7b0bebf", kill_on_drop: false }` [INFO] [stdout] cea18cedd52867f8ab28a5e0cc46007acee94ec83a294f2128a78f62e7b0bebf