[INFO] fetching crate clvm_tools_rs 0.1.23... [INFO] building clvm_tools_rs-0.1.23 against master#c2804e6ec2c29a5c7368600ea173b890e2655c3d for pr-97334-1 [INFO] extracting crate clvm_tools_rs 0.1.23 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate clvm_tools_rs 0.1.23 on toolchain c2804e6ec2c29a5c7368600ea173b890e2655c3d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate clvm_tools_rs 0.1.23 [INFO] finished tweaking crates.io crate clvm_tools_rs 0.1.23 [INFO] tweaked toml for crates.io crate clvm_tools_rs 0.1.23 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate clvm_tools_rs 0.1.23 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.25 [INFO] [stderr] Downloaded cpufeatures v0.1.5 [INFO] [stderr] Downloaded unindent v0.1.9 [INFO] [stderr] Downloaded sha2 v0.9.5 [INFO] [stderr] Downloaded pyo3-build-config v0.14.5 [INFO] [stderr] Downloaded pyo3-build-config v0.15.2 [INFO] [stderr] Downloaded num-bigint v0.4.0 [INFO] [stderr] Downloaded do-notation v0.1.3 [INFO] [stderr] Downloaded pairing v0.20.0 [INFO] [stderr] Downloaded encoding8 v0.3.2 [INFO] [stderr] Downloaded bytestream v0.4.1 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.25 [INFO] [stderr] Downloaded base91 v0.0.1 [INFO] [stderr] Downloaded indoc v1.0.6 [INFO] [stderr] Downloaded binascii v0.1.4 [INFO] [stderr] Downloaded wyz v0.4.0 [INFO] [stderr] Downloaded bls12_381 v0.5.0 [INFO] [stderr] Downloaded bitvec v0.22.3 [INFO] [stderr] Downloaded pyo3-macros-backend v0.14.5 [INFO] [stderr] Downloaded pyo3 v0.14.5 [INFO] [stderr] Downloaded clvmr v0.1.21 [INFO] [stderr] Downloaded web-sys v0.3.52 [INFO] [stderr] Downloaded pyo3-macros v0.14.5 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.25 [INFO] [stderr] Downloaded funty v1.2.0 [INFO] [stderr] Downloaded ff v0.10.1 [INFO] [stderr] Downloaded group v0.10.0 [INFO] [stderr] Downloaded skimmer v0.0.2 [INFO] [stderr] Downloaded yamlette v0.0.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bad1a9ae968f2d18024bfddfa3c285dda62db0f3ab531cd8e56898b05d1f165 [INFO] running `Command { std: "docker" "start" "-a" "6bad1a9ae968f2d18024bfddfa3c285dda62db0f3ab531cd8e56898b05d1f165", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bad1a9ae968f2d18024bfddfa3c285dda62db0f3ab531cd8e56898b05d1f165", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bad1a9ae968f2d18024bfddfa3c285dda62db0f3ab531cd8e56898b05d1f165", kill_on_drop: false }` [INFO] [stdout] 6bad1a9ae968f2d18024bfddfa3c285dda62db0f3ab531cd8e56898b05d1f165 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f3b3257006c3fd74527784a58c227053b04528271817b3f0173860f5d45db6c [INFO] running `Command { std: "docker" "start" "-a" "1f3b3257006c3fd74527784a58c227053b04528271817b3f0173860f5d45db6c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pyo3-build-config v0.14.5 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling funty v1.2.0 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unindent v0.1.9 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base91 v0.0.1 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling skimmer v0.0.2 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling do-notation v0.1.3 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling indoc v1.0.6 [INFO] [stderr] Compiling encoding8 v0.3.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling wyz v0.4.0 [INFO] [stderr] Compiling bytestream v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling bitvec v0.22.3 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling num-complex v0.4.1 [INFO] [stderr] Compiling pyo3 v0.14.5 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.5 [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.2.1 [INFO] [stderr] Compiling fraction v0.6.3 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling clvmr v0.1.21 [INFO] [stderr] Compiling yamlette v0.0.8 [INFO] [stderr] Compiling pyo3-macros-backend v0.14.5 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling pyo3-macros v0.14.5 [INFO] [stderr] Compiling indoc v0.3.6 [INFO] [stderr] Compiling clvm_tools_rs v0.1.23 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_0.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `output` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1168:13 [INFO] [stdout] | [INFO] [stdout] 1168 | output [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: did you mean to capture by reference instead? [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:241:21 [INFO] [stdout] | [INFO] [stdout] 241 | 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:770:9 [INFO] [stdout] | [INFO] [stdout] 770 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/compiler/rename.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | 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: `t` [INFO] [stdout] --> src/py/api.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | let t = thread::spawn(move || { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/operators.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | let mut max_cost = option [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: field `kw_translation` is never read [INFO] [stdout] --> src/classic/clvm_tools/ir/writer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct IROutputIterator { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 22 | kw_translation: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `IROutputIterator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dequote` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:729:4 [INFO] [stdout] | [INFO] [stdout] 729 | fn dequote(allocator: &mut Allocator, prog: NodePtr) -> NodePtr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_expand_macro` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:802:4 [INFO] [stdout] | [INFO] [stdout] 802 | fn test_expand_macro( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_inner_expansion` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:828:4 [INFO] [stdout] | [INFO] [stdout] 828 | fn test_inner_expansion( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_do_com_prog` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:841:4 [INFO] [stdout] | [INFO] [stdout] 841 | fn test_do_com_prog( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base_runner` is never read [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/operators.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct CompilerOperators { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 29 | base_dialect: Rc, [INFO] [stdout] 30 | base_runner: Rc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `drop` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/operators.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn drop(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `runner` is never read [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DoOptProg { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 29 | runner: Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoOptProg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cons_q_a` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:720:4 [INFO] [stdout] | [INFO] [stdout] 720 | fn test_cons_q_a(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_var_change_optimizer_cons_eval` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:729:4 [INFO] [stdout] | [INFO] [stdout] 729 | fn test_var_change_optimizer_cons_eval(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_children_optimizer` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:739:4 [INFO] [stdout] | [INFO] [stdout] 739 | fn test_children_optimizer(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_constant_optimizer` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:748:4 [INFO] [stdout] | [INFO] [stdout] 748 | fn test_constant_optimizer(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_optimizer` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:757:4 [INFO] [stdout] | [INFO] [stdout] 757 | fn test_optimizer(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_sub_args` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:766:4 [INFO] [stdout] | [INFO] [stdout] 766 | fn test_sub_args(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `constant_optimize_test_from_file` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:851:4 [INFO] [stdout] | [INFO] [stdout] 851 | fn constant_optimize_test_from_file(src: String) -> (String, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `desc` is never read [INFO] [stdout] --> src/classic/platform/argparse.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct ArgumentParser { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 139 | prog: String, [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] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/compiler/cldb.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct PriorResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 25 | reference: usize, [INFO] [stdout] 26 | 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] [INFO] [stdout] [INFO] [stdout] warning: field `symbol_table` is never read [INFO] [stdout] --> src/compiler/cldb.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct CldbNoOverride { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 239 | symbol_table: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lookup_prim` is never used [INFO] [stdout] --> src/compiler/codegen.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn lookup_prim( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `codegen_to_sexp` is never used [INFO] [stdout] --> src/compiler/codegen.rs:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | fn codegen_to_sexp(opts: Rc, compiler: &PrimaryCodegen) -> SExp { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `at_path` is never used [INFO] [stdout] --> src/compiler/compiler.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn at_path(path_mask: Number, loc: Srcloc) -> Rc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_path_mask` is never used [INFO] [stdout] --> src/compiler/compiler.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn next_path_mask(path_mask: Number) -> Number { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_simple_argbindings` is never used [INFO] [stdout] --> src/compiler/compiler.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn make_simple_argbindings( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fake_body_of_env` is never used [INFO] [stdout] --> src/compiler/evaluate.rs:505:4 [INFO] [stdout] | [INFO] [stdout] 505 | fn fake_body_of_env(l: Srcloc, env: &HashMap, Rc>) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_hash_of_apply` is never used [INFO] [stdout] --> src/compiler/evaluate.rs:524:4 [INFO] [stdout] | [INFO] [stdout] 524 | fn compute_hash_of_apply(body: Rc, env: Rc) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `starter_empty_program` is never read [INFO] [stdout] --> src/compiler/repl.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Repl { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | starter_empty_program: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collapse` is never used [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 `run_to_string` is never used [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: 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: 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:412:8 [INFO] [stdout] | [INFO] [stdout] 412 | 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:435:8 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn foldM( [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `fold_m` [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: 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: variable `parsedArgs` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | 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:701:9 [INFO] [stdout] | [INFO] [stdout] 701 | 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:966:9 [INFO] [stdout] | [INFO] [stdout] 966 | post_eval_req_out.send((at, n)); [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:971:9 [INFO] [stdout] | [INFO] [stdout] 971 | 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:1051:21 [INFO] [stdout] | [INFO] [stdout] 1051 | 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:1072:21 [INFO] [stdout] | [INFO] [stdout] 1072 | 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:1181:9 [INFO] [stdout] | [INFO] [stdout] 1181 | 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:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | / res.as_ref().map(|x| { [INFO] [stdout] 248 | | println!( [INFO] [stdout] 249 | | "LOWER_QUOTE {} TO {}", [INFO] [stdout] 250 | | disassemble(allocator, prog), [INFO] [stdout] ... | [INFO] [stdout] 253 | | x [INFO] [stdout] 254 | | }); [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:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | 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:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | 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: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/inline.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | / formulate_path_selections_for_destructuring_arg( [INFO] [stdout] 115 | | allocator, [INFO] [stdout] 116 | | substructure, [INFO] [stdout] 117 | | new_arg_path, [INFO] [stdout] ... | [INFO] [stdout] 120 | | selections, [INFO] [stdout] 121 | | ); [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 `CONS_Q_A_OPTIMIZER_PATTERN` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | 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:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | 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:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | 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:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | 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:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | 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:509:9 [INFO] [stdout] | [INFO] [stdout] 509 | 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:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | 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:568:9 [INFO] [stdout] | [INFO] [stdout] 568 | 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:584:9 [INFO] [stdout] | [INFO] [stdout] 584 | 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:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | let OPTIMIZERS: Vec = vec![ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `optimizers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mapM` should have a snake case name [INFO] [stdout] --> src/compiler/comptypes.rs:407:8 [INFO] [stdout] | [INFO] [stdout] 407 | 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:416:8 [INFO] [stdout] | [INFO] [stdout] 416 | 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: 70 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.03s [INFO] running `Command { std: "docker" "inspect" "1f3b3257006c3fd74527784a58c227053b04528271817b3f0173860f5d45db6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f3b3257006c3fd74527784a58c227053b04528271817b3f0173860f5d45db6c", kill_on_drop: false }` [INFO] [stdout] 1f3b3257006c3fd74527784a58c227053b04528271817b3f0173860f5d45db6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bee47086b8c46ee12f52453a84f0ec392ba4db3602adb1b8b2424275775c1fcb [INFO] running `Command { std: "docker" "start" "-a" "bee47086b8c46ee12f52453a84f0ec392ba4db3602adb1b8b2424275775c1fcb", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_0.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `output` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1168:13 [INFO] [stdout] | [INFO] [stdout] 1168 | output [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: did you mean to capture by reference instead? [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:241:21 [INFO] [stdout] | [INFO] [stdout] 241 | 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:770:9 [INFO] [stdout] | [INFO] [stdout] 770 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/compiler/rename.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | 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: `t` [INFO] [stdout] --> src/py/api.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | let t = thread::spawn(move || { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/operators.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | let mut max_cost = option [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: field `kw_translation` is never read [INFO] [stdout] --> src/classic/clvm_tools/ir/writer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct IROutputIterator { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 22 | kw_translation: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `IROutputIterator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dequote` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:729:4 [INFO] [stdout] | [INFO] [stdout] 729 | fn dequote(allocator: &mut Allocator, prog: NodePtr) -> NodePtr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_expand_macro` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:802:4 [INFO] [stdout] | [INFO] [stdout] 802 | fn test_expand_macro( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_inner_expansion` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:828:4 [INFO] [stdout] | [INFO] [stdout] 828 | fn test_inner_expansion( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_do_com_prog` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:841:4 [INFO] [stdout] | [INFO] [stdout] 841 | fn test_do_com_prog( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base_runner` is never read [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/operators.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct CompilerOperators { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 29 | base_dialect: Rc, [INFO] [stdout] 30 | base_runner: Rc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `drop` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/operators.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn drop(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `runner` is never read [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DoOptProg { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 29 | runner: Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoOptProg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cons_q_a` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:720:4 [INFO] [stdout] | [INFO] [stdout] 720 | fn test_cons_q_a(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_var_change_optimizer_cons_eval` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:729:4 [INFO] [stdout] | [INFO] [stdout] 729 | fn test_var_change_optimizer_cons_eval(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_children_optimizer` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:739:4 [INFO] [stdout] | [INFO] [stdout] 739 | fn test_children_optimizer(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_constant_optimizer` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:748:4 [INFO] [stdout] | [INFO] [stdout] 748 | fn test_constant_optimizer(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_optimizer` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:757:4 [INFO] [stdout] | [INFO] [stdout] 757 | fn test_optimizer(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_sub_args` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:766:4 [INFO] [stdout] | [INFO] [stdout] 766 | fn test_sub_args(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `constant_optimize_test_from_file` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:851:4 [INFO] [stdout] | [INFO] [stdout] 851 | fn constant_optimize_test_from_file(src: String) -> (String, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `desc` is never read [INFO] [stdout] --> src/classic/platform/argparse.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct ArgumentParser { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 139 | prog: String, [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] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/compiler/cldb.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct PriorResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 25 | reference: usize, [INFO] [stdout] 26 | 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] [INFO] [stdout] [INFO] [stdout] warning: field `symbol_table` is never read [INFO] [stdout] --> src/compiler/cldb.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct CldbNoOverride { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 239 | symbol_table: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lookup_prim` is never used [INFO] [stdout] --> src/compiler/codegen.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn lookup_prim( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `codegen_to_sexp` is never used [INFO] [stdout] --> src/compiler/codegen.rs:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | fn codegen_to_sexp(opts: Rc, compiler: &PrimaryCodegen) -> SExp { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `at_path` is never used [INFO] [stdout] --> src/compiler/compiler.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn at_path(path_mask: Number, loc: Srcloc) -> Rc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_path_mask` is never used [INFO] [stdout] --> src/compiler/compiler.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn next_path_mask(path_mask: Number) -> Number { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_simple_argbindings` is never used [INFO] [stdout] --> src/compiler/compiler.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn make_simple_argbindings( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fake_body_of_env` is never used [INFO] [stdout] --> src/compiler/evaluate.rs:505:4 [INFO] [stdout] | [INFO] [stdout] 505 | fn fake_body_of_env(l: Srcloc, env: &HashMap, Rc>) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_hash_of_apply` is never used [INFO] [stdout] --> src/compiler/evaluate.rs:524:4 [INFO] [stdout] | [INFO] [stdout] 524 | fn compute_hash_of_apply(body: Rc, env: Rc) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `starter_empty_program` is never read [INFO] [stdout] --> src/compiler/repl.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Repl { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | starter_empty_program: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collapse` is never used [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 `run_to_string` is never used [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: 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: 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:412:8 [INFO] [stdout] | [INFO] [stdout] 412 | 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:435:8 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn foldM( [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `fold_m` [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: 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: variable `parsedArgs` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | 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:701:9 [INFO] [stdout] | [INFO] [stdout] 701 | 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:966:9 [INFO] [stdout] | [INFO] [stdout] 966 | post_eval_req_out.send((at, n)); [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:971:9 [INFO] [stdout] | [INFO] [stdout] 971 | 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:1051:21 [INFO] [stdout] | [INFO] [stdout] 1051 | 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:1072:21 [INFO] [stdout] | [INFO] [stdout] 1072 | 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:1181:9 [INFO] [stdout] | [INFO] [stdout] 1181 | 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:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | / res.as_ref().map(|x| { [INFO] [stdout] 248 | | println!( [INFO] [stdout] 249 | | "LOWER_QUOTE {} TO {}", [INFO] [stdout] 250 | | disassemble(allocator, prog), [INFO] [stdout] ... | [INFO] [stdout] 253 | | x [INFO] [stdout] 254 | | }); [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:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | 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:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | 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: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/inline.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | / formulate_path_selections_for_destructuring_arg( [INFO] [stdout] 115 | | allocator, [INFO] [stdout] 116 | | substructure, [INFO] [stdout] 117 | | new_arg_path, [INFO] [stdout] ... | [INFO] [stdout] 120 | | selections, [INFO] [stdout] 121 | | ); [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 `CONS_Q_A_OPTIMIZER_PATTERN` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | 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:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | 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:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | 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:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | 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:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | 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] [stderr] Compiling clvm_tools_rs v0.1.23 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `FIRST_ATOM_PATTERN` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:509:9 [INFO] [stdout] | [INFO] [stdout] 509 | 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:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | 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:568:9 [INFO] [stdout] | [INFO] [stdout] 568 | 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:584:9 [INFO] [stdout] | [INFO] [stdout] 584 | 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:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | let OPTIMIZERS: Vec = vec![ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `optimizers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mapM` should have a snake case name [INFO] [stdout] --> src/compiler/comptypes.rs:407:8 [INFO] [stdout] | [INFO] [stdout] 407 | 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:416:8 [INFO] [stdout] | [INFO] [stdout] 416 | 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: 70 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_0.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `output` is never read [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:1168:13 [INFO] [stdout] | [INFO] [stdout] 1168 | output [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: did you mean to capture by reference instead? [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:241:21 [INFO] [stdout] | [INFO] [stdout] 241 | 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:770:9 [INFO] [stdout] | [INFO] [stdout] 770 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/compiler/rename.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | 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: variable does not need to be mutable [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/operators.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | let mut max_cost = option [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: field `kw_translation` is never read [INFO] [stdout] --> src/classic/clvm_tools/ir/writer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct IROutputIterator { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 22 | kw_translation: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `IROutputIterator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dequote` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/compile.rs:729:4 [INFO] [stdout] | [INFO] [stdout] 729 | fn dequote(allocator: &mut Allocator, prog: NodePtr) -> NodePtr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base_runner` is never read [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/operators.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct CompilerOperators { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 29 | base_dialect: Rc, [INFO] [stdout] 30 | base_runner: Rc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `drop` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/operators.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn drop(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `runner` is never read [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DoOptProg { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 29 | runner: Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoOptProg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_var_change_optimizer_cons_eval` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:729:4 [INFO] [stdout] | [INFO] [stdout] 729 | fn test_var_change_optimizer_cons_eval(src: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `constant_optimize_test_from_file` is never used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:851:4 [INFO] [stdout] | [INFO] [stdout] 851 | fn constant_optimize_test_from_file(src: String) -> (String, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `desc` is never read [INFO] [stdout] --> src/classic/platform/argparse.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct ArgumentParser { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 139 | prog: String, [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] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/compiler/cldb.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct PriorResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 25 | reference: usize, [INFO] [stdout] 26 | 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] [INFO] [stdout] [INFO] [stdout] warning: field `symbol_table` is never read [INFO] [stdout] --> src/compiler/cldb.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct CldbNoOverride { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 239 | symbol_table: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lookup_prim` is never used [INFO] [stdout] --> src/compiler/codegen.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn lookup_prim( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `codegen_to_sexp` is never used [INFO] [stdout] --> src/compiler/codegen.rs:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | fn codegen_to_sexp(opts: Rc, compiler: &PrimaryCodegen) -> SExp { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `at_path` is never used [INFO] [stdout] --> src/compiler/compiler.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn at_path(path_mask: Number, loc: Srcloc) -> Rc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_path_mask` is never used [INFO] [stdout] --> src/compiler/compiler.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn next_path_mask(path_mask: Number) -> Number { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_simple_argbindings` is never used [INFO] [stdout] --> src/compiler/compiler.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn make_simple_argbindings( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fake_body_of_env` is never used [INFO] [stdout] --> src/compiler/evaluate.rs:505:4 [INFO] [stdout] | [INFO] [stdout] 505 | fn fake_body_of_env(l: Srcloc, env: &HashMap, Rc>) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_hash_of_apply` is never used [INFO] [stdout] --> src/compiler/evaluate.rs:524:4 [INFO] [stdout] | [INFO] [stdout] 524 | fn compute_hash_of_apply(body: Rc, env: Rc) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `starter_empty_program` is never read [INFO] [stdout] --> src/compiler/repl.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Repl { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | starter_empty_program: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collapse` is never used [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 `run_to_string` is never used [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: function `run_string_opt` is never used [INFO] [stdout] --> src/tests/compiler/compiler.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn run_string_opt(content: &String, args: &String) -> Result, CompileErr> { [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: 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:412:8 [INFO] [stdout] | [INFO] [stdout] 412 | 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:435:8 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn foldM( [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `fold_m` [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: 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: variable `parsedArgs` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/cmds.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | 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:701:9 [INFO] [stdout] | [INFO] [stdout] 701 | 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:966:9 [INFO] [stdout] | [INFO] [stdout] 966 | post_eval_req_out.send((at, n)); [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:971:9 [INFO] [stdout] | [INFO] [stdout] 971 | 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:1051:21 [INFO] [stdout] | [INFO] [stdout] 1051 | 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:1072:21 [INFO] [stdout] | [INFO] [stdout] 1072 | 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:1181:9 [INFO] [stdout] | [INFO] [stdout] 1181 | 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:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | / res.as_ref().map(|x| { [INFO] [stdout] 248 | | println!( [INFO] [stdout] 249 | | "LOWER_QUOTE {} TO {}", [INFO] [stdout] 250 | | disassemble(allocator, prog), [INFO] [stdout] ... | [INFO] [stdout] 253 | | x [INFO] [stdout] 254 | | }); [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:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | 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:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | 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: unused `Result` that must be used [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/inline.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | / formulate_path_selections_for_destructuring_arg( [INFO] [stdout] 115 | | allocator, [INFO] [stdout] 116 | | substructure, [INFO] [stdout] 117 | | new_arg_path, [INFO] [stdout] ... | [INFO] [stdout] 120 | | selections, [INFO] [stdout] 121 | | ); [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 `CONS_Q_A_OPTIMIZER_PATTERN` should have a snake case name [INFO] [stdout] --> src/classic/clvm_tools/stages/stage_2/optimize.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | 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:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | 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:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | 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:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | 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:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | 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:509:9 [INFO] [stdout] | [INFO] [stdout] 509 | 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:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | 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:568:9 [INFO] [stdout] | [INFO] [stdout] 568 | 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:584:9 [INFO] [stdout] | [INFO] [stdout] 584 | 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:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | let OPTIMIZERS: Vec = vec![ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `optimizers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mapM` should have a snake case name [INFO] [stdout] --> src/compiler/comptypes.rs:407:8 [INFO] [stdout] | [INFO] [stdout] 407 | 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:416:8 [INFO] [stdout] | [INFO] [stdout] 416 | 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: 62 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.68s [INFO] running `Command { std: "docker" "inspect" "bee47086b8c46ee12f52453a84f0ec392ba4db3602adb1b8b2424275775c1fcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bee47086b8c46ee12f52453a84f0ec392ba4db3602adb1b8b2424275775c1fcb", kill_on_drop: false }` [INFO] [stdout] bee47086b8c46ee12f52453a84f0ec392ba4db3602adb1b8b2424275775c1fcb