[INFO] cloning repository https://github.com/chhatch/rusty_rules [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chhatch/rusty_rules" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchhatch%2Frusty_rules", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchhatch%2Frusty_rules'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 935759027c64c9c233d715d6b204b1d68230e9c9 [INFO] checking chhatch/rusty_rules/935759027c64c9c233d715d6b204b1d68230e9c9 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchhatch%2Frusty_rules" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chhatch/rusty_rules on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chhatch/rusty_rules [INFO] finished tweaking git repo https://github.com/chhatch/rusty_rules [INFO] tweaked toml for git repo https://github.com/chhatch/rusty_rules written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/chhatch/rusty_rules 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc2/source/src/lib.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `rusty_rules` [INFO] [stderr] * `bin` target `main` [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d5fd3e72dd2d3708ef43e05b5a036b5d289abac0809d9900f3be661e679f4a0 [INFO] running `Command { std: "docker" "start" "-a" "9d5fd3e72dd2d3708ef43e05b5a036b5d289abac0809d9900f3be661e679f4a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d5fd3e72dd2d3708ef43e05b5a036b5d289abac0809d9900f3be661e679f4a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d5fd3e72dd2d3708ef43e05b5a036b5d289abac0809d9900f3be661e679f4a0", kill_on_drop: false }` [INFO] [stdout] 9d5fd3e72dd2d3708ef43e05b5a036b5d289abac0809d9900f3be661e679f4a0 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f09bf4744c4050e2029cbe3e2339e30af76fd4da9ec94eea94d1fd6e91c8593 [INFO] running `Command { std: "docker" "start" "-a" "9f09bf4744c4050e2029cbe3e2339e30af76fd4da9ec94eea94d1fd6e91c8593", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] warning: file `/tmp/fixit/src/lib.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `rusty_rules` [INFO] [stderr] * `bin` target `main` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.84 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling bumpalo v3.12.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling wasm-bindgen v0.2.84 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking evalexpr v8.1.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.84 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.84 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.84 [INFO] [stderr] Checking js-sys v0.3.61 [INFO] [stderr] Checking web-sys v0.3.61 [INFO] [stderr] Checking rusty_rules v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lib.rs (2 fixes) [INFO] [stderr] Fixed src/rules_engine.rs (1 fix) [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/lib.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | JsonValue::Number(n) => context.set_value(key.into(), 1.into()).unwrap(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/lib.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert` is never used [INFO] [stdout] --> src/lib.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn convert(x: f64) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `HashMapContext` in the current scope [INFO] [stdout] --> src/lib.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | match context.get_value("fish").unwrap() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_value(&self, identifier: &str) -> Option<&Value>; [INFO] [stdout] | --------- the method is available for `HashMapContext` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `set_value` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_value(&mut self, _identifier: String, _value: Value) -> EvalexprResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Context` which provides `get_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 89 + use evalexpr::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `HashMapContext` in the current scope [INFO] [stdout] --> src/lib.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | match context.get_value("fish").unwrap() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_value(&self, identifier: &str) -> Option<&Value>; [INFO] [stdout] | --------- the method is available for `HashMapContext` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `set_value` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_value(&mut self, _identifier: String, _value: Value) -> EvalexprResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Context` which provides `get_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 89 + use evalexpr::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `HashMapContext` in the current scope [INFO] [stdout] --> src/lib.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | match context.get_value("cat").unwrap() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_value(&self, identifier: &str) -> Option<&Value>; [INFO] [stdout] | --------- the method is available for `HashMapContext` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `set_value` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_value(&mut self, _identifier: String, _value: Value) -> EvalexprResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Context` which provides `get_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 89 + use evalexpr::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `HashMapContext` in the current scope [INFO] [stdout] --> src/lib.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | match context.get_value("fish").unwrap() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_value(&self, identifier: &str) -> Option<&Value>; [INFO] [stdout] | --------- the method is available for `HashMapContext` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `set_value` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_value(&mut self, _identifier: String, _value: Value) -> EvalexprResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Context` which provides `get_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 89 + use evalexpr::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `HashMapContext` in the current scope [INFO] [stdout] --> src/lib.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | match context.get_value("fish").unwrap() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_value(&self, identifier: &str) -> Option<&Value>; [INFO] [stdout] | --------- the method is available for `HashMapContext` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `set_value` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_value(&mut self, _identifier: String, _value: Value) -> EvalexprResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Context` which provides `get_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 89 + use evalexpr::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `HashMapContext` in the current scope [INFO] [stdout] --> src/lib.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | match context.get_value("fish").unwrap() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_value(&self, identifier: &str) -> Option<&Value>; [INFO] [stdout] | --------- the method is available for `HashMapContext` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `set_value` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_value(&mut self, _identifier: String, _value: Value) -> EvalexprResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Context` which provides `get_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 89 + use evalexpr::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `HashMapContext` in the current scope [INFO] [stdout] --> src/lib.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | match context.get_value("fish").unwrap() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_value(&self, identifier: &str) -> Option<&Value>; [INFO] [stdout] | --------- the method is available for `HashMapContext` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `set_value` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_value(&mut self, _identifier: String, _value: Value) -> EvalexprResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Context` which provides `get_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 89 + use evalexpr::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `HashMapContext` in the current scope [INFO] [stdout] --> src/lib.rs:198:23 [INFO] [stdout] | [INFO] [stdout] 198 | match context.get_value("fish").unwrap() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_value(&self, identifier: &str) -> Option<&Value>; [INFO] [stdout] | --------- the method is available for `HashMapContext` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `set_value` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_value(&mut self, _identifier: String, _value: Value) -> EvalexprResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Context` which provides `get_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 89 + use evalexpr::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `HashMapContext` in the current scope [INFO] [stdout] --> src/lib.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | match context.get_value("fish").unwrap() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_value(&self, identifier: &str) -> Option<&Value>; [INFO] [stdout] | --------- the method is available for `HashMapContext` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `set_value` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_value(&mut self, _identifier: String, _value: Value) -> EvalexprResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Context` which provides `get_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 89 + use evalexpr::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/lib.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | JsonValue::Number(n) => context.set_value(key.into(), 1.into()).unwrap(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_rules` (lib test) due to 10 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `HashMapContext` in the current scope [INFO] [stdout] --> src/lib.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | match context.get_value("fish").unwrap() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_value(&self, identifier: &str) -> Option<&Value>; [INFO] [stdout] | --------- the method is available for `HashMapContext` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `set_value` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_value(&mut self, _identifier: String, _value: Value) -> EvalexprResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Context` which provides `get_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 89 + use evalexpr::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `HashMapContext` in the current scope [INFO] [stdout] --> src/lib.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | match context.get_value("fish").unwrap() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_value(&self, identifier: &str) -> Option<&Value>; [INFO] [stdout] | --------- the method is available for `HashMapContext` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `set_value` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_value(&mut self, _identifier: String, _value: Value) -> EvalexprResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Context` which provides `get_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 89 + use evalexpr::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `HashMapContext` in the current scope [INFO] [stdout] --> src/lib.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | match context.get_value("cat").unwrap() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_value(&self, identifier: &str) -> Option<&Value>; [INFO] [stdout] | --------- the method is available for `HashMapContext` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `set_value` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_value(&mut self, _identifier: String, _value: Value) -> EvalexprResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Context` which provides `get_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 89 + use evalexpr::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `HashMapContext` in the current scope [INFO] [stdout] --> src/lib.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | match context.get_value("fish").unwrap() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_value(&self, identifier: &str) -> Option<&Value>; [INFO] [stdout] | --------- the method is available for `HashMapContext` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `set_value` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_value(&mut self, _identifier: String, _value: Value) -> EvalexprResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Context` which provides `get_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 89 + use evalexpr::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `HashMapContext` in the current scope [INFO] [stdout] --> src/lib.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | match context.get_value("fish").unwrap() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_value(&self, identifier: &str) -> Option<&Value>; [INFO] [stdout] | --------- the method is available for `HashMapContext` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `set_value` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_value(&mut self, _identifier: String, _value: Value) -> EvalexprResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Context` which provides `get_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 89 + use evalexpr::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `HashMapContext` in the current scope [INFO] [stdout] --> src/lib.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | match context.get_value("fish").unwrap() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_value(&self, identifier: &str) -> Option<&Value>; [INFO] [stdout] | --------- the method is available for `HashMapContext` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `set_value` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_value(&mut self, _identifier: String, _value: Value) -> EvalexprResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Context` which provides `get_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 89 + use evalexpr::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `HashMapContext` in the current scope [INFO] [stdout] --> src/lib.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | match context.get_value("fish").unwrap() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_value(&self, identifier: &str) -> Option<&Value>; [INFO] [stdout] | --------- the method is available for `HashMapContext` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `set_value` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_value(&mut self, _identifier: String, _value: Value) -> EvalexprResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Context` which provides `get_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 89 + use evalexpr::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `HashMapContext` in the current scope [INFO] [stdout] --> src/lib.rs:198:23 [INFO] [stdout] | [INFO] [stdout] 198 | match context.get_value("fish").unwrap() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_value(&self, identifier: &str) -> Option<&Value>; [INFO] [stdout] | --------- the method is available for `HashMapContext` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `set_value` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_value(&mut self, _identifier: String, _value: Value) -> EvalexprResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Context` which provides `get_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 89 + use evalexpr::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `HashMapContext` in the current scope [INFO] [stdout] --> src/lib.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | match context.get_value("fish").unwrap() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_value(&self, identifier: &str) -> Option<&Value>; [INFO] [stdout] | --------- the method is available for `HashMapContext` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `set_value` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/evalexpr-8.1.0/src/context/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_value(&mut self, _identifier: String, _value: Value) -> EvalexprResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Context` which provides `get_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 89 + use evalexpr::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/lib.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | JsonValue::Number(n) => context.set_value(key.into(), 1.into()).unwrap(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_rules` (bin "main" test) due to 10 previous errors; 1 warning emitted [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/lib.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | JsonValue::Number(n) => context.set_value(key.into(), 1.into()).unwrap(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert` is never used [INFO] [stdout] --> src/lib.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn convert(x: f64) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "9f09bf4744c4050e2029cbe3e2339e30af76fd4da9ec94eea94d1fd6e91c8593", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f09bf4744c4050e2029cbe3e2339e30af76fd4da9ec94eea94d1fd6e91c8593", kill_on_drop: false }` [INFO] [stdout] 9f09bf4744c4050e2029cbe3e2339e30af76fd4da9ec94eea94d1fd6e91c8593