[INFO] fetching crate swamp-eval 0.1.16... [INFO] checking swamp-eval-0.1.16 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate swamp-eval 0.1.16 into /workspace/builds/worker-3-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swamp-eval 0.1.16 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fixed32 v0.0.17 [INFO] [stderr] Downloaded tiny-ver v0.1.2 [INFO] [stderr] Downloaded seq-fmt v0.0.1 [INFO] [stderr] Downloaded seq-map v0.0.13 [INFO] [stderr] Downloaded source-map-node v0.0.1 [INFO] [stderr] Downloaded squirrel-prng v0.0.1 [INFO] [stderr] Downloaded swamp-core-extra v0.1.16 [INFO] [stderr] Downloaded swamp-semantic v0.1.16 [INFO] [stderr] Downloaded swamp-types v0.1.16 [INFO] [stderr] Downloaded source-map-cache v0.0.1 [INFO] [stderr] Downloaded sparse-slot v0.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76dcfc4d713d4135f32fd2ce0958b50179e717d8749a2b67718289850e2dc42a [INFO] running `Command { std: "docker" "start" "-a" "76dcfc4d713d4135f32fd2ce0958b50179e717d8749a2b67718289850e2dc42a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76dcfc4d713d4135f32fd2ce0958b50179e717d8749a2b67718289850e2dc42a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76dcfc4d713d4135f32fd2ce0958b50179e717d8749a2b67718289850e2dc42a", kill_on_drop: false }` [INFO] [stdout] 76dcfc4d713d4135f32fd2ce0958b50179e717d8749a2b67718289850e2dc42a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08cffc55cb4954f17c61ed134bc787647a6f4e1eaf7ce2eaf01335b2a33aa9d8 [INFO] running `Command { std: "docker" "start" "-a" "08cffc55cb4954f17c61ed134bc787647a6f4e1eaf7ce2eaf01335b2a33aa9d8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking source-map-node v0.0.1 [INFO] [stderr] Checking seq-map v0.0.13 [INFO] [stderr] Checking seq-fmt v0.0.1 [INFO] [stderr] Checking fixed32 v0.0.17 [INFO] [stderr] Checking regex-automata v0.4.9 [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] 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 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 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: 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: `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: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: 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: `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_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_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: `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_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_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: 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: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: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: 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: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: 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: 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: `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: 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: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: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: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: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: 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: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: 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: `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: `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_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: 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: 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.77s [INFO] running `Command { std: "docker" "inspect" "08cffc55cb4954f17c61ed134bc787647a6f4e1eaf7ce2eaf01335b2a33aa9d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08cffc55cb4954f17c61ed134bc787647a6f4e1eaf7ce2eaf01335b2a33aa9d8", kill_on_drop: false }` [INFO] [stdout] 08cffc55cb4954f17c61ed134bc787647a6f4e1eaf7ce2eaf01335b2a33aa9d8