[INFO] fetching crate swamp-script-eval 0.1.10... [INFO] building swamp-script-eval-0.1.10 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate swamp-script-eval 0.1.10 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate swamp-script-eval 0.1.10 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate swamp-script-eval 0.1.10 [INFO] tweaked toml for crates.io crate swamp-script-eval 0.1.10 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swamp-script-eval 0.1.10 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate swamp-script-eval 0.1.10 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5118dfeb851e934205b737be0cdde268a30e0d820de44add03308e9a4255fbf3 [INFO] running `Command { std: "docker" "start" "-a" "5118dfeb851e934205b737be0cdde268a30e0d820de44add03308e9a4255fbf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5118dfeb851e934205b737be0cdde268a30e0d820de44add03308e9a4255fbf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5118dfeb851e934205b737be0cdde268a30e0d820de44add03308e9a4255fbf3", kill_on_drop: false }` [INFO] [stdout] 5118dfeb851e934205b737be0cdde268a30e0d820de44add03308e9a4255fbf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ba5a2c7f15ec568f9a23a640e480eab0f383a4912a96aee07f2d3d2c6b28ad8 [INFO] running `Command { std: "docker" "start" "-a" "0ba5a2c7f15ec568f9a23a640e480eab0f383a4912a96aee07f2d3d2c6b28ad8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling seq-map v0.0.13 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling seq-fmt v0.0.1 [INFO] [stderr] Compiling swamp-script-node v0.1.10 [INFO] [stderr] Compiling tiny-ver v0.1.2 [INFO] [stderr] Compiling fixed32 v0.0.17 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling sparse-slot v0.0.4 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling squirrel-prng v0.0.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling test-log-macros v0.2.17 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling swamp-script-types v0.1.10 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling swamp-script-semantic v0.1.10 [INFO] [stderr] Compiling swamp-script-core-extra v0.1.10 [INFO] [stderr] Compiling test-log v0.2.17 [INFO] [stderr] Compiling swamp-script-source-map v0.1.10 [INFO] [stderr] Compiling swamp-script-source-map-lookup v0.1.10 [INFO] [stderr] Compiling swamp-script-eval v0.1.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `found` [INFO] [stdout] --> src/lib.rs:1191:41 [INFO] [stdout] | [INFO] [stdout] 1191 | if let Some(ref found) = maybe_value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_found` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1623:25 [INFO] [stdout] | [INFO] [stdout] 1623 | let mut borrowed = value_ref.borrow(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1642:25 [INFO] [stdout] | [INFO] [stdout] 1642 | let mut borrowed = value_ref.borrow(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1660:25 [INFO] [stdout] | [INFO] [stdout] 1660 | let mut borrowed = value_ref.borrow(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1678:25 [INFO] [stdout] | [INFO] [stdout] 1678 | let mut borrowed = value_ref.borrow(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value_ref.rs:106:18 [INFO] [stdout] | [INFO] [stdout] 106 | 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] 106 | pub fn unref(&self) -> Ref<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.19s [INFO] running `Command { std: "docker" "inspect" "0ba5a2c7f15ec568f9a23a640e480eab0f383a4912a96aee07f2d3d2c6b28ad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ba5a2c7f15ec568f9a23a640e480eab0f383a4912a96aee07f2d3d2c6b28ad8", kill_on_drop: false }` [INFO] [stdout] 0ba5a2c7f15ec568f9a23a640e480eab0f383a4912a96aee07f2d3d2c6b28ad8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b55d80ebb70554dfd488d72865d2ea5796d840b8b668bed59653c541a9a0321c [INFO] running `Command { std: "docker" "start" "-a" "b55d80ebb70554dfd488d72865d2ea5796d840b8b668bed59653c541a9a0321c", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `found` [INFO] [stdout] --> src/lib.rs:1191:41 [INFO] [stdout] | [INFO] [stdout] 1191 | if let Some(ref found) = maybe_value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_found` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1623:25 [INFO] [stdout] | [INFO] [stdout] 1623 | let mut borrowed = value_ref.borrow(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1642:25 [INFO] [stdout] | [INFO] [stdout] 1642 | let mut borrowed = value_ref.borrow(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1660:25 [INFO] [stdout] | [INFO] [stdout] 1660 | let mut borrowed = value_ref.borrow(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1678:25 [INFO] [stdout] | [INFO] [stdout] 1678 | let mut borrowed = value_ref.borrow(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value_ref.rs:106:18 [INFO] [stdout] | [INFO] [stdout] 106 | 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] 106 | pub fn unref(&self) -> Ref<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling swamp-script-eval v0.1.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `check_value`, `check`, and `eval_string` [INFO] [stdout] --> tests/with.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::util::{check, check_fail, check_value, eval, eval_string}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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: `expected_result` [INFO] [stdout] --> tests/util.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found` [INFO] [stdout] --> src/lib.rs:1191:41 [INFO] [stdout] | [INFO] [stdout] 1191 | if let Some(ref found) = maybe_value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_found` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1623:25 [INFO] [stdout] | [INFO] [stdout] 1623 | let mut borrowed = value_ref.borrow(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1642:25 [INFO] [stdout] | [INFO] [stdout] 1642 | let mut borrowed = value_ref.borrow(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1660:25 [INFO] [stdout] | [INFO] [stdout] 1660 | let mut borrowed = value_ref.borrow(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1678:25 [INFO] [stdout] | [INFO] [stdout] 1678 | let mut borrowed = value_ref.borrow(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value_ref.rs:106:18 [INFO] [stdout] | [INFO] [stdout] 106 | 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] 106 | pub fn unref(&self) -> Ref<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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 imports: `check_fail`, `check`, `eval_string`, and `eval` [INFO] [stdout] --> tests/tuple_floats.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::util::{check, check_fail, check_value, eval, eval_string}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestContext` is never constructed [INFO] [stdout] --> tests/util.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> tests/util.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/util.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | 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:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | 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:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | 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:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | 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:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TestContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.14s [INFO] running `Command { std: "docker" "inspect" "b55d80ebb70554dfd488d72865d2ea5796d840b8b668bed59653c541a9a0321c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b55d80ebb70554dfd488d72865d2ea5796d840b8b668bed59653c541a9a0321c", kill_on_drop: false }` [INFO] [stdout] b55d80ebb70554dfd488d72865d2ea5796d840b8b668bed59653c541a9a0321c