[INFO] fetching crate swamp-eval 0.1.16... [INFO] building swamp-eval-0.1.16 against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate swamp-eval 0.1.16 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swamp-eval 0.1.16 on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded squirrel-prng v0.0.1 [INFO] [stderr] Downloaded swamp-semantic v0.1.16 [INFO] [stderr] Downloaded source-map-cache v0.0.1 [INFO] [stderr] Downloaded source-map-node v0.0.1 [INFO] [stderr] Downloaded swamp-core-extra v0.1.16 [INFO] [stderr] Downloaded swamp-types v0.1.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15f8f7ffbef9724ac6a52200b8282533f9ca970ae0e14b0df0ceee740ee50e3d [INFO] running `Command { std: "docker" "start" "-a" "15f8f7ffbef9724ac6a52200b8282533f9ca970ae0e14b0df0ceee740ee50e3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15f8f7ffbef9724ac6a52200b8282533f9ca970ae0e14b0df0ceee740ee50e3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15f8f7ffbef9724ac6a52200b8282533f9ca970ae0e14b0df0ceee740ee50e3d", kill_on_drop: false }` [INFO] [stdout] 15f8f7ffbef9724ac6a52200b8282533f9ca970ae0e14b0df0ceee740ee50e3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] e878319978e70ad03d1b1c95724ff813ed4af4a745cb183ec2c7476ee05d557f [INFO] running `Command { std: "docker" "start" "-a" "e878319978e70ad03d1b1c95724ff813ed4af4a745cb183ec2c7476ee05d557f", kill_on_drop: false }` [INFO] [stderr] Compiling seq-map v0.0.13 [INFO] [stderr] Compiling source-map-node v0.0.1 [INFO] [stderr] Compiling seq-fmt v0.0.1 [INFO] [stderr] Compiling tiny-ver v0.1.2 [INFO] [stderr] Compiling fixed32 v0.0.17 [INFO] [stderr] Compiling sparse-slot v0.0.4 [INFO] [stderr] Compiling squirrel-prng v0.0.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling swamp-types v0.1.16 [INFO] [stderr] Compiling source-map-cache v0.0.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling swamp-semantic v0.1.16 [INFO] [stderr] Compiling swamp-core-extra v0.1.16 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 10.68s [INFO] running `Command { std: "docker" "inspect" "e878319978e70ad03d1b1c95724ff813ed4af4a745cb183ec2c7476ee05d557f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e878319978e70ad03d1b1c95724ff813ed4af4a745cb183ec2c7476ee05d557f", kill_on_drop: false }` [INFO] [stdout] e878319978e70ad03d1b1c95724ff813ed4af4a745cb183ec2c7476ee05d557f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 85ae374abe23c32baddd9734e0fbf5bc3e91438a6281fd7e05d2a4e21188c8de [INFO] running `Command { std: "docker" "start" "-a" "85ae374abe23c32baddd9734e0fbf5bc3e91438a6281fd7e05d2a4e21188c8de", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling test-log-macros v0.2.17 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling swamp-semantic v0.1.16 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling swamp-core-extra v0.1.16 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] 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-subscriber v0.3.19 [INFO] [stderr] Compiling test-log v0.2.17 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swamp-eval` (test "basic_eval"); 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/f5209000832c9d3bc29c91f4daef4ca9f28dc797/bin/rustc --crate-name basic_eval --edition=2024 tests/basic_eval.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=f444adf9de60d6a2 -C extra-filename=-04a1a8cd35ab21d2 --out-dir /opt/rustwide/target/wasm32-wasip1/debug/deps --target wasm32-wasip1 -L dependency=/opt/rustwide/target/wasm32-wasip1/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern fixed32=/opt/rustwide/target/wasm32-wasip1/debug/deps/libfixed32-dd541e391685c97d.rlib --extern seq_map=/opt/rustwide/target/wasm32-wasip1/debug/deps/libseq_map-42b531bc5b89fa83.rlib --extern source_map_cache=/opt/rustwide/target/wasm32-wasip1/debug/deps/libsource_map_cache-673bf0f464edf37a.rlib --extern source_map_node=/opt/rustwide/target/wasm32-wasip1/debug/deps/libsource_map_node-ce048d0969c5002b.rlib --extern squirrel_prng=/opt/rustwide/target/wasm32-wasip1/debug/deps/libsquirrel_prng-24afc283c72334da.rlib --extern swamp_core_extra=/opt/rustwide/target/wasm32-wasip1/debug/deps/libswamp_core_extra-e3fe482a5ad79679.rlib --extern swamp_eval=/opt/rustwide/target/wasm32-wasip1/debug/deps/libswamp_eval-3d1e65ec762477d8.rlib --extern swamp_semantic=/opt/rustwide/target/wasm32-wasip1/debug/deps/libswamp_semantic-783b0e39f5fa7681.rlib --extern swamp_types=/opt/rustwide/target/wasm32-wasip1/debug/deps/libswamp_types-3ac6a3c4524f46cd.rlib --extern test_log=/opt/rustwide/target/wasm32-wasip1/debug/deps/libtest_log-2db7848c726dcc45.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "85ae374abe23c32baddd9734e0fbf5bc3e91438a6281fd7e05d2a4e21188c8de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85ae374abe23c32baddd9734e0fbf5bc3e91438a6281fd7e05d2a4e21188c8de", kill_on_drop: false }` [INFO] [stdout] 85ae374abe23c32baddd9734e0fbf5bc3e91438a6281fd7e05d2a4e21188c8de