[INFO] cloning repository https://github.com/KrzysztofMularski/math_equation_transformer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KrzysztofMularski/math_equation_transformer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrzysztofMularski%2Fmath_equation_transformer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrzysztofMularski%2Fmath_equation_transformer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e49e9522d0d3336ca6e11a63266aff6a3db4ede0 [INFO] testing KrzysztofMularski/math_equation_transformer against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrzysztofMularski%2Fmath_equation_transformer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KrzysztofMularski/math_equation_transformer [INFO] finished tweaking git repo https://github.com/KrzysztofMularski/math_equation_transformer [INFO] tweaked toml for git repo https://github.com/KrzysztofMularski/math_equation_transformer written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KrzysztofMularski/math_equation_transformer on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KrzysztofMularski/math_equation_transformer 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "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 [ERROR] error running command: no output for 300 seconds [INFO] testing KrzysztofMularski/math_equation_transformer against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrzysztofMularski%2Fmath_equation_transformer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KrzysztofMularski/math_equation_transformer [INFO] finished tweaking git repo https://github.com/KrzysztofMularski/math_equation_transformer [INFO] tweaked toml for git repo https://github.com/KrzysztofMularski/math_equation_transformer written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KrzysztofMularski/math_equation_transformer on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KrzysztofMularski/math_equation_transformer 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66c33b00a75be3f7702bc32e08fc5b6aeb6bd57fae836aff7091f8362fc1912b [INFO] running `Command { std: "docker" "start" "-a" "66c33b00a75be3f7702bc32e08fc5b6aeb6bd57fae836aff7091f8362fc1912b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66c33b00a75be3f7702bc32e08fc5b6aeb6bd57fae836aff7091f8362fc1912b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66c33b00a75be3f7702bc32e08fc5b6aeb6bd57fae836aff7091f8362fc1912b", kill_on_drop: false }` [INFO] [stdout] 66c33b00a75be3f7702bc32e08fc5b6aeb6bd57fae836aff7091f8362fc1912b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea8732f613566daf6636259dcce5483cbb7a9206589ec92e7bd8b3a5838d97b0 [INFO] running `Command { std: "docker" "start" "-a" "ea8732f613566daf6636259dcce5483cbb7a9206589ec92e7bd8b3a5838d97b0", kill_on_drop: false }` [INFO] [stderr] Compiling math_equation_transformer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/module/expr.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Expr { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 77 | [INFO] [stdout] 78 | pub fn new(expr: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn parse_to_postfix(expr: &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn apply(&self, rule: &Rule, mut occurance: i16) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn reduce_one(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn calculate_expr(op: &FunOp, num1: &f64, num2: &f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | fn compare_to_pattern(expr: Rc>, pattern_expr: Rc>) -> Result<(bool, Option>, rule: &Rule, bindings: HashMap, expr_path: &mut String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | fn tokenization(expr: &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | fn infix_to_postfix(tokens: Vec) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 524 | fn postfix_to_expression(postfix: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/module/rule.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Rule { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 21 | [INFO] [stdout] 22 | pub fn new(pattern: &str, substitute: &str, reversable: bool) -> Rule { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CharKind` is never used [INFO] [stdout] --> src/module/token.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum CharKind { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "ea8732f613566daf6636259dcce5483cbb7a9206589ec92e7bd8b3a5838d97b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea8732f613566daf6636259dcce5483cbb7a9206589ec92e7bd8b3a5838d97b0", kill_on_drop: false }` [INFO] [stdout] ea8732f613566daf6636259dcce5483cbb7a9206589ec92e7bd8b3a5838d97b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c6be727a3114726830eb36c204695e246098f88889e579e9966086d5ea8205f [INFO] running `Command { std: "docker" "start" "-a" "0c6be727a3114726830eb36c204695e246098f88889e579e9966086d5ea8205f", kill_on_drop: false }` [INFO] [stderr] Compiling math_equation_transformer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "0c6be727a3114726830eb36c204695e246098f88889e579e9966086d5ea8205f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c6be727a3114726830eb36c204695e246098f88889e579e9966086d5ea8205f", kill_on_drop: false }` [INFO] [stdout] 0c6be727a3114726830eb36c204695e246098f88889e579e9966086d5ea8205f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c432e426030e5653f0530826e02aa30ea7fd6b5d98e4ae23d88a8d480d6066fb [INFO] running `Command { std: "docker" "start" "-a" "c432e426030e5653f0530826e02aa30ea7fd6b5d98e4ae23d88a8d480d6066fb", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/math_equation_transformer-210c687740725ed7) [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_parse ... ok [INFO] [stdout] test tests::test_all ... ok [INFO] [stdout] test tests::test_parsing ... ok [INFO] [stdout] test tests::test_rule ... ok [INFO] [stdout] test tests::test_reduce_expr ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c432e426030e5653f0530826e02aa30ea7fd6b5d98e4ae23d88a8d480d6066fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c432e426030e5653f0530826e02aa30ea7fd6b5d98e4ae23d88a8d480d6066fb", kill_on_drop: false }` [INFO] [stdout] c432e426030e5653f0530826e02aa30ea7fd6b5d98e4ae23d88a8d480d6066fb