[INFO] updating cached repository NicholasLYang/rust-calculator [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/NicholasLYang/rust-calculator [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/NicholasLYang/rust-calculator" "work/ex/clippy-test-run/sources/stable/gh/NicholasLYang/rust-calculator"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/NicholasLYang/rust-calculator'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/NicholasLYang/rust-calculator" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/NicholasLYang/rust-calculator"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/NicholasLYang/rust-calculator'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5a85d3d559e4fa9652f54276213edd771a4c48c6 [INFO] sha for GitHub repo NicholasLYang/rust-calculator: 5a85d3d559e4fa9652f54276213edd771a4c48c6 [INFO] validating manifest of NicholasLYang/rust-calculator on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of NicholasLYang/rust-calculator on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing NicholasLYang/rust-calculator [INFO] finished frobbing NicholasLYang/rust-calculator [INFO] frobbed toml for NicholasLYang/rust-calculator written to work/ex/clippy-test-run/sources/stable/gh/NicholasLYang/rust-calculator/Cargo.toml [INFO] started frobbing NicholasLYang/rust-calculator [INFO] finished frobbing NicholasLYang/rust-calculator [INFO] frobbed toml for NicholasLYang/rust-calculator written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/NicholasLYang/rust-calculator/Cargo.toml [INFO] crate NicholasLYang/rust-calculator has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting NicholasLYang/rust-calculator against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-3/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/NicholasLYang/rust-calculator:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 25c522577bf2a07c1a65a84a19266bc17abfd47746975bac7749d1f0d35f850e [INFO] running `"docker" "start" "-a" "25c522577bf2a07c1a65a84a19266bc17abfd47746975bac7749d1f0d35f850e"` [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.5.0 [INFO] [stderr] Compiling diff v0.1.11 [INFO] [stderr] Compiling lalrpop-util v0.16.1 [INFO] [stderr] Compiling ascii-canvas v1.0.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling ena v0.10.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.1 [INFO] [stderr] Compiling bit-set v0.5.0 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Compiling docopt v1.0.1 [INFO] [stderr] Compiling lalrpop v0.16.1 [INFO] [stderr] Compiling rust-calculator v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:26:22 [INFO] [stderr] | [INFO] [stderr] 26 | const __ACTION: &'static [i8] = &[ [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:60:26 [INFO] [stderr] | [INFO] [stderr] 60 | const __EOF_ACTION: &'static [i8] = &[ [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:94:20 [INFO] [stderr] | [INFO] [stderr] 94 | const __GOTO: &'static [i8] = &[ [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:129:28 [INFO] [stderr] | [INFO] [stderr] 129 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:129:38 [INFO] [stderr] | [INFO] [stderr] 129 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:203:77 [INFO] [stderr] | [INFO] [stderr] 203 | __tok @ Token::LParen => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::double_parens)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:207:77 [INFO] [stderr] | [INFO] [stderr] 207 | __tok @ Token::RParen => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:211:84 [INFO] [stderr] | [INFO] [stderr] 211 | __tok @ Token::Op(Op::Times) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:215:83 [INFO] [stderr] | [INFO] [stderr] 215 | __tok @ Token::Op(Op::Plus) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:219:84 [INFO] [stderr] | [INFO] [stderr] 219 | __tok @ Token::Op(Op::Minus) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:223:82 [INFO] [stderr] | [INFO] [stderr] 223 | __tok @ Token::Op(Op::Div) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:227:74 [INFO] [stderr] | [INFO] [stderr] 227 | Token::Num(__tok0) => __Symbol::Variant1((__tok0)), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:562:22 [INFO] [stderr] | [INFO] [stderr] 562 | const __ACTION: &'static [i8] = &[ [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:596:26 [INFO] [stderr] | [INFO] [stderr] 596 | const __EOF_ACTION: &'static [i8] = &[ [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:630:20 [INFO] [stderr] | [INFO] [stderr] 630 | const __GOTO: &'static [i8] = &[ [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:665:28 [INFO] [stderr] | [INFO] [stderr] 665 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:665:38 [INFO] [stderr] | [INFO] [stderr] 665 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:739:77 [INFO] [stderr] | [INFO] [stderr] 739 | __tok @ Token::LParen => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:743:77 [INFO] [stderr] | [INFO] [stderr] 743 | __tok @ Token::RParen => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:747:84 [INFO] [stderr] | [INFO] [stderr] 747 | __tok @ Token::Op(Op::Times) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:751:83 [INFO] [stderr] | [INFO] [stderr] 751 | __tok @ Token::Op(Op::Plus) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:755:84 [INFO] [stderr] | [INFO] [stderr] 755 | __tok @ Token::Op(Op::Minus) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:759:82 [INFO] [stderr] | [INFO] [stderr] 759 | __tok @ Token::Op(Op::Div) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:763:74 [INFO] [stderr] | [INFO] [stderr] 763 | Token::Num(__tok0) => __Symbol::Variant1((__tok0)), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1098:22 [INFO] [stderr] | [INFO] [stderr] 1098 | const __ACTION: &'static [i8] = &[ [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1132:26 [INFO] [stderr] | [INFO] [stderr] 1132 | const __EOF_ACTION: &'static [i8] = &[ [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1166:20 [INFO] [stderr] | [INFO] [stderr] 1166 | const __GOTO: &'static [i8] = &[ [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1201:28 [INFO] [stderr] | [INFO] [stderr] 1201 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1201:38 [INFO] [stderr] | [INFO] [stderr] 1201 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1275:77 [INFO] [stderr] | [INFO] [stderr] 1275 | __tok @ Token::LParen => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1279:77 [INFO] [stderr] | [INFO] [stderr] 1279 | __tok @ Token::RParen => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1283:84 [INFO] [stderr] | [INFO] [stderr] 1283 | __tok @ Token::Op(Op::Times) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1287:83 [INFO] [stderr] | [INFO] [stderr] 1287 | __tok @ Token::Op(Op::Plus) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1291:84 [INFO] [stderr] | [INFO] [stderr] 1291 | __tok @ Token::Op(Op::Minus) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1295:82 [INFO] [stderr] | [INFO] [stderr] 1295 | __tok @ Token::Op(Op::Div) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1299:74 [INFO] [stderr] | [INFO] [stderr] 1299 | Token::Num(__tok0) => __Symbol::Variant1((__tok0)), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:26:22 [INFO] [stderr] | [INFO] [stderr] 26 | const __ACTION: &'static [i8] = &[ [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:60:26 [INFO] [stderr] | [INFO] [stderr] 60 | const __EOF_ACTION: &'static [i8] = &[ [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:94:20 [INFO] [stderr] | [INFO] [stderr] 94 | const __GOTO: &'static [i8] = &[ [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:129:28 [INFO] [stderr] | [INFO] [stderr] 129 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:129:38 [INFO] [stderr] | [INFO] [stderr] 129 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:203:77 [INFO] [stderr] | [INFO] [stderr] 203 | __tok @ Token::LParen => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::double_parens)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:207:77 [INFO] [stderr] | [INFO] [stderr] 207 | __tok @ Token::RParen => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:211:84 [INFO] [stderr] | [INFO] [stderr] 211 | __tok @ Token::Op(Op::Times) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:215:83 [INFO] [stderr] | [INFO] [stderr] 215 | __tok @ Token::Op(Op::Plus) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:219:84 [INFO] [stderr] | [INFO] [stderr] 219 | __tok @ Token::Op(Op::Minus) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:223:82 [INFO] [stderr] | [INFO] [stderr] 223 | __tok @ Token::Op(Op::Div) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:227:74 [INFO] [stderr] | [INFO] [stderr] 227 | Token::Num(__tok0) => __Symbol::Variant1((__tok0)), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:562:22 [INFO] [stderr] | [INFO] [stderr] 562 | const __ACTION: &'static [i8] = &[ [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:596:26 [INFO] [stderr] | [INFO] [stderr] 596 | const __EOF_ACTION: &'static [i8] = &[ [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:630:20 [INFO] [stderr] | [INFO] [stderr] 630 | const __GOTO: &'static [i8] = &[ [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:665:28 [INFO] [stderr] | [INFO] [stderr] 665 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:665:38 [INFO] [stderr] | [INFO] [stderr] 665 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:739:77 [INFO] [stderr] | [INFO] [stderr] 739 | __tok @ Token::LParen => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:743:77 [INFO] [stderr] | [INFO] [stderr] 743 | __tok @ Token::RParen => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:747:84 [INFO] [stderr] | [INFO] [stderr] 747 | __tok @ Token::Op(Op::Times) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:751:83 [INFO] [stderr] | [INFO] [stderr] 751 | __tok @ Token::Op(Op::Plus) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:755:84 [INFO] [stderr] | [INFO] [stderr] 755 | __tok @ Token::Op(Op::Minus) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:759:82 [INFO] [stderr] | [INFO] [stderr] 759 | __tok @ Token::Op(Op::Div) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:763:74 [INFO] [stderr] | [INFO] [stderr] 763 | Token::Num(__tok0) => __Symbol::Variant1((__tok0)), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1098:22 [INFO] [stderr] | [INFO] [stderr] 1098 | const __ACTION: &'static [i8] = &[ [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1132:26 [INFO] [stderr] | [INFO] [stderr] 1132 | const __EOF_ACTION: &'static [i8] = &[ [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1166:20 [INFO] [stderr] | [INFO] [stderr] 1166 | const __GOTO: &'static [i8] = &[ [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[i8]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1201:28 [INFO] [stderr] | [INFO] [stderr] 1201 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1201:38 [INFO] [stderr] | [INFO] [stderr] 1201 | const __TERMINAL: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1275:77 [INFO] [stderr] | [INFO] [stderr] 1275 | __tok @ Token::LParen => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1279:77 [INFO] [stderr] | [INFO] [stderr] 1279 | __tok @ Token::RParen => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1283:84 [INFO] [stderr] | [INFO] [stderr] 1283 | __tok @ Token::Op(Op::Times) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1287:83 [INFO] [stderr] | [INFO] [stderr] 1287 | __tok @ Token::Op(Op::Plus) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1291:84 [INFO] [stderr] | [INFO] [stderr] 1291 | __tok @ Token::Op(Op::Minus) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1295:82 [INFO] [stderr] | [INFO] [stderr] 1295 | __tok @ Token::Op(Op::Div) => __Symbol::Variant0((__tok)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1299:74 [INFO] [stderr] | [INFO] [stderr] 1299 | Token::Num(__tok0) => __Symbol::Variant1((__tok0)), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `parser::__parse__Expr::ExprParser` [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:151:9 [INFO] [stderr] | [INFO] [stderr] 151 | / pub fn new() -> ExprParser { [INFO] [stderr] 152 | | ExprParser { [INFO] [stderr] 153 | | _priv: (), [INFO] [stderr] 154 | | } [INFO] [stderr] 155 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 146 | #[derive(Default)] [INFO] [stderr] 147 | pub struct ExprParser { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused label `'__inner` [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:197:17 [INFO] [stderr] | [INFO] [stderr] 197 | / '__inner: loop { [INFO] [stderr] 198 | | let __state = *__states.last().unwrap() as usize; [INFO] [stderr] 199 | | let __action = __ACTION[__state * 7 + __integer]; [INFO] [stderr] 200 | | if __action > 0 { [INFO] [stderr] ... | [INFO] [stderr] 251 | | } [INFO] [stderr] 252 | | } [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unused_label)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_label [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:167:45 [INFO] [stderr] | [INFO] [stderr] 167 | let mut __tokens = __tokens.map(|t| __ToTriple::to_triple(t)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `__ToTriple::to_triple` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_closure)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:179:36 [INFO] [stderr] | [INFO] [stderr] 179 | *__last_location = __lookahead.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__lookahead.2` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::clone_on_copy)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:311:31 [INFO] [stderr] | [INFO] [stderr] 311 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:312:29 [INFO] [stderr] | [INFO] [stderr] 312 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:375:23 [INFO] [stderr] | [INFO] [stderr] 375 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:376:21 [INFO] [stderr] | [INFO] [stderr] 376 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:394:23 [INFO] [stderr] | [INFO] [stderr] 394 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:395:21 [INFO] [stderr] | [INFO] [stderr] 395 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:411:23 [INFO] [stderr] | [INFO] [stderr] 411 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:412:21 [INFO] [stderr] | [INFO] [stderr] 412 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:430:23 [INFO] [stderr] | [INFO] [stderr] 430 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:431:21 [INFO] [stderr] | [INFO] [stderr] 431 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:449:23 [INFO] [stderr] | [INFO] [stderr] 449 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:450:21 [INFO] [stderr] | [INFO] [stderr] 450 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:466:23 [INFO] [stderr] | [INFO] [stderr] 466 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:467:21 [INFO] [stderr] | [INFO] [stderr] 467 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:483:23 [INFO] [stderr] | [INFO] [stderr] 483 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:484:21 [INFO] [stderr] | [INFO] [stderr] 484 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:502:23 [INFO] [stderr] | [INFO] [stderr] 502 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:503:21 [INFO] [stderr] | [INFO] [stderr] 503 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:519:23 [INFO] [stderr] | [INFO] [stderr] 519 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:520:21 [INFO] [stderr] | [INFO] [stderr] 520 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:536:23 [INFO] [stderr] | [INFO] [stderr] 536 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:537:21 [INFO] [stderr] | [INFO] [stderr] 537 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `parser::__parse__Factor::FactorParser` [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:687:9 [INFO] [stderr] | [INFO] [stderr] 687 | / pub fn new() -> FactorParser { [INFO] [stderr] 688 | | FactorParser { [INFO] [stderr] 689 | | _priv: (), [INFO] [stderr] 690 | | } [INFO] [stderr] 691 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 682 | #[derive(Default)] [INFO] [stderr] 683 | pub struct FactorParser { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused label `'__inner` [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:733:17 [INFO] [stderr] | [INFO] [stderr] 733 | / '__inner: loop { [INFO] [stderr] 734 | | let __state = *__states.last().unwrap() as usize; [INFO] [stderr] 735 | | let __action = __ACTION[__state * 7 + __integer]; [INFO] [stderr] 736 | | if __action > 0 { [INFO] [stderr] ... | [INFO] [stderr] 787 | | } [INFO] [stderr] 788 | | } [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_label [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:703:45 [INFO] [stderr] | [INFO] [stderr] 703 | let mut __tokens = __tokens.map(|t| __ToTriple::to_triple(t)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `__ToTriple::to_triple` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:715:36 [INFO] [stderr] | [INFO] [stderr] 715 | *__last_location = __lookahead.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__lookahead.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:850:31 [INFO] [stderr] | [INFO] [stderr] 850 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:851:29 [INFO] [stderr] | [INFO] [stderr] 851 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:911:23 [INFO] [stderr] | [INFO] [stderr] 911 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:912:21 [INFO] [stderr] | [INFO] [stderr] 912 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:930:23 [INFO] [stderr] | [INFO] [stderr] 930 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:931:21 [INFO] [stderr] | [INFO] [stderr] 931 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:947:23 [INFO] [stderr] | [INFO] [stderr] 947 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:948:21 [INFO] [stderr] | [INFO] [stderr] 948 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:966:23 [INFO] [stderr] | [INFO] [stderr] 966 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:967:21 [INFO] [stderr] | [INFO] [stderr] 967 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:985:23 [INFO] [stderr] | [INFO] [stderr] 985 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:986:21 [INFO] [stderr] | [INFO] [stderr] 986 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1002:23 [INFO] [stderr] | [INFO] [stderr] 1002 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1003:21 [INFO] [stderr] | [INFO] [stderr] 1003 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1019:23 [INFO] [stderr] | [INFO] [stderr] 1019 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1020:21 [INFO] [stderr] | [INFO] [stderr] 1020 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1038:23 [INFO] [stderr] | [INFO] [stderr] 1038 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1039:21 [INFO] [stderr] | [INFO] [stderr] 1039 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1055:23 [INFO] [stderr] | [INFO] [stderr] 1055 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1056:21 [INFO] [stderr] | [INFO] [stderr] 1056 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1072:23 [INFO] [stderr] | [INFO] [stderr] 1072 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1073:21 [INFO] [stderr] | [INFO] [stderr] 1073 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `parser::__parse__Term::TermParser` [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1223:9 [INFO] [stderr] | [INFO] [stderr] 1223 | / pub fn new() -> TermParser { [INFO] [stderr] 1224 | | TermParser { [INFO] [stderr] 1225 | | _priv: (), [INFO] [stderr] 1226 | | } [INFO] [stderr] 1227 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 1218 | #[derive(Default)] [INFO] [stderr] 1219 | pub struct TermParser { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused label `'__inner` [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1269:17 [INFO] [stderr] | [INFO] [stderr] 1269 | / '__inner: loop { [INFO] [stderr] 1270 | | let __state = *__states.last().unwrap() as usize; [INFO] [stderr] 1271 | | let __action = __ACTION[__state * 7 + __integer]; [INFO] [stderr] 1272 | | if __action > 0 { [INFO] [stderr] ... | [INFO] [stderr] 1323 | | } [INFO] [stderr] 1324 | | } [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_label [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1239:45 [INFO] [stderr] | [INFO] [stderr] 1239 | let mut __tokens = __tokens.map(|t| __ToTriple::to_triple(t)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `__ToTriple::to_triple` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1251:36 [INFO] [stderr] | [INFO] [stderr] 1251 | *__last_location = __lookahead.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__lookahead.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `parser::__parse__Expr::ExprParser` [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:151:9 [INFO] [stderr] | [INFO] [stderr] 151 | / pub fn new() -> ExprParser { [INFO] [stderr] 152 | | ExprParser { [INFO] [stderr] 153 | | _priv: (), [INFO] [stderr] 154 | | } [INFO] [stderr] 155 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 146 | #[derive(Default)] [INFO] [stderr] 147 | pub struct ExprParser { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1389:31 [INFO] [stderr] | [INFO] [stderr] 1389 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1390:29 [INFO] [stderr] | [INFO] [stderr] 1390 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: unused label `'__inner` [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:197:17 [INFO] [stderr] | [INFO] [stderr] 197 | / '__inner: loop { [INFO] [stderr] 198 | | let __state = *__states.last().unwrap() as usize; [INFO] [stderr] 199 | | let __action = __ACTION[__state * 7 + __integer]; [INFO] [stderr] 200 | | if __action > 0 { [INFO] [stderr] ... | [INFO] [stderr] 251 | | } [INFO] [stderr] 252 | | } [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unused_label)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_label [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:167:45 [INFO] [stderr] | [INFO] [stderr] 167 | let mut __tokens = __tokens.map(|t| __ToTriple::to_triple(t)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `__ToTriple::to_triple` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_closure)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:179:36 [INFO] [stderr] | [INFO] [stderr] 179 | *__last_location = __lookahead.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__lookahead.2` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::clone_on_copy)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1447:23 [INFO] [stderr] | [INFO] [stderr] 1447 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1448:21 [INFO] [stderr] | [INFO] [stderr] 1448 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1466:23 [INFO] [stderr] | [INFO] [stderr] 1466 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1467:21 [INFO] [stderr] | [INFO] [stderr] 1467 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1483:23 [INFO] [stderr] | [INFO] [stderr] 1483 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1484:21 [INFO] [stderr] | [INFO] [stderr] 1484 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1502:23 [INFO] [stderr] | [INFO] [stderr] 1502 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1503:21 [INFO] [stderr] | [INFO] [stderr] 1503 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1521:23 [INFO] [stderr] | [INFO] [stderr] 1521 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1522:21 [INFO] [stderr] | [INFO] [stderr] 1522 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:311:31 [INFO] [stderr] | [INFO] [stderr] 311 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:312:29 [INFO] [stderr] | [INFO] [stderr] 312 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1538:23 [INFO] [stderr] | [INFO] [stderr] 1538 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1539:21 [INFO] [stderr] | [INFO] [stderr] 1539 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1555:23 [INFO] [stderr] | [INFO] [stderr] 1555 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1556:21 [INFO] [stderr] | [INFO] [stderr] 1556 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1574:23 [INFO] [stderr] | [INFO] [stderr] 1574 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1575:21 [INFO] [stderr] | [INFO] [stderr] 1575 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1591:23 [INFO] [stderr] | [INFO] [stderr] 1591 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1592:21 [INFO] [stderr] | [INFO] [stderr] 1592 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1608:23 [INFO] [stderr] | [INFO] [stderr] 1608 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1609:21 [INFO] [stderr] | [INFO] [stderr] 1609 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:375:23 [INFO] [stderr] | [INFO] [stderr] 375 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:376:21 [INFO] [stderr] | [INFO] [stderr] 376 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:394:23 [INFO] [stderr] | [INFO] [stderr] 394 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:395:21 [INFO] [stderr] | [INFO] [stderr] 395 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:411:23 [INFO] [stderr] | [INFO] [stderr] 411 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:412:21 [INFO] [stderr] | [INFO] [stderr] 412 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:430:23 [INFO] [stderr] | [INFO] [stderr] 430 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:431:21 [INFO] [stderr] | [INFO] [stderr] 431 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:449:23 [INFO] [stderr] | [INFO] [stderr] 449 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:450:21 [INFO] [stderr] | [INFO] [stderr] 450 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:466:23 [INFO] [stderr] | [INFO] [stderr] 466 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:467:21 [INFO] [stderr] | [INFO] [stderr] 467 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:483:23 [INFO] [stderr] | [INFO] [stderr] 483 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:484:21 [INFO] [stderr] | [INFO] [stderr] 484 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:502:23 [INFO] [stderr] | [INFO] [stderr] 502 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:503:21 [INFO] [stderr] | [INFO] [stderr] 503 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:519:23 [INFO] [stderr] | [INFO] [stderr] 519 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:520:21 [INFO] [stderr] | [INFO] [stderr] 520 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:536:23 [INFO] [stderr] | [INFO] [stderr] 536 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:537:21 [INFO] [stderr] | [INFO] [stderr] 537 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `parser::__parse__Factor::FactorParser` [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:687:9 [INFO] [stderr] | [INFO] [stderr] 687 | / pub fn new() -> FactorParser { [INFO] [stderr] 688 | | FactorParser { [INFO] [stderr] 689 | | _priv: (), [INFO] [stderr] 690 | | } [INFO] [stderr] 691 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 682 | #[derive(Default)] [INFO] [stderr] 683 | pub struct FactorParser { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused label `'__inner` [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:733:17 [INFO] [stderr] | [INFO] [stderr] 733 | / '__inner: loop { [INFO] [stderr] 734 | | let __state = *__states.last().unwrap() as usize; [INFO] [stderr] 735 | | let __action = __ACTION[__state * 7 + __integer]; [INFO] [stderr] 736 | | if __action > 0 { [INFO] [stderr] ... | [INFO] [stderr] 787 | | } [INFO] [stderr] 788 | | } [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_label [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:703:45 [INFO] [stderr] | [INFO] [stderr] 703 | let mut __tokens = __tokens.map(|t| __ToTriple::to_triple(t)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `__ToTriple::to_triple` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:715:36 [INFO] [stderr] | [INFO] [stderr] 715 | *__last_location = __lookahead.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__lookahead.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:850:31 [INFO] [stderr] | [INFO] [stderr] 850 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:851:29 [INFO] [stderr] | [INFO] [stderr] 851 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: called `ok().expect()` on a Result value. You can call `expect` directly on the `Result` [INFO] [stderr] --> src/main.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | / io::stdin().read_line(&mut input) [INFO] [stderr] 83 | | .ok() [INFO] [stderr] 84 | | .expect("Couldn't read line"); [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ok_expect)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ok_expect [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:911:23 [INFO] [stderr] | [INFO] [stderr] 911 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:912:21 [INFO] [stderr] | [INFO] [stderr] 912 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:930:23 [INFO] [stderr] | [INFO] [stderr] 930 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:931:21 [INFO] [stderr] | [INFO] [stderr] 931 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:947:23 [INFO] [stderr] | [INFO] [stderr] 947 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:948:21 [INFO] [stderr] | [INFO] [stderr] 948 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:966:23 [INFO] [stderr] | [INFO] [stderr] 966 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:967:21 [INFO] [stderr] | [INFO] [stderr] 967 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:985:23 [INFO] [stderr] | [INFO] [stderr] 985 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:986:21 [INFO] [stderr] | [INFO] [stderr] 986 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1002:23 [INFO] [stderr] | [INFO] [stderr] 1002 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1003:21 [INFO] [stderr] | [INFO] [stderr] 1003 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1019:23 [INFO] [stderr] | [INFO] [stderr] 1019 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1020:21 [INFO] [stderr] | [INFO] [stderr] 1020 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1038:23 [INFO] [stderr] | [INFO] [stderr] 1038 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1039:21 [INFO] [stderr] | [INFO] [stderr] 1039 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1055:23 [INFO] [stderr] | [INFO] [stderr] 1055 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1056:21 [INFO] [stderr] | [INFO] [stderr] 1056 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1072:23 [INFO] [stderr] | [INFO] [stderr] 1072 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1073:21 [INFO] [stderr] | [INFO] [stderr] 1073 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `parser::__parse__Term::TermParser` [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1223:9 [INFO] [stderr] | [INFO] [stderr] 1223 | / pub fn new() -> TermParser { [INFO] [stderr] 1224 | | TermParser { [INFO] [stderr] 1225 | | _priv: (), [INFO] [stderr] 1226 | | } [INFO] [stderr] 1227 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 1218 | #[derive(Default)] [INFO] [stderr] 1219 | pub struct TermParser { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused label `'__inner` [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1269:17 [INFO] [stderr] | [INFO] [stderr] 1269 | / '__inner: loop { [INFO] [stderr] 1270 | | let __state = *__states.last().unwrap() as usize; [INFO] [stderr] 1271 | | let __action = __ACTION[__state * 7 + __integer]; [INFO] [stderr] 1272 | | if __action > 0 { [INFO] [stderr] ... | [INFO] [stderr] 1323 | | } [INFO] [stderr] 1324 | | } [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_label [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1239:45 [INFO] [stderr] | [INFO] [stderr] 1239 | let mut __tokens = __tokens.map(|t| __ToTriple::to_triple(t)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `__ToTriple::to_triple` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1251:36 [INFO] [stderr] | [INFO] [stderr] 1251 | *__last_location = __lookahead.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__lookahead.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1389:31 [INFO] [stderr] | [INFO] [stderr] 1389 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1390:29 [INFO] [stderr] | [INFO] [stderr] 1390 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1447:23 [INFO] [stderr] | [INFO] [stderr] 1447 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1448:21 [INFO] [stderr] | [INFO] [stderr] 1448 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1466:23 [INFO] [stderr] | [INFO] [stderr] 1466 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1467:21 [INFO] [stderr] | [INFO] [stderr] 1467 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1483:23 [INFO] [stderr] | [INFO] [stderr] 1483 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1484:21 [INFO] [stderr] | [INFO] [stderr] 1484 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1502:23 [INFO] [stderr] | [INFO] [stderr] 1502 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1503:21 [INFO] [stderr] | [INFO] [stderr] 1503 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1521:23 [INFO] [stderr] | [INFO] [stderr] 1521 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1522:21 [INFO] [stderr] | [INFO] [stderr] 1522 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1538:23 [INFO] [stderr] | [INFO] [stderr] 1538 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1539:21 [INFO] [stderr] | [INFO] [stderr] 1539 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1555:23 [INFO] [stderr] | [INFO] [stderr] 1555 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1556:21 [INFO] [stderr] | [INFO] [stderr] 1556 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1574:23 [INFO] [stderr] | [INFO] [stderr] 1574 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1575:21 [INFO] [stderr] | [INFO] [stderr] 1575 | let __end = __sym2.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym2.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1591:23 [INFO] [stderr] | [INFO] [stderr] 1591 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1592:21 [INFO] [stderr] | [INFO] [stderr] 1592 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1608:23 [INFO] [stderr] | [INFO] [stderr] 1608 | let __start = __sym0.0.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> /opt/crater/target/debug/build/rust-calculator-dfbdb88b4a4f69e8/out/parser.rs:1609:21 [INFO] [stderr] | [INFO] [stderr] 1609 | let __end = __sym0.2.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `__sym0.2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: called `ok().expect()` on a Result value. You can call `expect` directly on the `Result` [INFO] [stderr] --> src/main.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | / io::stdin().read_line(&mut input) [INFO] [stderr] 83 | | .ok() [INFO] [stderr] 84 | | .expect("Couldn't read line"); [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ok_expect)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ok_expect [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `"docker" "inspect" "25c522577bf2a07c1a65a84a19266bc17abfd47746975bac7749d1f0d35f850e"` [INFO] running `"docker" "rm" "-f" "25c522577bf2a07c1a65a84a19266bc17abfd47746975bac7749d1f0d35f850e"` [INFO] [stdout] 25c522577bf2a07c1a65a84a19266bc17abfd47746975bac7749d1f0d35f850e