[INFO] cloning repository https://github.com/danicampa90/helmod-graphviz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danicampa90/helmod-graphviz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanicampa90%2Fhelmod-graphviz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanicampa90%2Fhelmod-graphviz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76aa907d152c762932d9ed2c2e287ab6f7ac47e7 [INFO] linting danicampa90/helmod-graphviz against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanicampa90%2Fhelmod-graphviz" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/danicampa90/helmod-graphviz [INFO] finished tweaking git repo https://github.com/danicampa90/helmod-graphviz [INFO] tweaked toml for git repo https://github.com/danicampa90/helmod-graphviz written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/danicampa90/helmod-graphviz on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/danicampa90/helmod-graphviz already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded string_cache v0.7.5 [INFO] [stderr] Downloaded string_cache_shared v0.3.0 [INFO] [stderr] Downloaded lalrpop-util v0.17.2 [INFO] [stderr] Downloaded bit-set v0.5.1 [INFO] [stderr] Downloaded typenum v1.11.2 [INFO] [stderr] Downloaded ascii-canvas v2.0.0 [INFO] [stderr] Downloaded string_cache_codegen v0.4.4 [INFO] [stderr] Downloaded ucd-util v0.1.5 [INFO] [stderr] Downloaded docopt v1.1.0 [INFO] [stderr] Downloaded bit-vec v0.5.1 [INFO] [stderr] Downloaded crc32fast v1.2.2 [INFO] [stderr] Downloaded petgraph v0.4.13 [INFO] [stderr] Downloaded serde_json v1.0.44 [INFO] [stderr] Downloaded serde_derive v1.0.104 [INFO] [stderr] Downloaded sha2 v0.8.0 [INFO] [stderr] Downloaded syn v1.0.11 [INFO] [stderr] Downloaded lalrpop v0.17.2 [INFO] [stderr] Downloaded ena v0.13.1 [INFO] [stderr] Downloaded ordermap v0.3.5 [INFO] [stderr] Downloaded cc v1.0.48 [INFO] [stderr] Downloaded new_debug_unreachable v1.0.3 [INFO] [stderr] Downloaded fixedbitset v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1a90408faca9bde411e8c8f0f7e8b646f451434d0c43569d064ffa8ec1935ae [INFO] running `Command { std: "docker" "start" "-a" "f1a90408faca9bde411e8c8f0f7e8b646f451434d0c43569d064ffa8ec1935ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1a90408faca9bde411e8c8f0f7e8b646f451434d0c43569d064ffa8ec1935ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1a90408faca9bde411e8c8f0f7e8b646f451434d0c43569d064ffa8ec1935ae", kill_on_drop: false }` [INFO] [stdout] f1a90408faca9bde411e8c8f0f7e8b646f451434d0c43569d064ffa8ec1935ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd6735dfe1879bffd844229a64fed690b5a319880b74163f9214987cb5fef9a0 [INFO] running `Command { std: "docker" "start" "-a" "dd6735dfe1879bffd844229a64fed690b5a319880b74163f9214987cb5fef9a0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling crc32fast v1.2.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling lalrpop-util v0.17.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Checking ucd-util v0.1.5 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Compiling lalrpop v0.17.2 [INFO] [stderr] Compiling helmod-planner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `Debug` [INFO] [stdout] --> src/main.rs:135:7 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | const __ACTION: &'static [i8] = &[ [INFO] [stdout] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] = note: `#[warn(clippy::redundant_static_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | const __EOF_ACTION: &'static [i8] = &[ [INFO] [stdout] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | const __GOTO: &'static [i8] = &[ [INFO] [stdout] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:248:28 [INFO] [stdout] | [INFO] [stdout] 248 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stdout] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:248:38 [INFO] [stdout] | [INFO] [stdout] 248 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:400:56 [INFO] [stdout] | [INFO] [stdout] 400 | Token(6, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] = note: `#[warn(clippy::double_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:404:56 [INFO] [stdout] | [INFO] [stdout] 404 | Token(7, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:408:56 [INFO] [stdout] | [INFO] [stdout] 408 | Token(8, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:412:56 [INFO] [stdout] | [INFO] [stdout] 412 | Token(9, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:416:57 [INFO] [stdout] | [INFO] [stdout] 416 | Token(10, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:420:57 [INFO] [stdout] | [INFO] [stdout] 420 | Token(11, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:424:56 [INFO] [stdout] | [INFO] [stdout] 424 | Token(0, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:428:56 [INFO] [stdout] | [INFO] [stdout] 428 | Token(1, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:432:56 [INFO] [stdout] | [INFO] [stdout] 432 | Token(2, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:436:56 [INFO] [stdout] | [INFO] [stdout] 436 | Token(3, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:440:56 [INFO] [stdout] | [INFO] [stdout] 440 | Token(4, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:444:56 [INFO] [stdout] | [INFO] [stdout] 444 | Token(5, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1750:22 [INFO] [stdout] | [INFO] [stdout] 1750 | const __ACTION: &'static [i8] = &[ [INFO] [stdout] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1820:26 [INFO] [stdout] | [INFO] [stdout] 1820 | const __EOF_ACTION: &'static [i8] = &[ [INFO] [stdout] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1890:20 [INFO] [stdout] | [INFO] [stdout] 1890 | const __GOTO: &'static [i8] = &[ [INFO] [stdout] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1961:28 [INFO] [stdout] | [INFO] [stdout] 1961 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stdout] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1961:38 [INFO] [stdout] | [INFO] [stdout] 1961 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2113:56 [INFO] [stdout] | [INFO] [stdout] 2113 | Token(6, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2117:56 [INFO] [stdout] | [INFO] [stdout] 2117 | Token(7, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2121:56 [INFO] [stdout] | [INFO] [stdout] 2121 | Token(8, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2125:56 [INFO] [stdout] | [INFO] [stdout] 2125 | Token(9, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2129:57 [INFO] [stdout] | [INFO] [stdout] 2129 | Token(10, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2133:57 [INFO] [stdout] | [INFO] [stdout] 2133 | Token(11, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2137:56 [INFO] [stdout] | [INFO] [stdout] 2137 | Token(0, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2141:56 [INFO] [stdout] | [INFO] [stdout] 2141 | Token(1, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2145:56 [INFO] [stdout] | [INFO] [stdout] 2145 | Token(2, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2149:56 [INFO] [stdout] | [INFO] [stdout] 2149 | Token(3, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2153:56 [INFO] [stdout] | [INFO] [stdout] 2153 | Token(4, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2157:56 [INFO] [stdout] | [INFO] [stdout] 2157 | Token(5, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `Debug` [INFO] [stdout] --> src/main.rs:135:7 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | const __ACTION: &'static [i8] = &[ [INFO] [stdout] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] = note: `#[warn(clippy::redundant_static_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | const __EOF_ACTION: &'static [i8] = &[ [INFO] [stdout] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | const __GOTO: &'static [i8] = &[ [INFO] [stdout] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:248:28 [INFO] [stdout] | [INFO] [stdout] 248 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stdout] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:248:38 [INFO] [stdout] | [INFO] [stdout] 248 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:400:56 [INFO] [stdout] | [INFO] [stdout] 400 | Token(6, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] = note: `#[warn(clippy::double_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:404:56 [INFO] [stdout] | [INFO] [stdout] 404 | Token(7, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:408:56 [INFO] [stdout] | [INFO] [stdout] 408 | Token(8, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:412:56 [INFO] [stdout] | [INFO] [stdout] 412 | Token(9, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:416:57 [INFO] [stdout] | [INFO] [stdout] 416 | Token(10, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3558:9 [INFO] [stdout] | [INFO] [stdout] 3558 | (_, __0, _): (usize, LuaObject, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] = note: `#[warn(clippy::just_underscores_and_digits)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:420:57 [INFO] [stdout] | [INFO] [stdout] 420 | Token(11, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3561:5 [INFO] [stdout] | [INFO] [stdout] 3561 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3561 - (__0) [INFO] [stdout] 3561 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:424:56 [INFO] [stdout] | [INFO] [stdout] 424 | Token(0, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:428:56 [INFO] [stdout] | [INFO] [stdout] 428 | Token(1, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:432:56 [INFO] [stdout] | [INFO] [stdout] 432 | Token(2, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3569:9 [INFO] [stdout] | [INFO] [stdout] 3569 | (_, __0, _): (usize, LuaArray, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:436:56 [INFO] [stdout] | [INFO] [stdout] 436 | Token(3, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:440:56 [INFO] [stdout] | [INFO] [stdout] 440 | Token(4, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:444:56 [INFO] [stdout] | [INFO] [stdout] 444 | Token(5, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3572:5 [INFO] [stdout] | [INFO] [stdout] 3572 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3572 - (__0) [INFO] [stdout] 3572 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3677:9 [INFO] [stdout] | [INFO] [stdout] 3677 | (_, __0, _): (usize, __lalrpop_util::ErrorRecovery, &'static str>, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3680:5 [INFO] [stdout] | [INFO] [stdout] 3680 | { panic!(format!("{:?}", __0))} [INFO] [stdout] | ^^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 3680 - { panic!(format!("{:?}", __0))} [INFO] [stdout] 3680 + panic!(format!("{:?}", __0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3723:9 [INFO] [stdout] | [INFO] [stdout] 3723 | (_, __0, _): (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3726:5 [INFO] [stdout] | [INFO] [stdout] 3726 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] = note: `#[warn(clippy::unused_unit)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3734:9 [INFO] [stdout] | [INFO] [stdout] 3734 | (_, __0, _): (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3737:5 [INFO] [stdout] | [INFO] [stdout] 3737 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3745:9 [INFO] [stdout] | [INFO] [stdout] 3745 | (_, __0, _): (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3748:5 [INFO] [stdout] | [INFO] [stdout] 3748 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3767:9 [INFO] [stdout] | [INFO] [stdout] 3767 | (_, __0, _): (usize, LuaValue, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3813:9 [INFO] [stdout] | [INFO] [stdout] 3813 | (_, __0, _): (usize, LuaValue, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3817:5 [INFO] [stdout] | [INFO] [stdout] 3817 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3817 - (__0) [INFO] [stdout] 3817 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3825:9 [INFO] [stdout] | [INFO] [stdout] 3825 | (_, __0, _): (usize, LuaProperty, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3871:9 [INFO] [stdout] | [INFO] [stdout] 3871 | (_, __0, _): (usize, LuaProperty, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3875:5 [INFO] [stdout] | [INFO] [stdout] 3875 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3875 - (__0) [INFO] [stdout] 3875 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3883:9 [INFO] [stdout] | [INFO] [stdout] 3883 | (_, __0, _): (usize, LuaProperty, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3906:9 [INFO] [stdout] | [INFO] [stdout] 3906 | (_, __0, _): (usize, LuaValue, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3929:5 [INFO] [stdout] | [INFO] [stdout] 3929 | __0: (usize, LuaProperty, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3930:5 [INFO] [stdout] | [INFO] [stdout] 3930 | __1: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3952:5 [INFO] [stdout] | [INFO] [stdout] 3952 | __0: (usize, ::std::vec::Vec, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3953:5 [INFO] [stdout] | [INFO] [stdout] 3953 | __1: (usize, LuaProperty, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3954:5 [INFO] [stdout] | [INFO] [stdout] 3954 | __2: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3977:5 [INFO] [stdout] | [INFO] [stdout] 3977 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3978:5 [INFO] [stdout] | [INFO] [stdout] 3978 | __1: (usize, ::std::option::Option, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3979:5 [INFO] [stdout] | [INFO] [stdout] 3979 | __2: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4004:5 [INFO] [stdout] | [INFO] [stdout] 4004 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4005:5 [INFO] [stdout] | [INFO] [stdout] 4005 | __1: (usize, ::std::vec::Vec, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4006:5 [INFO] [stdout] | [INFO] [stdout] 4006 | __2: (usize, ::std::option::Option, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4007:5 [INFO] [stdout] | [INFO] [stdout] 4007 | __3: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4031:5 [INFO] [stdout] | [INFO] [stdout] 4031 | __0: (usize, LuaValue, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4032:5 [INFO] [stdout] | [INFO] [stdout] 4032 | __1: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1750:22 [INFO] [stdout] | [INFO] [stdout] 1750 | const __ACTION: &'static [i8] = &[ [INFO] [stdout] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1820:26 [INFO] [stdout] | [INFO] [stdout] 1820 | const __EOF_ACTION: &'static [i8] = &[ [INFO] [stdout] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4054:5 [INFO] [stdout] | [INFO] [stdout] 4054 | __0: (usize, ::std::vec::Vec, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4055:5 [INFO] [stdout] | [INFO] [stdout] 4055 | __1: (usize, LuaValue, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4056:5 [INFO] [stdout] | [INFO] [stdout] 4056 | __2: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4079:5 [INFO] [stdout] | [INFO] [stdout] 4079 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4080:5 [INFO] [stdout] | [INFO] [stdout] 4080 | __1: (usize, ::std::option::Option, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4081:5 [INFO] [stdout] | [INFO] [stdout] 4081 | __2: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4106:5 [INFO] [stdout] | [INFO] [stdout] 4106 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4107:5 [INFO] [stdout] | [INFO] [stdout] 4107 | __1: (usize, ::std::vec::Vec, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4108:5 [INFO] [stdout] | [INFO] [stdout] 4108 | __2: (usize, ::std::option::Option, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4109:5 [INFO] [stdout] | [INFO] [stdout] 4109 | __3: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4133:5 [INFO] [stdout] | [INFO] [stdout] 4133 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1890:20 [INFO] [stdout] | [INFO] [stdout] 1890 | const __GOTO: &'static [i8] = &[ [INFO] [stdout] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4134:5 [INFO] [stdout] | [INFO] [stdout] 4134 | __1: (usize, LuaProperty, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4135:5 [INFO] [stdout] | [INFO] [stdout] 4135 | __2: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4158:5 [INFO] [stdout] | [INFO] [stdout] 4158 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4159:5 [INFO] [stdout] | [INFO] [stdout] 4159 | __1: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4183:5 [INFO] [stdout] | [INFO] [stdout] 4183 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4184:5 [INFO] [stdout] | [INFO] [stdout] 4184 | __1: (usize, ::std::vec::Vec, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4185:5 [INFO] [stdout] | [INFO] [stdout] 4185 | __2: (usize, LuaProperty, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4186:5 [INFO] [stdout] | [INFO] [stdout] 4186 | __3: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4210:5 [INFO] [stdout] | [INFO] [stdout] 4210 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4211:5 [INFO] [stdout] | [INFO] [stdout] 4211 | __1: (usize, ::std::vec::Vec, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4212:5 [INFO] [stdout] | [INFO] [stdout] 4212 | __2: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4237:5 [INFO] [stdout] | [INFO] [stdout] 4237 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4238:5 [INFO] [stdout] | [INFO] [stdout] 4238 | __1: (usize, LuaValue, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4239:5 [INFO] [stdout] | [INFO] [stdout] 4239 | __2: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4262:5 [INFO] [stdout] | [INFO] [stdout] 4262 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4263:5 [INFO] [stdout] | [INFO] [stdout] 4263 | __1: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4287:5 [INFO] [stdout] | [INFO] [stdout] 4287 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4288:5 [INFO] [stdout] | [INFO] [stdout] 4288 | __1: (usize, ::std::vec::Vec, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4289:5 [INFO] [stdout] | [INFO] [stdout] 4289 | __2: (usize, LuaValue, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4290:5 [INFO] [stdout] | [INFO] [stdout] 4290 | __3: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4314:5 [INFO] [stdout] | [INFO] [stdout] 4314 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4315:5 [INFO] [stdout] | [INFO] [stdout] 4315 | __1: (usize, ::std::vec::Vec, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4316:5 [INFO] [stdout] | [INFO] [stdout] 4316 | __2: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1961:28 [INFO] [stdout] | [INFO] [stdout] 1961 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stdout] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1961:38 [INFO] [stdout] | [INFO] [stdout] 1961 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2113:56 [INFO] [stdout] | [INFO] [stdout] 2113 | Token(6, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2117:56 [INFO] [stdout] | [INFO] [stdout] 2117 | Token(7, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | key: key, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `key` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2121:56 [INFO] [stdout] | [INFO] [stdout] 2121 | Token(8, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2125:56 [INFO] [stdout] | [INFO] [stdout] 2125 | Token(9, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2129:57 [INFO] [stdout] | [INFO] [stdout] 2129 | Token(10, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | value: value, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2133:57 [INFO] [stdout] | [INFO] [stdout] 2133 | Token(11, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2137:56 [INFO] [stdout] | [INFO] [stdout] 2137 | Token(0, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2141:56 [INFO] [stdout] | [INFO] [stdout] 2141 | Token(1, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Recipe` [INFO] [stdout] --> src/dot_writer.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::recipes::{Recipe, RecipeDatabase}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2145:56 [INFO] [stdout] | [INFO] [stdout] 2145 | Token(2, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2149:56 [INFO] [stdout] | [INFO] [stdout] 2149 | Token(3, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/dot_writer.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | match (recipes.get_recipe(&prod_recipe.name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - match (recipes.get_recipe(&prod_recipe.name)) { [INFO] [stdout] 58 + match recipes.get_recipe(&prod_recipe.name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2153:56 [INFO] [stdout] | [INFO] [stdout] 2153 | Token(4, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2157:56 [INFO] [stdout] | [INFO] [stdout] 2157 | Token(5, __tok0) => __Symbol::Variant0((__tok0)), [INFO] [stdout] | ^^^^^^^^ help: remove them: `__tok0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grammar` [INFO] [stdout] --> src/grammar_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::grammar; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod grammar_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LuaArray` and `LuaValue` [INFO] [stdout] --> src/productionchain/productionchainparser.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::{CastError, IndexingError, LuaArray, LuaObject, LuaValue}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/productionchain/productionchainparser.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | products: products, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `products` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/productionchain/productionchainparser.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | ingredients: ingredients, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `ingredients` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/productionchain/productionchainparser.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | blocks: blocks, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `blocks` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/productionchain/productionchainparser.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/productionchain/productionchainparser.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | name: name, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/productionchain/productionchainparser.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | count: count, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/productionchain/productionchainparser.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | ingredients: ingredients, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `ingredients` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/productionchain/productionchainparser.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | recipes: recipes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `recipes` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/recipes.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | if (nodes.is_object() && nodes.as_object().unwrap().len() == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - if (nodes.is_object() && nodes.as_object().unwrap().len() == 0) { [INFO] [stdout] 68 + if nodes.is_object() && nodes.as_object().unwrap().len() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/recipes.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/recipes.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | category: category, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `category` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/recipes.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | energy: energy, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `energy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/recipes.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | ingredients: ingredients, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `ingredients` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/recipes.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | products: products, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `products` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | use base64; [INFO] [stdout] | ^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] = note: `#[warn(clippy::single_component_path_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | match (recipes_result) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - match (recipes_result) { [INFO] [stdout] 71 + match recipes_result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3558:9 [INFO] [stdout] | [INFO] [stdout] 3558 | (_, __0, _): (usize, LuaObject, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] = note: `#[warn(clippy::just_underscores_and_digits)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3561:5 [INFO] [stdout] | [INFO] [stdout] 3561 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3561 - (__0) [INFO] [stdout] 3561 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3569:9 [INFO] [stdout] | [INFO] [stdout] 3569 | (_, __0, _): (usize, LuaArray, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3572:5 [INFO] [stdout] | [INFO] [stdout] 3572 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3572 - (__0) [INFO] [stdout] 3572 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3677:9 [INFO] [stdout] | [INFO] [stdout] 3677 | (_, __0, _): (usize, __lalrpop_util::ErrorRecovery, &'static str>, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3680:5 [INFO] [stdout] | [INFO] [stdout] 3680 | { panic!(format!("{:?}", __0))} [INFO] [stdout] | ^^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 3680 - { panic!(format!("{:?}", __0))} [INFO] [stdout] 3680 + panic!(format!("{:?}", __0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3723:9 [INFO] [stdout] | [INFO] [stdout] 3723 | (_, __0, _): (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3726:5 [INFO] [stdout] | [INFO] [stdout] 3726 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] = note: `#[warn(clippy::unused_unit)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3734:9 [INFO] [stdout] | [INFO] [stdout] 3734 | (_, __0, _): (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3737:5 [INFO] [stdout] | [INFO] [stdout] 3737 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3745:9 [INFO] [stdout] | [INFO] [stdout] 3745 | (_, __0, _): (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3748:5 [INFO] [stdout] | [INFO] [stdout] 3748 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3767:9 [INFO] [stdout] | [INFO] [stdout] 3767 | (_, __0, _): (usize, LuaValue, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3813:9 [INFO] [stdout] | [INFO] [stdout] 3813 | (_, __0, _): (usize, LuaValue, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3817:5 [INFO] [stdout] | [INFO] [stdout] 3817 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3817 - (__0) [INFO] [stdout] 3817 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3825:9 [INFO] [stdout] | [INFO] [stdout] 3825 | (_, __0, _): (usize, LuaProperty, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3871:9 [INFO] [stdout] | [INFO] [stdout] 3871 | (_, __0, _): (usize, LuaProperty, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3875:5 [INFO] [stdout] | [INFO] [stdout] 3875 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3875 - (__0) [INFO] [stdout] 3875 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3883:9 [INFO] [stdout] | [INFO] [stdout] 3883 | (_, __0, _): (usize, LuaProperty, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3906:9 [INFO] [stdout] | [INFO] [stdout] 3906 | (_, __0, _): (usize, LuaValue, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3929:5 [INFO] [stdout] | [INFO] [stdout] 3929 | __0: (usize, LuaProperty, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3930:5 [INFO] [stdout] | [INFO] [stdout] 3930 | __1: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3952:5 [INFO] [stdout] | [INFO] [stdout] 3952 | __0: (usize, ::std::vec::Vec, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3953:5 [INFO] [stdout] | [INFO] [stdout] 3953 | __1: (usize, LuaProperty, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3954:5 [INFO] [stdout] | [INFO] [stdout] 3954 | __2: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3977:5 [INFO] [stdout] | [INFO] [stdout] 3977 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3978:5 [INFO] [stdout] | [INFO] [stdout] 3978 | __1: (usize, ::std::option::Option, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3979:5 [INFO] [stdout] | [INFO] [stdout] 3979 | __2: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4004:5 [INFO] [stdout] | [INFO] [stdout] 4004 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4005:5 [INFO] [stdout] | [INFO] [stdout] 4005 | __1: (usize, ::std::vec::Vec, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4006:5 [INFO] [stdout] | [INFO] [stdout] 4006 | __2: (usize, ::std::option::Option, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4007:5 [INFO] [stdout] | [INFO] [stdout] 4007 | __3: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4031:5 [INFO] [stdout] | [INFO] [stdout] 4031 | __0: (usize, LuaValue, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4032:5 [INFO] [stdout] | [INFO] [stdout] 4032 | __1: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4054:5 [INFO] [stdout] | [INFO] [stdout] 4054 | __0: (usize, ::std::vec::Vec, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4055:5 [INFO] [stdout] | [INFO] [stdout] 4055 | __1: (usize, LuaValue, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4056:5 [INFO] [stdout] | [INFO] [stdout] 4056 | __2: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4079:5 [INFO] [stdout] | [INFO] [stdout] 4079 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4080:5 [INFO] [stdout] | [INFO] [stdout] 4080 | __1: (usize, ::std::option::Option, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4081:5 [INFO] [stdout] | [INFO] [stdout] 4081 | __2: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4106:5 [INFO] [stdout] | [INFO] [stdout] 4106 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4107:5 [INFO] [stdout] | [INFO] [stdout] 4107 | __1: (usize, ::std::vec::Vec, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4108:5 [INFO] [stdout] | [INFO] [stdout] 4108 | __2: (usize, ::std::option::Option, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4109:5 [INFO] [stdout] | [INFO] [stdout] 4109 | __3: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4133:5 [INFO] [stdout] | [INFO] [stdout] 4133 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4134:5 [INFO] [stdout] | [INFO] [stdout] 4134 | __1: (usize, LuaProperty, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4135:5 [INFO] [stdout] | [INFO] [stdout] 4135 | __2: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4158:5 [INFO] [stdout] | [INFO] [stdout] 4158 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4159:5 [INFO] [stdout] | [INFO] [stdout] 4159 | __1: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4183:5 [INFO] [stdout] | [INFO] [stdout] 4183 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4184:5 [INFO] [stdout] | [INFO] [stdout] 4184 | __1: (usize, ::std::vec::Vec, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4185:5 [INFO] [stdout] | [INFO] [stdout] 4185 | __2: (usize, LuaProperty, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4186:5 [INFO] [stdout] | [INFO] [stdout] 4186 | __3: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4210:5 [INFO] [stdout] | [INFO] [stdout] 4210 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4211:5 [INFO] [stdout] | [INFO] [stdout] 4211 | __1: (usize, ::std::vec::Vec, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4212:5 [INFO] [stdout] | [INFO] [stdout] 4212 | __2: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4237:5 [INFO] [stdout] | [INFO] [stdout] 4237 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4238:5 [INFO] [stdout] | [INFO] [stdout] 4238 | __1: (usize, LuaValue, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4239:5 [INFO] [stdout] | [INFO] [stdout] 4239 | __2: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4262:5 [INFO] [stdout] | [INFO] [stdout] 4262 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4263:5 [INFO] [stdout] | [INFO] [stdout] 4263 | __1: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4287:5 [INFO] [stdout] | [INFO] [stdout] 4287 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4288:5 [INFO] [stdout] | [INFO] [stdout] 4288 | __1: (usize, ::std::vec::Vec, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4289:5 [INFO] [stdout] | [INFO] [stdout] 4289 | __2: (usize, LuaValue, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4290:5 [INFO] [stdout] | [INFO] [stdout] 4290 | __3: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4314:5 [INFO] [stdout] | [INFO] [stdout] 4314 | __0: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4315:5 [INFO] [stdout] | [INFO] [stdout] 4315 | __1: (usize, ::std::vec::Vec, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider choosing a more descriptive name [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4316:5 [INFO] [stdout] | [INFO] [stdout] 4316 | __2: (usize, &'input str, usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | key: key, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `key` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | value: value, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Recipe` [INFO] [stdout] --> src/dot_writer.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::recipes::{Recipe, RecipeDatabase}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/dot_writer.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | match (recipes.get_recipe(&prod_recipe.name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - match (recipes.get_recipe(&prod_recipe.name)) { [INFO] [stdout] 58 + match recipes.get_recipe(&prod_recipe.name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LuaArray` and `LuaValue` [INFO] [stdout] --> src/productionchain/productionchainparser.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::{CastError, IndexingError, LuaArray, LuaObject, LuaValue}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/productionchain/productionchainparser.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | products: products, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `products` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/productionchain/productionchainparser.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | ingredients: ingredients, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `ingredients` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/productionchain/productionchainparser.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | blocks: blocks, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `blocks` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/productionchain/productionchainparser.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/productionchain/productionchainparser.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | name: name, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/productionchain/productionchainparser.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | count: count, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/productionchain/productionchainparser.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | ingredients: ingredients, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `ingredients` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/productionchain/productionchainparser.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | recipes: recipes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `recipes` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/recipes.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | if (nodes.is_object() && nodes.as_object().unwrap().len() == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - if (nodes.is_object() && nodes.as_object().unwrap().len() == 0) { [INFO] [stdout] 68 + if nodes.is_object() && nodes.as_object().unwrap().len() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/recipes.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/recipes.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | category: category, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `category` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/recipes.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | energy: energy, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `energy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/recipes.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | ingredients: ingredients, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `ingredients` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/recipes.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | products: products, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `products` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | use base64; [INFO] [stdout] | ^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] = note: `#[warn(clippy::single_component_path_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | match (recipes_result) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - match (recipes_result) { [INFO] [stdout] 71 + match recipes_result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ingredients_node` [INFO] [stdout] --> src/recipes.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let ingredients_node = return Ok(Recipe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ingredients_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_makefile` is never used [INFO] [stdout] --> src/dot_writer.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn generate_makefile(count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ItemQtyList` is never used [INFO] [stdout] --> src/productionchain.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type ItemQtyList = Vec<(String, f64)>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `products` and `ingredients` are never read [INFO] [stdout] --> src/productionchain.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ProductionChain { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 8 | pub products: Vec<(String, f64)>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub ingredients: Vec<(String, f64)>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductionChain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/productionchain.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ProductionBlock { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 15 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductionBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `type_`, `factory_name`, `factory_count`, and `factory_speed` are never read [INFO] [stdout] --> src/productionchain.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ProductionRecipe { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 24 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | pub name: String, [INFO] [stdout] 26 | pub type_: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub factory_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | pub factory_count: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub factory_speed: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductionRecipe` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/productionchain/productionchainparser.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | CastError(CastError), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConversionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - CastError(CastError), [INFO] [stdout] 8 + CastError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/productionchain/productionchainparser.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | IndexingError(IndexingError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConversionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - IndexingError(IndexingError), [INFO] [stdout] 9 + IndexingError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `amount_max`, and `probability` are never read [INFO] [stdout] --> src/recipes.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct IngredientProductInfo { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 7 | pub type_: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub amount_max: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub probability: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `category` is never read [INFO] [stdout] --> src/recipes.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Recipe { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 16 | pub id: String, [INFO] [stdout] 17 | pub category: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/recipes.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | FieldNotExistsError(&'static str), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JSONParsingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 - FieldNotExistsError(&'static str), [INFO] [stdout] 28 + FieldNotExistsError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/recipes.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | InvalidType(&'static str), [INFO] [stdout] | ----------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JSONParsingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 - InvalidType(&'static str), [INFO] [stdout] 29 + InvalidType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ingredients_node` [INFO] [stdout] --> src/recipes.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let ingredients_node = return Ok(Recipe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ingredients_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `ArrayParser` [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:684:9 [INFO] [stdout] | [INFO] [stdout] 684 | / pub fn new() -> ArrayParser { [INFO] [stdout] 685 | | let __builder = super::__intern_token::__MatcherBuilder::new(); [INFO] [stdout] 686 | | ArrayParser { [INFO] [stdout] 687 | | builder: __builder, [INFO] [stdout] ... | [INFO] [stdout] 690 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 683 ~ impl Default for ArrayParser { [INFO] [stdout] 684 + fn default() -> Self { [INFO] [stdout] 685 + Self::new() [INFO] [stdout] 686 + } [INFO] [stdout] 687 + } [INFO] [stdout] 688 + [INFO] [stdout] 689 ~ impl ArrayParser { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:708:13 [INFO] [stdout] | [INFO] [stdout] 701 | / let __r = __state_machine::Parser::drive( [INFO] [stdout] 702 | | __StateMachine { [INFO] [stdout] 703 | | input, [INFO] [stdout] 704 | | __phantom: ::std::marker::PhantomData::<(&())>, [INFO] [stdout] 705 | | }, [INFO] [stdout] 706 | | __tokens, [INFO] [stdout] 707 | | ); [INFO] [stdout] | |______________- unnecessary `let` binding [INFO] [stdout] 708 | __r [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] = note: `#[warn(clippy::let_and_return)]` on by default [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 701 ~ [INFO] [stdout] 702 ~ __state_machine::Parser::drive( [INFO] [stdout] 703 + __StateMachine { [INFO] [stdout] 704 + input, [INFO] [stdout] 705 + __phantom: ::std::marker::PhantomData::<(&())>, [INFO] [stdout] 706 + }, [INFO] [stdout] 707 + __tokens, [INFO] [stdout] 708 + ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:727:38 [INFO] [stdout] | [INFO] [stdout] 727 | None => __EOF_ACTION[__top as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try: `__top` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_makefile` is never used [INFO] [stdout] --> src/dot_writer.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn generate_makefile(count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ItemQtyList` is never used [INFO] [stdout] --> src/productionchain.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type ItemQtyList = Vec<(String, f64)>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `products` and `ingredients` are never read [INFO] [stdout] --> src/productionchain.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ProductionChain { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 8 | pub products: Vec<(String, f64)>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub ingredients: Vec<(String, f64)>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductionChain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/productionchain.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ProductionBlock { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 15 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductionBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `type_`, `factory_name`, `factory_count`, and `factory_speed` are never read [INFO] [stdout] --> src/productionchain.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ProductionRecipe { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 24 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | pub name: String, [INFO] [stdout] 26 | pub type_: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub factory_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | pub factory_count: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub factory_speed: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductionRecipe` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/productionchain/productionchainparser.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | CastError(CastError), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConversionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - CastError(CastError), [INFO] [stdout] 8 + CastError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/productionchain/productionchainparser.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | IndexingError(IndexingError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConversionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - IndexingError(IndexingError), [INFO] [stdout] 9 + IndexingError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `amount_max`, and `probability` are never read [INFO] [stdout] --> src/recipes.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct IngredientProductInfo { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 7 | pub type_: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub amount_max: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub probability: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `category` is never read [INFO] [stdout] --> src/recipes.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Recipe { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 16 | pub id: String, [INFO] [stdout] 17 | pub category: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/recipes.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | FieldNotExistsError(&'static str), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JSONParsingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 - FieldNotExistsError(&'static str), [INFO] [stdout] 28 + FieldNotExistsError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/recipes.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | InvalidType(&'static str), [INFO] [stdout] | ----------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JSONParsingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 - InvalidType(&'static str), [INFO] [stdout] 29 + InvalidType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:832:31 [INFO] [stdout] | [INFO] [stdout] 832 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:833:29 [INFO] [stdout] | [INFO] [stdout] 833 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1028:23 [INFO] [stdout] | [INFO] [stdout] 1028 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1029:21 [INFO] [stdout] | [INFO] [stdout] 1029 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1046:48 [INFO] [stdout] | [INFO] [stdout] 1046 | let __start = __symbols.last().map(|s| s.2.clone()).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^ help: try removing the `clone` call: `s.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1047:66 [INFO] [stdout] | [INFO] [stdout] 1047 | let __end = __lookahead_start.cloned().unwrap_or_else(|| __start.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1065:23 [INFO] [stdout] | [INFO] [stdout] 1065 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1066:21 [INFO] [stdout] | [INFO] [stdout] 1066 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1085:23 [INFO] [stdout] | [INFO] [stdout] 1085 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1086:21 [INFO] [stdout] | [INFO] [stdout] 1086 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1106:23 [INFO] [stdout] | [INFO] [stdout] 1106 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1107:21 [INFO] [stdout] | [INFO] [stdout] 1107 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1126:23 [INFO] [stdout] | [INFO] [stdout] 1126 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1127:21 [INFO] [stdout] | [INFO] [stdout] 1127 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1144:48 [INFO] [stdout] | [INFO] [stdout] 1144 | let __start = __symbols.last().map(|s| s.2.clone()).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^ help: try removing the `clone` call: `s.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1145:66 [INFO] [stdout] | [INFO] [stdout] 1145 | let __end = __lookahead_start.cloned().unwrap_or_else(|| __start.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1163:23 [INFO] [stdout] | [INFO] [stdout] 1163 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1164:21 [INFO] [stdout] | [INFO] [stdout] 1164 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1183:23 [INFO] [stdout] | [INFO] [stdout] 1183 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1184:21 [INFO] [stdout] | [INFO] [stdout] 1184 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1204:23 [INFO] [stdout] | [INFO] [stdout] 1204 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1205:21 [INFO] [stdout] | [INFO] [stdout] 1205 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1225:23 [INFO] [stdout] | [INFO] [stdout] 1225 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1226:21 [INFO] [stdout] | [INFO] [stdout] 1226 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1245:23 [INFO] [stdout] | [INFO] [stdout] 1245 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1246:21 [INFO] [stdout] | [INFO] [stdout] 1246 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1267:23 [INFO] [stdout] | [INFO] [stdout] 1267 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1268:21 [INFO] [stdout] | [INFO] [stdout] 1268 | let __end = __sym3.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym3.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1288:23 [INFO] [stdout] | [INFO] [stdout] 1288 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1289:21 [INFO] [stdout] | [INFO] [stdout] 1289 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1307:23 [INFO] [stdout] | [INFO] [stdout] 1307 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1308:21 [INFO] [stdout] | [INFO] [stdout] 1308 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1326:23 [INFO] [stdout] | [INFO] [stdout] 1326 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1327:21 [INFO] [stdout] | [INFO] [stdout] 1327 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1328:9 [INFO] [stdout] | [INFO] [stdout] 1328 | let __nt = super::__action15::<>(input, __sym0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] = note: `#[warn(clippy::let_unit_value)]` on by default [INFO] [stdout] help: omit the `let` binding and replace variable usages with `()` [INFO] [stdout] | [INFO] [stdout] 1328 ~ super::__action15::<>(input, __sym0); [INFO] [stdout] 1329 ~ __symbols.push((__start, __Symbol::Variant8(()), __end)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1345:23 [INFO] [stdout] | [INFO] [stdout] 1345 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1346:21 [INFO] [stdout] | [INFO] [stdout] 1346 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1366:23 [INFO] [stdout] | [INFO] [stdout] 1366 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1367:21 [INFO] [stdout] | [INFO] [stdout] 1367 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `ArrayParser` [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:684:9 [INFO] [stdout] | [INFO] [stdout] 684 | / pub fn new() -> ArrayParser { [INFO] [stdout] 685 | | let __builder = super::__intern_token::__MatcherBuilder::new(); [INFO] [stdout] 686 | | ArrayParser { [INFO] [stdout] 687 | | builder: __builder, [INFO] [stdout] ... | [INFO] [stdout] 690 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 683 ~ impl Default for ArrayParser { [INFO] [stdout] 684 + fn default() -> Self { [INFO] [stdout] 685 + Self::new() [INFO] [stdout] 686 + } [INFO] [stdout] 687 + } [INFO] [stdout] 688 + [INFO] [stdout] 689 ~ impl ArrayParser { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:708:13 [INFO] [stdout] | [INFO] [stdout] 701 | / let __r = __state_machine::Parser::drive( [INFO] [stdout] 702 | | __StateMachine { [INFO] [stdout] 703 | | input, [INFO] [stdout] 704 | | __phantom: ::std::marker::PhantomData::<(&())>, [INFO] [stdout] 705 | | }, [INFO] [stdout] 706 | | __tokens, [INFO] [stdout] 707 | | ); [INFO] [stdout] | |______________- unnecessary `let` binding [INFO] [stdout] 708 | __r [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] = note: `#[warn(clippy::let_and_return)]` on by default [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 701 ~ [INFO] [stdout] 702 ~ __state_machine::Parser::drive( [INFO] [stdout] 703 + __StateMachine { [INFO] [stdout] 704 + input, [INFO] [stdout] 705 + __phantom: ::std::marker::PhantomData::<(&())>, [INFO] [stdout] 706 + }, [INFO] [stdout] 707 + __tokens, [INFO] [stdout] 708 + ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1386:23 [INFO] [stdout] | [INFO] [stdout] 1386 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:727:38 [INFO] [stdout] | [INFO] [stdout] 727 | None => __EOF_ACTION[__top as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try: `__top` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1387:21 [INFO] [stdout] | [INFO] [stdout] 1387 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1408:23 [INFO] [stdout] | [INFO] [stdout] 1408 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1409:21 [INFO] [stdout] | [INFO] [stdout] 1409 | let __end = __sym3.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym3.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1429:23 [INFO] [stdout] | [INFO] [stdout] 1429 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1430:21 [INFO] [stdout] | [INFO] [stdout] 1430 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1448:23 [INFO] [stdout] | [INFO] [stdout] 1448 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1449:21 [INFO] [stdout] | [INFO] [stdout] 1449 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1450:9 [INFO] [stdout] | [INFO] [stdout] 1450 | let __nt = super::__action14::<>(input, __sym0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] help: omit the `let` binding and replace variable usages with `()` [INFO] [stdout] | [INFO] [stdout] 1450 ~ super::__action14::<>(input, __sym0); [INFO] [stdout] 1451 ~ __symbols.push((__start, __Symbol::Variant8(()), __end)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:832:31 [INFO] [stdout] | [INFO] [stdout] 832 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:833:29 [INFO] [stdout] | [INFO] [stdout] 833 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1467:23 [INFO] [stdout] | [INFO] [stdout] 1467 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1468:21 [INFO] [stdout] | [INFO] [stdout] 1468 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1469:9 [INFO] [stdout] | [INFO] [stdout] 1469 | let __nt = super::__action13::<>(input, __sym0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] help: omit the `let` binding and replace variable usages with `()` [INFO] [stdout] | [INFO] [stdout] 1469 ~ super::__action13::<>(input, __sym0); [INFO] [stdout] 1470 ~ __symbols.push((__start, __Symbol::Variant8(()), __end)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1486:23 [INFO] [stdout] | [INFO] [stdout] 1486 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1487:21 [INFO] [stdout] | [INFO] [stdout] 1487 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1505:23 [INFO] [stdout] | [INFO] [stdout] 1505 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1506:21 [INFO] [stdout] | [INFO] [stdout] 1506 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1526:23 [INFO] [stdout] | [INFO] [stdout] 1526 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1527:21 [INFO] [stdout] | [INFO] [stdout] 1527 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1545:23 [INFO] [stdout] | [INFO] [stdout] 1545 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1546:21 [INFO] [stdout] | [INFO] [stdout] 1546 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1563:48 [INFO] [stdout] | [INFO] [stdout] 1563 | let __start = __symbols.last().map(|s| s.2.clone()).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^ help: try removing the `clone` call: `s.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1564:66 [INFO] [stdout] | [INFO] [stdout] 1564 | let __end = __lookahead_start.cloned().unwrap_or_else(|| __start.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1028:23 [INFO] [stdout] | [INFO] [stdout] 1028 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1582:23 [INFO] [stdout] | [INFO] [stdout] 1582 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1029:21 [INFO] [stdout] | [INFO] [stdout] 1029 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1583:21 [INFO] [stdout] | [INFO] [stdout] 1583 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1046:48 [INFO] [stdout] | [INFO] [stdout] 1046 | let __start = __symbols.last().map(|s| s.2.clone()).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^ help: try removing the `clone` call: `s.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1601:23 [INFO] [stdout] | [INFO] [stdout] 1601 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1602:21 [INFO] [stdout] | [INFO] [stdout] 1602 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1620:23 [INFO] [stdout] | [INFO] [stdout] 1620 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1621:21 [INFO] [stdout] | [INFO] [stdout] 1621 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1639:23 [INFO] [stdout] | [INFO] [stdout] 1639 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1640:21 [INFO] [stdout] | [INFO] [stdout] 1640 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1047:66 [INFO] [stdout] | [INFO] [stdout] 1047 | let __end = __lookahead_start.cloned().unwrap_or_else(|| __start.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1065:23 [INFO] [stdout] | [INFO] [stdout] 1065 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1066:21 [INFO] [stdout] | [INFO] [stdout] 1066 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1085:23 [INFO] [stdout] | [INFO] [stdout] 1085 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1086:21 [INFO] [stdout] | [INFO] [stdout] 1086 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1106:23 [INFO] [stdout] | [INFO] [stdout] 1106 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1107:21 [INFO] [stdout] | [INFO] [stdout] 1107 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1658:23 [INFO] [stdout] | [INFO] [stdout] 1658 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1659:21 [INFO] [stdout] | [INFO] [stdout] 1659 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1126:23 [INFO] [stdout] | [INFO] [stdout] 1126 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1127:21 [INFO] [stdout] | [INFO] [stdout] 1127 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1144:48 [INFO] [stdout] | [INFO] [stdout] 1144 | let __start = __symbols.last().map(|s| s.2.clone()).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^ help: try removing the `clone` call: `s.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1677:23 [INFO] [stdout] | [INFO] [stdout] 1677 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1678:21 [INFO] [stdout] | [INFO] [stdout] 1678 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1696:23 [INFO] [stdout] | [INFO] [stdout] 1696 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1697:21 [INFO] [stdout] | [INFO] [stdout] 1697 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1714:48 [INFO] [stdout] | [INFO] [stdout] 1714 | let __start = __symbols.last().map(|s| s.2.clone()).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^ help: try removing the `clone` call: `s.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1715:66 [INFO] [stdout] | [INFO] [stdout] 1715 | let __end = __lookahead_start.cloned().unwrap_or_else(|| __start.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1145:66 [INFO] [stdout] | [INFO] [stdout] 1145 | let __end = __lookahead_start.cloned().unwrap_or_else(|| __start.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1163:23 [INFO] [stdout] | [INFO] [stdout] 1163 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1164:21 [INFO] [stdout] | [INFO] [stdout] 1164 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1183:23 [INFO] [stdout] | [INFO] [stdout] 1183 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1184:21 [INFO] [stdout] | [INFO] [stdout] 1184 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1204:23 [INFO] [stdout] | [INFO] [stdout] 1204 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1205:21 [INFO] [stdout] | [INFO] [stdout] 1205 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1225:23 [INFO] [stdout] | [INFO] [stdout] 1225 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1226:21 [INFO] [stdout] | [INFO] [stdout] 1226 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1245:23 [INFO] [stdout] | [INFO] [stdout] 1245 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1246:21 [INFO] [stdout] | [INFO] [stdout] 1246 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1267:23 [INFO] [stdout] | [INFO] [stdout] 1267 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1268:21 [INFO] [stdout] | [INFO] [stdout] 1268 | let __end = __sym3.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym3.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1288:23 [INFO] [stdout] | [INFO] [stdout] 1288 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1289:21 [INFO] [stdout] | [INFO] [stdout] 1289 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1307:23 [INFO] [stdout] | [INFO] [stdout] 1307 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1308:21 [INFO] [stdout] | [INFO] [stdout] 1308 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1326:23 [INFO] [stdout] | [INFO] [stdout] 1326 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1327:21 [INFO] [stdout] | [INFO] [stdout] 1327 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1328:9 [INFO] [stdout] | [INFO] [stdout] 1328 | let __nt = super::__action15::<>(input, __sym0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] = note: `#[warn(clippy::let_unit_value)]` on by default [INFO] [stdout] help: omit the `let` binding and replace variable usages with `()` [INFO] [stdout] | [INFO] [stdout] 1328 ~ super::__action15::<>(input, __sym0); [INFO] [stdout] 1329 ~ __symbols.push((__start, __Symbol::Variant8(()), __end)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1345:23 [INFO] [stdout] | [INFO] [stdout] 1345 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1346:21 [INFO] [stdout] | [INFO] [stdout] 1346 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1366:23 [INFO] [stdout] | [INFO] [stdout] 1366 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1367:21 [INFO] [stdout] | [INFO] [stdout] 1367 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1386:23 [INFO] [stdout] | [INFO] [stdout] 1386 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1387:21 [INFO] [stdout] | [INFO] [stdout] 1387 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1408:23 [INFO] [stdout] | [INFO] [stdout] 1408 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1409:21 [INFO] [stdout] | [INFO] [stdout] 1409 | let __end = __sym3.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym3.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1429:23 [INFO] [stdout] | [INFO] [stdout] 1429 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1430:21 [INFO] [stdout] | [INFO] [stdout] 1430 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1448:23 [INFO] [stdout] | [INFO] [stdout] 1448 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1449:21 [INFO] [stdout] | [INFO] [stdout] 1449 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1450:9 [INFO] [stdout] | [INFO] [stdout] 1450 | let __nt = super::__action14::<>(input, __sym0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] help: omit the `let` binding and replace variable usages with `()` [INFO] [stdout] | [INFO] [stdout] 1450 ~ super::__action14::<>(input, __sym0); [INFO] [stdout] 1451 ~ __symbols.push((__start, __Symbol::Variant8(()), __end)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1467:23 [INFO] [stdout] | [INFO] [stdout] 1467 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1468:21 [INFO] [stdout] | [INFO] [stdout] 1468 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1469:9 [INFO] [stdout] | [INFO] [stdout] 1469 | let __nt = super::__action13::<>(input, __sym0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] help: omit the `let` binding and replace variable usages with `()` [INFO] [stdout] | [INFO] [stdout] 1469 ~ super::__action13::<>(input, __sym0); [INFO] [stdout] 1470 ~ __symbols.push((__start, __Symbol::Variant8(()), __end)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1486:23 [INFO] [stdout] | [INFO] [stdout] 1486 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1487:21 [INFO] [stdout] | [INFO] [stdout] 1487 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1505:23 [INFO] [stdout] | [INFO] [stdout] 1505 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1506:21 [INFO] [stdout] | [INFO] [stdout] 1506 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1526:23 [INFO] [stdout] | [INFO] [stdout] 1526 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1527:21 [INFO] [stdout] | [INFO] [stdout] 1527 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1545:23 [INFO] [stdout] | [INFO] [stdout] 1545 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1546:21 [INFO] [stdout] | [INFO] [stdout] 1546 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1563:48 [INFO] [stdout] | [INFO] [stdout] 1563 | let __start = __symbols.last().map(|s| s.2.clone()).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^ help: try removing the `clone` call: `s.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1564:66 [INFO] [stdout] | [INFO] [stdout] 1564 | let __end = __lookahead_start.cloned().unwrap_or_else(|| __start.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `ObjectParser` [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2397:9 [INFO] [stdout] | [INFO] [stdout] 2397 | / pub fn new() -> ObjectParser { [INFO] [stdout] 2398 | | let __builder = super::__intern_token::__MatcherBuilder::new(); [INFO] [stdout] 2399 | | ObjectParser { [INFO] [stdout] 2400 | | builder: __builder, [INFO] [stdout] ... | [INFO] [stdout] 2403 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 2396 ~ impl Default for ObjectParser { [INFO] [stdout] 2397 + fn default() -> Self { [INFO] [stdout] 2398 + Self::new() [INFO] [stdout] 2399 + } [INFO] [stdout] 2400 + } [INFO] [stdout] 2401 + [INFO] [stdout] 2402 ~ impl ObjectParser { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1582:23 [INFO] [stdout] | [INFO] [stdout] 1582 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1583:21 [INFO] [stdout] | [INFO] [stdout] 1583 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2421:13 [INFO] [stdout] | [INFO] [stdout] 2414 | / let __r = __state_machine::Parser::drive( [INFO] [stdout] 2415 | | __StateMachine { [INFO] [stdout] 2416 | | input, [INFO] [stdout] 2417 | | __phantom: ::std::marker::PhantomData::<(&())>, [INFO] [stdout] 2418 | | }, [INFO] [stdout] 2419 | | __tokens, [INFO] [stdout] 2420 | | ); [INFO] [stdout] | |______________- unnecessary `let` binding [INFO] [stdout] 2421 | __r [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 2414 ~ [INFO] [stdout] 2415 ~ __state_machine::Parser::drive( [INFO] [stdout] 2416 + __StateMachine { [INFO] [stdout] 2417 + input, [INFO] [stdout] 2418 + __phantom: ::std::marker::PhantomData::<(&())>, [INFO] [stdout] 2419 + }, [INFO] [stdout] 2420 + __tokens, [INFO] [stdout] 2421 + ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1601:23 [INFO] [stdout] | [INFO] [stdout] 1601 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1602:21 [INFO] [stdout] | [INFO] [stdout] 1602 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2440:38 [INFO] [stdout] | [INFO] [stdout] 2440 | None => __EOF_ACTION[__top as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try: `__top` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1620:23 [INFO] [stdout] | [INFO] [stdout] 1620 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1621:21 [INFO] [stdout] | [INFO] [stdout] 1621 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1639:23 [INFO] [stdout] | [INFO] [stdout] 1639 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1640:21 [INFO] [stdout] | [INFO] [stdout] 1640 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1658:23 [INFO] [stdout] | [INFO] [stdout] 1658 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1659:21 [INFO] [stdout] | [INFO] [stdout] 1659 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1677:23 [INFO] [stdout] | [INFO] [stdout] 1677 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2548:31 [INFO] [stdout] | [INFO] [stdout] 2548 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1678:21 [INFO] [stdout] | [INFO] [stdout] 1678 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1696:23 [INFO] [stdout] | [INFO] [stdout] 1696 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1697:21 [INFO] [stdout] | [INFO] [stdout] 1697 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2549:29 [INFO] [stdout] | [INFO] [stdout] 2549 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1714:48 [INFO] [stdout] | [INFO] [stdout] 1714 | let __start = __symbols.last().map(|s| s.2.clone()).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^ help: try removing the `clone` call: `s.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:1715:66 [INFO] [stdout] | [INFO] [stdout] 1715 | let __end = __lookahead_start.cloned().unwrap_or_else(|| __start.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2741:23 [INFO] [stdout] | [INFO] [stdout] 2741 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2742:21 [INFO] [stdout] | [INFO] [stdout] 2742 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2759:48 [INFO] [stdout] | [INFO] [stdout] 2759 | let __start = __symbols.last().map(|s| s.2.clone()).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^ help: try removing the `clone` call: `s.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2760:66 [INFO] [stdout] | [INFO] [stdout] 2760 | let __end = __lookahead_start.cloned().unwrap_or_else(|| __start.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2778:23 [INFO] [stdout] | [INFO] [stdout] 2778 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2779:21 [INFO] [stdout] | [INFO] [stdout] 2779 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2798:23 [INFO] [stdout] | [INFO] [stdout] 2798 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2799:21 [INFO] [stdout] | [INFO] [stdout] 2799 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2819:23 [INFO] [stdout] | [INFO] [stdout] 2819 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2820:21 [INFO] [stdout] | [INFO] [stdout] 2820 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2839:23 [INFO] [stdout] | [INFO] [stdout] 2839 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2840:21 [INFO] [stdout] | [INFO] [stdout] 2840 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2857:48 [INFO] [stdout] | [INFO] [stdout] 2857 | let __start = __symbols.last().map(|s| s.2.clone()).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^ help: try removing the `clone` call: `s.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2858:66 [INFO] [stdout] | [INFO] [stdout] 2858 | let __end = __lookahead_start.cloned().unwrap_or_else(|| __start.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2876:23 [INFO] [stdout] | [INFO] [stdout] 2876 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2877:21 [INFO] [stdout] | [INFO] [stdout] 2877 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2896:23 [INFO] [stdout] | [INFO] [stdout] 2896 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2897:21 [INFO] [stdout] | [INFO] [stdout] 2897 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2917:23 [INFO] [stdout] | [INFO] [stdout] 2917 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2918:21 [INFO] [stdout] | [INFO] [stdout] 2918 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2938:23 [INFO] [stdout] | [INFO] [stdout] 2938 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2939:21 [INFO] [stdout] | [INFO] [stdout] 2939 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2958:23 [INFO] [stdout] | [INFO] [stdout] 2958 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2959:21 [INFO] [stdout] | [INFO] [stdout] 2959 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2980:23 [INFO] [stdout] | [INFO] [stdout] 2980 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `ObjectParser` [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2397:9 [INFO] [stdout] | [INFO] [stdout] 2397 | / pub fn new() -> ObjectParser { [INFO] [stdout] 2398 | | let __builder = super::__intern_token::__MatcherBuilder::new(); [INFO] [stdout] 2399 | | ObjectParser { [INFO] [stdout] 2400 | | builder: __builder, [INFO] [stdout] ... | [INFO] [stdout] 2403 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 2396 ~ impl Default for ObjectParser { [INFO] [stdout] 2397 + fn default() -> Self { [INFO] [stdout] 2398 + Self::new() [INFO] [stdout] 2399 + } [INFO] [stdout] 2400 + } [INFO] [stdout] 2401 + [INFO] [stdout] 2402 ~ impl ObjectParser { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2981:21 [INFO] [stdout] | [INFO] [stdout] 2981 | let __end = __sym3.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym3.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3001:23 [INFO] [stdout] | [INFO] [stdout] 3001 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3002:21 [INFO] [stdout] | [INFO] [stdout] 3002 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3020:23 [INFO] [stdout] | [INFO] [stdout] 3020 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2421:13 [INFO] [stdout] | [INFO] [stdout] 2414 | / let __r = __state_machine::Parser::drive( [INFO] [stdout] 2415 | | __StateMachine { [INFO] [stdout] 2416 | | input, [INFO] [stdout] 2417 | | __phantom: ::std::marker::PhantomData::<(&())>, [INFO] [stdout] 2418 | | }, [INFO] [stdout] 2419 | | __tokens, [INFO] [stdout] 2420 | | ); [INFO] [stdout] | |______________- unnecessary `let` binding [INFO] [stdout] 2421 | __r [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 2414 ~ [INFO] [stdout] 2415 ~ __state_machine::Parser::drive( [INFO] [stdout] 2416 + __StateMachine { [INFO] [stdout] 2417 + input, [INFO] [stdout] 2418 + __phantom: ::std::marker::PhantomData::<(&())>, [INFO] [stdout] 2419 + }, [INFO] [stdout] 2420 + __tokens, [INFO] [stdout] 2421 + ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2440:38 [INFO] [stdout] | [INFO] [stdout] 2440 | None => __EOF_ACTION[__top as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try: `__top` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3021:21 [INFO] [stdout] | [INFO] [stdout] 3021 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3039:23 [INFO] [stdout] | [INFO] [stdout] 3039 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3040:21 [INFO] [stdout] | [INFO] [stdout] 3040 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3041:9 [INFO] [stdout] | [INFO] [stdout] 3041 | let __nt = super::__action15::<>(input, __sym0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] help: omit the `let` binding and replace variable usages with `()` [INFO] [stdout] | [INFO] [stdout] 3041 ~ super::__action15::<>(input, __sym0); [INFO] [stdout] 3042 ~ __symbols.push((__start, __Symbol::Variant8(()), __end)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3058:23 [INFO] [stdout] | [INFO] [stdout] 3058 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3059:21 [INFO] [stdout] | [INFO] [stdout] 3059 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3079:23 [INFO] [stdout] | [INFO] [stdout] 3079 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3080:21 [INFO] [stdout] | [INFO] [stdout] 3080 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2548:31 [INFO] [stdout] | [INFO] [stdout] 2548 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2549:29 [INFO] [stdout] | [INFO] [stdout] 2549 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3099:23 [INFO] [stdout] | [INFO] [stdout] 3099 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3100:21 [INFO] [stdout] | [INFO] [stdout] 3100 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3121:23 [INFO] [stdout] | [INFO] [stdout] 3121 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3122:21 [INFO] [stdout] | [INFO] [stdout] 3122 | let __end = __sym3.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym3.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3142:23 [INFO] [stdout] | [INFO] [stdout] 3142 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3143:21 [INFO] [stdout] | [INFO] [stdout] 3143 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3161:23 [INFO] [stdout] | [INFO] [stdout] 3161 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3162:21 [INFO] [stdout] | [INFO] [stdout] 3162 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3163:9 [INFO] [stdout] | [INFO] [stdout] 3163 | let __nt = super::__action14::<>(input, __sym0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] help: omit the `let` binding and replace variable usages with `()` [INFO] [stdout] | [INFO] [stdout] 3163 ~ super::__action14::<>(input, __sym0); [INFO] [stdout] 3164 ~ __symbols.push((__start, __Symbol::Variant8(()), __end)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3180:23 [INFO] [stdout] | [INFO] [stdout] 3180 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3181:21 [INFO] [stdout] | [INFO] [stdout] 3181 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2741:23 [INFO] [stdout] | [INFO] [stdout] 2741 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3182:9 [INFO] [stdout] | [INFO] [stdout] 3182 | let __nt = super::__action13::<>(input, __sym0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] help: omit the `let` binding and replace variable usages with `()` [INFO] [stdout] | [INFO] [stdout] 3182 ~ super::__action13::<>(input, __sym0); [INFO] [stdout] 3183 ~ __symbols.push((__start, __Symbol::Variant8(()), __end)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2742:21 [INFO] [stdout] | [INFO] [stdout] 2742 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3199:23 [INFO] [stdout] | [INFO] [stdout] 3199 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3200:21 [INFO] [stdout] | [INFO] [stdout] 3200 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3218:23 [INFO] [stdout] | [INFO] [stdout] 3218 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3219:21 [INFO] [stdout] | [INFO] [stdout] 3219 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3239:23 [INFO] [stdout] | [INFO] [stdout] 3239 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3240:21 [INFO] [stdout] | [INFO] [stdout] 3240 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2759:48 [INFO] [stdout] | [INFO] [stdout] 2759 | let __start = __symbols.last().map(|s| s.2.clone()).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^ help: try removing the `clone` call: `s.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2760:66 [INFO] [stdout] | [INFO] [stdout] 2760 | let __end = __lookahead_start.cloned().unwrap_or_else(|| __start.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3258:23 [INFO] [stdout] | [INFO] [stdout] 3258 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3259:21 [INFO] [stdout] | [INFO] [stdout] 3259 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2778:23 [INFO] [stdout] | [INFO] [stdout] 2778 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2779:21 [INFO] [stdout] | [INFO] [stdout] 2779 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3276:48 [INFO] [stdout] | [INFO] [stdout] 3276 | let __start = __symbols.last().map(|s| s.2.clone()).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^ help: try removing the `clone` call: `s.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2798:23 [INFO] [stdout] | [INFO] [stdout] 2798 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2799:21 [INFO] [stdout] | [INFO] [stdout] 2799 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3277:66 [INFO] [stdout] | [INFO] [stdout] 3277 | let __end = __lookahead_start.cloned().unwrap_or_else(|| __start.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2819:23 [INFO] [stdout] | [INFO] [stdout] 2819 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3295:23 [INFO] [stdout] | [INFO] [stdout] 3295 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2820:21 [INFO] [stdout] | [INFO] [stdout] 2820 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3296:21 [INFO] [stdout] | [INFO] [stdout] 3296 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2839:23 [INFO] [stdout] | [INFO] [stdout] 2839 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2840:21 [INFO] [stdout] | [INFO] [stdout] 2840 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3314:23 [INFO] [stdout] | [INFO] [stdout] 3314 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3315:21 [INFO] [stdout] | [INFO] [stdout] 3315 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2857:48 [INFO] [stdout] | [INFO] [stdout] 2857 | let __start = __symbols.last().map(|s| s.2.clone()).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^ help: try removing the `clone` call: `s.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3333:23 [INFO] [stdout] | [INFO] [stdout] 3333 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3334:21 [INFO] [stdout] | [INFO] [stdout] 3334 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3352:23 [INFO] [stdout] | [INFO] [stdout] 3352 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3353:21 [INFO] [stdout] | [INFO] [stdout] 3353 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3371:23 [INFO] [stdout] | [INFO] [stdout] 3371 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3372:21 [INFO] [stdout] | [INFO] [stdout] 3372 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3390:23 [INFO] [stdout] | [INFO] [stdout] 3390 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3391:21 [INFO] [stdout] | [INFO] [stdout] 3391 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3409:23 [INFO] [stdout] | [INFO] [stdout] 3409 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3410:21 [INFO] [stdout] | [INFO] [stdout] 3410 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2858:66 [INFO] [stdout] | [INFO] [stdout] 2858 | let __end = __lookahead_start.cloned().unwrap_or_else(|| __start.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2876:23 [INFO] [stdout] | [INFO] [stdout] 2876 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2877:21 [INFO] [stdout] | [INFO] [stdout] 2877 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2896:23 [INFO] [stdout] | [INFO] [stdout] 2896 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2897:21 [INFO] [stdout] | [INFO] [stdout] 2897 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2917:23 [INFO] [stdout] | [INFO] [stdout] 2917 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2918:21 [INFO] [stdout] | [INFO] [stdout] 2918 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2938:23 [INFO] [stdout] | [INFO] [stdout] 2938 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2939:21 [INFO] [stdout] | [INFO] [stdout] 2939 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2958:23 [INFO] [stdout] | [INFO] [stdout] 2958 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3427:48 [INFO] [stdout] | [INFO] [stdout] 3427 | let __start = __symbols.last().map(|s| s.2.clone()).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^ help: try removing the `clone` call: `s.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3428:66 [INFO] [stdout] | [INFO] [stdout] 3428 | let __end = __lookahead_start.cloned().unwrap_or_else(|| __start.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2959:21 [INFO] [stdout] | [INFO] [stdout] 2959 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2980:23 [INFO] [stdout] | [INFO] [stdout] 2980 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:2981:21 [INFO] [stdout] | [INFO] [stdout] 2981 | let __end = __sym3.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym3.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3001:23 [INFO] [stdout] | [INFO] [stdout] 3001 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3002:21 [INFO] [stdout] | [INFO] [stdout] 3002 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3020:23 [INFO] [stdout] | [INFO] [stdout] 3020 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3021:21 [INFO] [stdout] | [INFO] [stdout] 3021 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3039:23 [INFO] [stdout] | [INFO] [stdout] 3039 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3040:21 [INFO] [stdout] | [INFO] [stdout] 3040 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3041:9 [INFO] [stdout] | [INFO] [stdout] 3041 | let __nt = super::__action15::<>(input, __sym0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] help: omit the `let` binding and replace variable usages with `()` [INFO] [stdout] | [INFO] [stdout] 3041 ~ super::__action15::<>(input, __sym0); [INFO] [stdout] 3042 ~ __symbols.push((__start, __Symbol::Variant8(()), __end)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3058:23 [INFO] [stdout] | [INFO] [stdout] 3058 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3059:21 [INFO] [stdout] | [INFO] [stdout] 3059 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3079:23 [INFO] [stdout] | [INFO] [stdout] 3079 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3080:21 [INFO] [stdout] | [INFO] [stdout] 3080 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3099:23 [INFO] [stdout] | [INFO] [stdout] 3099 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3100:21 [INFO] [stdout] | [INFO] [stdout] 3100 | let __end = __sym1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3555:5 [INFO] [stdout] | [INFO] [stdout] 3555 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3556 | >( [INFO] [stdout] 3557 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: `#[warn(clippy::needless_lifetimes)]` on by default [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3554 ~ fn __action0( [INFO] [stdout] 3555 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3566:5 [INFO] [stdout] | [INFO] [stdout] 3566 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3567 | >( [INFO] [stdout] 3568 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3565 ~ fn __action1( [INFO] [stdout] 3566 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3121:23 [INFO] [stdout] | [INFO] [stdout] 3121 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3122:21 [INFO] [stdout] | [INFO] [stdout] 3122 | let __end = __sym3.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym3.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3619:5 [INFO] [stdout] | [INFO] [stdout] 3619 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3620 | >( [INFO] [stdout] 3621 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3618 ~ fn __action4( [INFO] [stdout] 3619 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3142:23 [INFO] [stdout] | [INFO] [stdout] 3142 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3143:21 [INFO] [stdout] | [INFO] [stdout] 3143 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3630:5 [INFO] [stdout] | [INFO] [stdout] 3630 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3631 | >( [INFO] [stdout] 3632 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3629 ~ fn __action5( [INFO] [stdout] 3630 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3641:5 [INFO] [stdout] | [INFO] [stdout] 3641 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3642 | >( [INFO] [stdout] 3643 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3640 ~ fn __action6( [INFO] [stdout] 3641 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3652:5 [INFO] [stdout] | [INFO] [stdout] 3652 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3653 | >( [INFO] [stdout] 3654 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3651 ~ fn __action7( [INFO] [stdout] 3652 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3663:5 [INFO] [stdout] | [INFO] [stdout] 3663 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3664 | >( [INFO] [stdout] 3665 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3662 ~ fn __action8( [INFO] [stdout] 3663 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3161:23 [INFO] [stdout] | [INFO] [stdout] 3161 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3162:21 [INFO] [stdout] | [INFO] [stdout] 3162 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3163:9 [INFO] [stdout] | [INFO] [stdout] 3163 | let __nt = super::__action14::<>(input, __sym0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] help: omit the `let` binding and replace variable usages with `()` [INFO] [stdout] | [INFO] [stdout] 3163 ~ super::__action14::<>(input, __sym0); [INFO] [stdout] 3164 ~ __symbols.push((__start, __Symbol::Variant8(()), __end)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3180:23 [INFO] [stdout] | [INFO] [stdout] 3180 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3181:21 [INFO] [stdout] | [INFO] [stdout] 3181 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3182:9 [INFO] [stdout] | [INFO] [stdout] 3182 | let __nt = super::__action13::<>(input, __sym0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] help: omit the `let` binding and replace variable usages with `()` [INFO] [stdout] | [INFO] [stdout] 3182 ~ super::__action13::<>(input, __sym0); [INFO] [stdout] 3183 ~ __symbols.push((__start, __Symbol::Variant8(()), __end)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3199:23 [INFO] [stdout] | [INFO] [stdout] 3199 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3200:21 [INFO] [stdout] | [INFO] [stdout] 3200 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3724:2 [INFO] [stdout] | [INFO] [stdout] 3724 | ) -> () [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3218:23 [INFO] [stdout] | [INFO] [stdout] 3218 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3219:21 [INFO] [stdout] | [INFO] [stdout] 3219 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3735:2 [INFO] [stdout] | [INFO] [stdout] 3735 | ) -> () [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3746:2 [INFO] [stdout] | [INFO] [stdout] 3746 | ) -> () [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3764:5 [INFO] [stdout] | [INFO] [stdout] 3764 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3765 | >( [INFO] [stdout] 3766 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3763 ~ fn __action17( [INFO] [stdout] 3764 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3775:5 [INFO] [stdout] | [INFO] [stdout] 3775 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3776 | >( [INFO] [stdout] 3777 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3774 ~ fn __action18( [INFO] [stdout] 3775 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3787:5 [INFO] [stdout] | [INFO] [stdout] 3787 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3788 | >( [INFO] [stdout] 3789 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3786 ~ fn __action19( [INFO] [stdout] 3787 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3799:5 [INFO] [stdout] | [INFO] [stdout] 3799 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3800 | >( [INFO] [stdout] 3801 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3798 ~ fn __action20( [INFO] [stdout] 3799 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3239:23 [INFO] [stdout] | [INFO] [stdout] 3239 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3240:21 [INFO] [stdout] | [INFO] [stdout] 3240 | let __end = __sym2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3258:23 [INFO] [stdout] | [INFO] [stdout] 3258 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3259:21 [INFO] [stdout] | [INFO] [stdout] 3259 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3276:48 [INFO] [stdout] | [INFO] [stdout] 3276 | let __start = __symbols.last().map(|s| s.2.clone()).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^ help: try removing the `clone` call: `s.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3277:66 [INFO] [stdout] | [INFO] [stdout] 3277 | let __end = __lookahead_start.cloned().unwrap_or_else(|| __start.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3822:5 [INFO] [stdout] | [INFO] [stdout] 3822 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3823 | >( [INFO] [stdout] 3824 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3821 ~ fn __action22( [INFO] [stdout] 3822 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3295:23 [INFO] [stdout] | [INFO] [stdout] 3295 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3296:21 [INFO] [stdout] | [INFO] [stdout] 3296 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3833:5 [INFO] [stdout] | [INFO] [stdout] 3833 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3834 | >( [INFO] [stdout] 3835 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3832 ~ fn __action23( [INFO] [stdout] 3833 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3845:5 [INFO] [stdout] | [INFO] [stdout] 3845 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3846 | >( [INFO] [stdout] 3847 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3844 ~ fn __action24( [INFO] [stdout] 3845 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3314:23 [INFO] [stdout] | [INFO] [stdout] 3314 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3315:21 [INFO] [stdout] | [INFO] [stdout] 3315 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3857:5 [INFO] [stdout] | [INFO] [stdout] 3857 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3858 | >( [INFO] [stdout] 3859 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3856 ~ fn __action25( [INFO] [stdout] 3857 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3880:5 [INFO] [stdout] | [INFO] [stdout] 3880 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3881 | >( [INFO] [stdout] 3882 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3879 ~ fn __action27( [INFO] [stdout] 3880 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3333:23 [INFO] [stdout] | [INFO] [stdout] 3333 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3334:21 [INFO] [stdout] | [INFO] [stdout] 3334 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3891:5 [INFO] [stdout] | [INFO] [stdout] 3891 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3892 | >( [INFO] [stdout] 3893 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3890 ~ fn __action28( [INFO] [stdout] 3891 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3903:5 [INFO] [stdout] | [INFO] [stdout] 3903 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3904 | >( [INFO] [stdout] 3905 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3902 ~ fn __action29( [INFO] [stdout] 3903 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3352:23 [INFO] [stdout] | [INFO] [stdout] 3352 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3353:21 [INFO] [stdout] | [INFO] [stdout] 3353 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3914:5 [INFO] [stdout] | [INFO] [stdout] 3914 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3915 | >( [INFO] [stdout] 3916 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3913 ~ fn __action30( [INFO] [stdout] 3914 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3371:23 [INFO] [stdout] | [INFO] [stdout] 3371 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3933:20 [INFO] [stdout] | [INFO] [stdout] 3933 | let __start0 = __0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3372:21 [INFO] [stdout] | [INFO] [stdout] 3372 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3934:18 [INFO] [stdout] | [INFO] [stdout] 3934 | let __end0 = __1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3957:20 [INFO] [stdout] | [INFO] [stdout] 3957 | let __start0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3390:23 [INFO] [stdout] | [INFO] [stdout] 3390 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3958:18 [INFO] [stdout] | [INFO] [stdout] 3958 | let __end0 = __2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3391:21 [INFO] [stdout] | [INFO] [stdout] 3391 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3982:20 [INFO] [stdout] | [INFO] [stdout] 3982 | let __start0 = __0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3409:23 [INFO] [stdout] | [INFO] [stdout] 3409 | let __start = __sym0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3983:18 [INFO] [stdout] | [INFO] [stdout] 3983 | let __end0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3410:21 [INFO] [stdout] | [INFO] [stdout] 3410 | let __end = __sym0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4010:20 [INFO] [stdout] | [INFO] [stdout] 4010 | let __start0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3427:48 [INFO] [stdout] | [INFO] [stdout] 3427 | let __start = __symbols.last().map(|s| s.2.clone()).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^ help: try removing the `clone` call: `s.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4011:18 [INFO] [stdout] | [INFO] [stdout] 4011 | let __end0 = __1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3428:66 [INFO] [stdout] | [INFO] [stdout] 3428 | let __end = __lookahead_start.cloned().unwrap_or_else(|| __start.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4035:20 [INFO] [stdout] | [INFO] [stdout] 4035 | let __start0 = __0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4036:18 [INFO] [stdout] | [INFO] [stdout] 4036 | let __end0 = __1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4059:20 [INFO] [stdout] | [INFO] [stdout] 4059 | let __start0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4060:18 [INFO] [stdout] | [INFO] [stdout] 4060 | let __end0 = __2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4084:20 [INFO] [stdout] | [INFO] [stdout] 4084 | let __start0 = __0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4085:18 [INFO] [stdout] | [INFO] [stdout] 4085 | let __end0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4112:20 [INFO] [stdout] | [INFO] [stdout] 4112 | let __start0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4113:18 [INFO] [stdout] | [INFO] [stdout] 4113 | let __end0 = __1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4138:20 [INFO] [stdout] | [INFO] [stdout] 4138 | let __start0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4139:18 [INFO] [stdout] | [INFO] [stdout] 4139 | let __end0 = __1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4162:20 [INFO] [stdout] | [INFO] [stdout] 4162 | let __start0 = __0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4163:18 [INFO] [stdout] | [INFO] [stdout] 4163 | let __end0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4189:20 [INFO] [stdout] | [INFO] [stdout] 4189 | let __start0 = __2.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__2.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4190:18 [INFO] [stdout] | [INFO] [stdout] 4190 | let __end0 = __2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3555:5 [INFO] [stdout] | [INFO] [stdout] 3555 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3556 | >( [INFO] [stdout] 3557 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: `#[warn(clippy::needless_lifetimes)]` on by default [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3554 ~ fn __action0( [INFO] [stdout] 3555 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3566:5 [INFO] [stdout] | [INFO] [stdout] 3566 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3567 | >( [INFO] [stdout] 3568 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3565 ~ fn __action1( [INFO] [stdout] 3566 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4215:20 [INFO] [stdout] | [INFO] [stdout] 4215 | let __start0 = __1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4216:18 [INFO] [stdout] | [INFO] [stdout] 4216 | let __end0 = __2.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__2.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4242:20 [INFO] [stdout] | [INFO] [stdout] 4242 | let __start0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4243:18 [INFO] [stdout] | [INFO] [stdout] 4243 | let __end0 = __1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3619:5 [INFO] [stdout] | [INFO] [stdout] 3619 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3620 | >( [INFO] [stdout] 3621 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3618 ~ fn __action4( [INFO] [stdout] 3619 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3630:5 [INFO] [stdout] | [INFO] [stdout] 3630 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3631 | >( [INFO] [stdout] 3632 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3629 ~ fn __action5( [INFO] [stdout] 3630 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4266:20 [INFO] [stdout] | [INFO] [stdout] 4266 | let __start0 = __0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4267:18 [INFO] [stdout] | [INFO] [stdout] 4267 | let __end0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3641:5 [INFO] [stdout] | [INFO] [stdout] 3641 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3642 | >( [INFO] [stdout] 3643 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3640 ~ fn __action6( [INFO] [stdout] 3641 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3652:5 [INFO] [stdout] | [INFO] [stdout] 3652 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3653 | >( [INFO] [stdout] 3654 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3651 ~ fn __action7( [INFO] [stdout] 3652 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4293:20 [INFO] [stdout] | [INFO] [stdout] 4293 | let __start0 = __2.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__2.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3663:5 [INFO] [stdout] | [INFO] [stdout] 3663 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3664 | >( [INFO] [stdout] 3665 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3662 ~ fn __action8( [INFO] [stdout] 3663 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4294:18 [INFO] [stdout] | [INFO] [stdout] 4294 | let __end0 = __2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4319:20 [INFO] [stdout] | [INFO] [stdout] 4319 | let __start0 = __1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4320:18 [INFO] [stdout] | [INFO] [stdout] 4320 | let __end0 = __2.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__2.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3724:2 [INFO] [stdout] | [INFO] [stdout] 3724 | ) -> () [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3735:2 [INFO] [stdout] | [INFO] [stdout] 3735 | ) -> () [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3746:2 [INFO] [stdout] | [INFO] [stdout] 3746 | ) -> () [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/ast.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// [INFO] [stdout] 6 | | /// [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] = note: `#[warn(clippy::empty_docs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't [INFO] [stdout] --> src/ast.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / //// This is rest of the stuff [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | #[derive(Debug, Clone)] [INFO] [stdout] 8 | | pub struct LuaObject { [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#four_forward_slashes [INFO] [stdout] = note: `#[warn(clippy::four_forward_slashes)]` on by default [INFO] [stdout] help: make this a doc comment by removing one `/` [INFO] [stdout] | [INFO] [stdout] 4 - //// This is rest of the stuff [INFO] [stdout] 5 - /// [INFO] [stdout] 4 + /// This is rest of the stuff [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3764:5 [INFO] [stdout] | [INFO] [stdout] 3764 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3765 | >( [INFO] [stdout] 3766 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3763 ~ fn __action17( [INFO] [stdout] 3764 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3775:5 [INFO] [stdout] | [INFO] [stdout] 3775 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3776 | >( [INFO] [stdout] 3777 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3774 ~ fn __action18( [INFO] [stdout] 3775 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3787:5 [INFO] [stdout] | [INFO] [stdout] 3787 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3788 | >( [INFO] [stdout] 3789 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3786 ~ fn __action19( [INFO] [stdout] 3787 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3799:5 [INFO] [stdout] | [INFO] [stdout] 3799 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3800 | >( [INFO] [stdout] 3801 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3798 ~ fn __action20( [INFO] [stdout] 3799 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3822:5 [INFO] [stdout] | [INFO] [stdout] 3822 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3823 | >( [INFO] [stdout] 3824 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3821 ~ fn __action22( [INFO] [stdout] 3822 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3833:5 [INFO] [stdout] | [INFO] [stdout] 3833 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3834 | >( [INFO] [stdout] 3835 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3832 ~ fn __action23( [INFO] [stdout] 3833 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3845:5 [INFO] [stdout] | [INFO] [stdout] 3845 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3846 | >( [INFO] [stdout] 3847 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3844 ~ fn __action24( [INFO] [stdout] 3845 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3857:5 [INFO] [stdout] | [INFO] [stdout] 3857 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3858 | >( [INFO] [stdout] 3859 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3856 ~ fn __action25( [INFO] [stdout] 3857 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: all variants have the same prefix: `Not` [INFO] [stdout] --> src/ast.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / pub enum CastError { [INFO] [stdout] 33 | | NotAString(LuaValue), [INFO] [stdout] 34 | | NotAnInteger(LuaValue), [INFO] [stdout] 35 | | NotAFloat(LuaValue), [INFO] [stdout] 36 | | NotAnArray(LuaValue), [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the prefixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] = note: `#[warn(clippy::enum_variant_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3880:5 [INFO] [stdout] | [INFO] [stdout] 3880 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3881 | >( [INFO] [stdout] 3882 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3879 ~ fn __action27( [INFO] [stdout] 3880 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't [INFO] [stdout] --> src/ast.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / //// Impls [INFO] [stdout] 47 | | impl LuaObject { [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#four_forward_slashes [INFO] [stdout] help: make this a doc comment by removing one `/` [INFO] [stdout] | [INFO] [stdout] 46 - //// Impls [INFO] [stdout] 47 - impl LuaObject { [INFO] [stdout] 46 + /// Impls [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3891:5 [INFO] [stdout] | [INFO] [stdout] 3891 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3892 | >( [INFO] [stdout] 3893 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3890 ~ fn __action28( [INFO] [stdout] 3891 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/ast.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get<'a>(&'a self, val: &LuaValue) -> Result<&LuaValue, IndexingError> { [INFO] [stdout] | ^^ ^^ ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 52 - pub fn get<'a>(&'a self, val: &LuaValue) -> Result<&LuaValue, IndexingError> { [INFO] [stdout] 52 + pub fn get(&self, val: &LuaValue) -> Result<&LuaValue, IndexingError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3903:5 [INFO] [stdout] | [INFO] [stdout] 3903 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3904 | >( [INFO] [stdout] 3905 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3902 ~ fn __action29( [INFO] [stdout] 3903 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/ast.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | return Err(IndexingError::FieldNotExists(val.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 58 - return Err(IndexingError::FieldNotExists(val.clone())); [INFO] [stdout] 58 + Err(IndexingError::FieldNotExists(val.clone())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'input [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3914:5 [INFO] [stdout] | [INFO] [stdout] 3914 | 'input, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3915 | >( [INFO] [stdout] 3916 | input: &'input str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 3913 ~ fn __action30( [INFO] [stdout] 3914 ~ input: &str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/ast.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | return Err(IndexingError::FieldNotExistsStr(val)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 74 - return Err(IndexingError::FieldNotExistsStr(val)); [INFO] [stdout] 74 + Err(IndexingError::FieldNotExistsStr(val)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3933:20 [INFO] [stdout] | [INFO] [stdout] 3933 | let __start0 = __0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/ast.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / match self.get(&LuaValue::Identifier(val.clone())) { [INFO] [stdout] 63 | | Ok(x) => return Ok(x), [INFO] [stdout] 64 | | _ => (), [INFO] [stdout] 65 | | } [INFO] [stdout] | |_________^ help: try: `if let Ok(x) = self.get(&LuaValue::Identifier(val.clone())) { return Ok(x) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] = note: `#[warn(clippy::single_match)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3934:18 [INFO] [stdout] | [INFO] [stdout] 3934 | let __end0 = __1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/ast.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / match self.get(&LuaValue::String(val.clone())) { [INFO] [stdout] 67 | | Ok(x) => return Ok(x), [INFO] [stdout] 68 | | _ => (), [INFO] [stdout] 69 | | } [INFO] [stdout] | |_________^ help: try: `if let Ok(x) = self.get(&LuaValue::String(val.clone())) { return Ok(x) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3957:20 [INFO] [stdout] | [INFO] [stdout] 3957 | let __start0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3958:18 [INFO] [stdout] | [INFO] [stdout] 3958 | let __end0 = __2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/ast.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | / match self.get(&LuaValue::Array(LuaArray::from_single_string(val.clone()))) { [INFO] [stdout] 71 | | Ok(x) => return Ok(x), [INFO] [stdout] 72 | | _ => (), [INFO] [stdout] 73 | | } [INFO] [stdout] | |_________^ help: try: `if let Ok(x) = self.get(&LuaValue::Array(LuaArray::from_single_string(val.clone()))) { return Ok(x) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3982:20 [INFO] [stdout] | [INFO] [stdout] 3982 | let __start0 = __0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3983:18 [INFO] [stdout] | [INFO] [stdout] 3983 | let __end0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/ast.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | FromStr::from_str(&x).map_err(|_| CastError::NotAnInteger(self.clone())) [INFO] [stdout] | ^^ help: change this to: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4010:20 [INFO] [stdout] | [INFO] [stdout] 4010 | let __start0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4011:18 [INFO] [stdout] | [INFO] [stdout] 4011 | let __end0 = __1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/ast.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | FromStr::from_str(&x).map_err(|_| CastError::NotAFloat(self.clone())) [INFO] [stdout] | ^^ help: change this to: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4035:20 [INFO] [stdout] | [INFO] [stdout] 4035 | let __start0 = __0.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__0.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4036:18 [INFO] [stdout] | [INFO] [stdout] 4036 | let __end0 = __1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/ast.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | return Ok(out); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 128 - return Ok(out); [INFO] [stdout] 128 + Ok(out) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4059:20 [INFO] [stdout] | [INFO] [stdout] 4059 | let __start0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/ast.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | _ => return Err(CastError::NotAnArray(self.clone())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 130 - _ => return Err(CastError::NotAnArray(self.clone())), [INFO] [stdout] 130 + _ => Err(CastError::NotAnArray(self.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4060:18 [INFO] [stdout] | [INFO] [stdout] 4060 | let __end0 = __2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/ast.rs:136:38 [INFO] [stdout] | [INFO] [stdout] 136 | LuaValue::Array(x) => Ok(&x), [INFO] [stdout] | ^^ help: change this to: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/ast.rs:143:39 [INFO] [stdout] | [INFO] [stdout] 143 | LuaValue::Object(x) => Ok(&x), [INFO] [stdout] | ^^ help: change this to: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/ast.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn get<'a>(&'a self, idx: usize) -> Result<&'a LuaValue, IndexingError> { [INFO] [stdout] | ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 154 - pub fn get<'a>(&'a self, idx: usize) -> Result<&'a LuaValue, IndexingError> { [INFO] [stdout] 154 + pub fn get(&self, idx: usize) -> Result<&LuaValue, IndexingError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/ast.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | return both_iterators.all(|(me, other)| me.key == other.key && me.value == other.value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 196 - return both_iterators.all(|(me, other)| me.key == other.key && me.value == other.value); [INFO] [stdout] 196 + both_iterators.all(|(me, other)| me.key == other.key && me.value == other.value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/ast.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | return both_iterators.all(|(me, other)| me == other); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 207 - return both_iterators.all(|(me, other)| me == other); [INFO] [stdout] 207 + both_iterators.all(|(me, other)| me == other) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/ast.rs:220:6 [INFO] [stdout] | [INFO] [stdout] 220 | impl<'a> Index for LuaArray { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4084:20 [INFO] [stdout] | [INFO] [stdout] 4084 | let __start0 = __0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4085:18 [INFO] [stdout] | [INFO] [stdout] 4085 | let __end0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4112:20 [INFO] [stdout] | [INFO] [stdout] 4112 | let __start0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4113:18 [INFO] [stdout] | [INFO] [stdout] 4113 | let __end0 = __1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4138:20 [INFO] [stdout] | [INFO] [stdout] 4138 | let __start0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4139:18 [INFO] [stdout] | [INFO] [stdout] 4139 | let __end0 = __1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4162:20 [INFO] [stdout] | [INFO] [stdout] 4162 | let __start0 = __0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4163:18 [INFO] [stdout] | [INFO] [stdout] 4163 | let __end0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4189:20 [INFO] [stdout] | [INFO] [stdout] 4189 | let __start0 = __2.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__2.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4190:18 [INFO] [stdout] | [INFO] [stdout] 4190 | let __end0 = __2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4215:20 [INFO] [stdout] | [INFO] [stdout] 4215 | let __start0 = __1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4216:18 [INFO] [stdout] | [INFO] [stdout] 4216 | let __end0 = __2.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__2.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4242:20 [INFO] [stdout] | [INFO] [stdout] 4242 | let __start0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4243:18 [INFO] [stdout] | [INFO] [stdout] 4243 | let __end0 = __1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4266:20 [INFO] [stdout] | [INFO] [stdout] 4266 | let __start0 = __0.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__0.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4267:18 [INFO] [stdout] | [INFO] [stdout] 4267 | let __end0 = __1.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4293:20 [INFO] [stdout] | [INFO] [stdout] 4293 | let __start0 = __2.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__2.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4294:18 [INFO] [stdout] | [INFO] [stdout] 4294 | let __end0 = __2.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__2.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4319:20 [INFO] [stdout] | [INFO] [stdout] 4319 | let __start0 = __1.2.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__1.2` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:4320:18 [INFO] [stdout] | [INFO] [stdout] 4320 | let __end0 = __2.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `__2.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the variable `count` is used as a loop counter [INFO] [stdout] --> src/dot_writer.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | for prod_block in prod_chain.blocks { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `for (count, prod_block) in prod_chain.blocks.into_iter().enumerate()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_counter_loop [INFO] [stdout] = note: `#[warn(clippy::explicit_counter_loop)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty string literal in `writeln!` [INFO] [stdout] --> src/dot_writer.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | writeln!(file, r""); [INFO] [stdout] | ^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove the empty string [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#writeln_empty_string [INFO] [stdout] = note: `#[warn(clippy::writeln_empty_string)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: file opened with `create`, but `truncate` behavior not defined [INFO] [stdout] --> src/dot_writer.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | .create(true) [INFO] [stdout] | ^^^^^^^^^^^^- help: add: `.truncate(true)` [INFO] [stdout] | [INFO] [stdout] = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` [INFO] [stdout] = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` [INFO] [stdout] = help: alternatively, use `.append(true)` to append to the file instead of overwriting it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options [INFO] [stdout] = note: `#[warn(clippy::suspicious_open_options)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty string literal in `writeln!` [INFO] [stdout] --> src/dot_writer.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | writeln!(makefile, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove the empty string [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#writeln_empty_string [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/productionchain/productionchainparser.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | return Ok(ingredients); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 39 - return Ok(ingredients); [INFO] [stdout] 39 + Ok(ingredients) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/ast.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// [INFO] [stdout] 6 | | /// [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] = note: `#[warn(clippy::empty_docs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't [INFO] [stdout] --> src/ast.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / //// This is rest of the stuff [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | #[derive(Debug, Clone)] [INFO] [stdout] 8 | | pub struct LuaObject { [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#four_forward_slashes [INFO] [stdout] = note: `#[warn(clippy::four_forward_slashes)]` on by default [INFO] [stdout] help: make this a doc comment by removing one `/` [INFO] [stdout] | [INFO] [stdout] 4 - //// This is rest of the stuff [INFO] [stdout] 5 - /// [INFO] [stdout] 4 + /// This is rest of the stuff [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: all variants have the same prefix: `Not` [INFO] [stdout] --> src/ast.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / pub enum CastError { [INFO] [stdout] 33 | | NotAString(LuaValue), [INFO] [stdout] 34 | | NotAnInteger(LuaValue), [INFO] [stdout] 35 | | NotAFloat(LuaValue), [INFO] [stdout] 36 | | NotAnArray(LuaValue), [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the prefixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] = note: `#[warn(clippy::enum_variant_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't [INFO] [stdout] --> src/ast.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / //// Impls [INFO] [stdout] 47 | | impl LuaObject { [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#four_forward_slashes [INFO] [stdout] help: make this a doc comment by removing one `/` [INFO] [stdout] | [INFO] [stdout] 46 - //// Impls [INFO] [stdout] 47 - impl LuaObject { [INFO] [stdout] 46 + /// Impls [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/ast.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get<'a>(&'a self, val: &LuaValue) -> Result<&LuaValue, IndexingError> { [INFO] [stdout] | ^^ ^^ ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 52 - pub fn get<'a>(&'a self, val: &LuaValue) -> Result<&LuaValue, IndexingError> { [INFO] [stdout] 52 + pub fn get(&self, val: &LuaValue) -> Result<&LuaValue, IndexingError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/ast.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | return Err(IndexingError::FieldNotExists(val.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 58 - return Err(IndexingError::FieldNotExists(val.clone())); [INFO] [stdout] 58 + Err(IndexingError::FieldNotExists(val.clone())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/ast.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | return Err(IndexingError::FieldNotExistsStr(val)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 74 - return Err(IndexingError::FieldNotExistsStr(val)); [INFO] [stdout] 74 + Err(IndexingError::FieldNotExistsStr(val)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/ast.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / match self.get(&LuaValue::Identifier(val.clone())) { [INFO] [stdout] 63 | | Ok(x) => return Ok(x), [INFO] [stdout] 64 | | _ => (), [INFO] [stdout] 65 | | } [INFO] [stdout] | |_________^ help: try: `if let Ok(x) = self.get(&LuaValue::Identifier(val.clone())) { return Ok(x) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] = note: `#[warn(clippy::single_match)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/ast.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / match self.get(&LuaValue::String(val.clone())) { [INFO] [stdout] 67 | | Ok(x) => return Ok(x), [INFO] [stdout] 68 | | _ => (), [INFO] [stdout] 69 | | } [INFO] [stdout] | |_________^ help: try: `if let Ok(x) = self.get(&LuaValue::String(val.clone())) { return Ok(x) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/ast.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | / match self.get(&LuaValue::Array(LuaArray::from_single_string(val.clone()))) { [INFO] [stdout] 71 | | Ok(x) => return Ok(x), [INFO] [stdout] 72 | | _ => (), [INFO] [stdout] 73 | | } [INFO] [stdout] | |_________^ help: try: `if let Ok(x) = self.get(&LuaValue::Array(LuaArray::from_single_string(val.clone()))) { return Ok(x) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/ast.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | FromStr::from_str(&x).map_err(|_| CastError::NotAnInteger(self.clone())) [INFO] [stdout] | ^^ help: change this to: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/ast.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | FromStr::from_str(&x).map_err(|_| CastError::NotAFloat(self.clone())) [INFO] [stdout] | ^^ help: change this to: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/ast.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | return Ok(out); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 128 - return Ok(out); [INFO] [stdout] 128 + Ok(out) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/ast.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | _ => return Err(CastError::NotAnArray(self.clone())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 130 - _ => return Err(CastError::NotAnArray(self.clone())), [INFO] [stdout] 130 + _ => Err(CastError::NotAnArray(self.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/ast.rs:136:38 [INFO] [stdout] | [INFO] [stdout] 136 | LuaValue::Array(x) => Ok(&x), [INFO] [stdout] | ^^ help: change this to: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/ast.rs:143:39 [INFO] [stdout] | [INFO] [stdout] 143 | LuaValue::Object(x) => Ok(&x), [INFO] [stdout] | ^^ help: change this to: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/ast.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn get<'a>(&'a self, idx: usize) -> Result<&'a LuaValue, IndexingError> { [INFO] [stdout] | ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 154 - pub fn get<'a>(&'a self, idx: usize) -> Result<&'a LuaValue, IndexingError> { [INFO] [stdout] 154 + pub fn get(&self, idx: usize) -> Result<&LuaValue, IndexingError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/ast.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | return both_iterators.all(|(me, other)| me.key == other.key && me.value == other.value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 196 - return both_iterators.all(|(me, other)| me.key == other.key && me.value == other.value); [INFO] [stdout] 196 + both_iterators.all(|(me, other)| me.key == other.key && me.value == other.value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/ast.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | return both_iterators.all(|(me, other)| me == other); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 207 - return both_iterators.all(|(me, other)| me == other); [INFO] [stdout] 207 + both_iterators.all(|(me, other)| me == other) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/recipes.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | / Ok(val [INFO] [stdout] 54 | | .get(fname) [INFO] [stdout] 55 | | .ok_or(JSONParsingError::FieldNotExistsError(fname))? [INFO] [stdout] 56 | | .as_f64() [INFO] [stdout] 57 | | .ok_or(JSONParsingError::InvalidType(fname))?) [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] = note: `#[warn(clippy::needless_question_mark)]` on by default [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 53 ~ val [INFO] [stdout] 54 | .get(fname) [INFO] [stdout] 55 | .ok_or(JSONParsingError::FieldNotExistsError(fname))? [INFO] [stdout] 56 | .as_f64() [INFO] [stdout] 57 ~ .ok_or(JSONParsingError::InvalidType(fname)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/ast.rs:220:6 [INFO] [stdout] | [INFO] [stdout] 220 | impl<'a> Index for LuaArray { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/recipes.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | return Ok(result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 87 - return Ok(result); [INFO] [stdout] 87 + Ok(result) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/recipes.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | if (nodes.is_object() && nodes.as_object().unwrap().len() == 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `nodes.as_object().unwrap().is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/recipes.rs:78:42 [INFO] [stdout] | [INFO] [stdout] 78 | type_: get_str_field(&node, "type")?, [INFO] [stdout] | ^^^^^ help: change this to: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/recipes.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | name: get_str_field(&node, "name")?, [INFO] [stdout] | ^^^^^ help: change this to: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/recipes.rs:80:43 [INFO] [stdout] | [INFO] [stdout] 80 | amount: get_f64_field(&node, "amount").ok(), [INFO] [stdout] | ^^^^^ help: change this to: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/recipes.rs:81:47 [INFO] [stdout] | [INFO] [stdout] 81 | amount_min: get_f64_field(&node, "amount_min").ok(), [INFO] [stdout] | ^^^^^ help: change this to: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/recipes.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | amount_max: get_f64_field(&node, "amount_max").ok(), [INFO] [stdout] | ^^^^^ help: change this to: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/recipes.rs:83:48 [INFO] [stdout] | [INFO] [stdout] 83 | probability: get_f64_field(&node, "probability").ok(), [INFO] [stdout] | ^^^^^ help: change this to: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: sub-expression diverges [INFO] [stdout] --> src/recipes.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | let ingredients_node = return Ok(Recipe { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 97 | | id: id, [INFO] [stdout] 98 | | category: category, [INFO] [stdout] 99 | | energy: energy, [INFO] [stdout] 100 | | ingredients: ingredients, [INFO] [stdout] 101 | | products: products, [INFO] [stdout] 102 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression [INFO] [stdout] = note: `#[warn(clippy::diverging_sub_expression)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the variable `count` is used as a loop counter [INFO] [stdout] --> src/dot_writer.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | for prod_block in prod_chain.blocks { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `for (count, prod_block) in prod_chain.blocks.into_iter().enumerate()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_counter_loop [INFO] [stdout] = note: `#[warn(clippy::explicit_counter_loop)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty string literal in `writeln!` [INFO] [stdout] --> src/dot_writer.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | writeln!(file, r""); [INFO] [stdout] | ^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove the empty string [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#writeln_empty_string [INFO] [stdout] = note: `#[warn(clippy::writeln_empty_string)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> src/recipes.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | / let ingredients_node = return Ok(Recipe { [INFO] [stdout] 97 | | id: id, [INFO] [stdout] 98 | | category: category, [INFO] [stdout] 99 | | energy: energy, [INFO] [stdout] 100 | | ingredients: ingredients, [INFO] [stdout] 101 | | products: products, [INFO] [stdout] 102 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] help: omit the `let` binding [INFO] [stdout] | [INFO] [stdout] 96 - let ingredients_node = return Ok(Recipe { [INFO] [stdout] 96 + return Ok(Recipe { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/recipes.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | return Ok(RecipeDatabase { recipes: result }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 117 - return Ok(RecipeDatabase { recipes: result }); [INFO] [stdout] 117 + Ok(RecipeDatabase { recipes: result }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | if !recipes.is_ok() || !prod_chain.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `recipes.is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: file opened with `create`, but `truncate` behavior not defined [INFO] [stdout] --> src/dot_writer.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | .create(true) [INFO] [stdout] | ^^^^^^^^^^^^- help: add: `.truncate(true)` [INFO] [stdout] | [INFO] [stdout] = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` [INFO] [stdout] = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` [INFO] [stdout] = help: alternatively, use `.append(true)` to append to the file instead of overwriting it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options [INFO] [stdout] = note: `#[warn(clippy::suspicious_open_options)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | if !recipes.is_ok() || !prod_chain.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try: `prod_chain.is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty string literal in `writeln!` [INFO] [stdout] --> src/dot_writer.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | writeln!(makefile, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove the empty string [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#writeln_empty_string [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/main.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(recipes) => return Ok(recipes), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 72 - Ok(recipes) => return Ok(recipes), [INFO] [stdout] 72 + Ok(recipes) => Ok(recipes), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/main.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | return Err(()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 75 - return Err(()); [INFO] [stdout] 75 + Err(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | return Err(()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 82 - return Err(()); [INFO] [stdout] 82 + Err(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/main.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | return Err(()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 122 - return Err(()); [INFO] [stdout] 122 + Err(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/main.rs:124:26 [INFO] [stdout] | [INFO] [stdout] 124 | Ok(prodchain) => return Ok(prodchain), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 124 - Ok(prodchain) => return Ok(prodchain), [INFO] [stdout] 124 + Ok(prodchain) => Ok(prodchain), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 106 | let parsed = grammar::ObjectParser::new().parse(&contents); [INFO] [stdout] | ^^^^^^^^^ help: change this to: `contents` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/main.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | / match parsed { [INFO] [stdout] 108 | | Err(err) => { [INFO] [stdout] 109 | | eprintln!("ERROR: {:?}", err); [INFO] [stdout] 110 | | return Err(()); [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | _ => (), [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 107 ~ if let Err(err) = parsed { [INFO] [stdout] 108 + eprintln!("ERROR: {:?}", err); [INFO] [stdout] 109 + return Err(()); [INFO] [stdout] 110 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/productionchain/productionchainparser.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | return Ok(ingredients); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 39 - return Ok(ingredients); [INFO] [stdout] 39 + Ok(ingredients) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | / return s [INFO] [stdout] 130 | | .trim_start_matches("do local _=") [INFO] [stdout] 131 | | .trim_end_matches(";return _;end") [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 129 ~ s [INFO] [stdout] 130 + .trim_start_matches("do local _=") [INFO] [stdout] 131 + .trim_end_matches(";return _;end") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3680:14 [INFO] [stdout] | [INFO] [stdout] 3680 | { panic!(format!("{:?}", __0))} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 3680 - { panic!(format!("{:?}", __0))} [INFO] [stdout] 3680 + { panic!("{:?}", __0)} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ast.rs:52:56 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get<'a>(&'a self, val: &LuaValue) -> Result<&LuaValue, IndexingError> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get<'a>(&'a self, val: &LuaValue) -> Result<&'a LuaValue, IndexingError> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/recipes.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | / Ok(val [INFO] [stdout] 54 | | .get(fname) [INFO] [stdout] 55 | | .ok_or(JSONParsingError::FieldNotExistsError(fname))? [INFO] [stdout] 56 | | .as_f64() [INFO] [stdout] 57 | | .ok_or(JSONParsingError::InvalidType(fname))?) [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] = note: `#[warn(clippy::needless_question_mark)]` on by default [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 53 ~ val [INFO] [stdout] 54 | .get(fname) [INFO] [stdout] 55 | .ok_or(JSONParsingError::FieldNotExistsError(fname))? [INFO] [stdout] 56 | .as_f64() [INFO] [stdout] 57 ~ .ok_or(JSONParsingError::InvalidType(fname)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/recipes.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | return Ok(result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 87 - return Ok(result); [INFO] [stdout] 87 + Ok(result) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/recipes.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | if (nodes.is_object() && nodes.as_object().unwrap().len() == 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `nodes.as_object().unwrap().is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | writeln!(file, r#" "{0}" [label = "{0}" shape="rectangle"];"#, name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = writeln!(file, r#" "{0}" [label = "{0}" shape="rectangle"];"#, name); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / writeln!( [INFO] [stdout] 35 | | file, [INFO] [stdout] 36 | | r#"digraph "{0} - {1}" {{"#, [INFO] [stdout] 37 | | prod_block.name, prod_block.count [INFO] [stdout] 38 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = writeln!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / writeln!( [INFO] [stdout] 41 | | file, [INFO] [stdout] 42 | | r#" input [label = "" shape=circle color=grey];"# [INFO] [stdout] 43 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = writeln!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | / writeln!( [INFO] [stdout] 49 | | file, [INFO] [stdout] 50 | | r#" input -> "{0}" [color="grey", label="{1}"];"#, [INFO] [stdout] 51 | | name, count [INFO] [stdout] 52 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = writeln!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | writeln!(file, r""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | let _ = writeln!(file, r""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | / writeln!( [INFO] [stdout] 61 | | file, [INFO] [stdout] 62 | | r#" "Rec_{0}" [label = "{0}*{1}" shape=circle color=grey]"#, [INFO] [stdout] 63 | | prod_recipe.name, prod_recipe.output_count [INFO] [stdout] 64 | | ); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = writeln!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | / writeln!( [INFO] [stdout] 69 | | file, [INFO] [stdout] 70 | | r#" "{0}" -> "Rec_{1}" [label = "{2:.2}" color=red]"#, [INFO] [stdout] 71 | | ingr.name, [INFO] [stdout] ... | [INFO] [stdout] 74 | | / recipe.energy [INFO] [stdout] 75 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = writeln!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | / writeln!( [INFO] [stdout] 81 | | file, [INFO] [stdout] 82 | | r#" "Rec_{1}" -> "{0}" [label = "{2:.2}" color=green]"#, [INFO] [stdout] 83 | | ingr.name, [INFO] [stdout] ... | [INFO] [stdout] 86 | | / recipe.energy [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 80 | let _ = writeln!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | / writeln!( [INFO] [stdout] 92 | | file, [INFO] [stdout] 93 | | r#" "Rec_{0}" [label="RECIPE NOT FOUND: {0}" color=red shape=star]"#, [INFO] [stdout] 94 | | prod_recipe.name [INFO] [stdout] 95 | | ); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 91 | let _ = writeln!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | writeln!(file, r#"}}"#); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = writeln!(file, r#"}}"#); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/recipes.rs:78:42 [INFO] [stdout] | [INFO] [stdout] 78 | type_: get_str_field(&node, "type")?, [INFO] [stdout] | ^^^^^ help: change this to: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | write!(makefile, "all:"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 112 | let _ = write!(makefile, "all:"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | write!(makefile, " {0}.png", i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = write!(makefile, " {0}.png", i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | writeln!(makefile, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 117 | let _ = writeln!(makefile, ""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | writeln!(makefile, ".PHONY: all"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = writeln!(makefile, ".PHONY: all"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/recipes.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | name: get_str_field(&node, "name")?, [INFO] [stdout] | ^^^^^ help: change this to: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/recipes.rs:80:43 [INFO] [stdout] | [INFO] [stdout] 80 | amount: get_f64_field(&node, "amount").ok(), [INFO] [stdout] | ^^^^^ help: change this to: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/recipes.rs:81:47 [INFO] [stdout] | [INFO] [stdout] 81 | amount_min: get_f64_field(&node, "amount_min").ok(), [INFO] [stdout] | ^^^^^ help: change this to: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/recipes.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | amount_max: get_f64_field(&node, "amount_max").ok(), [INFO] [stdout] | ^^^^^ help: change this to: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | writeln!(makefile, r#"{0}.png: {0}.dot"#, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 121 | let _ = writeln!(makefile, r#"{0}.png: {0}.dot"#, i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/recipes.rs:83:48 [INFO] [stdout] | [INFO] [stdout] 83 | probability: get_f64_field(&node, "probability").ok(), [INFO] [stdout] | ^^^^^ help: change this to: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | writeln!(makefile, r#" dot -Tpng {0}.dot -o {0}.png"#, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 122 | let _ = writeln!(makefile, r#" dot -Tpng {0}.dot -o {0}.png"#, i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: sub-expression diverges [INFO] [stdout] --> src/recipes.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | let ingredients_node = return Ok(Recipe { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 97 | | id: id, [INFO] [stdout] 98 | | category: category, [INFO] [stdout] 99 | | energy: energy, [INFO] [stdout] 100 | | ingredients: ingredients, [INFO] [stdout] 101 | | products: products, [INFO] [stdout] 102 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression [INFO] [stdout] = note: `#[warn(clippy::diverging_sub_expression)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> src/recipes.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | / let ingredients_node = return Ok(Recipe { [INFO] [stdout] 97 | | id: id, [INFO] [stdout] 98 | | category: category, [INFO] [stdout] 99 | | energy: energy, [INFO] [stdout] 100 | | ingredients: ingredients, [INFO] [stdout] 101 | | products: products, [INFO] [stdout] 102 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] help: omit the `let` binding [INFO] [stdout] | [INFO] [stdout] 96 - let ingredients_node = return Ok(Recipe { [INFO] [stdout] 96 + return Ok(Recipe { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/recipes.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | return Ok(RecipeDatabase { recipes: result }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 117 - return Ok(RecipeDatabase { recipes: result }); [INFO] [stdout] 117 + Ok(RecipeDatabase { recipes: result }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | if !recipes.is_ok() || !prod_chain.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `recipes.is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | if !recipes.is_ok() || !prod_chain.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try: `prod_chain.is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/main.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(recipes) => return Ok(recipes), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 72 - Ok(recipes) => return Ok(recipes), [INFO] [stdout] 72 + Ok(recipes) => Ok(recipes), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/main.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | return Err(()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 75 - return Err(()); [INFO] [stdout] 75 + Err(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | return Err(()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 82 - return Err(()); [INFO] [stdout] 82 + Err(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/main.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | return Err(()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 122 - return Err(()); [INFO] [stdout] 122 + Err(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/main.rs:124:26 [INFO] [stdout] | [INFO] [stdout] 124 | Ok(prodchain) => return Ok(prodchain), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 124 - Ok(prodchain) => return Ok(prodchain), [INFO] [stdout] 124 + Ok(prodchain) => Ok(prodchain), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 106 | let parsed = grammar::ObjectParser::new().parse(&contents); [INFO] [stdout] | ^^^^^^^^^ help: change this to: `contents` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/main.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | / match parsed { [INFO] [stdout] 108 | | Err(err) => { [INFO] [stdout] 109 | | eprintln!("ERROR: {:?}", err); [INFO] [stdout] 110 | | return Err(()); [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | _ => (), [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 107 ~ if let Err(err) = parsed { [INFO] [stdout] 108 + eprintln!("ERROR: {:?}", err); [INFO] [stdout] 109 + return Err(()); [INFO] [stdout] 110 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | / return s [INFO] [stdout] 130 | | .trim_start_matches("do local _=") [INFO] [stdout] 131 | | .trim_end_matches(";return _;end") [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 129 ~ s [INFO] [stdout] 130 + .trim_start_matches("do local _=") [INFO] [stdout] 131 + .trim_end_matches(";return _;end") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-110dbad2c1d3adf5/out/grammar.rs:3680:14 [INFO] [stdout] | [INFO] [stdout] 3680 | { panic!(format!("{:?}", __0))} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 3680 - { panic!(format!("{:?}", __0))} [INFO] [stdout] 3680 + { panic!("{:?}", __0)} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ast.rs:52:56 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get<'a>(&'a self, val: &LuaValue) -> Result<&LuaValue, IndexingError> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get<'a>(&'a self, val: &LuaValue) -> Result<&'a LuaValue, IndexingError> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | writeln!(file, r#" "{0}" [label = "{0}" shape="rectangle"];"#, name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = writeln!(file, r#" "{0}" [label = "{0}" shape="rectangle"];"#, name); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / writeln!( [INFO] [stdout] 35 | | file, [INFO] [stdout] 36 | | r#"digraph "{0} - {1}" {{"#, [INFO] [stdout] 37 | | prod_block.name, prod_block.count [INFO] [stdout] 38 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = writeln!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / writeln!( [INFO] [stdout] 41 | | file, [INFO] [stdout] 42 | | r#" input [label = "" shape=circle color=grey];"# [INFO] [stdout] 43 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = writeln!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | / writeln!( [INFO] [stdout] 49 | | file, [INFO] [stdout] 50 | | r#" input -> "{0}" [color="grey", label="{1}"];"#, [INFO] [stdout] 51 | | name, count [INFO] [stdout] 52 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = writeln!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | writeln!(file, r""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | let _ = writeln!(file, r""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | / writeln!( [INFO] [stdout] 61 | | file, [INFO] [stdout] 62 | | r#" "Rec_{0}" [label = "{0}*{1}" shape=circle color=grey]"#, [INFO] [stdout] 63 | | prod_recipe.name, prod_recipe.output_count [INFO] [stdout] 64 | | ); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = writeln!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | / writeln!( [INFO] [stdout] 69 | | file, [INFO] [stdout] 70 | | r#" "{0}" -> "Rec_{1}" [label = "{2:.2}" color=red]"#, [INFO] [stdout] 71 | | ingr.name, [INFO] [stdout] ... | [INFO] [stdout] 74 | | / recipe.energy [INFO] [stdout] 75 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = writeln!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | / writeln!( [INFO] [stdout] 81 | | file, [INFO] [stdout] 82 | | r#" "Rec_{1}" -> "{0}" [label = "{2:.2}" color=green]"#, [INFO] [stdout] 83 | | ingr.name, [INFO] [stdout] ... | [INFO] [stdout] 86 | | / recipe.energy [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 80 | let _ = writeln!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | / writeln!( [INFO] [stdout] 92 | | file, [INFO] [stdout] 93 | | r#" "Rec_{0}" [label="RECIPE NOT FOUND: {0}" color=red shape=star]"#, [INFO] [stdout] 94 | | prod_recipe.name [INFO] [stdout] 95 | | ); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 91 | let _ = writeln!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | writeln!(file, r#"}}"#); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = writeln!(file, r#"}}"#); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | write!(makefile, "all:"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 112 | let _ = write!(makefile, "all:"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | write!(makefile, " {0}.png", i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = write!(makefile, " {0}.png", i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | writeln!(makefile, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 117 | let _ = writeln!(makefile, ""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | writeln!(makefile, ".PHONY: all"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = writeln!(makefile, ".PHONY: all"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | writeln!(makefile, r#"{0}.png: {0}.dot"#, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 121 | let _ = writeln!(makefile, r#"{0}.png: {0}.dot"#, i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | writeln!(makefile, r#" dot -Tpng {0}.dot -o {0}.png"#, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 122 | let _ = writeln!(makefile, r#" dot -Tpng {0}.dot -o {0}.png"#, i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.01s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.17.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "dd6735dfe1879bffd844229a64fed690b5a319880b74163f9214987cb5fef9a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd6735dfe1879bffd844229a64fed690b5a319880b74163f9214987cb5fef9a0", kill_on_drop: false }` [INFO] [stdout] dd6735dfe1879bffd844229a64fed690b5a319880b74163f9214987cb5fef9a0