[INFO] cloning repository https://github.com/jmriesen/calculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmriesen/calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmriesen%2Fcalculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmriesen%2Fcalculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5e9c9f4b89e1b633e9a5c25a764796f0418b4eb [INFO] testing jmriesen/calculator against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmriesen%2Fcalculator" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jmriesen/calculator [INFO] finished tweaking git repo https://github.com/jmriesen/calculator [INFO] tweaked toml for git repo https://github.com/jmriesen/calculator written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jmriesen/calculator on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jmriesen/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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 3e22a47781475918f0762611c4a17d6a96c3419abaa3c547c8ba4f9099f683ab [INFO] running `Command { std: "docker" "start" "3e22a47781475918f0762611c4a17d6a96c3419abaa3c547c8ba4f9099f683ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e22a47781475918f0762611c4a17d6a96c3419abaa3c547c8ba4f9099f683ab", 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" "3e22a47781475918f0762611c4a17d6a96c3419abaa3c547c8ba4f9099f683ab" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e22a47781475918f0762611c4a17d6a96c3419abaa3c547c8ba4f9099f683ab", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3e22a47781475918f0762611c4a17d6a96c3419abaa3c547c8ba4f9099f683ab" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/expression/infix/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl <'a> Infix<'a>{ [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 7 | pub fn evaluate(&'a self,variables:&VariableMap)->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: method `evaluate` is never used [INFO] [stdout] --> src/expression/prefix/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl <'a> Prefix<'a>{ [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 7 | pub fn evaluate(&'a self,variables:&VariableMap)->Result{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/expression/infix/mod.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | fn from(prefix:Infix<'a>)->Postfix{ [INFO] [stdout] | -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 14 | fn from(prefix:Infix<'a>)->Postfix<'a>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "3e22a47781475918f0762611c4a17d6a96c3419abaa3c547c8ba4f9099f683ab", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3e22a47781475918f0762611c4a17d6a96c3419abaa3c547c8ba4f9099f683ab" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/expression/infix/mod.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | fn from(prefix:Infix<'a>)->Postfix{ [INFO] [stdout] | -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 14 | fn from(prefix:Infix<'a>)->Postfix<'a>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "3e22a47781475918f0762611c4a17d6a96c3419abaa3c547c8ba4f9099f683ab", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3e22a47781475918f0762611c4a17d6a96c3419abaa3c547c8ba4f9099f683ab" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/expression/infix/mod.rs:14:32 [INFO] [stderr] | [INFO] [stderr] 14 | fn from(prefix:Infix<'a>)->Postfix{ [INFO] [stderr] | -- ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 14 | fn from(prefix:Infix<'a>)->Postfix<'a>{ [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `calculator` (bin "calculator" test) generated 1 warning (run `cargo fix --bin "calculator" -p calculator --tests` to apply 1 suggestion) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/calculator-ec7f689b13d219a4) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test expression::infix::tests::adding_surrounding_parenthesies_dose_not_change_result ... ok [INFO] [stdout] test expression::infix::tests::should_be_able_to_handle_two_term_expresstions ... ok [INFO] [stdout] test expression::infix::tests::should_multiply_before_adding ... ok [INFO] [stdout] test expression::infix::tests::should_return_literals ... ok [INFO] [stdout] test expression::infix::tests::parenthesise_should_cause_preference ... ok [INFO] [stdout] test expression::infix::tests::adding_and_subtracting_should_have_same_priority ... ok [INFO] [stdout] test expression::infix::tests::multiplication_and_division_should_have_same_priority ... ok [INFO] [stdout] test expression::postfix::tests::empty_string_should_produce_error ... ok [INFO] [stdout] test expression::postfix::tests::should_be_able_to_add_numbers ... ok [INFO] [stdout] test expression::infix::tests::should_be_able_to_use_multiple_parenthesises ... ok [INFO] [stdout] test expression::postfix::tests::should_be_able_to_divide ... ok [INFO] [stdout] test expression::postfix::tests::should_be_able_to_use_all_operations_together ... ok [INFO] [stdout] test expression::postfix::tests::should_be_able_to_use_variables_in_expretions ... ok [INFO] [stdout] test expression::postfix::tests::should_ignore_extra_white_space ... ok [INFO] [stdout] test expression::postfix::tests::should_be_able_to_multiply ... ok [INFO] [stdout] test expression::postfix::tests::should_not_allow_parenthesis ... ok [INFO] [stdout] test expression::postfix::tests::should_be_able_to_subtract_numbers ... ok [INFO] [stdout] test expression::postfix::tests::should_not_be_able_to_redefine_numbers_and_operation_symbols ... ok [INFO] [stdout] test expression::postfix::tests::should_read_variable_value ... ok [INFO] [stdout] test expression::postfix::tests::should_return_a_number_when_given_a_litteral ... ok [INFO] [stdout] test expression::postfix::tests::to_few_arguments_should_produce_error ... ok [INFO] [stdout] test expression::postfix::tests::to_many_arguments_should_produce_error ... ok [INFO] [stdout] test expression::prefix::tests::should_be_able_to_add_two_numbers ... ok [INFO] [stdout] test expression::prefix::tests::should_return_literals ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3e22a47781475918f0762611c4a17d6a96c3419abaa3c547c8ba4f9099f683ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e22a47781475918f0762611c4a17d6a96c3419abaa3c547c8ba4f9099f683ab", kill_on_drop: false }` [INFO] [stdout] 3e22a47781475918f0762611c4a17d6a96c3419abaa3c547c8ba4f9099f683ab