[INFO] cloning repository https://github.com/prozacchiwawa/clvm_tools_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prozacchiwawa/clvm_tools_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprozacchiwawa%2Fclvm_tools_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprozacchiwawa%2Fclvm_tools_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2df2d10fb6f320dcdc93a7d17d289593cb426adc [INFO] testing prozacchiwawa/clvm_tools_rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprozacchiwawa%2Fclvm_tools_rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prozacchiwawa/clvm_tools_rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prozacchiwawa/clvm_tools_rs [INFO] finished tweaking git repo https://github.com/prozacchiwawa/clvm_tools_rs [INFO] tweaked toml for git repo https://github.com/prozacchiwawa/clvm_tools_rs written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/prozacchiwawa/clvm_tools_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/dnsl48/skimmer` [INFO] [stderr] Updating git repository `https://github.com/prozacchiwawa/clvm_rs` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.25 [INFO] [stderr] Downloaded pairing v0.20.0 [INFO] [stderr] Downloaded do-notation v0.1.3 [INFO] [stderr] Downloaded fraction v0.6.3 [INFO] [stderr] Downloaded bytestream v0.4.1 [INFO] [stderr] Downloaded bls12_381 v0.5.0 [INFO] [stderr] Downloaded pyo3 v0.14.2 [INFO] [stderr] Downloaded pyo3-macros-backend v0.14.2 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.25 [INFO] [stderr] Downloaded pyo3-macros v0.14.2 [INFO] [stderr] Downloaded encoding8 v0.3.2 [INFO] [stderr] Downloaded base91 v0.0.1 [INFO] [stderr] Downloaded yamlette v0.0.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 38878f5225619292ae3899cb49ea3918ec7d69b5b5ed028e654e7b40eb5752bd [INFO] running `Command { std: "docker" "start" "-a" "38878f5225619292ae3899cb49ea3918ec7d69b5b5ed028e654e7b40eb5752bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38878f5225619292ae3899cb49ea3918ec7d69b5b5ed028e654e7b40eb5752bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38878f5225619292ae3899cb49ea3918ec7d69b5b5ed028e654e7b40eb5752bd", kill_on_drop: false }` [INFO] [stdout] 38878f5225619292ae3899cb49ea3918ec7d69b5b5ed028e654e7b40eb5752bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8fef3b05a8570ca06bece5fd40e6dbf47deeb5694fc6ff6df03043209531a634 [INFO] running `Command { std: "docker" "start" "-a" "8fef3b05a8570ca06bece5fd40e6dbf47deeb5694fc6ff6df03043209531a634", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling pyo3-build-config v0.14.5 [INFO] [stderr] Compiling funty v1.2.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling skimmer v0.0.2 (https://github.com/dnsl48/skimmer?rev=ca914ef624ecf39a75ed7afef10e7838fffe9127#ca914ef6) [INFO] [stderr] Compiling base91 v0.0.1 [INFO] [stderr] Compiling do-notation v0.1.3 [INFO] [stderr] Compiling encoding8 v0.3.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling openssl-src v111.17.0+1.1.1m [INFO] [stderr] Compiling wyz v0.4.0 [INFO] [stderr] Compiling bytestream v0.4.1 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling bitvec v0.22.3 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling pyo3 v0.14.2 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling fraction v0.6.3 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling pairing v0.20.0 [INFO] [stderr] Compiling bls12_381 v0.5.0 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling yamlette v0.0.8 [INFO] [stderr] Compiling pyo3-macros-backend v0.14.2 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling pyo3-macros v0.14.2 [INFO] [stderr] Compiling indoc v0.3.6 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling clvm_rust v0.1.14 (https://github.com/prozacchiwawa/clvm_rs?branch=20211029-try-config#b9f9c334) [INFO] [stderr] Compiling clvm_tools_rs v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/classic/clvm_tools/clvmc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/classic/clvm_tools/clvmc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classic::platform::distutils::log` [INFO] [stdout] --> src/classic/clvm_tools/clvmc.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::classic::platform::distutils::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classic::clvm_tools::stages::stage_2::optimize::optimize_sexp` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::classic::clvm_tools::stages::stage_2::optimize::optimize_sexp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:597:24 [INFO] [stdout] | [INFO] [stdout] 597 | if (use_col >= line_text.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 597 - if (use_col >= line_text.len()) { [INFO] [stdout] 597 + if use_col >= line_text.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:599:31 [INFO] [stdout] | [INFO] [stdout] 599 | } else if (end_col >= line_text.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 599 - } else if (end_col >= line_text.len()) { [INFO] [stdout] 599 + } else if end_col >= line_text.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classic::clvm_tools::sha256tree::sha256tree` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::classic::clvm_tools::sha256tree::sha256tree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `disassemble` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/operators.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | assemble_from_ir, disassemble, disassemble_to_ir_with_kw, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clvm_rs::reduction::EvalErr` [INFO] [stdout] --> src/compiler/clvm.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use clvm_rs::reduction::EvalErr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sign` [INFO] [stdout] --> src/compiler/clvm.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use num_bigint::{Sign, ToBigInt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DefaultProgramRunner` [INFO] [stdout] --> src/compiler/clvm.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::classic::clvm_tools::stages::stage_0::{DefaultProgramRunner, TRunProgram}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decode_string` [INFO] [stdout] --> src/compiler/clvm.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::compiler::sexp::{decode_string, parse_sexp, SExp}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BytesFromType`, `Bytes` [INFO] [stdout] --> src/compiler/codegen.rs:11:60 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::classic::clvm::__type_compatibility__::{bi_one, Bytes, BytesFromType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mapM` [INFO] [stdout] --> src/compiler/codegen.rs:16:67 [INFO] [stdout] | [INFO] [stdout] 16 | cons_of_string_map, foldM, join_vecs_to_string, list_to_cons, mapM, with_heading, Binding, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prims` [INFO] [stdout] --> src/compiler/codegen.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::compiler::prims::{primapply, primcons, primquote, prims}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `enlist` [INFO] [stdout] --> src/compiler/codegen.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::compiler::sexp::{decode_string, enlist, SExp}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `number_from_u8` [INFO] [stdout] --> src/compiler/codegen.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::util::{number_from_u8, u8_from_number}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/codegen.rs:945:34 [INFO] [stdout] | [INFO] [stdout] 945 | let context = if (inline) { Some(args.clone()) } else { None }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 945 - let context = if (inline) { Some(args.clone()) } else { None }; [INFO] [stdout] 945 + let context = if inline { Some(args.clone()) } else { None }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BytesFromType`, `Bytes` [INFO] [stdout] --> src/compiler/compiler.rs:8:52 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::classic::clvm::__type_compatibility__::{Bytes, BytesFromType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DefaultProgramRunner` [INFO] [stdout] --> src/compiler/compiler.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::classic::clvm_tools::stages::stage_0::{DefaultProgramRunner, TRunProgram}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bi_zero` [INFO] [stdout] --> src/compiler/debug.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::classic::clvm::__type_compatibility__::{bi_zero, sha256, Bytes, BytesFromType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classic::clvm::__type_compatibility__::bi_one` [INFO] [stdout] --> src/compiler/frontend.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::classic::clvm::__type_compatibility__::bi_one; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decode_string` [INFO] [stdout] --> src/compiler/frontend.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::compiler::sexp::{decode_string, enlist, SExp}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/compiler/inline.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_macro_call` [INFO] [stdout] --> src/compiler/inline.rs:12:54 [INFO] [stdout] | [INFO] [stdout] 12 | generate_expr_code, get_call_name, get_callable, process_macro_call, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decode_string` [INFO] [stdout] --> src/compiler/inline.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::compiler::sexp::{decode_string, SExp}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `u8_from_number` [INFO] [stdout] --> src/compiler/inline.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::util::{u8_from_number, Number}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::prims::primquote` [INFO] [stdout] --> src/compiler/optimize.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::compiler::prims::primquote; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompileErr` [INFO] [stdout] --> src/compiler/rename.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | Binding, BodyForm, CompileErr, CompileForm, HelperForm, LetFormKind, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_bigint::ToBigInt` [INFO] [stdout] --> src/compiler/sexp.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use num_bigint::ToBigInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/debug.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | tx: &Fn(&SExp) -> X, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - tx: &Fn(&SExp) -> X, [INFO] [stdout] 12 + tx: &dyn Fn(&SExp) -> X, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:741:13 [INFO] [stdout] | [INFO] [stdout] 741 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/frontend.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | BodyForm::Value(_) => vec![], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | SExp::Cons(l, a, nil) => match nil.borrow() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/compiler/clvm.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | SExp::Cons(l, a, nil) => match nil.borrow() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l1` [INFO] [stdout] --> src/compiler/clvm.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | SExp::Nil(l1) => run(allocator, runner, prim_map, sexp.clone(), context.clone()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_l1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | l: Srcloc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | SExp::Nil(l) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | SExp::Cons(l, a, b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allocator` [INFO] [stdout] --> src/compiler/clvm.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | allocator: &mut Allocator, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/compiler/clvm.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | runner: Rc, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prim_map` [INFO] [stdout] --> src/compiler/clvm.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | prim_map: Rc, Rc>>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prim_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/compiler/clvm.rs:162:60 [INFO] [stdout] | [INFO] [stdout] 162 | SExp::Atom(l, x) => allocator.new_atom(x).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/compiler/clvm.rs:168:71 [INFO] [stdout] | [INFO] [stdout] 168 | SExp::QuotedString(_, _, x) => allocator.new_atom(x).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/compiler/clvm.rs:178:73 [INFO] [stdout] | [INFO] [stdout] 178 | allocator.new_atom(&u8_from_number(i.clone())).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/compiler/clvm.rs:188:57 [INFO] [stdout] | [INFO] [stdout] 188 | allocator.new_pair(head, tail).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | SExp::Atom(l, x) => allocator.new_atom(x).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:314:24 [INFO] [stdout] | [INFO] [stdout] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/compiler/clvm.rs:314:27 [INFO] [stdout] | [INFO] [stdout] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> src/compiler/clvm.rs:314:43 [INFO] [stdout] | [INFO] [stdout] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compiler/clvm.rs:314:49 [INFO] [stdout] | [INFO] [stdout] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/compiler/clvm.rs:314:58 [INFO] [stdout] | [INFO] [stdout] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:317:24 [INFO] [stdout] | [INFO] [stdout] 317 | (RunStep::Done(l, x), RunStep::Step(sexp, context, parent)) => combine(a, parent.borrow()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/compiler/clvm.rs:317:27 [INFO] [stdout] | [INFO] [stdout] 317 | (RunStep::Done(l, x), RunStep::Step(sexp, context, parent)) => combine(a, parent.borrow()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexp` [INFO] [stdout] --> src/compiler/clvm.rs:317:45 [INFO] [stdout] | [INFO] [stdout] 317 | (RunStep::Done(l, x), RunStep::Step(sexp, context, parent)) => combine(a, parent.borrow()), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sexp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compiler/clvm.rs:317:51 [INFO] [stdout] | [INFO] [stdout] 317 | (RunStep::Done(l, x), RunStep::Step(sexp, context, parent)) => combine(a, parent.borrow()), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:341:23 [INFO] [stdout] | [INFO] [stdout] 341 | RunStep::Done(l, x) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/compiler/clvm.rs:341:26 [INFO] [stdout] | [INFO] [stdout] 341 | RunStep::Done(l, x) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compiler/clvm.rs:436:27 [INFO] [stdout] | [INFO] [stdout] 436 | RunStep::Op(head, context, tail, None, parent) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_strs` [INFO] [stdout] --> src/compiler/codegen.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | let arg_strs: Vec = args.iter().map(|x| x.to_sexp().to_string()).collect(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_strs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/codegen.rs:589:23 [INFO] [stdout] | [INFO] [stdout] 589 | BodyForm::Let(l, LetFormKind::Parallel, bindings, expr) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bindings` [INFO] [stdout] --> src/compiler/codegen.rs:589:49 [INFO] [stdout] | [INFO] [stdout] 589 | BodyForm::Let(l, LetFormKind::Parallel, bindings, expr) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/compiler/codegen.rs:735:41 [INFO] [stdout] | [INFO] [stdout] 735 | HelperForm::Defmacro(loc, name, args, body) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/compiler/codegen.rs:855:5 [INFO] [stdout] | [INFO] [stdout] 855 | compiler: &PrimaryCodegen, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/codegen.rs:882:22 [INFO] [stdout] | [INFO] [stdout] 882 | fn generate_let_args(l: Srcloc, blist: Vec>) -> Vec> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `subcompiler` is assigned to, but never used [INFO] [stdout] --> src/compiler/codegen.rs:938:13 [INFO] [stdout] | [INFO] [stdout] 938 | let mut subcompiler = compiler.clone(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_subcompiler` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `subcompiler` is never read [INFO] [stdout] --> src/compiler/codegen.rs:960:17 [INFO] [stdout] | [INFO] [stdout] 960 | subcompiler = [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/codegen.rs:1036:5 [INFO] [stdout] | [INFO] [stdout] 1036 | l: Srcloc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/compiler/compiler.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/compiler/comptypes.rs:228:45 [INFO] [stdout] | [INFO] [stdout] 228 | HelperForm::Defmacro(loc, name, args, body) => Rc::new(SExp::Cons( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/debug.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | SExp::Cons(l, a, b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/frontend.rs:342:27 [INFO] [stdout] | [INFO] [stdout] 342 | SExp::Nil(l) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/compiler/frontend.rs:371:26 [INFO] [stdout] | [INFO] [stdout] 371 | SExp::Cons(_, f, r) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/inline.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | SExp::Atom(l, a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/inline.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | SExp::Cons(l, f, r) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_str_vec` [INFO] [stdout] --> src/compiler/inline.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let arg_str_vec: Vec = args.iter().map(|x| x.to_sexp().to_string()).collect(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_str_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/inline.rs:170:23 [INFO] [stdout] | [INFO] [stdout] 170 | BodyForm::Let(l, _, bindings, body) => Err(CompileErr( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bindings` [INFO] [stdout] --> src/compiler/inline.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | BodyForm::Let(l, _, bindings, body) => Err(CompileErr( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/compiler/inline.rs:170:39 [INFO] [stdout] | [INFO] [stdout] 170 | BodyForm::Let(l, _, bindings, body) => Err(CompileErr( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_str_vec` [INFO] [stdout] --> src/compiler/inline.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let arg_str_vec: Vec = args.iter().map(|x| x.to_sexp().to_string()).collect(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_str_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/optimize.rs:50:41 [INFO] [stdout] | [INFO] [stdout] 50 | Callable::CallMacro(l, _) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/optimize.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | Callable::CallDefun(l, target) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/compiler/optimize.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 54 | Callable::CallDefun(l, target) => None, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/compiler/rename.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let names: Vec = namemap.iter().map(|x| decode_string(x.0)).collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/rename.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | BodyForm::Let(l, LetFormKind::Sequential, bindings, body) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `written` [INFO] [stdout] --> src/classic/clvm_tools/clvmc.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let written = temp_output_file [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_written` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:467:38 [INFO] [stdout] | [INFO] [stdout] 467 | ArgumentValue::ArgString(f, s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:507:23 [INFO] [stdout] | [INFO] [stdout] 507 | .map_err(|e| CompileErr(prog_srcloc, "Failed to parse hex".to_string())) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:615:37 [INFO] [stdout] | [INFO] [stdout] 615 | sexp::SExp::Integer(l, i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context_result` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:655:47 [INFO] [stdout] | [INFO] [stdout] 655 | whether_is_apply(s, context_result, &|context_result| {}, &|context_result| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hex` is assigned to, but never used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | let mut hex = false; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_hex` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dpr` is assigned to, but never used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | let dpr; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dpr` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:435:39 [INFO] [stdout] | [INFO] [stdout] 435 | Some(ArgumentValue::ArgString(f, s)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `run_program` is assigned to, but never used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | let run_program: Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_run_program` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dpr` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:452:13 [INFO] [stdout] | [INFO] [stdout] 452 | dpr = special_runner.clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `run_program` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:453:13 [INFO] [stdout] | [INFO] [stdout] 453 | run_program = special_runner; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dpr` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | dpr = ordinary_runner.clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `run_program` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | run_program = ordinary_runner; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `program` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | let mut program = Rc::new(sexp::SExp::Nil(Srcloc::start(&"*nil*".to_string()))); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hex` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | hex = true; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history_len` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:677:25 [INFO] [stdout] | [INFO] [stdout] 677 | let history_len = get_history_len(p.clone()); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `in_expr` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:693:21 [INFO] [stdout] | [INFO] [stdout] 693 | in_expr = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexp` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:706:30 [INFO] [stdout] | [INFO] [stdout] 706 | Ok(RunStep::Step(sexp, c, p)) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sexp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:706:36 [INFO] [stdout] | [INFO] [stdout] 706 | Ok(RunStep::Step(sexp, c, p)) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:706:39 [INFO] [stdout] | [INFO] [stdout] 706 | Ok(RunStep::Step(sexp, c, p)) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history_len` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:708:21 [INFO] [stdout] | [INFO] [stdout] 708 | let history_len = get_history_len(p.clone()); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexp` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:726:28 [INFO] [stdout] | [INFO] [stdout] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sexp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:726:34 [INFO] [stdout] | [INFO] [stdout] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:726:37 [INFO] [stdout] | [INFO] [stdout] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:726:45 [INFO] [stdout] | [INFO] [stdout] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:726:49 [INFO] [stdout] | [INFO] [stdout] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `output` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1368:13 [INFO] [stdout] | [INFO] [stdout] 1368 | output [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1059:47 [INFO] [stdout] | [INFO] [stdout] 1059 | Some(ArgumentValue::ArgString(f, s)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `first` is never read [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | let mut first = sexp; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:787:9 [INFO] [stdout] | [INFO] [stdout] 787 | let runner = run_program_for_search_paths(&vec![".".to_string()]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:590:21 [INFO] [stdout] | [INFO] [stdout] 590 | let mut use_col = coords.1; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lookup_prim` [INFO] [stdout] --> src/compiler/codegen.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn lookup_prim( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `codegen_to_sexp` [INFO] [stdout] --> src/compiler/codegen.rs:207:4 [INFO] [stdout] | [INFO] [stdout] 207 | fn codegen_to_sexp(opts: Rc, compiler: &PrimaryCodegen) -> SExp { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collapse` [INFO] [stdout] --> src/compiler/runtypes.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn collapse(r: Result) -> A { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_to_string` [INFO] [stdout] --> src/compiler/runtypes.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn run_to_string(cvt: &dyn Fn(&A) -> String, r: Result) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | value: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PriorResult` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:306:10 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `desc` [INFO] [stdout] --> src/classic/platform/argparse.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | desc: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgumentParser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/classic/platform/argparse.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kw_translation` [INFO] [stdout] --> src/classic/clvm_tools/ir/writer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | kw_translation: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IROutputIterator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/classic/clvm_tools/ir/writer.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dequote` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:755:4 [INFO] [stdout] | [INFO] [stdout] 755 | fn dequote(allocator: &mut Allocator, prog: NodePtr) -> NodePtr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_expand_macro` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:891:4 [INFO] [stdout] | [INFO] [stdout] 891 | fn test_expand_macro( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_inner_expansion` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:917:4 [INFO] [stdout] | [INFO] [stdout] 917 | fn test_inner_expansion( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_do_com_prog` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:930:4 [INFO] [stdout] | [INFO] [stdout] 930 | fn test_do_com_prog( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_cons_q_a` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:737:4 [INFO] [stdout] | [INFO] [stdout] 737 | fn test_cons_q_a(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_var_change_optimizer_cons_eval` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:746:4 [INFO] [stdout] | [INFO] [stdout] 746 | fn test_var_change_optimizer_cons_eval(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_children_optimizer` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:756:4 [INFO] [stdout] | [INFO] [stdout] 756 | fn test_children_optimizer(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_constant_optimizer` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:765:4 [INFO] [stdout] | [INFO] [stdout] 765 | fn test_constant_optimizer(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_optimizer` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:774:4 [INFO] [stdout] | [INFO] [stdout] 774 | fn test_optimizer(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_sub_args` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:783:4 [INFO] [stdout] | [INFO] [stdout] 783 | fn test_sub_args(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `constant_optimize_test_from_file` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:868:4 [INFO] [stdout] | [INFO] [stdout] 868 | fn constant_optimize_test_from_file(src: String) -> (String, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kw_pairs` should have an upper case name [INFO] [stdout] --> src/classic/clvm/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const kw_pairs: [KwAtomPair; 32] = [ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `KW_PAIRS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `KEYWORD_FROM_ATOM` should have a snake case name [INFO] [stdout] --> src/classic/clvm/mod.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn KEYWORD_FROM_ATOM() -> &'static HashMap, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `keyword_from_atom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `KEYWORD_TO_ATOM` should have a snake case name [INFO] [stdout] --> src/classic/clvm/mod.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn KEYWORD_TO_ATOM() -> &'static HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `keyword_to_atom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `NodePath` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod NodePath; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mapM` should have a snake case name [INFO] [stdout] --> src/compiler/comptypes.rs:397:8 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn mapM(f: &dyn Fn(&T) -> Result, list: &Vec) -> Result, E> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `map_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foldM` should have a snake case name [INFO] [stdout] --> src/compiler/comptypes.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn foldM(f: &dyn Fn(&R, &T) -> Result, start: R, list: &Vec) -> Result { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `fold_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `argname_ctr` should have an upper case name [INFO] [stdout] --> src/compiler/gensym.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | pub static ref argname_ctr: AtomicUsize = { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ARGNAME_CTR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `PyBytes_Repr` should have a snake case name [INFO] [stdout] --> src/classic/clvm/__type_compatibility__.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn PyBytes_Repr(r: &Vec, dquoted: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `py_bytes_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mapM` should have a snake case name [INFO] [stdout] --> src/classic/clvm/sexp.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn mapM( [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `map_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foldM` should have a snake case name [INFO] [stdout] --> src/classic/clvm/sexp.rs:458:8 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn foldM( [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `fold_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `composedPath` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/NodePath.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let composedPath = compose_paths(&self.index, &other_node.index); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `composed_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | io::stdout().write_all(s.get_value().data()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | io::stdout().write_all(s.get_value().data()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parsedArgs` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | let parsedArgs: HashMap; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parsed_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parsedArgs` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:946:9 [INFO] [stdout] | [INFO] [stdout] 946 | let parsedArgs: HashMap; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parsed_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1133:17 [INFO] [stdout] | [INFO] [stdout] 1133 | write_sym_output(&st, &"main.sym".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1165:9 [INFO] [stdout] | [INFO] [stdout] 1165 | post_eval_req_out.send((at, n)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1170:9 [INFO] [stdout] | [INFO] [stdout] 1170 | pre_eval_req_out.send(new_log); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1250:21 [INFO] [stdout] | [INFO] [stdout] 1250 | pre_out.send(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1271:21 [INFO] [stdout] | [INFO] [stdout] 1271 | post_out.send(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1381:9 [INFO] [stdout] | [INFO] [stdout] 1381 | write_sym_output(&compile_sym_out, &"main.sym".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Type` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/ir/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Type; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 1 | pub mod r#type; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | / res.as_ref().map(|x| { [INFO] [stdout] 274 | | print!( [INFO] [stdout] 275 | | "LOWER_QUOTE {} TO {}\n", [INFO] [stdout] 276 | | disassemble(allocator, prog), [INFO] [stdout] ... | [INFO] [stdout] 279 | | x [INFO] [stdout] 280 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COMPILE_BINDINGS` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | let COMPILE_BINDINGS = compile_bindings(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `compile_bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DEFAULT_MACROS_SRC` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/defaults.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn DEFAULT_MACROS_SRC() -> Vec<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `default_macros_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DEFAULT_MACRO_LOOKUP` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/defaults.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn DEFAULT_MACRO_LOOKUP(allocator: &mut Allocator, runner: Rc) -> NodePtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `default_macro_lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `com_atom` should have an upper case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/helpers.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | pub static ref com_atom: Vec = vec!('c' as u8, 'o' as u8, 'm' as u8); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `COM_ATOM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CONS_Q_A_OPTIMIZER_PATTERN` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let CONS_Q_A_OPTIMIZER_PATTERN = cons_q_a_optimizer_pattern(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_q_a_optimizer_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CONS_PATTERN` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let CONS_PATTERN = cons_pattern(allocator); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CONS_PATTERN` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let CONS_PATTERN = cons_pattern(allocator); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CONS_OPTIMIZER_PATTERN_FIRST` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | let CONS_OPTIMIZER_PATTERN_FIRST = cons_optimizer_pattern_first(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_optimizer_pattern_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CONS_OPTIMIZER_PATTERN_REST` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | let CONS_OPTIMIZER_PATTERN_REST = cons_optimizer_pattern_rest(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_optimizer_pattern_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FIRST_ATOM_PATTERN` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | let FIRST_ATOM_PATTERN = first_atom_pattern(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `first_atom_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `REST_ATOM_PATTERN` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | let REST_ATOM_PATTERN = rest_atom_pattern(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rest_atom_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `QUOTE_PATTERN_1` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | let QUOTE_PATTERN_1 = quote_pattern_1(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `quote_pattern_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `APPLY_NULL_PATTERN_1` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:587:9 [INFO] [stdout] | [INFO] [stdout] 587 | let APPLY_NULL_PATTERN_1 = apply_null_pattern_1(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `apply_null_pattern_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `OPTIMIZERS` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | let OPTIMIZERS: Vec = vec![ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `optimizers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 173 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 20s [INFO] running `Command { std: "docker" "inspect" "8fef3b05a8570ca06bece5fd40e6dbf47deeb5694fc6ff6df03043209531a634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fef3b05a8570ca06bece5fd40e6dbf47deeb5694fc6ff6df03043209531a634", kill_on_drop: false }` [INFO] [stdout] 8fef3b05a8570ca06bece5fd40e6dbf47deeb5694fc6ff6df03043209531a634 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 08271d9fa246072bf63b2586e14271e078e6b041fe169aa6d62032c40dd139a8 [INFO] running `Command { std: "docker" "start" "-a" "08271d9fa246072bf63b2586e14271e078e6b041fe169aa6d62032c40dd139a8", kill_on_drop: false }` [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/classic/clvm_tools/clvmc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/classic/clvm_tools/clvmc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classic::platform::distutils::log` [INFO] [stdout] --> src/classic/clvm_tools/clvmc.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::classic::platform::distutils::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classic::clvm_tools::stages::stage_2::optimize::optimize_sexp` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::classic::clvm_tools::stages::stage_2::optimize::optimize_sexp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:597:24 [INFO] [stdout] | [INFO] [stdout] 597 | if (use_col >= line_text.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 597 - if (use_col >= line_text.len()) { [INFO] [stdout] 597 + if use_col >= line_text.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:599:31 [INFO] [stdout] | [INFO] [stdout] 599 | } else if (end_col >= line_text.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 599 - } else if (end_col >= line_text.len()) { [INFO] [stdout] 599 + } else if end_col >= line_text.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classic::clvm_tools::sha256tree::sha256tree` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::classic::clvm_tools::sha256tree::sha256tree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `disassemble` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/operators.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | assemble_from_ir, disassemble, disassemble_to_ir_with_kw, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clvm_rs::reduction::EvalErr` [INFO] [stdout] --> src/compiler/clvm.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use clvm_rs::reduction::EvalErr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sign` [INFO] [stdout] --> src/compiler/clvm.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use num_bigint::{Sign, ToBigInt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DefaultProgramRunner` [INFO] [stdout] --> src/compiler/clvm.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::classic::clvm_tools::stages::stage_0::{DefaultProgramRunner, TRunProgram}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decode_string` [INFO] [stdout] --> src/compiler/clvm.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::compiler::sexp::{decode_string, parse_sexp, SExp}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BytesFromType`, `Bytes` [INFO] [stdout] --> src/compiler/codegen.rs:11:60 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::classic::clvm::__type_compatibility__::{bi_one, Bytes, BytesFromType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mapM` [INFO] [stdout] --> src/compiler/codegen.rs:16:67 [INFO] [stdout] | [INFO] [stdout] 16 | cons_of_string_map, foldM, join_vecs_to_string, list_to_cons, mapM, with_heading, Binding, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prims` [INFO] [stdout] --> src/compiler/codegen.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::compiler::prims::{primapply, primcons, primquote, prims}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `enlist` [INFO] [stdout] --> src/compiler/codegen.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::compiler::sexp::{decode_string, enlist, SExp}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `number_from_u8` [INFO] [stdout] --> src/compiler/codegen.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::util::{number_from_u8, u8_from_number}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/codegen.rs:945:34 [INFO] [stdout] | [INFO] [stdout] 945 | let context = if (inline) { Some(args.clone()) } else { None }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 945 - let context = if (inline) { Some(args.clone()) } else { None }; [INFO] [stdout] 945 + let context = if inline { Some(args.clone()) } else { None }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BytesFromType`, `Bytes` [INFO] [stdout] --> src/compiler/compiler.rs:8:52 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::classic::clvm::__type_compatibility__::{Bytes, BytesFromType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DefaultProgramRunner` [INFO] [stdout] --> src/compiler/compiler.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::classic::clvm_tools::stages::stage_0::{DefaultProgramRunner, TRunProgram}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bi_zero` [INFO] [stdout] --> src/compiler/debug.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::classic::clvm::__type_compatibility__::{bi_zero, sha256, Bytes, BytesFromType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classic::clvm::__type_compatibility__::bi_one` [INFO] [stdout] --> src/compiler/frontend.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::classic::clvm::__type_compatibility__::bi_one; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decode_string` [INFO] [stdout] --> src/compiler/frontend.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::compiler::sexp::{decode_string, enlist, SExp}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/compiler/inline.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_macro_call` [INFO] [stdout] --> src/compiler/inline.rs:12:54 [INFO] [stdout] | [INFO] [stdout] 12 | generate_expr_code, get_call_name, get_callable, process_macro_call, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decode_string` [INFO] [stdout] --> src/compiler/inline.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::compiler::sexp::{decode_string, SExp}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `u8_from_number` [INFO] [stdout] --> src/compiler/inline.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::util::{u8_from_number, Number}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::prims::primquote` [INFO] [stdout] --> src/compiler/optimize.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::compiler::prims::primquote; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompileErr` [INFO] [stdout] --> src/compiler/rename.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | Binding, BodyForm, CompileErr, CompileForm, HelperForm, LetFormKind, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_bigint::ToBigInt` [INFO] [stdout] --> src/compiler/sexp.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use num_bigint::ToBigInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/debug.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | tx: &Fn(&SExp) -> X, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - tx: &Fn(&SExp) -> X, [INFO] [stdout] 12 + tx: &dyn Fn(&SExp) -> X, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:741:13 [INFO] [stdout] | [INFO] [stdout] 741 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/frontend.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | BodyForm::Value(_) => vec![], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | SExp::Cons(l, a, nil) => match nil.borrow() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/compiler/clvm.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | SExp::Cons(l, a, nil) => match nil.borrow() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l1` [INFO] [stdout] --> src/compiler/clvm.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | SExp::Nil(l1) => run(allocator, runner, prim_map, sexp.clone(), context.clone()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_l1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | l: Srcloc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | SExp::Nil(l) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | SExp::Cons(l, a, b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allocator` [INFO] [stdout] --> src/compiler/clvm.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | allocator: &mut Allocator, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/compiler/clvm.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | runner: Rc, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prim_map` [INFO] [stdout] --> src/compiler/clvm.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | prim_map: Rc, Rc>>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prim_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/compiler/clvm.rs:162:60 [INFO] [stdout] | [INFO] [stdout] 162 | SExp::Atom(l, x) => allocator.new_atom(x).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/compiler/clvm.rs:168:71 [INFO] [stdout] | [INFO] [stdout] 168 | SExp::QuotedString(_, _, x) => allocator.new_atom(x).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/compiler/clvm.rs:178:73 [INFO] [stdout] | [INFO] [stdout] 178 | allocator.new_atom(&u8_from_number(i.clone())).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/compiler/clvm.rs:188:57 [INFO] [stdout] | [INFO] [stdout] 188 | allocator.new_pair(head, tail).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | SExp::Atom(l, x) => allocator.new_atom(x).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:314:24 [INFO] [stdout] | [INFO] [stdout] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/compiler/clvm.rs:314:27 [INFO] [stdout] | [INFO] [stdout] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> src/compiler/clvm.rs:314:43 [INFO] [stdout] | [INFO] [stdout] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compiler/clvm.rs:314:49 [INFO] [stdout] | [INFO] [stdout] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/compiler/clvm.rs:314:58 [INFO] [stdout] | [INFO] [stdout] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:317:24 [INFO] [stdout] | [INFO] [stdout] 317 | (RunStep::Done(l, x), RunStep::Step(sexp, context, parent)) => combine(a, parent.borrow()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/compiler/clvm.rs:317:27 [INFO] [stdout] | [INFO] [stdout] 317 | (RunStep::Done(l, x), RunStep::Step(sexp, context, parent)) => combine(a, parent.borrow()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexp` [INFO] [stdout] --> src/compiler/clvm.rs:317:45 [INFO] [stdout] | [INFO] [stdout] 317 | (RunStep::Done(l, x), RunStep::Step(sexp, context, parent)) => combine(a, parent.borrow()), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sexp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compiler/clvm.rs:317:51 [INFO] [stdout] | [INFO] [stdout] 317 | (RunStep::Done(l, x), RunStep::Step(sexp, context, parent)) => combine(a, parent.borrow()), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:341:23 [INFO] [stdout] | [INFO] [stdout] 341 | RunStep::Done(l, x) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/compiler/clvm.rs:341:26 [INFO] [stdout] | [INFO] [stdout] 341 | RunStep::Done(l, x) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compiler/clvm.rs:436:27 [INFO] [stdout] | [INFO] [stdout] 436 | RunStep::Op(head, context, tail, None, parent) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_strs` [INFO] [stdout] --> src/compiler/codegen.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | let arg_strs: Vec = args.iter().map(|x| x.to_sexp().to_string()).collect(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_strs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/codegen.rs:589:23 [INFO] [stdout] | [INFO] [stdout] 589 | BodyForm::Let(l, LetFormKind::Parallel, bindings, expr) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bindings` [INFO] [stdout] --> src/compiler/codegen.rs:589:49 [INFO] [stdout] | [INFO] [stdout] 589 | BodyForm::Let(l, LetFormKind::Parallel, bindings, expr) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/compiler/codegen.rs:735:41 [INFO] [stdout] | [INFO] [stdout] 735 | HelperForm::Defmacro(loc, name, args, body) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/compiler/codegen.rs:855:5 [INFO] [stdout] | [INFO] [stdout] 855 | compiler: &PrimaryCodegen, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/codegen.rs:882:22 [INFO] [stdout] | [INFO] [stdout] 882 | fn generate_let_args(l: Srcloc, blist: Vec>) -> Vec> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `subcompiler` is assigned to, but never used [INFO] [stdout] --> src/compiler/codegen.rs:938:13 [INFO] [stdout] | [INFO] [stdout] 938 | let mut subcompiler = compiler.clone(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_subcompiler` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `subcompiler` is never read [INFO] [stdout] --> src/compiler/codegen.rs:960:17 [INFO] [stdout] | [INFO] [stdout] 960 | subcompiler = [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/codegen.rs:1036:5 [INFO] [stdout] | [INFO] [stdout] 1036 | l: Srcloc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/compiler/compiler.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/compiler/comptypes.rs:228:45 [INFO] [stdout] | [INFO] [stdout] 228 | HelperForm::Defmacro(loc, name, args, body) => Rc::new(SExp::Cons( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/debug.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | SExp::Cons(l, a, b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/frontend.rs:342:27 [INFO] [stdout] | [INFO] [stdout] 342 | SExp::Nil(l) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/compiler/frontend.rs:371:26 [INFO] [stdout] | [INFO] [stdout] 371 | SExp::Cons(_, f, r) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/inline.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | SExp::Atom(l, a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/inline.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | SExp::Cons(l, f, r) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_str_vec` [INFO] [stdout] --> src/compiler/inline.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let arg_str_vec: Vec = args.iter().map(|x| x.to_sexp().to_string()).collect(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_str_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/inline.rs:170:23 [INFO] [stdout] | [INFO] [stdout] 170 | BodyForm::Let(l, _, bindings, body) => Err(CompileErr( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bindings` [INFO] [stdout] --> src/compiler/inline.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | BodyForm::Let(l, _, bindings, body) => Err(CompileErr( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/compiler/inline.rs:170:39 [INFO] [stdout] | [INFO] [stdout] 170 | BodyForm::Let(l, _, bindings, body) => Err(CompileErr( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_str_vec` [INFO] [stdout] --> src/compiler/inline.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let arg_str_vec: Vec = args.iter().map(|x| x.to_sexp().to_string()).collect(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_str_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/optimize.rs:50:41 [INFO] [stdout] | [INFO] [stdout] 50 | Callable::CallMacro(l, _) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/optimize.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | Callable::CallDefun(l, target) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/compiler/optimize.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 54 | Callable::CallDefun(l, target) => None, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/compiler/rename.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let names: Vec = namemap.iter().map(|x| decode_string(x.0)).collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/rename.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | BodyForm::Let(l, LetFormKind::Sequential, bindings, body) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `written` [INFO] [stdout] --> src/classic/clvm_tools/clvmc.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let written = temp_output_file [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_written` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:467:38 [INFO] [stdout] | [INFO] [stdout] 467 | ArgumentValue::ArgString(f, s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:507:23 [INFO] [stdout] | [INFO] [stdout] 507 | .map_err(|e| CompileErr(prog_srcloc, "Failed to parse hex".to_string())) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:615:37 [INFO] [stdout] | [INFO] [stdout] 615 | sexp::SExp::Integer(l, i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context_result` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:655:47 [INFO] [stdout] | [INFO] [stdout] 655 | whether_is_apply(s, context_result, &|context_result| {}, &|context_result| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hex` is assigned to, but never used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | let mut hex = false; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_hex` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dpr` is assigned to, but never used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | let dpr; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dpr` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:435:39 [INFO] [stdout] | [INFO] [stdout] 435 | Some(ArgumentValue::ArgString(f, s)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `run_program` is assigned to, but never used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | let run_program: Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_run_program` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dpr` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:452:13 [INFO] [stdout] | [INFO] [stdout] 452 | dpr = special_runner.clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `run_program` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:453:13 [INFO] [stdout] | [INFO] [stdout] 453 | run_program = special_runner; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dpr` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | dpr = ordinary_runner.clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `run_program` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | run_program = ordinary_runner; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `program` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | let mut program = Rc::new(sexp::SExp::Nil(Srcloc::start(&"*nil*".to_string()))); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hex` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | hex = true; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history_len` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:677:25 [INFO] [stdout] | [INFO] [stdout] 677 | let history_len = get_history_len(p.clone()); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `in_expr` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:693:21 [INFO] [stdout] | [INFO] [stdout] 693 | in_expr = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexp` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:706:30 [INFO] [stdout] | [INFO] [stdout] 706 | Ok(RunStep::Step(sexp, c, p)) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sexp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:706:36 [INFO] [stdout] | [INFO] [stdout] 706 | Ok(RunStep::Step(sexp, c, p)) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:706:39 [INFO] [stdout] | [INFO] [stdout] 706 | Ok(RunStep::Step(sexp, c, p)) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history_len` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:708:21 [INFO] [stdout] | [INFO] [stdout] 708 | let history_len = get_history_len(p.clone()); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexp` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:726:28 [INFO] [stdout] | [INFO] [stdout] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sexp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:726:34 [INFO] [stdout] | [INFO] [stdout] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:726:37 [INFO] [stdout] | [INFO] [stdout] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:726:45 [INFO] [stdout] | [INFO] [stdout] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:726:49 [INFO] [stdout] | [INFO] [stdout] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `output` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1368:13 [INFO] [stdout] | [INFO] [stdout] 1368 | output [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1059:47 [INFO] [stdout] | [INFO] [stdout] 1059 | Some(ArgumentValue::ArgString(f, s)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `first` is never read [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | let mut first = sexp; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:787:9 [INFO] [stdout] | [INFO] [stdout] 787 | let runner = run_program_for_search_paths(&vec![".".to_string()]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:590:21 [INFO] [stdout] | [INFO] [stdout] 590 | let mut use_col = coords.1; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lookup_prim` [INFO] [stdout] --> src/compiler/codegen.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn lookup_prim( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `codegen_to_sexp` [INFO] [stdout] --> src/compiler/codegen.rs:207:4 [INFO] [stdout] | [INFO] [stdout] 207 | fn codegen_to_sexp(opts: Rc, compiler: &PrimaryCodegen) -> SExp { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collapse` [INFO] [stdout] --> src/compiler/runtypes.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn collapse(r: Result) -> A { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_to_string` [INFO] [stdout] --> src/compiler/runtypes.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn run_to_string(cvt: &dyn Fn(&A) -> String, r: Result) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | value: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PriorResult` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:306:10 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `desc` [INFO] [stdout] --> src/classic/platform/argparse.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | desc: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgumentParser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/classic/platform/argparse.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kw_translation` [INFO] [stdout] --> src/classic/clvm_tools/ir/writer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | kw_translation: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IROutputIterator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/classic/clvm_tools/ir/writer.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dequote` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:755:4 [INFO] [stdout] | [INFO] [stdout] 755 | fn dequote(allocator: &mut Allocator, prog: NodePtr) -> NodePtr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_expand_macro` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:891:4 [INFO] [stdout] | [INFO] [stdout] 891 | fn test_expand_macro( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_inner_expansion` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:917:4 [INFO] [stdout] | [INFO] [stdout] 917 | fn test_inner_expansion( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_do_com_prog` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:930:4 [INFO] [stdout] | [INFO] [stdout] 930 | fn test_do_com_prog( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_cons_q_a` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:737:4 [INFO] [stdout] | [INFO] [stdout] 737 | fn test_cons_q_a(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_var_change_optimizer_cons_eval` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:746:4 [INFO] [stdout] | [INFO] [stdout] 746 | fn test_var_change_optimizer_cons_eval(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_children_optimizer` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:756:4 [INFO] [stdout] | [INFO] [stdout] 756 | fn test_children_optimizer(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_constant_optimizer` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:765:4 [INFO] [stdout] | [INFO] [stdout] 765 | fn test_constant_optimizer(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_optimizer` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:774:4 [INFO] [stdout] | [INFO] [stdout] 774 | fn test_optimizer(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_sub_args` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:783:4 [INFO] [stdout] | [INFO] [stdout] 783 | fn test_sub_args(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `constant_optimize_test_from_file` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:868:4 [INFO] [stdout] | [INFO] [stdout] 868 | fn constant_optimize_test_from_file(src: String) -> (String, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kw_pairs` should have an upper case name [INFO] [stdout] --> src/classic/clvm/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const kw_pairs: [KwAtomPair; 32] = [ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `KW_PAIRS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `KEYWORD_FROM_ATOM` should have a snake case name [INFO] [stdout] --> src/classic/clvm/mod.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn KEYWORD_FROM_ATOM() -> &'static HashMap, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `keyword_from_atom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `KEYWORD_TO_ATOM` should have a snake case name [INFO] [stdout] --> src/classic/clvm/mod.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn KEYWORD_TO_ATOM() -> &'static HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `keyword_to_atom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `NodePath` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod NodePath; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mapM` should have a snake case name [INFO] [stdout] --> src/compiler/comptypes.rs:397:8 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn mapM(f: &dyn Fn(&T) -> Result, list: &Vec) -> Result, E> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `map_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foldM` should have a snake case name [INFO] [stdout] --> src/compiler/comptypes.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn foldM(f: &dyn Fn(&R, &T) -> Result, start: R, list: &Vec) -> Result { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `fold_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `argname_ctr` should have an upper case name [INFO] [stdout] --> src/compiler/gensym.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | pub static ref argname_ctr: AtomicUsize = { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ARGNAME_CTR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `PyBytes_Repr` should have a snake case name [INFO] [stdout] --> src/classic/clvm/__type_compatibility__.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn PyBytes_Repr(r: &Vec, dquoted: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `py_bytes_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mapM` should have a snake case name [INFO] [stdout] --> src/classic/clvm/sexp.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn mapM( [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `map_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foldM` should have a snake case name [INFO] [stdout] --> src/classic/clvm/sexp.rs:458:8 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn foldM( [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `fold_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `composedPath` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/NodePath.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let composedPath = compose_paths(&self.index, &other_node.index); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `composed_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | io::stdout().write_all(s.get_value().data()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | io::stdout().write_all(s.get_value().data()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parsedArgs` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | let parsedArgs: HashMap; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parsed_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parsedArgs` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:946:9 [INFO] [stdout] | [INFO] [stdout] 946 | let parsedArgs: HashMap; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parsed_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1133:17 [INFO] [stdout] | [INFO] [stdout] 1133 | write_sym_output(&st, &"main.sym".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1165:9 [INFO] [stdout] | [INFO] [stdout] 1165 | post_eval_req_out.send((at, n)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1170:9 [INFO] [stdout] | [INFO] [stdout] 1170 | pre_eval_req_out.send(new_log); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1250:21 [INFO] [stdout] | [INFO] [stdout] 1250 | pre_out.send(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1271:21 [INFO] [stdout] | [INFO] [stdout] 1271 | post_out.send(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1381:9 [INFO] [stdout] | [INFO] [stdout] 1381 | write_sym_output(&compile_sym_out, &"main.sym".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Type` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/ir/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Type; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 1 | pub mod r#type; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | / res.as_ref().map(|x| { [INFO] [stdout] 274 | | print!( [INFO] [stdout] 275 | | "LOWER_QUOTE {} TO {}\n", [INFO] [stdout] 276 | | disassemble(allocator, prog), [INFO] [stdout] ... | [INFO] [stdout] 279 | | x [INFO] [stdout] 280 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COMPILE_BINDINGS` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | let COMPILE_BINDINGS = compile_bindings(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `compile_bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DEFAULT_MACROS_SRC` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/defaults.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn DEFAULT_MACROS_SRC() -> Vec<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `default_macros_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DEFAULT_MACRO_LOOKUP` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/defaults.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn DEFAULT_MACRO_LOOKUP(allocator: &mut Allocator, runner: Rc) -> NodePtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `default_macro_lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `com_atom` should have an upper case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/helpers.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | pub static ref com_atom: Vec = vec!('c' as u8, 'o' as u8, 'm' as u8); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `COM_ATOM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CONS_Q_A_OPTIMIZER_PATTERN` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let CONS_Q_A_OPTIMIZER_PATTERN = cons_q_a_optimizer_pattern(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_q_a_optimizer_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CONS_PATTERN` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let CONS_PATTERN = cons_pattern(allocator); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CONS_PATTERN` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let CONS_PATTERN = cons_pattern(allocator); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CONS_OPTIMIZER_PATTERN_FIRST` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | let CONS_OPTIMIZER_PATTERN_FIRST = cons_optimizer_pattern_first(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_optimizer_pattern_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CONS_OPTIMIZER_PATTERN_REST` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | let CONS_OPTIMIZER_PATTERN_REST = cons_optimizer_pattern_rest(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_optimizer_pattern_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FIRST_ATOM_PATTERN` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | let FIRST_ATOM_PATTERN = first_atom_pattern(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `first_atom_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `REST_ATOM_PATTERN` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | let REST_ATOM_PATTERN = rest_atom_pattern(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rest_atom_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `QUOTE_PATTERN_1` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | let QUOTE_PATTERN_1 = quote_pattern_1(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `quote_pattern_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `APPLY_NULL_PATTERN_1` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:587:9 [INFO] [stdout] | [INFO] [stdout] 587 | let APPLY_NULL_PATTERN_1 = apply_null_pattern_1(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `apply_null_pattern_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `OPTIMIZERS` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | let OPTIMIZERS: Vec = vec![ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `optimizers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 173 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clvm_tools_rs v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/classic/clvm_tools/clvmc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/classic/clvm_tools/clvmc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classic::platform::distutils::log` [INFO] [stdout] --> src/classic/clvm_tools/clvmc.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::classic::platform::distutils::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classic::clvm_tools::stages::stage_2::optimize::optimize_sexp` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::classic::clvm_tools::stages::stage_2::optimize::optimize_sexp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:597:24 [INFO] [stdout] | [INFO] [stdout] 597 | if (use_col >= line_text.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 597 - if (use_col >= line_text.len()) { [INFO] [stdout] 597 + if use_col >= line_text.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:599:31 [INFO] [stdout] | [INFO] [stdout] 599 | } else if (end_col >= line_text.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 599 - } else if (end_col >= line_text.len()) { [INFO] [stdout] 599 + } else if end_col >= line_text.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classic::clvm_tools::sha256tree::sha256tree` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::classic::clvm_tools::sha256tree::sha256tree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `disassemble` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/operators.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | assemble_from_ir, disassemble, disassemble_to_ir_with_kw, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clvm_rs::reduction::EvalErr` [INFO] [stdout] --> src/compiler/clvm.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use clvm_rs::reduction::EvalErr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sign` [INFO] [stdout] --> src/compiler/clvm.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use num_bigint::{Sign, ToBigInt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DefaultProgramRunner` [INFO] [stdout] --> src/compiler/clvm.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::classic::clvm_tools::stages::stage_0::{DefaultProgramRunner, TRunProgram}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decode_string` [INFO] [stdout] --> src/compiler/clvm.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::compiler::sexp::{decode_string, parse_sexp, SExp}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BytesFromType`, `Bytes` [INFO] [stdout] --> src/compiler/codegen.rs:11:60 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::classic::clvm::__type_compatibility__::{bi_one, Bytes, BytesFromType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mapM` [INFO] [stdout] --> src/compiler/codegen.rs:16:67 [INFO] [stdout] | [INFO] [stdout] 16 | cons_of_string_map, foldM, join_vecs_to_string, list_to_cons, mapM, with_heading, Binding, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prims` [INFO] [stdout] --> src/compiler/codegen.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::compiler::prims::{primapply, primcons, primquote, prims}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `enlist` [INFO] [stdout] --> src/compiler/codegen.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::compiler::sexp::{decode_string, enlist, SExp}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `number_from_u8` [INFO] [stdout] --> src/compiler/codegen.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::util::{number_from_u8, u8_from_number}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/codegen.rs:945:34 [INFO] [stdout] | [INFO] [stdout] 945 | let context = if (inline) { Some(args.clone()) } else { None }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 945 - let context = if (inline) { Some(args.clone()) } else { None }; [INFO] [stdout] 945 + let context = if inline { Some(args.clone()) } else { None }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BytesFromType`, `Bytes` [INFO] [stdout] --> src/compiler/compiler.rs:8:52 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::classic::clvm::__type_compatibility__::{Bytes, BytesFromType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DefaultProgramRunner` [INFO] [stdout] --> src/compiler/compiler.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::classic::clvm_tools::stages::stage_0::{DefaultProgramRunner, TRunProgram}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bi_zero` [INFO] [stdout] --> src/compiler/debug.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::classic::clvm::__type_compatibility__::{bi_zero, sha256, Bytes, BytesFromType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::classic::clvm::__type_compatibility__::bi_one` [INFO] [stdout] --> src/compiler/frontend.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::classic::clvm::__type_compatibility__::bi_one; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decode_string` [INFO] [stdout] --> src/compiler/frontend.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::compiler::sexp::{decode_string, enlist, SExp}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/compiler/inline.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_macro_call` [INFO] [stdout] --> src/compiler/inline.rs:12:54 [INFO] [stdout] | [INFO] [stdout] 12 | generate_expr_code, get_call_name, get_callable, process_macro_call, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decode_string` [INFO] [stdout] --> src/compiler/inline.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::compiler::sexp::{decode_string, SExp}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `u8_from_number` [INFO] [stdout] --> src/compiler/inline.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::util::{u8_from_number, Number}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::prims::primquote` [INFO] [stdout] --> src/compiler/optimize.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::compiler::prims::primquote; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompileErr` [INFO] [stdout] --> src/compiler/rename.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | Binding, BodyForm, CompileErr, CompileForm, HelperForm, LetFormKind, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_bigint::ToBigInt` [INFO] [stdout] --> src/compiler/sexp.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use num_bigint::ToBigInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/debug.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | tx: &Fn(&SExp) -> X, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - tx: &Fn(&SExp) -> X, [INFO] [stdout] 12 + tx: &dyn Fn(&SExp) -> X, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:741:13 [INFO] [stdout] | [INFO] [stdout] 741 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/frontend.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | BodyForm::Value(_) => vec![], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | SExp::Cons(l, a, nil) => match nil.borrow() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/compiler/clvm.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | SExp::Cons(l, a, nil) => match nil.borrow() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l1` [INFO] [stdout] --> src/compiler/clvm.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | SExp::Nil(l1) => run(allocator, runner, prim_map, sexp.clone(), context.clone()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_l1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | l: Srcloc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | SExp::Nil(l) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | SExp::Cons(l, a, b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allocator` [INFO] [stdout] --> src/compiler/clvm.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | allocator: &mut Allocator, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/compiler/clvm.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | runner: Rc, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prim_map` [INFO] [stdout] --> src/compiler/clvm.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | prim_map: Rc, Rc>>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prim_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/compiler/clvm.rs:162:60 [INFO] [stdout] | [INFO] [stdout] 162 | SExp::Atom(l, x) => allocator.new_atom(x).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/compiler/clvm.rs:168:71 [INFO] [stdout] | [INFO] [stdout] 168 | SExp::QuotedString(_, _, x) => allocator.new_atom(x).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/compiler/clvm.rs:178:73 [INFO] [stdout] | [INFO] [stdout] 178 | allocator.new_atom(&u8_from_number(i.clone())).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/compiler/clvm.rs:188:57 [INFO] [stdout] | [INFO] [stdout] 188 | allocator.new_pair(head, tail).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | SExp::Atom(l, x) => allocator.new_atom(x).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:314:24 [INFO] [stdout] | [INFO] [stdout] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/compiler/clvm.rs:314:27 [INFO] [stdout] | [INFO] [stdout] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> src/compiler/clvm.rs:314:43 [INFO] [stdout] | [INFO] [stdout] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compiler/clvm.rs:314:49 [INFO] [stdout] | [INFO] [stdout] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/compiler/clvm.rs:314:58 [INFO] [stdout] | [INFO] [stdout] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:317:24 [INFO] [stdout] | [INFO] [stdout] 317 | (RunStep::Done(l, x), RunStep::Step(sexp, context, parent)) => combine(a, parent.borrow()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/compiler/clvm.rs:317:27 [INFO] [stdout] | [INFO] [stdout] 317 | (RunStep::Done(l, x), RunStep::Step(sexp, context, parent)) => combine(a, parent.borrow()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexp` [INFO] [stdout] --> src/compiler/clvm.rs:317:45 [INFO] [stdout] | [INFO] [stdout] 317 | (RunStep::Done(l, x), RunStep::Step(sexp, context, parent)) => combine(a, parent.borrow()), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sexp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compiler/clvm.rs:317:51 [INFO] [stdout] | [INFO] [stdout] 317 | (RunStep::Done(l, x), RunStep::Step(sexp, context, parent)) => combine(a, parent.borrow()), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/clvm.rs:341:23 [INFO] [stdout] | [INFO] [stdout] 341 | RunStep::Done(l, x) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/compiler/clvm.rs:341:26 [INFO] [stdout] | [INFO] [stdout] 341 | RunStep::Done(l, x) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/compiler/clvm.rs:436:27 [INFO] [stdout] | [INFO] [stdout] 436 | RunStep::Op(head, context, tail, None, parent) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_strs` [INFO] [stdout] --> src/compiler/codegen.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | let arg_strs: Vec = args.iter().map(|x| x.to_sexp().to_string()).collect(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_strs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/codegen.rs:589:23 [INFO] [stdout] | [INFO] [stdout] 589 | BodyForm::Let(l, LetFormKind::Parallel, bindings, expr) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bindings` [INFO] [stdout] --> src/compiler/codegen.rs:589:49 [INFO] [stdout] | [INFO] [stdout] 589 | BodyForm::Let(l, LetFormKind::Parallel, bindings, expr) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/compiler/codegen.rs:735:41 [INFO] [stdout] | [INFO] [stdout] 735 | HelperForm::Defmacro(loc, name, args, body) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/compiler/codegen.rs:855:5 [INFO] [stdout] | [INFO] [stdout] 855 | compiler: &PrimaryCodegen, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/codegen.rs:882:22 [INFO] [stdout] | [INFO] [stdout] 882 | fn generate_let_args(l: Srcloc, blist: Vec>) -> Vec> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `subcompiler` is assigned to, but never used [INFO] [stdout] --> src/compiler/codegen.rs:938:13 [INFO] [stdout] | [INFO] [stdout] 938 | let mut subcompiler = compiler.clone(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_subcompiler` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `subcompiler` is never read [INFO] [stdout] --> src/compiler/codegen.rs:960:17 [INFO] [stdout] | [INFO] [stdout] 960 | subcompiler = [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/codegen.rs:1036:5 [INFO] [stdout] | [INFO] [stdout] 1036 | l: Srcloc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/compiler/compiler.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/compiler/comptypes.rs:228:45 [INFO] [stdout] | [INFO] [stdout] 228 | HelperForm::Defmacro(loc, name, args, body) => Rc::new(SExp::Cons( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/debug.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | SExp::Cons(l, a, b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/frontend.rs:342:27 [INFO] [stdout] | [INFO] [stdout] 342 | SExp::Nil(l) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/compiler/frontend.rs:371:26 [INFO] [stdout] | [INFO] [stdout] 371 | SExp::Cons(_, f, r) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/inline.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | SExp::Atom(l, a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/inline.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | SExp::Cons(l, f, r) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_str_vec` [INFO] [stdout] --> src/compiler/inline.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let arg_str_vec: Vec = args.iter().map(|x| x.to_sexp().to_string()).collect(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_str_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/inline.rs:170:23 [INFO] [stdout] | [INFO] [stdout] 170 | BodyForm::Let(l, _, bindings, body) => Err(CompileErr( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bindings` [INFO] [stdout] --> src/compiler/inline.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | BodyForm::Let(l, _, bindings, body) => Err(CompileErr( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/compiler/inline.rs:170:39 [INFO] [stdout] | [INFO] [stdout] 170 | BodyForm::Let(l, _, bindings, body) => Err(CompileErr( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_str_vec` [INFO] [stdout] --> src/compiler/inline.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let arg_str_vec: Vec = args.iter().map(|x| x.to_sexp().to_string()).collect(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_str_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/optimize.rs:50:41 [INFO] [stdout] | [INFO] [stdout] 50 | Callable::CallMacro(l, _) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/optimize.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | Callable::CallDefun(l, target) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/compiler/optimize.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 54 | Callable::CallDefun(l, target) => None, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/compiler/rename.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let names: Vec = namemap.iter().map(|x| decode_string(x.0)).collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/compiler/rename.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | BodyForm::Let(l, LetFormKind::Sequential, bindings, body) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `written` [INFO] [stdout] --> src/classic/clvm_tools/clvmc.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let written = temp_output_file [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_written` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:467:38 [INFO] [stdout] | [INFO] [stdout] 467 | ArgumentValue::ArgString(f, s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:507:23 [INFO] [stdout] | [INFO] [stdout] 507 | .map_err(|e| CompileErr(prog_srcloc, "Failed to parse hex".to_string())) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:615:37 [INFO] [stdout] | [INFO] [stdout] 615 | sexp::SExp::Integer(l, i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context_result` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:655:47 [INFO] [stdout] | [INFO] [stdout] 655 | whether_is_apply(s, context_result, &|context_result| {}, &|context_result| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hex` is assigned to, but never used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | let mut hex = false; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_hex` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dpr` is assigned to, but never used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | let dpr; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dpr` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:435:39 [INFO] [stdout] | [INFO] [stdout] 435 | Some(ArgumentValue::ArgString(f, s)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `run_program` is assigned to, but never used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | let run_program: Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_run_program` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dpr` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:452:13 [INFO] [stdout] | [INFO] [stdout] 452 | dpr = special_runner.clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `run_program` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:453:13 [INFO] [stdout] | [INFO] [stdout] 453 | run_program = special_runner; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dpr` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | dpr = ordinary_runner.clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `run_program` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | run_program = ordinary_runner; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `program` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | let mut program = Rc::new(sexp::SExp::Nil(Srcloc::start(&"*nil*".to_string()))); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hex` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | hex = true; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history_len` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:677:25 [INFO] [stdout] | [INFO] [stdout] 677 | let history_len = get_history_len(p.clone()); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `in_expr` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:693:21 [INFO] [stdout] | [INFO] [stdout] 693 | in_expr = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexp` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:706:30 [INFO] [stdout] | [INFO] [stdout] 706 | Ok(RunStep::Step(sexp, c, p)) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sexp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:706:36 [INFO] [stdout] | [INFO] [stdout] 706 | Ok(RunStep::Step(sexp, c, p)) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:706:39 [INFO] [stdout] | [INFO] [stdout] 706 | Ok(RunStep::Step(sexp, c, p)) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history_len` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:708:21 [INFO] [stdout] | [INFO] [stdout] 708 | let history_len = get_history_len(p.clone()); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sexp` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:726:28 [INFO] [stdout] | [INFO] [stdout] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sexp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:726:34 [INFO] [stdout] | [INFO] [stdout] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:726:37 [INFO] [stdout] | [INFO] [stdout] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:726:45 [INFO] [stdout] | [INFO] [stdout] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:726:49 [INFO] [stdout] | [INFO] [stdout] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `output` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1368:13 [INFO] [stdout] | [INFO] [stdout] 1368 | output [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1059:47 [INFO] [stdout] | [INFO] [stdout] 1059 | Some(ArgumentValue::ArgString(f, s)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `first` is never read [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | let mut first = sexp; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:787:9 [INFO] [stdout] | [INFO] [stdout] 787 | let runner = run_program_for_search_paths(&vec![".".to_string()]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:590:21 [INFO] [stdout] | [INFO] [stdout] 590 | let mut use_col = coords.1; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lookup_prim` [INFO] [stdout] --> src/compiler/codegen.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn lookup_prim( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `codegen_to_sexp` [INFO] [stdout] --> src/compiler/codegen.rs:207:4 [INFO] [stdout] | [INFO] [stdout] 207 | fn codegen_to_sexp(opts: Rc, compiler: &PrimaryCodegen) -> SExp { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collapse` [INFO] [stdout] --> src/compiler/runtypes.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn collapse(r: Result) -> A { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_to_string` [INFO] [stdout] --> src/compiler/runtypes.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn run_to_string(cvt: &dyn Fn(&A) -> String, r: Result) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | value: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PriorResult` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:306:10 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `desc` [INFO] [stdout] --> src/classic/platform/argparse.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | desc: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgumentParser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/classic/platform/argparse.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kw_translation` [INFO] [stdout] --> src/classic/clvm_tools/ir/writer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | kw_translation: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IROutputIterator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/classic/clvm_tools/ir/writer.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dequote` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:755:4 [INFO] [stdout] | [INFO] [stdout] 755 | fn dequote(allocator: &mut Allocator, prog: NodePtr) -> NodePtr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_var_change_optimizer_cons_eval` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:746:4 [INFO] [stdout] | [INFO] [stdout] 746 | fn test_var_change_optimizer_cons_eval(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `constant_optimize_test_from_file` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:868:4 [INFO] [stdout] | [INFO] [stdout] 868 | fn constant_optimize_test_from_file(src: String) -> (String, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kw_pairs` should have an upper case name [INFO] [stdout] --> src/classic/clvm/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const kw_pairs: [KwAtomPair; 32] = [ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `KW_PAIRS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `KEYWORD_FROM_ATOM` should have a snake case name [INFO] [stdout] --> src/classic/clvm/mod.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn KEYWORD_FROM_ATOM() -> &'static HashMap, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `keyword_from_atom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `KEYWORD_TO_ATOM` should have a snake case name [INFO] [stdout] --> src/classic/clvm/mod.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn KEYWORD_TO_ATOM() -> &'static HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `keyword_to_atom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `NodePath` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod NodePath; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `node_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mapM` should have a snake case name [INFO] [stdout] --> src/compiler/comptypes.rs:397:8 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn mapM(f: &dyn Fn(&T) -> Result, list: &Vec) -> Result, E> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `map_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foldM` should have a snake case name [INFO] [stdout] --> src/compiler/comptypes.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn foldM(f: &dyn Fn(&R, &T) -> Result, start: R, list: &Vec) -> Result { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `fold_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `argname_ctr` should have an upper case name [INFO] [stdout] --> src/compiler/gensym.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | pub static ref argname_ctr: AtomicUsize = { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ARGNAME_CTR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `PyBytes_Repr` should have a snake case name [INFO] [stdout] --> src/classic/clvm/__type_compatibility__.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn PyBytes_Repr(r: &Vec, dquoted: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `py_bytes_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mapM` should have a snake case name [INFO] [stdout] --> src/classic/clvm/sexp.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn mapM( [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `map_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foldM` should have a snake case name [INFO] [stdout] --> src/classic/clvm/sexp.rs:458:8 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn foldM( [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `fold_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `composedPath` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/NodePath.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let composedPath = compose_paths(&self.index, &other_node.index); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `composed_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | io::stdout().write_all(s.get_value().data()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | io::stdout().write_all(s.get_value().data()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parsedArgs` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | let parsedArgs: HashMap; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parsed_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parsedArgs` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:946:9 [INFO] [stdout] | [INFO] [stdout] 946 | let parsedArgs: HashMap; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parsed_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1133:17 [INFO] [stdout] | [INFO] [stdout] 1133 | write_sym_output(&st, &"main.sym".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1165:9 [INFO] [stdout] | [INFO] [stdout] 1165 | post_eval_req_out.send((at, n)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1170:9 [INFO] [stdout] | [INFO] [stdout] 1170 | pre_eval_req_out.send(new_log); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1250:21 [INFO] [stdout] | [INFO] [stdout] 1250 | pre_out.send(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1271:21 [INFO] [stdout] | [INFO] [stdout] 1271 | post_out.send(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1381:9 [INFO] [stdout] | [INFO] [stdout] 1381 | write_sym_output(&compile_sym_out, &"main.sym".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Type` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/ir/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Type; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 1 | pub mod r#type; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | / res.as_ref().map(|x| { [INFO] [stdout] 274 | | print!( [INFO] [stdout] 275 | | "LOWER_QUOTE {} TO {}\n", [INFO] [stdout] 276 | | disassemble(allocator, prog), [INFO] [stdout] ... | [INFO] [stdout] 279 | | x [INFO] [stdout] 280 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COMPILE_BINDINGS` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | let COMPILE_BINDINGS = compile_bindings(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `compile_bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DEFAULT_MACROS_SRC` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/defaults.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn DEFAULT_MACROS_SRC() -> Vec<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `default_macros_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DEFAULT_MACRO_LOOKUP` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/defaults.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn DEFAULT_MACRO_LOOKUP(allocator: &mut Allocator, runner: Rc) -> NodePtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `default_macro_lookup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `com_atom` should have an upper case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/helpers.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | pub static ref com_atom: Vec = vec!('c' as u8, 'o' as u8, 'm' as u8); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `COM_ATOM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CONS_Q_A_OPTIMIZER_PATTERN` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let CONS_Q_A_OPTIMIZER_PATTERN = cons_q_a_optimizer_pattern(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_q_a_optimizer_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CONS_PATTERN` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let CONS_PATTERN = cons_pattern(allocator); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CONS_PATTERN` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let CONS_PATTERN = cons_pattern(allocator); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CONS_OPTIMIZER_PATTERN_FIRST` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | let CONS_OPTIMIZER_PATTERN_FIRST = cons_optimizer_pattern_first(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_optimizer_pattern_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CONS_OPTIMIZER_PATTERN_REST` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | let CONS_OPTIMIZER_PATTERN_REST = cons_optimizer_pattern_rest(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_optimizer_pattern_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FIRST_ATOM_PATTERN` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | let FIRST_ATOM_PATTERN = first_atom_pattern(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `first_atom_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `REST_ATOM_PATTERN` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | let REST_ATOM_PATTERN = rest_atom_pattern(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rest_atom_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `QUOTE_PATTERN_1` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | let QUOTE_PATTERN_1 = quote_pattern_1(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `quote_pattern_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `APPLY_NULL_PATTERN_1` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:587:9 [INFO] [stdout] | [INFO] [stdout] 587 | let APPLY_NULL_PATTERN_1 = apply_null_pattern_1(allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `apply_null_pattern_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `OPTIMIZERS` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | let OPTIMIZERS: Vec = vec![ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `optimizers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 164 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 21.72s [INFO] running `Command { std: "docker" "inspect" "08271d9fa246072bf63b2586e14271e078e6b041fe169aa6d62032c40dd139a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08271d9fa246072bf63b2586e14271e078e6b041fe169aa6d62032c40dd139a8", kill_on_drop: false }` [INFO] [stdout] 08271d9fa246072bf63b2586e14271e078e6b041fe169aa6d62032c40dd139a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ab2afebbb2429ab55e88b02412c14965f5c5ccbd759dfd8ec45cd2e58aaaef76 [INFO] running `Command { std: "docker" "start" "-a" "ab2afebbb2429ab55e88b02412c14965f5c5ccbd759dfd8ec45cd2e58aaaef76", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp::min` [INFO] [stderr] --> src/classic/clvm_tools/clvmc.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::cmp::min; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/classic/clvm_tools/clvmc.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::classic::platform::distutils::log` [INFO] [stderr] --> src/classic/clvm_tools/clvmc.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use crate::classic::platform::distutils::log; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::classic::clvm_tools::stages::stage_2::optimize::optimize_sexp` [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | use crate::classic::clvm_tools::stages::stage_2::optimize::optimize_sexp; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:597:24 [INFO] [stderr] | [INFO] [stderr] 597 | if (use_col >= line_text.len()) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 597 - if (use_col >= line_text.len()) { [INFO] [stderr] 597 + if use_col >= line_text.len() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:599:31 [INFO] [stderr] | [INFO] [stderr] 599 | } else if (end_col >= line_text.len()) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 599 - } else if (end_col >= line_text.len()) { [INFO] [stderr] 599 + } else if end_col >= line_text.len() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::classic::clvm_tools::sha256tree::sha256tree` [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/compile.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use crate::classic::clvm_tools::sha256tree::sha256tree; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `disassemble` [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/operators.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 18 | assemble_from_ir, disassemble, disassemble_to_ir_with_kw, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `clvm_rs::reduction::EvalErr` [INFO] [stderr] --> src/compiler/clvm.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use clvm_rs::reduction::EvalErr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Sign` [INFO] [stderr] --> src/compiler/clvm.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | use num_bigint::{Sign, ToBigInt}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DefaultProgramRunner` [INFO] [stderr] --> src/compiler/clvm.rs:12:51 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::classic::clvm_tools::stages::stage_0::{DefaultProgramRunner, TRunProgram}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `decode_string` [INFO] [stderr] --> src/compiler/clvm.rs:16:29 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::compiler::sexp::{decode_string, parse_sexp, SExp}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BytesFromType`, `Bytes` [INFO] [stderr] --> src/compiler/codegen.rs:11:60 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::classic::clvm::__type_compatibility__::{bi_one, Bytes, BytesFromType}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `mapM` [INFO] [stderr] --> src/compiler/codegen.rs:16:67 [INFO] [stderr] | [INFO] [stderr] 16 | cons_of_string_map, foldM, join_vecs_to_string, list_to_cons, mapM, with_heading, Binding, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `prims` [INFO] [stderr] --> src/compiler/codegen.rs:25:62 [INFO] [stderr] | [INFO] [stderr] 25 | use crate::compiler::prims::{primapply, primcons, primquote, prims}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `enlist` [INFO] [stderr] --> src/compiler/codegen.rs:27:44 [INFO] [stderr] | [INFO] [stderr] 27 | use crate::compiler::sexp::{decode_string, enlist, SExp}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `number_from_u8` [INFO] [stderr] --> src/compiler/codegen.rs:29:19 [INFO] [stderr] | [INFO] [stderr] 29 | use crate::util::{number_from_u8, u8_from_number}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/compiler/codegen.rs:945:34 [INFO] [stderr] | [INFO] [stderr] 945 | let context = if (inline) { Some(args.clone()) } else { None }; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 945 - let context = if (inline) { Some(args.clone()) } else { None }; [INFO] [stderr] 945 + let context = if inline { Some(args.clone()) } else { None }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BytesFromType`, `Bytes` [INFO] [stderr] --> src/compiler/compiler.rs:8:52 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::classic::clvm::__type_compatibility__::{Bytes, BytesFromType}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DefaultProgramRunner` [INFO] [stderr] --> src/compiler/compiler.rs:9:51 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::classic::clvm_tools::stages::stage_0::{DefaultProgramRunner, TRunProgram}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bi_zero` [INFO] [stderr] --> src/compiler/debug.rs:5:52 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::classic::clvm::__type_compatibility__::{bi_zero, sha256, Bytes, BytesFromType}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::classic::clvm::__type_compatibility__::bi_one` [INFO] [stderr] --> src/compiler/frontend.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::classic::clvm::__type_compatibility__::bi_one; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `decode_string` [INFO] [stderr] --> src/compiler/frontend.rs:14:29 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::compiler::sexp::{decode_string, enlist, SExp}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/compiler/inline.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `process_macro_call` [INFO] [stderr] --> src/compiler/inline.rs:12:54 [INFO] [stderr] | [INFO] [stderr] 12 | generate_expr_code, get_call_name, get_callable, process_macro_call, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `decode_string` [INFO] [stderr] --> src/compiler/inline.rs:17:29 [INFO] [stderr] | [INFO] [stderr] 17 | use crate::compiler::sexp::{decode_string, SExp}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `u8_from_number` [INFO] [stderr] --> src/compiler/inline.rs:20:19 [INFO] [stderr] | [INFO] [stderr] 20 | use crate::util::{u8_from_number, Number}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::compiler::prims::primquote` [INFO] [stderr] --> src/compiler/optimize.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::compiler::prims::primquote; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `CompileErr` [INFO] [stderr] --> src/compiler/rename.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | Binding, BodyForm, CompileErr, CompileForm, HelperForm, LetFormKind, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `num_bigint::ToBigInt` [INFO] [stderr] --> src/compiler/sexp.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use num_bigint::ToBigInt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/compiler/debug.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | tx: &Fn(&SExp) -> X, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 12 - tx: &Fn(&SExp) -> X, [INFO] [stderr] 12 + tx: &dyn Fn(&SExp) -> X, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:741:13 [INFO] [stderr] | [INFO] [stderr] 741 | _ => {} [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/compiler/frontend.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | BodyForm::Value(_) => vec![], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/compiler/clvm.rs:105:20 [INFO] [stderr] | [INFO] [stderr] 105 | SExp::Cons(l, a, nil) => match nil.borrow() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> src/compiler/clvm.rs:105:23 [INFO] [stderr] | [INFO] [stderr] 105 | SExp::Cons(l, a, nil) => match nil.borrow() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l1` [INFO] [stderr] --> src/compiler/clvm.rs:106:23 [INFO] [stderr] | [INFO] [stderr] 106 | SExp::Nil(l1) => run(allocator, runner, prim_map, sexp.clone(), context.clone()), [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_l1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/compiler/clvm.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | l: Srcloc, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/compiler/clvm.rs:129:23 [INFO] [stderr] | [INFO] [stderr] 129 | SExp::Nil(l) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/compiler/clvm.rs:138:24 [INFO] [stderr] | [INFO] [stderr] 138 | SExp::Cons(l, a, b) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `allocator` [INFO] [stderr] --> src/compiler/clvm.rs:116:5 [INFO] [stderr] | [INFO] [stderr] 116 | allocator: &mut Allocator, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `runner` [INFO] [stderr] --> src/compiler/clvm.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | runner: Rc, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prim_map` [INFO] [stderr] --> src/compiler/clvm.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | prim_map: Rc, Rc>>, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prim_map` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/compiler/clvm.rs:162:60 [INFO] [stderr] | [INFO] [stderr] 162 | SExp::Atom(l, x) => allocator.new_atom(x).map_err(|e| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/compiler/clvm.rs:168:71 [INFO] [stderr] | [INFO] [stderr] 168 | SExp::QuotedString(_, _, x) => allocator.new_atom(x).map_err(|e| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/compiler/clvm.rs:178:73 [INFO] [stderr] | [INFO] [stderr] 178 | allocator.new_atom(&u8_from_number(i.clone())).map_err(|e| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/compiler/clvm.rs:188:57 [INFO] [stderr] | [INFO] [stderr] 188 | allocator.new_pair(head, tail).map_err(|e| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/compiler/clvm.rs:162:20 [INFO] [stderr] | [INFO] [stderr] 162 | SExp::Atom(l, x) => allocator.new_atom(x).map_err(|e| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/compiler/clvm.rs:314:24 [INFO] [stderr] | [INFO] [stderr] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/compiler/clvm.rs:314:27 [INFO] [stderr] | [INFO] [stderr] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `head` [INFO] [stderr] --> src/compiler/clvm.rs:314:43 [INFO] [stderr] | [INFO] [stderr] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/compiler/clvm.rs:314:49 [INFO] [stderr] | [INFO] [stderr] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/compiler/clvm.rs:314:58 [INFO] [stderr] | [INFO] [stderr] 314 | (RunStep::Done(l, x), RunStep::Op(head, context, args, None, parent)) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/compiler/clvm.rs:317:24 [INFO] [stderr] | [INFO] [stderr] 317 | (RunStep::Done(l, x), RunStep::Step(sexp, context, parent)) => combine(a, parent.borrow()), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/compiler/clvm.rs:317:27 [INFO] [stderr] | [INFO] [stderr] 317 | (RunStep::Done(l, x), RunStep::Step(sexp, context, parent)) => combine(a, parent.borrow()), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sexp` [INFO] [stderr] --> src/compiler/clvm.rs:317:45 [INFO] [stderr] | [INFO] [stderr] 317 | (RunStep::Done(l, x), RunStep::Step(sexp, context, parent)) => combine(a, parent.borrow()), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sexp` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/compiler/clvm.rs:317:51 [INFO] [stderr] | [INFO] [stderr] 317 | (RunStep::Done(l, x), RunStep::Step(sexp, context, parent)) => combine(a, parent.borrow()), [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/compiler/clvm.rs:341:23 [INFO] [stderr] | [INFO] [stderr] 341 | RunStep::Done(l, x) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/compiler/clvm.rs:341:26 [INFO] [stderr] | [INFO] [stderr] 341 | RunStep::Done(l, x) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/compiler/clvm.rs:436:27 [INFO] [stderr] | [INFO] [stderr] 436 | RunStep::Op(head, context, tail, None, parent) => { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arg_strs` [INFO] [stderr] --> src/compiler/codegen.rs:349:9 [INFO] [stderr] | [INFO] [stderr] 349 | let arg_strs: Vec = args.iter().map(|x| x.to_sexp().to_string()).collect(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_strs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/compiler/codegen.rs:589:23 [INFO] [stderr] | [INFO] [stderr] 589 | BodyForm::Let(l, LetFormKind::Parallel, bindings, expr) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bindings` [INFO] [stderr] --> src/compiler/codegen.rs:589:49 [INFO] [stderr] | [INFO] [stderr] 589 | BodyForm::Let(l, LetFormKind::Parallel, bindings, expr) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bindings` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/compiler/codegen.rs:735:41 [INFO] [stderr] | [INFO] [stderr] 735 | HelperForm::Defmacro(loc, name, args, body) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `compiler` [INFO] [stderr] --> src/compiler/codegen.rs:855:5 [INFO] [stderr] | [INFO] [stderr] 855 | compiler: &PrimaryCodegen, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/compiler/codegen.rs:882:22 [INFO] [stderr] | [INFO] [stderr] 882 | fn generate_let_args(l: Srcloc, blist: Vec>) -> Vec> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: variable `subcompiler` is assigned to, but never used [INFO] [stderr] --> src/compiler/codegen.rs:938:13 [INFO] [stderr] | [INFO] [stderr] 938 | let mut subcompiler = compiler.clone(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_subcompiler` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `subcompiler` is never read [INFO] [stderr] --> src/compiler/codegen.rs:960:17 [INFO] [stderr] | [INFO] [stderr] 960 | subcompiler = [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/compiler/codegen.rs:1036:5 [INFO] [stderr] | [INFO] [stderr] 1036 | l: Srcloc, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/compiler/compiler.rs:151:21 [INFO] [stderr] | [INFO] [stderr] 151 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/compiler/comptypes.rs:228:45 [INFO] [stderr] | [INFO] [stderr] 228 | HelperForm::Defmacro(loc, name, args, body) => Rc::new(SExp::Cons( [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/compiler/debug.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | SExp::Cons(l, a, b) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/compiler/frontend.rs:342:27 [INFO] [stderr] | [INFO] [stderr] 342 | SExp::Nil(l) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/compiler/frontend.rs:371:26 [INFO] [stderr] | [INFO] [stderr] 371 | SExp::Cons(_, f, r) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/compiler/inline.rs:108:20 [INFO] [stderr] | [INFO] [stderr] 108 | SExp::Atom(l, a) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/compiler/inline.rs:126:20 [INFO] [stderr] | [INFO] [stderr] 126 | SExp::Cons(l, f, r) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arg_str_vec` [INFO] [stderr] --> src/compiler/inline.rs:167:9 [INFO] [stderr] | [INFO] [stderr] 167 | let arg_str_vec: Vec = args.iter().map(|x| x.to_sexp().to_string()).collect(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_str_vec` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/compiler/inline.rs:170:23 [INFO] [stderr] | [INFO] [stderr] 170 | BodyForm::Let(l, _, bindings, body) => Err(CompileErr( [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bindings` [INFO] [stderr] --> src/compiler/inline.rs:170:29 [INFO] [stderr] | [INFO] [stderr] 170 | BodyForm::Let(l, _, bindings, body) => Err(CompileErr( [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bindings` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body` [INFO] [stderr] --> src/compiler/inline.rs:170:39 [INFO] [stderr] | [INFO] [stderr] 170 | BodyForm::Let(l, _, bindings, body) => Err(CompileErr( [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arg_str_vec` [INFO] [stderr] --> src/compiler/inline.rs:237:9 [INFO] [stderr] | [INFO] [stderr] 237 | let arg_str_vec: Vec = args.iter().map(|x| x.to_sexp().to_string()).collect(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_str_vec` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/compiler/optimize.rs:50:41 [INFO] [stderr] | [INFO] [stderr] 50 | Callable::CallMacro(l, _) => None, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/compiler/optimize.rs:54:41 [INFO] [stderr] | [INFO] [stderr] 54 | Callable::CallDefun(l, target) => None, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `target` [INFO] [stderr] --> src/compiler/optimize.rs:54:44 [INFO] [stderr] | [INFO] [stderr] 54 | Callable::CallDefun(l, target) => None, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `names` [INFO] [stderr] --> src/compiler/rename.rs:139:9 [INFO] [stderr] | [INFO] [stderr] 139 | let names: Vec = namemap.iter().map(|x| decode_string(x.0)).collect(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/compiler/rename.rs:211:23 [INFO] [stderr] | [INFO] [stderr] 211 | BodyForm::Let(l, LetFormKind::Sequential, bindings, body) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `written` [INFO] [stderr] --> src/classic/clvm_tools/clvmc.rs:148:17 [INFO] [stderr] | [INFO] [stderr] 148 | let written = temp_output_file [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_written` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:467:38 [INFO] [stderr] | [INFO] [stderr] 467 | ArgumentValue::ArgString(f, s) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:507:23 [INFO] [stderr] | [INFO] [stderr] 507 | .map_err(|e| CompileErr(prog_srcloc, "Failed to parse hex".to_string())) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:615:37 [INFO] [stderr] | [INFO] [stderr] 615 | sexp::SExp::Integer(l, i) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context_result` [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:655:47 [INFO] [stderr] | [INFO] [stderr] 655 | whether_is_apply(s, context_result, &|context_result| {}, &|context_result| { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context_result` [INFO] [stderr] [INFO] [stderr] warning: variable `hex` is assigned to, but never used [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:353:13 [INFO] [stderr] | [INFO] [stderr] 353 | let mut hex = false; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_hex` instead [INFO] [stderr] [INFO] [stderr] warning: variable `dpr` is assigned to, but never used [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:354:9 [INFO] [stderr] | [INFO] [stderr] 354 | let dpr; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_dpr` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:435:39 [INFO] [stderr] | [INFO] [stderr] 435 | Some(ArgumentValue::ArgString(f, s)) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: variable `run_program` is assigned to, but never used [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:441:9 [INFO] [stderr] | [INFO] [stderr] 441 | let run_program: Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_run_program` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `dpr` is never read [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:452:13 [INFO] [stderr] | [INFO] [stderr] 452 | dpr = special_runner.clone(); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `run_program` is never read [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:453:13 [INFO] [stderr] | [INFO] [stderr] 453 | run_program = special_runner; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `dpr` is never read [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:457:13 [INFO] [stderr] | [INFO] [stderr] 457 | dpr = ordinary_runner.clone(); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `run_program` is never read [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:458:13 [INFO] [stderr] | [INFO] [stderr] 458 | run_program = ordinary_runner; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `program` is never read [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:490:13 [INFO] [stderr] | [INFO] [stderr] 490 | let mut program = Rc::new(sexp::SExp::Nil(Srcloc::start(&"*nil*".to_string()))); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `hex` is never read [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:500:13 [INFO] [stderr] | [INFO] [stderr] 500 | hex = true; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `history_len` [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:677:25 [INFO] [stderr] | [INFO] [stderr] 677 | let history_len = get_history_len(p.clone()); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history_len` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `in_expr` is never read [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:693:21 [INFO] [stderr] | [INFO] [stderr] 693 | in_expr = false; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sexp` [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:706:30 [INFO] [stderr] | [INFO] [stderr] 706 | Ok(RunStep::Step(sexp, c, p)) => {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sexp` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:706:36 [INFO] [stderr] | [INFO] [stderr] 706 | Ok(RunStep::Step(sexp, c, p)) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:706:39 [INFO] [stderr] | [INFO] [stderr] 706 | Ok(RunStep::Step(sexp, c, p)) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `history_len` [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:708:21 [INFO] [stderr] | [INFO] [stderr] 708 | let history_len = get_history_len(p.clone()); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history_len` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sexp` [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:726:28 [INFO] [stderr] | [INFO] [stderr] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sexp` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:726:34 [INFO] [stderr] | [INFO] [stderr] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:726:37 [INFO] [stderr] | [INFO] [stderr] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:726:45 [INFO] [stderr] | [INFO] [stderr] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:726:49 [INFO] [stderr] | [INFO] [stderr] 726 | Ok(RunStep::Op(sexp, c, a, Some(v), p)) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: value captured by `output` is never read [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:1368:13 [INFO] [stderr] | [INFO] [stderr] 1368 | output [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: did you mean to capture by reference instead? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:1059:47 [INFO] [stderr] | [INFO] [stderr] 1059 | Some(ArgumentValue::ArgString(f, s)) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `first` is never read [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:244:21 [INFO] [stderr] | [INFO] [stderr] 244 | let mut first = sexp; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `runner` [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:787:9 [INFO] [stderr] | [INFO] [stderr] 787 | let runner = run_program_for_search_paths(&vec![".".to_string()]); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:590:21 [INFO] [stderr] | [INFO] [stderr] 590 | let mut use_col = coords.1; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `lookup_prim` [INFO] [stderr] --> src/compiler/codegen.rs:190:4 [INFO] [stderr] | [INFO] [stderr] 190 | fn lookup_prim( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `codegen_to_sexp` [INFO] [stderr] --> src/compiler/codegen.rs:207:4 [INFO] [stderr] | [INFO] [stderr] 207 | fn codegen_to_sexp(opts: Rc, compiler: &PrimaryCodegen) -> SExp { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `collapse` [INFO] [stderr] --> src/compiler/runtypes.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | fn collapse(r: Result) -> A { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run_to_string` [INFO] [stderr] --> src/compiler/runtypes.rs:32:4 [INFO] [stderr] | [INFO] [stderr] 32 | fn run_to_string(cvt: &dyn Fn(&A) -> String, r: Result) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `value` [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:309:5 [INFO] [stderr] | [INFO] [stderr] 309 | value: Rc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PriorResult` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:306:10 [INFO] [stderr] | [INFO] [stderr] 306 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `desc` [INFO] [stderr] --> src/classic/platform/argparse.rs:140:5 [INFO] [stderr] | [INFO] [stderr] 140 | desc: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ArgumentParser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/classic/platform/argparse.rs:137:10 [INFO] [stderr] | [INFO] [stderr] 137 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `kw_translation` [INFO] [stderr] --> src/classic/clvm_tools/ir/writer.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | kw_translation: HashMap>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IROutputIterator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/classic/clvm_tools/ir/writer.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `dequote` [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/compile.rs:755:4 [INFO] [stderr] | [INFO] [stderr] 755 | fn dequote(allocator: &mut Allocator, prog: NodePtr) -> NodePtr { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_expand_macro` [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/compile.rs:891:4 [INFO] [stderr] | [INFO] [stderr] 891 | fn test_expand_macro( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_inner_expansion` [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/compile.rs:917:4 [INFO] [stderr] | [INFO] [stderr] 917 | fn test_inner_expansion( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_do_com_prog` [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/compile.rs:930:4 [INFO] [stderr] | [INFO] [stderr] 930 | fn test_do_com_prog( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_cons_q_a` [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:737:4 [INFO] [stderr] | [INFO] [stderr] 737 | fn test_cons_q_a(src: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_var_change_optimizer_cons_eval` [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:746:4 [INFO] [stderr] | [INFO] [stderr] 746 | fn test_var_change_optimizer_cons_eval(src: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_children_optimizer` [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:756:4 [INFO] [stderr] | [INFO] [stderr] 756 | fn test_children_optimizer(src: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_constant_optimizer` [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:765:4 [INFO] [stderr] | [INFO] [stderr] 765 | fn test_constant_optimizer(src: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_optimizer` [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:774:4 [INFO] [stderr] | [INFO] [stderr] 774 | fn test_optimizer(src: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_sub_args` [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:783:4 [INFO] [stderr] | [INFO] [stderr] 783 | fn test_sub_args(src: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `constant_optimize_test_from_file` [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:868:4 [INFO] [stderr] | [INFO] [stderr] 868 | fn constant_optimize_test_from_file(src: String) -> (String, String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `kw_pairs` should have an upper case name [INFO] [stderr] --> src/classic/clvm/mod.rs:15:7 [INFO] [stderr] | [INFO] [stderr] 15 | const kw_pairs: [KwAtomPair; 32] = [ [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `KW_PAIRS` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `KEYWORD_FROM_ATOM` should have a snake case name [INFO] [stderr] --> src/classic/clvm/mod.rs:103:8 [INFO] [stderr] | [INFO] [stderr] 103 | pub fn KEYWORD_FROM_ATOM() -> &'static HashMap, String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `keyword_from_atom` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `KEYWORD_TO_ATOM` should have a snake case name [INFO] [stderr] --> src/classic/clvm/mod.rs:107:8 [INFO] [stderr] | [INFO] [stderr] 107 | pub fn KEYWORD_TO_ATOM() -> &'static HashMap> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `keyword_to_atom` [INFO] [stderr] [INFO] [stderr] warning: module `NodePath` should have a snake case name [INFO] [stderr] --> src/classic/clvm_tools/mod.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | pub mod NodePath; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `node_path` [INFO] [stderr] [INFO] [stderr] warning: function `mapM` should have a snake case name [INFO] [stderr] --> src/compiler/comptypes.rs:397:8 [INFO] [stderr] | [INFO] [stderr] 397 | pub fn mapM(f: &dyn Fn(&T) -> Result, list: &Vec) -> Result, E> { [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `map_m` [INFO] [stderr] [INFO] [stderr] warning: function `foldM` should have a snake case name [INFO] [stderr] --> src/compiler/comptypes.rs:406:8 [INFO] [stderr] | [INFO] [stderr] 406 | pub fn foldM(f: &dyn Fn(&R, &T) -> Result, start: R, list: &Vec) -> Result { [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `fold_m` [INFO] [stderr] [INFO] [stderr] warning: static variable `argname_ctr` should have an upper case name [INFO] [stderr] --> src/compiler/gensym.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | pub static ref argname_ctr: AtomicUsize = { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ARGNAME_CTR` [INFO] [stderr] [INFO] [stderr] warning: function `PyBytes_Repr` should have a snake case name [INFO] [stderr] --> src/classic/clvm/__type_compatibility__.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn PyBytes_Repr(r: &Vec, dquoted: bool) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `py_bytes_repr` [INFO] [stderr] [INFO] [stderr] warning: function `mapM` should have a snake case name [INFO] [stderr] --> src/classic/clvm/sexp.rs:435:8 [INFO] [stderr] | [INFO] [stderr] 435 | pub fn mapM( [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `map_m` [INFO] [stderr] [INFO] [stderr] warning: function `foldM` should have a snake case name [INFO] [stderr] --> src/classic/clvm/sexp.rs:458:8 [INFO] [stderr] | [INFO] [stderr] 458 | pub fn foldM( [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `fold_m` [INFO] [stderr] [INFO] [stderr] warning: variable `composedPath` should have a snake case name [INFO] [stderr] --> src/classic/clvm_tools/NodePath.rs:91:13 [INFO] [stderr] | [INFO] [stderr] 91 | let composedPath = compose_paths(&self.index, &other_node.index); [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `composed_path` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:251:5 [INFO] [stderr] | [INFO] [stderr] 251 | io::stdout().write_all(s.get_value().data()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:257:5 [INFO] [stderr] | [INFO] [stderr] 257 | io::stdout().write_all(s.get_value().data()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: variable `parsedArgs` should have a snake case name [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:401:9 [INFO] [stderr] | [INFO] [stderr] 401 | let parsedArgs: HashMap; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `parsed_args` [INFO] [stderr] [INFO] [stderr] warning: variable `parsedArgs` should have a snake case name [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:946:9 [INFO] [stderr] | [INFO] [stderr] 946 | let parsedArgs: HashMap; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `parsed_args` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:1133:17 [INFO] [stderr] | [INFO] [stderr] 1133 | write_sym_output(&st, &"main.sym".to_string()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:1165:9 [INFO] [stderr] | [INFO] [stderr] 1165 | post_eval_req_out.send((at, n)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:1170:9 [INFO] [stderr] | [INFO] [stderr] 1170 | pre_eval_req_out.send(new_log); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:1250:21 [INFO] [stderr] | [INFO] [stderr] 1250 | pre_out.send(()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:1271:21 [INFO] [stderr] | [INFO] [stderr] 1271 | post_out.send(()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/classic/clvm_tools/cmds.rs:1381:9 [INFO] [stderr] | [INFO] [stderr] 1381 | write_sym_output(&compile_sym_out, &"main.sym".to_string()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: module `Type` should have a snake case name [INFO] [stderr] --> src/classic/clvm_tools/ir/mod.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | pub mod Type; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stderr] | [INFO] [stderr] 1 | pub mod r#type; [INFO] [stderr] | ~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/compile.rs:273:9 [INFO] [stderr] | [INFO] [stderr] 273 | / res.as_ref().map(|x| { [INFO] [stderr] 274 | | print!( [INFO] [stderr] 275 | | "LOWER_QUOTE {} TO {}\n", [INFO] [stderr] 276 | | disassemble(allocator, prog), [INFO] [stderr] ... | [INFO] [stderr] 279 | | x [INFO] [stderr] 280 | | }); [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: variable `COMPILE_BINDINGS` should have a snake case name [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/compile.rs:436:9 [INFO] [stderr] | [INFO] [stderr] 436 | let COMPILE_BINDINGS = compile_bindings(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `compile_bindings` [INFO] [stderr] [INFO] [stderr] warning: function `DEFAULT_MACROS_SRC` should have a snake case name [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/defaults.rs:22:4 [INFO] [stderr] | [INFO] [stderr] 22 | fn DEFAULT_MACROS_SRC() -> Vec<&'static str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `default_macros_src` [INFO] [stderr] [INFO] [stderr] warning: function `DEFAULT_MACRO_LOOKUP` should have a snake case name [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/defaults.rs:101:8 [INFO] [stderr] | [INFO] [stderr] 101 | pub fn DEFAULT_MACRO_LOOKUP(allocator: &mut Allocator, runner: Rc) -> NodePtr { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `default_macro_lookup` [INFO] [stderr] [INFO] [stderr] warning: static variable `com_atom` should have an upper case name [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/helpers.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | pub static ref com_atom: Vec = vec!('c' as u8, 'o' as u8, 'm' as u8); [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `COM_ATOM` [INFO] [stderr] [INFO] [stderr] warning: variable `CONS_Q_A_OPTIMIZER_PATTERN` should have a snake case name [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:151:9 [INFO] [stderr] | [INFO] [stderr] 151 | let CONS_Q_A_OPTIMIZER_PATTERN = cons_q_a_optimizer_pattern(allocator); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_q_a_optimizer_pattern` [INFO] [stderr] [INFO] [stderr] warning: variable `CONS_PATTERN` should have a snake case name [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:181:13 [INFO] [stderr] | [INFO] [stderr] 181 | let CONS_PATTERN = cons_pattern(allocator); [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_pattern` [INFO] [stderr] [INFO] [stderr] warning: variable `CONS_PATTERN` should have a snake case name [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:197:13 [INFO] [stderr] | [INFO] [stderr] 197 | let CONS_PATTERN = cons_pattern(allocator); [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_pattern` [INFO] [stderr] [INFO] [stderr] warning: variable `CONS_OPTIMIZER_PATTERN_FIRST` should have a snake case name [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:475:9 [INFO] [stderr] | [INFO] [stderr] 475 | let CONS_OPTIMIZER_PATTERN_FIRST = cons_optimizer_pattern_first(allocator); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_optimizer_pattern_first` [INFO] [stderr] [INFO] [stderr] warning: variable `CONS_OPTIMIZER_PATTERN_REST` should have a snake case name [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:476:9 [INFO] [stderr] | [INFO] [stderr] 476 | let CONS_OPTIMIZER_PATTERN_REST = cons_optimizer_pattern_rest(allocator); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cons_optimizer_pattern_rest` [INFO] [stderr] [INFO] [stderr] warning: variable `FIRST_ATOM_PATTERN` should have a snake case name [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:512:9 [INFO] [stderr] | [INFO] [stderr] 512 | let FIRST_ATOM_PATTERN = first_atom_pattern(allocator); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `first_atom_pattern` [INFO] [stderr] [INFO] [stderr] warning: variable `REST_ATOM_PATTERN` should have a snake case name [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:513:9 [INFO] [stderr] | [INFO] [stderr] 513 | let REST_ATOM_PATTERN = rest_atom_pattern(allocator); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rest_atom_pattern` [INFO] [stderr] [INFO] [stderr] warning: variable `QUOTE_PATTERN_1` should have a snake case name [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:571:9 [INFO] [stderr] | [INFO] [stderr] 571 | let QUOTE_PATTERN_1 = quote_pattern_1(allocator); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `quote_pattern_1` [INFO] [stderr] [INFO] [stderr] warning: variable `APPLY_NULL_PATTERN_1` should have a snake case name [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:587:9 [INFO] [stderr] | [INFO] [stderr] 587 | let APPLY_NULL_PATTERN_1 = apply_null_pattern_1(allocator); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `apply_null_pattern_1` [INFO] [stderr] [INFO] [stderr] warning: variable `OPTIMIZERS` should have a snake case name [INFO] [stderr] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:635:9 [INFO] [stderr] | [INFO] [stderr] 635 | let OPTIMIZERS: Vec = vec![ [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `optimizers` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp::min` [INFO] [stderr] --> src/classic/clvm_tools/clvmc.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::cmp::min; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `clvm_tools_rs` (lib) generated 173 warnings [INFO] [stderr] warning: `clvm_tools_rs` (lib test) generated 164 warnings (163 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/clvm_tools_rs-565489311e0a2fb8) [INFO] [stdout] running 93 tests [INFO] [stdout] test classic::clvm_tools::stages::stage_2::optimize::seems_constant_quote_test ... ok [INFO] [stdout] test classic::clvm_tools::stages::stage_2::optimize::test_sub_args_1 ... ok [INFO] [stdout] test classic::clvm_tools::stages::stage_2::optimize::constant_optimizer_example ... ok [INFO] [stdout] test classic::clvm_tools::stages::stage_2::optimize::children_optimizer_example ... ok [INFO] [stdout] test classic::clvm_tools::stages::stage_2::optimize::test_path_optimizer_3 ... ok [INFO] [stdout] test classic::clvm_tools::stages::stage_2::optimize::cons_q_a_simple ... ok [INFO] [stdout] test classic::clvm_tools::stages::stage_2::compile::test_inner_macro_exp ... ok [INFO] [stdout] test classic::clvm_tools::stages::stage_2::optimize::test_path_optimizer_5 ... ok [INFO] [stdout] test classic::clvm_tools::stages::stage_2::optimize::children_optimizer_test_2 ... ok [INFO] [stdout] test tests::classic::smoke::basic_opc_lil ... ok [INFO] [stdout] test classic::clvm_tools::stages::stage_2::compile::test_macro_expansion ... ok [INFO] [stdout] test classic::clvm_tools::stages::stage_2::compile::test_compile_during_assert_1 ... ok [INFO] [stdout] test classic::clvm_tools::stages::stage_2::optimize::test_optimizer_q_empty_list ... ok [INFO] [stdout] test tests::classic::smoke::basic_opd ... ok [INFO] [stdout] test tests::classic::smoke::basic_opc ... ok [INFO] [stdout] test tests::classic::smoke::can_echo_quoted ... ok [INFO] [stdout] test tests::classic::smoke::can_do_operations_kw ... ok [INFO] [stdout] test tests::classic::smoke::can_do_operations ... ok [INFO] [stdout] test tests::classic::smoke::basic_opc_quoted_1 ... ok [INFO] [stdout] test tests::classic::smoke::can_echo_quoted_atom ... ok [INFO] [stdout] test tests::classic::smoke::can_run_from_source_nil ... ok [INFO] [stdout] test tests::classic::smoke::can_echo_quoted_nil ... ok [INFO] [stdout] test classic::clvm_tools::stages::stage_2::optimize::cons_q_a_optimizer_example ... ok [INFO] [stdout] test tests::classic::smoke::nil_in_list_opd ... ok [INFO] [stdout] test classic::clvm_tools::stages::stage_2::optimize::test_optimize_1 ... ok [INFO] [stdout] test tests::classic::smoke::node_path_2nd_of_list ... ok [INFO] [stdout] test tests::classic::smoke::node_path_top_left ... ok [INFO] [stdout] test tests::classic::run::brun_v_test ... ok [INFO] [stdout] test tests::classic::smoke::node_path_top_right ... ok [INFO] [stdout] test tests::classic::smoke::opc_ten_million ... ok [INFO] [stdout] test tests::classic::run::brun_y_1_test ... ok [INFO] [stdout] test tests::compiler::clvm::test_clvm_1 ... ok [INFO] [stdout] test tests::compiler::clvm::test_clvm_2 ... ok [INFO] [stdout] test tests::compiler::clvm::test_clvm_3 ... ok [INFO] [stdout] test tests::compiler::clvm::test_clvm_4 ... ok [INFO] [stdout] test tests::compiler::clvm::test_sexp_parse_1 ... ok [INFO] [stdout] test tests::compiler::clvm::test_sexp_parse_2 ... ok [INFO] [stdout] test tests::compiler::clvm::test_sexp_parse_3 ... ok [INFO] [stdout] test tests::compiler::clvm::test_sexp_parse_4 ... ok [INFO] [stdout] test tests::compiler::clvm::test_sexp_parse_5 ... ok [INFO] [stdout] test tests::compiler::clvm::test_sexp_parse_6 ... ok [INFO] [stdout] test tests::compiler::clvm::test_sexp_parse_7 ... ok [INFO] [stdout] test tests::compiler::clvm::test_sexp_parse_8 ... ok [INFO] [stdout] test tests::compiler::compiler::cant_redefine_defconstant ... ok [INFO] [stdout] test classic::clvm_tools::stages::stage_2::compile::test_compile_check_output_diag_assert ... ok [INFO] [stdout] test tests::compiler::compiler::compile_test_1 ... ok [INFO] [stdout] test classic::clvm_tools::stages::stage_2::compile::test_compile_assert_2 ... ok [INFO] [stdout] test tests::compiler::compiler::compile_test_2 ... ok [INFO] [stdout] test tests::compiler::compiler::cant_redefine_defun_with_defun ... ok [INFO] [stdout] test tests::compiler::compiler::compile_test_3 ... ok [INFO] [stdout] test tests::compiler::compiler::compile_test_4 ... ok [INFO] [stdout] test tests::compiler::compiler::compile_test_5 ... ok [INFO] [stdout] test tests::compiler::compiler::inline_compile_test ... ok [INFO] [stdout] test tests::compiler::compiler::compile_test_6 ... ok [INFO] [stdout] test tests::compiler::compiler::run_inlines ... ok [INFO] [stdout] test tests::compiler::compiler::run_inlines_2 ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_1 ... ok [INFO] [stdout] test tests::classic::smoke::compile_prog_with_args ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_10 ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_2 ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_3 ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_4 ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_8 ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_5 ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_6 ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_at_form ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_9 ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_intermediate_let_1 ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_intermediate_let_1_1 ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_intermediate_let_1_3 ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_7 ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_inline_with_macro_call ... ok [INFO] [stdout] test tests::classic::smoke::basic_if_expansion ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_intermediate_let_1_2 ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_intermediate_let_1_4 ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_intermediate_let_2 ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_intermediate_let_final ... ok [INFO] [stdout] test tests::compiler::test_sexp_parse_print ... ok [INFO] [stdout] test tests::classic::smoke::compile_function_macro ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_let_star_2_deep ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_normal_with_macro_call ... ok [INFO] [stdout] test tests::classic::smoke::very_simple_compile ... ok [INFO] [stdout] test tests::compiler::compiler::run_test_let_star_3_deep ... ok [INFO] [stdout] test tests::compiler::compiler::test_defconstant ... ok [INFO] [stdout] test tests::classic::run::basic_run_test ... ok [INFO] [stdout] test tests::classic::run::brun_constant_test ... ok [INFO] [stdout] test tests::classic::smoke::basic_assert_macro ... ok [INFO] [stdout] test tests::classic::run::add_1_test ... ok [INFO] [stdout] test tests::classic::smoke::quoted_negative ... ok [INFO] [stdout] test tests::classic::smoke::map_6 ... ok [INFO] [stdout] test tests::classic::smoke::macro_mod_1 ... ok [INFO] [stdout] test tests::classic::smoke::big_decode_opd ... ok [INFO] [stdout] test tests::classic::smoke::pool_member_innerpuz ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 93 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 11.36s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/brun-39235641e5389d71) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cldb-8982c6f602b1f55d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/opc-157edd1c8a874f4e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/opd-6da59949b1195b11) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/run-783ee47b9771b571) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests clvm_tools_rs [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> /opt/rustwide/workdir/src/classic/clvm_tools/cmds.rs:597:24 [INFO] [stderr] | [INFO] [stderr] 597 | if (use_col >= line_text.len()) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 597 - if (use_col >= line_text.len()) { [INFO] [stderr] 597 + if use_col >= line_text.len() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> /opt/rustwide/workdir/src/classic/clvm_tools/cmds.rs:599:31 [INFO] [stderr] | [INFO] [stderr] 599 | } else if (end_col >= line_text.len()) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 599 - } else if (end_col >= line_text.len()) { [INFO] [stderr] 599 + } else if end_col >= line_text.len() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> /opt/rustwide/workdir/src/compiler/codegen.rs:945:34 [INFO] [stderr] | [INFO] [stderr] 945 | let context = if (inline) { Some(args.clone()) } else { None }; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 945 - let context = if (inline) { Some(args.clone()) } else { None }; [INFO] [stderr] 945 + let context = if inline { Some(args.clone()) } else { None }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ab2afebbb2429ab55e88b02412c14965f5c5ccbd759dfd8ec45cd2e58aaaef76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab2afebbb2429ab55e88b02412c14965f5c5ccbd759dfd8ec45cd2e58aaaef76", kill_on_drop: false }` [INFO] [stdout] ab2afebbb2429ab55e88b02412c14965f5c5ccbd759dfd8ec45cd2e58aaaef76