[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 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchhatch%2Frusty_rules" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chhatch/rusty_rules on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-0-tc1/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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-0-tc1/source/src/lib.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `rusty_rules` [INFO] [stderr] * `bin` target `main` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded evalexpr v8.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc940343687bf9591b244b3a5b191f3828fd2e605195d4ceb567001ac47a11a3 [INFO] running `Command { std: "docker" "start" "-a" "bc940343687bf9591b244b3a5b191f3828fd2e605195d4ceb567001ac47a11a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc940343687bf9591b244b3a5b191f3828fd2e605195d4ceb567001ac47a11a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc940343687bf9591b244b3a5b191f3828fd2e605195d4ceb567001ac47a11a3", kill_on_drop: false }` [INFO] [stdout] bc940343687bf9591b244b3a5b191f3828fd2e605195d4ceb567001ac47a11a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35537815a82230343a76fc87a05fef9e9f6c81c9dd6909a90e4973ec0273ac8c [INFO] running `Command { std: "docker" "start" "-a" "35537815a82230343a76fc87a05fef9e9f6c81c9dd6909a90e4973ec0273ac8c", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/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 bumpalo v3.12.0 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling wasm-bindgen v0.2.84 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking ryu v1.0.11 [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 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Context`, `EvalexprError`, `HashMapContext`, `context_map` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | context_map, Context, ContextWithMutableVariables, EvalexprError, HashMapContext, Value, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EvalexprError`, `HashMapContext`, `context_map` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | context_map, Context, ContextWithMutableVariables, EvalexprError, HashMapContext, Value, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/lib.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | 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:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | 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:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn convert(x: f64) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/lib.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert` is never used [INFO] [stdout] --> src/lib.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | 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: function `evaluate_IF_Fn` should have a snake case name [INFO] [stdout] --> src/lib.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | fn evaluate_IF_Fn() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `evaluate_if_fn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `EvalexprError`, `HashMapContext`, `context_map` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | context_map, Context, ContextWithMutableVariables, EvalexprError, HashMapContext, Value, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EvalexprError`, `HashMapContext`, `context_map` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | context_map, Context, ContextWithMutableVariables, EvalexprError, HashMapContext, Value, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/lib.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | 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:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | 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: unused variable: `n` [INFO] [stdout] --> src/lib.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert` is never used [INFO] [stdout] --> src/lib.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | 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: function `evaluate_IF_Fn` should have a snake case name [INFO] [stdout] --> src/lib.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | fn evaluate_IF_Fn() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `evaluate_if_fn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.65s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.84 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "35537815a82230343a76fc87a05fef9e9f6c81c9dd6909a90e4973ec0273ac8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35537815a82230343a76fc87a05fef9e9f6c81c9dd6909a90e4973ec0273ac8c", kill_on_drop: false }` [INFO] [stdout] 35537815a82230343a76fc87a05fef9e9f6c81c9dd6909a90e4973ec0273ac8c [INFO] checking chhatch/rusty_rules against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchhatch%2Frusty_rules" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chhatch/rusty_rules on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-0-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-0-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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d626702b957ba2b12698db88470acbae66e596f62afa9f8787e0d1d82f89e156 [INFO] running `Command { std: "docker" "start" "-a" "d626702b957ba2b12698db88470acbae66e596f62afa9f8787e0d1d82f89e156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d626702b957ba2b12698db88470acbae66e596f62afa9f8787e0d1d82f89e156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d626702b957ba2b12698db88470acbae66e596f62afa9f8787e0d1d82f89e156", kill_on_drop: false }` [INFO] [stdout] d626702b957ba2b12698db88470acbae66e596f62afa9f8787e0d1d82f89e156 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 201828a436fa36ef52f911d07d8d9704a37953d1b11453d2f27b1591abc7e292 [INFO] running `Command { std: "docker" "start" "-a" "201828a436fa36ef52f911d07d8d9704a37953d1b11453d2f27b1591abc7e292", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [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 quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.84 [INFO] [stderr] Compiling bumpalo v3.12.0 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling log v0.4.17 [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] [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: function `evaluate_IF_Fn` should have a snake case name [INFO] [stdout] --> src/lib.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | fn evaluate_IF_Fn() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `evaluate_if_fn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/lib.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] [stderr] error: could not compile `rusty_rules` (bin "main" test) due to 10 previous errors; 1 warning emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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" "201828a436fa36ef52f911d07d8d9704a37953d1b11453d2f27b1591abc7e292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "201828a436fa36ef52f911d07d8d9704a37953d1b11453d2f27b1591abc7e292", kill_on_drop: false }` [INFO] [stdout] 201828a436fa36ef52f911d07d8d9704a37953d1b11453d2f27b1591abc7e292