[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 master#f609b7e0586f81fefb3523e3e17adf779ac416be 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chhatch/rusty_rules on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-4-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] Updating crates.io index [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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f268bd1750c9f32ede724bf009de7381f74c916eba9d45561f72e113fdb3db1 [INFO] running `Command { std: "docker" "start" "-a" "9f268bd1750c9f32ede724bf009de7381f74c916eba9d45561f72e113fdb3db1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f268bd1750c9f32ede724bf009de7381f74c916eba9d45561f72e113fdb3db1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f268bd1750c9f32ede724bf009de7381f74c916eba9d45561f72e113fdb3db1", kill_on_drop: false }` [INFO] [stdout] 9f268bd1750c9f32ede724bf009de7381f74c916eba9d45561f72e113fdb3db1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9382c485bf75c8a4e1433369b199ecd01aa9a3a975a4c55408d36bb3c620a60 [INFO] running `Command { std: "docker" "start" "-a" "b9382c485bf75c8a4e1433369b199ecd01aa9a3a975a4c55408d36bb3c620a60", 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 quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.84 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bumpalo v3.12.0 [INFO] [stderr] Compiling once_cell v1.17.1 [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 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 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Context`, `EvalexprError`, `HashMapContext`, and `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`, and `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`, and `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`, and `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 6.68s [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 1` [INFO] running `Command { std: "docker" "inspect" "b9382c485bf75c8a4e1433369b199ecd01aa9a3a975a4c55408d36bb3c620a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9382c485bf75c8a4e1433369b199ecd01aa9a3a975a4c55408d36bb3c620a60", kill_on_drop: false }` [INFO] [stdout] b9382c485bf75c8a4e1433369b199ecd01aa9a3a975a4c55408d36bb3c620a60