[INFO] cloning repository https://github.com/willmurphyscode/calc-repl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/willmurphyscode/calc-repl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillmurphyscode%2Fcalc-repl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillmurphyscode%2Fcalc-repl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd010b5eaf2f5075d35ae6ec98894aea11c11a7c [INFO] testing willmurphyscode/calc-repl against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillmurphyscode%2Fcalc-repl" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/willmurphyscode/calc-repl on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/willmurphyscode/calc-repl [INFO] finished tweaking git repo https://github.com/willmurphyscode/calc-repl [INFO] tweaked toml for git repo https://github.com/willmurphyscode/calc-repl written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/willmurphyscode/calc-repl already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3489b333e557d082f5aefa87b1b25fb0e94bd75d65284f7efdfd2883143dc24d [INFO] running `Command { std: "docker" "start" "-a" "3489b333e557d082f5aefa87b1b25fb0e94bd75d65284f7efdfd2883143dc24d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3489b333e557d082f5aefa87b1b25fb0e94bd75d65284f7efdfd2883143dc24d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3489b333e557d082f5aefa87b1b25fb0e94bd75d65284f7efdfd2883143dc24d", kill_on_drop: false }` [INFO] [stdout] 3489b333e557d082f5aefa87b1b25fb0e94bd75d65284f7efdfd2883143dc24d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 36574095d146469316c794469d53a8c44b6fe6373e591b3add5f4794b8da7ce8 [INFO] running `Command { std: "docker" "start" "-a" "36574095d146469316c794469d53a8c44b6fe6373e591b3add5f4794b8da7ce8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling termion v1.5.1 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling calc-repl v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.08s [INFO] running `Command { std: "docker" "inspect" "36574095d146469316c794469d53a8c44b6fe6373e591b3add5f4794b8da7ce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36574095d146469316c794469d53a8c44b6fe6373e591b3add5f4794b8da7ce8", kill_on_drop: false }` [INFO] [stdout] 36574095d146469316c794469d53a8c44b6fe6373e591b3add5f4794b8da7ce8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4bebb860be3c2ea75ed9c22e4218e506542835c990149e9b16d268f996e5fd7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c4bebb860be3c2ea75ed9c22e4218e506542835c990149e9b16d268f996e5fd7", kill_on_drop: false }` [INFO] [stderr] Compiling calc-repl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, &$msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | / test_case!(b"(and (> 5 4) (< 0 4))", [INFO] [stdout] 36 | | Type::Bool(true), [INFO] [stdout] 37 | | "failed to eval and with comparisons"); [INFO] [stdout] | |_________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` implied by `#[warn(warnings)]` [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, "{}", &$msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, &$msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | / test_case!(b"(or (> 5 4 (- 2 1)) (< 7 4))", [INFO] [stdout] 43 | | Type::Bool(true), [INFO] [stdout] 44 | | "failed to eval with bool and comparison"); [INFO] [stdout] | |_____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, "{}", &$msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, &$msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | test_case!(b"(- 1 2 2 2)", Type::Integer(-5), "failed to subtract correctly"); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, "{}", &$msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, &$msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | / test_case!(b"(if (< 2 3) 4 5)", [INFO] [stdout] 55 | | Type::Integer(4), [INFO] [stdout] 56 | | "failed to handle if-else on true branch"); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, "{}", &$msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, &$msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | / test_case!(b"(if (> 2 3) 4 5)", [INFO] [stdout] 62 | | Type::Integer(5), [INFO] [stdout] 63 | | "failed to handle if-else on true branch"); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, "{}", &$msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, &$msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | / test_case!(b"(and (< 4 (if (> 2 3) 4 5)) (> (+ 1 2) (- 1 2)))", [INFO] [stdout] 69 | | Type::Bool(true), [INFO] [stdout] 70 | | "failed to handle a nested if and expression"); [INFO] [stdout] | |________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, "{}", &$msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.19s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/calc_repl-00d0c55fc333ac40) [INFO] running `Command { std: "docker" "inspect" "c4bebb860be3c2ea75ed9c22e4218e506542835c990149e9b16d268f996e5fd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4bebb860be3c2ea75ed9c22e4218e506542835c990149e9b16d268f996e5fd7", kill_on_drop: false }` [INFO] [stdout] c4bebb860be3c2ea75ed9c22e4218e506542835c990149e9b16d268f996e5fd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3a392ae9e6a507efb19485ea177642f2cf1de1152e32aca1765167eae7288184 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3a392ae9e6a507efb19485ea177642f2cf1de1152e32aca1765167eae7288184", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:29:42 [INFO] [stderr] | [INFO] [stderr] 29 | assert!(result == $expected, &$msg); [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | / test_case!(b"(and (> 5 4) (< 0 4))", [INFO] [stderr] 36 | | Type::Bool(true), [INFO] [stderr] 37 | | "failed to eval and with comparisons"); [INFO] [stderr] | |_________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/main.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` implied by `#[warn(warnings)]` [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 29 | assert!(result == $expected, "{}", &$msg); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:29:42 [INFO] [stderr] | [INFO] [stderr] 29 | assert!(result == $expected, &$msg); [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | / test_case!(b"(or (> 5 4 (- 2 1)) (< 7 4))", [INFO] [stderr] 43 | | Type::Bool(true), [INFO] [stderr] 44 | | "failed to eval with bool and comparison"); [INFO] [stderr] | |_____________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 29 | assert!(result == $expected, "{}", &$msg); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:29:42 [INFO] [stderr] | [INFO] [stderr] 29 | assert!(result == $expected, &$msg); [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | test_case!(b"(- 1 2 2 2)", Type::Integer(-5), "failed to subtract correctly"); [INFO] [stderr] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 29 | assert!(result == $expected, "{}", &$msg); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:29:42 [INFO] [stderr] | [INFO] [stderr] 29 | assert!(result == $expected, &$msg); [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | / test_case!(b"(if (< 2 3) 4 5)", [INFO] [stderr] 55 | | Type::Integer(4), [INFO] [stderr] 56 | | "failed to handle if-else on true branch"); [INFO] [stderr] | |____________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 29 | assert!(result == $expected, "{}", &$msg); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:29:42 [INFO] [stderr] | [INFO] [stderr] 29 | assert!(result == $expected, &$msg); [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | / test_case!(b"(if (> 2 3) 4 5)", [INFO] [stderr] 62 | | Type::Integer(5), [INFO] [stderr] 63 | | "failed to handle if-else on true branch"); [INFO] [stderr] | |____________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 29 | assert!(result == $expected, "{}", &$msg); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:29:42 [INFO] [stderr] | [INFO] [stderr] 29 | assert!(result == $expected, &$msg); [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 68 | / test_case!(b"(and (< 4 (if (> 2 3) 4 5)) (> (+ 1 2) (- 1 2)))", [INFO] [stderr] 69 | | Type::Bool(true), [INFO] [stderr] 70 | | "failed to handle a nested if and expression"); [INFO] [stderr] | |________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 29 | assert!(result == $expected, "{}", &$msg); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `calc-repl` (bin "calc-repl" test) generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/calc_repl-00d0c55fc333ac40) [INFO] [stdout] [INFO] [stdout] running 45 tests [INFO] [stdout] test interpreter::bool_reducers::is_should_reduce_truthy_values_and ... ok [INFO] [stdout] test interpreter::bool_reducers::it_should_reduce_trues_to_true ... ok [INFO] [stdout] test interpreter::bool_reducers::it_should_reduce_mixed_to_false ... ok [INFO] [stdout] test interpreter::comparison_reducers::two_is_greater_than_one ... ok [INFO] [stdout] test interpreter::if_reducer::tests::it_reduces_if ... ok [INFO] [stdout] test interpreter::integer_reducers::tests::it_adds_arrays ... ok [INFO] [stdout] test interpreter::integer_reducers::tests::it_divides ... ok [INFO] [stdout] test interpreter::integer_reducers::tests::it_multiplies ... ok [INFO] [stdout] test interpreter::integer_reducers::tests::it_subtracts ... ok [INFO] [stdout] test interpreter::tests::it_can_handle_nested_bools ... ok [INFO] [stdout] test interpreter::tests::it_evals_simple_stacks ... ok [INFO] [stdout] test interpreter::bool_reducers::it_should_reduce_falses_to_false ... ok [INFO] [stdout] test interpreter::tests::it_evals_simple_stacks_with_subtract ... ok [INFO] [stdout] test interpreter::tests::it_handles_nested_addition ... ok [INFO] [stdout] test interpreter::tests::it_handles_nested_addition_with_subrtraction ... ok [INFO] [stdout] test interpreter::bool_reducers::is_should_reduce_truthy_values_or ... ok [INFO] [stdout] test parser::addition_sign_parser ... ok [INFO] [stdout] test parser::bool_and_test ... ok [INFO] [stdout] test parser::bool_literal_false_test ... ok [INFO] [stdout] test parser::left_paren_parser ... ok [INFO] [stdout] test parser::lt_test ... ok [INFO] [stdout] test parser::bool_literal_true_test ... ok [INFO] [stdout] test interpreter::bool_reducers::it_should_reduce_mixed_to_true ... ok [INFO] [stdout] test parser::it_can_parse_if ... ok [INFO] [stdout] test interpreter::comparison_reducers::one_is_less_than_two ... ok [INFO] [stdout] test parser::subtraction_sign_parser ... ok [INFO] [stdout] test parser::gt_test ... ok [INFO] [stdout] test parser::division_sign_parser ... ok [INFO] [stdout] test tests::it_can_reduce_comparisons ... ok [INFO] [stdout] test interpreter::tests::it_should_handle_one_comparison ... ok [INFO] [stdout] test interpreter::tests::it_should_handle_comparisons ... ok [INFO] [stdout] test tests::it_subtracts_correctly ... ok [INFO] [stdout] test interpreter::tests::it_should_handle_all_bool_tree ... ok [INFO] [stdout] test parser::multiplication_sign_parser ... ok [INFO] [stdout] test interpreter::tests::it_handles_nested_nonses_with_all_ops ... ok [INFO] [stdout] test parser::test_several_tokens_with_long_numeric_token ... ok [INFO] [stdout] test parser::operand_parser ... ok [INFO] [stdout] test parser::right_paren_parser ... ok [INFO] [stdout] test parser::test_several_tokens ... ok [INFO] [stdout] test parser::test_single_numeric_token ... ok [INFO] [stdout] test parser::test_single_token ... ok [INFO] [stdout] test tests::it_handle_if_true_branch ... ok [INFO] [stdout] test tests::it_handle_if_nested_bool_expression ... ok [INFO] [stdout] test tests::it_can_reduce_comparisons_with_other_ops ... ok [INFO] [stdout] test tests::it_handle_if_false_branch ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 45 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3a392ae9e6a507efb19485ea177642f2cf1de1152e32aca1765167eae7288184", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a392ae9e6a507efb19485ea177642f2cf1de1152e32aca1765167eae7288184", kill_on_drop: false }` [INFO] [stdout] 3a392ae9e6a507efb19485ea177642f2cf1de1152e32aca1765167eae7288184