[INFO] fetching crate swamp-script-eval 0.1.10... [INFO] building swamp-script-eval-0.1.10 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate swamp-script-eval 0.1.10 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swamp-script-eval 0.1.10 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27af0dfa5b4bad06e8574a377745231d0feb6e65a594497c74b2731e4cf78384 [INFO] running `Command { std: "docker" "start" "-a" "27af0dfa5b4bad06e8574a377745231d0feb6e65a594497c74b2731e4cf78384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27af0dfa5b4bad06e8574a377745231d0feb6e65a594497c74b2731e4cf78384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27af0dfa5b4bad06e8574a377745231d0feb6e65a594497c74b2731e4cf78384", kill_on_drop: false }` [INFO] [stdout] 27af0dfa5b4bad06e8574a377745231d0feb6e65a594497c74b2731e4cf78384 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39d2beaa590883d2ff7fe957c99c3ac283d62df8655c25226ffdd5022ec03619 [INFO] running `Command { std: "docker" "start" "-a" "39d2beaa590883d2ff7fe957c99c3ac283d62df8655c25226ffdd5022ec03619", kill_on_drop: false }` [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 overload v0.1.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling seq-map v0.0.13 [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 fixed32 v0.0.17 [INFO] [stderr] Compiling tiny-ver v0.1.2 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling sparse-slot v0.0.4 [INFO] [stderr] Compiling squirrel-prng v0.0.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling matchers v0.1.0 [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 14.52s [INFO] running `Command { std: "docker" "inspect" "39d2beaa590883d2ff7fe957c99c3ac283d62df8655c25226ffdd5022ec03619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39d2beaa590883d2ff7fe957c99c3ac283d62df8655c25226ffdd5022ec03619", kill_on_drop: false }` [INFO] [stdout] 39d2beaa590883d2ff7fe957c99c3ac283d62df8655c25226ffdd5022ec03619 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc856da32b2a1b295e403ce6fee1a645dab47d21d3a1df48816c302e3680fa36 [INFO] running `Command { std: "docker" "start" "-a" "cc856da32b2a1b295e403ce6fee1a645dab47d21d3a1df48816c302e3680fa36", 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] [stderr] Compiling swamp-script-eval v0.1.10 (/opt/rustwide/workdir) [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] [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 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: 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: 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: `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: `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: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 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: 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: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: `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: 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: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: `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: 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: 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: 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: 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: `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] [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: 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: `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] error: could not compile `swamp-script-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/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/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=4bbe4ff64cfcb52b -C extra-filename=-1e88e57cc2c16e2e --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern fixed32=/opt/rustwide/target/debug/deps/libfixed32-d25f4cc465660b3a.rlib --extern seq_map=/opt/rustwide/target/debug/deps/libseq_map-42bbb6f8114a9270.rlib --extern squirrel_prng=/opt/rustwide/target/debug/deps/libsquirrel_prng-58f467a9d72daf12.rlib --extern swamp_script_core_extra=/opt/rustwide/target/debug/deps/libswamp_script_core_extra-7ca98fb1bce145af.rlib --extern swamp_script_eval=/opt/rustwide/target/debug/deps/libswamp_script_eval-dce3869c78f2380e.rlib --extern swamp_script_node=/opt/rustwide/target/debug/deps/libswamp_script_node-b96062eba5e2870e.rlib --extern swamp_script_semantic=/opt/rustwide/target/debug/deps/libswamp_script_semantic-336a6a7842cc7d24.rlib --extern swamp_script_source_map_lookup=/opt/rustwide/target/debug/deps/libswamp_script_source_map_lookup-1adcf687fa9ed90d.rlib --extern swamp_script_types=/opt/rustwide/target/debug/deps/libswamp_script_types-f3c59a71628d1528.rlib --extern test_log=/opt/rustwide/target/debug/deps/libtest_log-8b9ea3bd39c61180.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: `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: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: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: `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_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: `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: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: 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: `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] error: could not compile `swamp-script-eval` (test "interpreter"); 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/bin/rustc --crate-name interpreter --edition=2024 tests/interpreter.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=0730d6b7738c1add -C extra-filename=-eac8d40dbc0e3f19 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern fixed32=/opt/rustwide/target/debug/deps/libfixed32-d25f4cc465660b3a.rlib --extern seq_map=/opt/rustwide/target/debug/deps/libseq_map-42bbb6f8114a9270.rlib --extern squirrel_prng=/opt/rustwide/target/debug/deps/libsquirrel_prng-58f467a9d72daf12.rlib --extern swamp_script_core_extra=/opt/rustwide/target/debug/deps/libswamp_script_core_extra-7ca98fb1bce145af.rlib --extern swamp_script_eval=/opt/rustwide/target/debug/deps/libswamp_script_eval-dce3869c78f2380e.rlib --extern swamp_script_node=/opt/rustwide/target/debug/deps/libswamp_script_node-b96062eba5e2870e.rlib --extern swamp_script_semantic=/opt/rustwide/target/debug/deps/libswamp_script_semantic-336a6a7842cc7d24.rlib --extern swamp_script_source_map_lookup=/opt/rustwide/target/debug/deps/libswamp_script_source_map_lookup-1adcf687fa9ed90d.rlib --extern swamp_script_types=/opt/rustwide/target/debug/deps/libswamp_script_types-f3c59a71628d1528.rlib --extern test_log=/opt/rustwide/target/debug/deps/libtest_log-8b9ea3bd39c61180.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "cc856da32b2a1b295e403ce6fee1a645dab47d21d3a1df48816c302e3680fa36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc856da32b2a1b295e403ce6fee1a645dab47d21d3a1df48816c302e3680fa36", kill_on_drop: false }` [INFO] [stdout] cc856da32b2a1b295e403ce6fee1a645dab47d21d3a1df48816c302e3680fa36