[INFO] fetching crate swamp-eval 0.1.16... [INFO] checking swamp-eval-0.1.16 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate swamp-eval 0.1.16 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate swamp-eval 0.1.16 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate swamp-eval 0.1.16 [INFO] tweaked toml for crates.io crate swamp-eval 0.1.16 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swamp-eval 0.1.16 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate swamp-eval 0.1.16 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80313303a1ec94b76946e6b17d340d76bbddb65936de02007e8d95f05b055c6b [INFO] running `Command { std: "docker" "start" "-a" "80313303a1ec94b76946e6b17d340d76bbddb65936de02007e8d95f05b055c6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80313303a1ec94b76946e6b17d340d76bbddb65936de02007e8d95f05b055c6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80313303a1ec94b76946e6b17d340d76bbddb65936de02007e8d95f05b055c6b", kill_on_drop: false }` [INFO] [stdout] 80313303a1ec94b76946e6b17d340d76bbddb65936de02007e8d95f05b055c6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a18e2c7b4941491ef26dc338fce57390d83271bf405450d30b6449a84034b72 [INFO] running `Command { std: "docker" "start" "-a" "7a18e2c7b4941491ef26dc338fce57390d83271bf405450d30b6449a84034b72", kill_on_drop: false }` [INFO] [stderr] Checking seq-map v0.0.13 [INFO] [stderr] Checking source-map-node v0.0.1 [INFO] [stderr] Checking seq-fmt v0.0.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking fixed32 v0.0.17 [INFO] [stderr] Checking tiny-ver v0.1.2 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking sparse-slot v0.0.4 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking squirrel-prng v0.0.1 [INFO] [stderr] Checking swamp-types v0.1.16 [INFO] [stderr] Checking source-map-cache v0.0.1 [INFO] [stderr] Checking env_logger v0.11.6 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling test-log-macros v0.2.17 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking swamp-semantic v0.1.16 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking swamp-core-extra v0.1.16 [INFO] [stderr] Checking swamp-eval v0.1.16 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:1777:13 [INFO] [stdout] | [INFO] [stdout] 1638 | IntrinsicFunction::VecFindMap => { [INFO] [stdout] | ----------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1777 | IntrinsicFunction::VecFindMap => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `overwrite_existing_var_ref` and `overwrite_existing_var_mem` are never used [INFO] [stdout] --> src/block.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl BlockScopes { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn overwrite_existing_var_ref( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn overwrite_existing_var_mem( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value_ref.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn unref(&self) -> Ref { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | pub fn unref(&self) -> Ref<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking test-log v0.2.17 [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `check_value`, `check`, and `eval_string` [INFO] [stdout] --> tests/with.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::{check, check_fail, check_value, eval, eval_string}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(script: &str, expected_result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_err` [INFO] [stdout] --> tests/util.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn check_fail(script: &str, expected_err: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_value` [INFO] [stdout] --> tests/util.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn check_value(script: &str, expected_value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn eval(script: &str) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_string` [INFO] [stdout] --> tests/util.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn eval_string(script: &str, expected_string: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:1777:13 [INFO] [stdout] | [INFO] [stdout] 1638 | IntrinsicFunction::VecFindMap => { [INFO] [stdout] | ----------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1777 | IntrinsicFunction::VecFindMap => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `overwrite_existing_var_ref` and `overwrite_existing_var_mem` are never used [INFO] [stdout] --> src/block.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl BlockScopes { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn overwrite_existing_var_ref( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn overwrite_existing_var_mem( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value_ref.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn unref(&self) -> Ref { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | pub fn unref(&self) -> Ref<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.59s [INFO] running `Command { std: "docker" "inspect" "7a18e2c7b4941491ef26dc338fce57390d83271bf405450d30b6449a84034b72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a18e2c7b4941491ef26dc338fce57390d83271bf405450d30b6449a84034b72", kill_on_drop: false }` [INFO] [stdout] 7a18e2c7b4941491ef26dc338fce57390d83271bf405450d30b6449a84034b72