[INFO] crate control-code 0.7.1 is already in cache [INFO] extracting crate control-code 0.7.1 into work/ex/clippy-test-run/sources/stable/reg/control-code/0.7.1 [INFO] extracting crate control-code 0.7.1 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/control-code/0.7.1 [INFO] validating manifest of control-code-0.7.1 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 control-code-0.7.1 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 control-code-0.7.1 [INFO] finished frobbing control-code-0.7.1 [INFO] frobbed toml for control-code-0.7.1 written to work/ex/clippy-test-run/sources/stable/reg/control-code/0.7.1/Cargo.toml [INFO] started frobbing control-code-0.7.1 [INFO] finished frobbing control-code-0.7.1 [INFO] frobbed toml for control-code-0.7.1 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/control-code/0.7.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 control-code-0.7.1 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-5/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/control-code/0.7.1:/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] ee1bf2dd94b3a88dafaef6ee9db7d692281cb5058b92ccd3591eb7ac1e160e5c [INFO] running `"docker" "start" "-a" "ee1bf2dd94b3a88dafaef6ee9db7d692281cb5058b92ccd3591eb7ac1e160e5c"` [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking control-code v0.7.1 (/opt/crater/workdir) [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/dec/sixel.rs:167:27 [INFO] [stderr] | [INFO] [stderr] 167 | Color::Rgba(r, g, b, a) => { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::many_single_char_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/dec/sixel.rs:167:27 [INFO] [stderr] | [INFO] [stderr] 167 | Color::Rgba(r, g, b, a) => { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::many_single_char_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str` [INFO] [stderr] --> src/csi/mod.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::str; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/csi/mod.rs:441:18 [INFO] [stderr] | [INFO] [stderr] 441 | const DIGIT: &'static [u8] = b"0123456789\x08\x09\x0A\x0B\x0D"; [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[u8]` [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] --> src/csi/mod.rs:442:18 [INFO] [stderr] | [INFO] [stderr] 442 | const LETTER: &'static [u8] = b"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"; [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[u8]` [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] --> src/csi/mod.rs:443:18 [INFO] [stderr] | [INFO] [stderr] 443 | const MODIFIER: &'static [u8] = b" !\"#$%&'()*+,-./"; [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[u8]` [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: long literal lacking separators [INFO] [stderr] --> src/dec/sixel.rs:368:29 [INFO] [stderr] | [INFO] [stderr] 368 | SIXEL::Value(SIXEL::Map(0b000000))); [INFO] [stderr] | ^^^^^^^^ help: consider: `0b00_0000` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unreadable_literal)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/dec/sixel.rs:371:29 [INFO] [stderr] | [INFO] [stderr] 371 | SIXEL::Value(SIXEL::Map(0b111111))); [INFO] [stderr] | ^^^^^^^^ help: consider: `0b11_1111` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str` [INFO] [stderr] --> src/csi/mod.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::str; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/csi/mod.rs:441:18 [INFO] [stderr] | [INFO] [stderr] 441 | const DIGIT: &'static [u8] = b"0123456789\x08\x09\x0A\x0B\x0D"; [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[u8]` [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] --> src/csi/mod.rs:442:18 [INFO] [stderr] | [INFO] [stderr] 442 | const LETTER: &'static [u8] = b"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"; [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[u8]` [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] --> src/csi/mod.rs:443:18 [INFO] [stderr] | [INFO] [stderr] 443 | const MODIFIER: &'static [u8] = b" !\"#$%&'()*+,-./"; [INFO] [stderr] | -^^^^^^^----- help: consider removing `'static`: `&[u8]` [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: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/util.rs:193:11 [INFO] [stderr] | [INFO] [stderr] 193 | let d = (ch as u32).wrapping_sub(b'0' as u32); [INFO] [stderr] | ^^^^^^^^^^^ help: try: `u32::from(ch)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/util.rs:193:36 [INFO] [stderr] | [INFO] [stderr] 193 | let d = (ch as u32).wrapping_sub(b'0' as u32); [INFO] [stderr] | ^^^^^^^^^^^ help: try: `u32::from(b'0')` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> src/control.rs:73:3 [INFO] [stderr] | [INFO] [stderr] 73 | match self { [INFO] [stderr] | _________^ [INFO] [stderr] 74 | | &Control::C0(ref value) => [INFO] [stderr] 75 | | value.fmt(f), [INFO] [stderr] 76 | | [INFO] [stderr] ... | [INFO] [stderr] 81 | | value.fmt(f), [INFO] [stderr] 82 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::match_ref_pats)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stderr] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stderr] | [INFO] [stderr] 73 | match *self { [INFO] [stderr] 74 | Control::C0(ref value) => [INFO] [stderr] 75 | value.fmt(f), [INFO] [stderr] 76 | [INFO] [stderr] 77 | Control::C1(ref value) => [INFO] [stderr] 78 | value.fmt(f), [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/control.rs:120:20 [INFO] [stderr] | [INFO] [stderr] 120 | map!(DEC::parse, |c| Control::DEC(c)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `Control::DEC` [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: redundant closure found [INFO] [stderr] --> src/control.rs:145:20 [INFO] [stderr] | [INFO] [stderr] 145 | map!(C0::parse, |c| Control::C0(c)))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `Control::C0` [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: redundant closure found [INFO] [stderr] --> src/c0.rs:164:1 [INFO] [stderr] | [INFO] [stderr] 164 | / named!(pub parse, [INFO] [stderr] 165 | | switch!(take!(1), [INFO] [stderr] 166 | | b"\x0D" => call!(CR) | [INFO] [stderr] 167 | | b"\x0A" => call!(LF) | [INFO] [stderr] ... | [INFO] [stderr] 197 | | b"\x1E" => call!(RS) | [INFO] [stderr] 198 | | b"\x1F" => call!(US))); [INFO] [stderr] | |_______________________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/c1.rs:172:1 [INFO] [stderr] | [INFO] [stderr] 172 | / named!(one, [INFO] [stderr] 173 | | switch!(take!(1), [INFO] [stderr] 174 | | b"\x9B" => call!(CSI) | [INFO] [stderr] 175 | | b"\x9D" => call!(OSC) | [INFO] [stderr] ... | [INFO] [stderr] 204 | | b"\x9E" => call!(PM) | [INFO] [stderr] 205 | | b"\x9F" => call!(APC))); [INFO] [stderr] | |________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/c1.rs:207:1 [INFO] [stderr] | [INFO] [stderr] 207 | / named!(two, [INFO] [stderr] 208 | | do_parse!(tag!(b"\x1B") >> [INFO] [stderr] 209 | | res: switch!(take!(1), [INFO] [stderr] 210 | | b"\x5B" => call!(CSI) | [INFO] [stderr] ... | [INFO] [stderr] 242 | | [INFO] [stderr] 243 | | (res))); [INFO] [stderr] | |____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/c1.rs:327:28 [INFO] [stderr] | [INFO] [stderr] 327 | map!(call!(::CSI::parse), |res| ControlSequence(res))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `ControlSequence` [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: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/dec/mod.rs:178:58 [INFO] [stderr] | [INFO] [stderr] 178 | write!(csi Unknown(b'q', Some(b' '), small_vec![Some(id as u32)])), [INFO] [stderr] | ^^^^^^^^^ help: try: `u32::from(id)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/dec/mode.rs:62:15 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::extra_unused_lifetimes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/dec/mod.rs:221:1 [INFO] [stderr] | [INFO] [stderr] 221 | / named!(pub parse, [INFO] [stderr] 222 | | do_parse!(tag!(b"\x1B") >> [INFO] [stderr] 223 | | res: switch!(take!(1), [INFO] [stderr] 224 | | b"#" => switch!(take!(1), [INFO] [stderr] ... | [INFO] [stderr] 257 | | [INFO] [stderr] 258 | | (res))); [INFO] [stderr] | |____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/dec/mod.rs:221:1 [INFO] [stderr] | [INFO] [stderr] 221 | / named!(pub parse, [INFO] [stderr] 222 | | do_parse!(tag!(b"\x1B") >> [INFO] [stderr] 223 | | res: switch!(take!(1), [INFO] [stderr] 224 | | b"#" => switch!(take!(1), [INFO] [stderr] ... | [INFO] [stderr] 257 | | [INFO] [stderr] 258 | | (res))); [INFO] [stderr] | |____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/dec/mod.rs:221:1 [INFO] [stderr] | [INFO] [stderr] 221 | / named!(pub parse, [INFO] [stderr] 222 | | do_parse!(tag!(b"\x1B") >> [INFO] [stderr] 223 | | res: switch!(take!(1), [INFO] [stderr] 224 | | b"#" => switch!(take!(1), [INFO] [stderr] ... | [INFO] [stderr] 257 | | [INFO] [stderr] 258 | | (res))); [INFO] [stderr] | |____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/dec/mod.rs:221:1 [INFO] [stderr] | [INFO] [stderr] 221 | / named!(pub parse, [INFO] [stderr] 222 | | do_parse!(tag!(b"\x1B") >> [INFO] [stderr] 223 | | res: switch!(take!(1), [INFO] [stderr] 224 | | b"#" => switch!(take!(1), [INFO] [stderr] ... | [INFO] [stderr] 257 | | [INFO] [stderr] 258 | | (res))); [INFO] [stderr] | |____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/dec/mod.rs:326:1 [INFO] [stderr] | [INFO] [stderr] 326 | / named!(SCS, [INFO] [stderr] 327 | | switch!(take!(1), [INFO] [stderr] 328 | | b"<" => value!(Charset::UserPreferred) | [INFO] [stderr] 329 | | [INFO] [stderr] ... | [INFO] [stderr] 367 | | b"2" => value!(charset::NRCS::Turkish.into()) | [INFO] [stderr] 368 | | b"3" => value!(charset::NRCS::SCS.into())))); [INFO] [stderr] | |_________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/dec/mod.rs:326:1 [INFO] [stderr] | [INFO] [stderr] 326 | / named!(SCS, [INFO] [stderr] 327 | | switch!(take!(1), [INFO] [stderr] 328 | | b"<" => value!(Charset::UserPreferred) | [INFO] [stderr] 329 | | [INFO] [stderr] ... | [INFO] [stderr] 367 | | b"2" => value!(charset::NRCS::Turkish.into()) | [INFO] [stderr] 368 | | b"3" => value!(charset::NRCS::SCS.into())))); [INFO] [stderr] | |_________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/dec/mod.rs:326:1 [INFO] [stderr] | [INFO] [stderr] 326 | / named!(SCS, [INFO] [stderr] 327 | | switch!(take!(1), [INFO] [stderr] 328 | | b"<" => value!(Charset::UserPreferred) | [INFO] [stderr] 329 | | [INFO] [stderr] ... | [INFO] [stderr] 367 | | b"2" => value!(charset::NRCS::Turkish.into()) | [INFO] [stderr] 368 | | b"3" => value!(charset::NRCS::SCS.into())))); [INFO] [stderr] | |_________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/dec/mod.rs:326:1 [INFO] [stderr] | [INFO] [stderr] 326 | / named!(SCS, [INFO] [stderr] 327 | | switch!(take!(1), [INFO] [stderr] 328 | | b"<" => value!(Charset::UserPreferred) | [INFO] [stderr] 329 | | [INFO] [stderr] ... | [INFO] [stderr] 367 | | b"2" => value!(charset::NRCS::Turkish.into()) | [INFO] [stderr] 368 | | b"3" => value!(charset::NRCS::SCS.into())))); [INFO] [stderr] | |_________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/dec/csi.rs:44:1 [INFO] [stderr] | [INFO] [stderr] 44 | / with_args!(SM -> DEC, ? [INFO] [stderr] 45 | | args.iter().map(|d| d.unwrap_or(0)) [INFO] [stderr] 46 | | .map(Mode::parse) [INFO] [stderr] 47 | | .collect::, _>>() [INFO] [stderr] 48 | | .map(Set)); [INFO] [stderr] | |___________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/dec/csi.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | / with_args!(RM -> DEC, ? [INFO] [stderr] 51 | | args.iter().map(|d| d.unwrap_or(0)) [INFO] [stderr] 52 | | .map(Mode::parse) [INFO] [stderr] 53 | | .collect::, _>>() [INFO] [stderr] 54 | | .map(Reset)); [INFO] [stderr] | |_____________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/dec/csi.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | / with_args!(DECDC<1, args> -> DEC, [INFO] [stderr] 57 | | DeleteColumn(arg!(args[0] => 1))); [INFO] [stderr] | |______________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/dec/csi.rs:59:1 [INFO] [stderr] | [INFO] [stderr] 59 | / with_args!(DECIC<1, args> -> DEC, [INFO] [stderr] 60 | | InsertColumn(arg!(args[0] => 1))); [INFO] [stderr] | |______________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/dec/csi.rs:62:1 [INFO] [stderr] | [INFO] [stderr] 62 | / with_args!(DECSCUSR<1, args> -> DEC, [INFO] [stderr] 63 | | CursorStyle(arg!(args[0] => 0) as u8)); [INFO] [stderr] | |___________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/dec/csi.rs:65:1 [INFO] [stderr] | [INFO] [stderr] 65 | / with_args!(DECSTBM<2, args> -> DEC, [INFO] [stderr] 66 | | ScrollRegion { [INFO] [stderr] 67 | | top: arg!(args[0] => 1).saturating_sub(1), [INFO] [stderr] 68 | | bottom: arg!(args[1]) [INFO] [stderr] 69 | | .and_then(|v| if v == 0 { None } else { Some(v) }) [INFO] [stderr] 70 | | .map(|b| b.saturating_sub(1)), [INFO] [stderr] 71 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | fn $name<'a>(args: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/dec/csi.rs:73:1 [INFO] [stderr] | [INFO] [stderr] 73 | / with_args!(DECSTR -> DEC, [INFO] [stderr] 74 | | SoftReset); [INFO] [stderr] | |_______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/dec/sixel.rs:25:18 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::trivially_copy_pass_by_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/dec/sixel.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn get(&self, index: u8) -> bool { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: casting u8 to f32 may become silently lossy if types change [INFO] [stderr] --> src/dec/sixel.rs:162:9 [INFO] [stderr] | [INFO] [stderr] 162 | (r as f32 / 255.0 * 100.0) as u8, [INFO] [stderr] | ^^^^^^^^ help: try: `f32::from(r)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to f32 may become silently lossy if types change [INFO] [stderr] --> src/dec/sixel.rs:163:9 [INFO] [stderr] | [INFO] [stderr] 163 | (g as f32 / 255.0 * 100.0) as u8, [INFO] [stderr] | ^^^^^^^^ help: try: `f32::from(g)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to f32 may become silently lossy if types change [INFO] [stderr] --> src/dec/sixel.rs:164:9 [INFO] [stderr] | [INFO] [stderr] 164 | (b as f32 / 255.0 * 100.0) as u8)); [INFO] [stderr] | ^^^^^^^^ help: try: `f32::from(b)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/dec/sixel.rs:248:1 [INFO] [stderr] | [INFO] [stderr] 248 | / named!(color, [INFO] [stderr] 249 | | do_parse!( [INFO] [stderr] 250 | | char!('#') >> [INFO] [stderr] 251 | | id: digit >> [INFO] [stderr] ... | [INFO] [stderr] 290 | | Sixel::Enable(number(id)) [INFO] [stderr] 291 | | }))); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 259 [INFO] [stderr] --> src/csi/mod.rs:127:2 [INFO] [stderr] | [INFO] [stderr] 127 | fn fmt(&self, mut f: W) -> io::Result<()> { [INFO] [stderr] | _____^ [INFO] [stderr] 128 | | macro_rules! write { [INFO] [stderr] 129 | | (entry $private:expr) => ({ [INFO] [stderr] 130 | | try!(f.write_all(b"\x1B\x5B")); [INFO] [stderr] ... | [INFO] [stderr] 398 | | } [INFO] [stderr] 399 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"Z"` [INFO] [stderr] ... [INFO] [stderr] 189 | write!("Z", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::string_lit_as_bytes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"G"` [INFO] [stderr] ... [INFO] [stderr] 192 | write!("G", [n + 1]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"I"` [INFO] [stderr] ... [INFO] [stderr] 195 | write!("I", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"E"` [INFO] [stderr] ... [INFO] [stderr] 198 | write!("E", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"F"` [INFO] [stderr] ... [INFO] [stderr] 201 | write!("F", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"R"` [INFO] [stderr] ... [INFO] [stderr] 204 | write!("R", [y + 1, x + 1]), [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"W"` [INFO] [stderr] ... [INFO] [stderr] 207 | write!("W", [value]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"D"` [INFO] [stderr] ... [INFO] [stderr] 210 | write!("D", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"B"` [INFO] [stderr] ... [INFO] [stderr] 213 | write!("B", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"C"` [INFO] [stderr] ... [INFO] [stderr] 216 | write!("C", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"H"` [INFO] [stderr] ... [INFO] [stderr] 219 | write!("H", [y + 1, x + 1]), [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"A"` [INFO] [stderr] ... [INFO] [stderr] 222 | write!("A", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"Y"` [INFO] [stderr] ... [INFO] [stderr] 225 | write!("Y", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"c"` [INFO] [stderr] ... [INFO] [stderr] 228 | write!("c", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"o"` [INFO] [stderr] ... [INFO] [stderr] 231 | write!("o", [value]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"P"` [INFO] [stderr] ... [INFO] [stderr] 234 | write!("P", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"M"` [INFO] [stderr] ... [INFO] [stderr] 237 | write!("M", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"n"` [INFO] [stderr] ... [INFO] [stderr] 240 | write!("n", [value]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" T"` [INFO] [stderr] ... [INFO] [stderr] 243 | write!(" T", [w, h]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"O"` [INFO] [stderr] ... [INFO] [stderr] 246 | write!("O", [value]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"X"` [INFO] [stderr] ... [INFO] [stderr] 249 | write!("X", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"N"` [INFO] [stderr] ... [INFO] [stderr] 252 | write!("N", [value]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"J"` [INFO] [stderr] ... [INFO] [stderr] 255 | write!("J", [value]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"K"` [INFO] [stderr] ... [INFO] [stderr] 258 | write!("K", [value]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" W"` [INFO] [stderr] ... [INFO] [stderr] 261 | write!(" W", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" D"` [INFO] [stderr] ... [INFO] [stderr] 264 | write!(" D", [a, b]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" _"` [INFO] [stderr] ... [INFO] [stderr] 267 | write!(" _", [value]), [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" B"` [INFO] [stderr] ... [INFO] [stderr] 270 | write!(" B", [height, width]), [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"@"` [INFO] [stderr] ... [INFO] [stderr] 273 | write!("@", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" O"` [INFO] [stderr] ... [INFO] [stderr] 276 | write!(" O", ![n]), [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" M"` [INFO] [stderr] ... [INFO] [stderr] 279 | write!(" M", ![n]), [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"L"` [INFO] [stderr] ... [INFO] [stderr] 282 | write!("L", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" F"` [INFO] [stderr] ... [INFO] [stderr] 285 | write!(" F", args.iter()), [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"i"` [INFO] [stderr] ... [INFO] [stderr] 288 | write!("i", [value]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"U"` [INFO] [stderr] ... [INFO] [stderr] 291 | write!("U", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" Z"` [INFO] [stderr] ... [INFO] [stderr] 294 | write!(" Z", [value]), [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" J"` [INFO] [stderr] ... [INFO] [stderr] 297 | write!(" J", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"V"` [INFO] [stderr] ... [INFO] [stderr] 300 | write!("V", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" P"` [INFO] [stderr] ... [INFO] [stderr] 303 | write!(" P", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" R"` [INFO] [stderr] ... [INFO] [stderr] 306 | write!(" R", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" Q"` [INFO] [stderr] ... [INFO] [stderr] 309 | write!(" Q", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" H"` [INFO] [stderr] ... [INFO] [stderr] 315 | write!(" H", dispositions.iter().map(|&d| Some(Into::::into(d)))), [INFO] [stderr] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:183:17 [INFO] [stderr] | [INFO] [stderr] 183 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"u"` [INFO] [stderr] ... [INFO] [stderr] 318 | write!("u"), [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"b"` [INFO] [stderr] ... [INFO] [stderr] 321 | write!("b", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"l"` [INFO] [stderr] ... [INFO] [stderr] 324 | write!("l", modes.iter().map(|&m| Some(Into::::into(m)))), [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" e"` [INFO] [stderr] ... [INFO] [stderr] 327 | write!(" e", [match n { [INFO] [stderr] | _________________- [INFO] [stderr] 328 | | 0 => 0u32, [INFO] [stderr] 329 | | 45 => 1u32, [INFO] [stderr] 330 | | 90 => 2u32, [INFO] [stderr] ... | [INFO] [stderr] 336 | | _ => unreachable!(), [INFO] [stderr] 337 | | }]), [INFO] [stderr] | |___________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:183:17 [INFO] [stderr] | [INFO] [stderr] 183 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"s"` [INFO] [stderr] ... [INFO] [stderr] 340 | write!("s"), [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" b"` [INFO] [stderr] ... [INFO] [stderr] 343 | write!(" b", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"T"` [INFO] [stderr] ... [INFO] [stderr] 346 | write!("T", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"^"` [INFO] [stderr] ... [INFO] [stderr] 349 | write!("^", [direction]), [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"m"` [INFO] [stderr] ... [INFO] [stderr] 352 | write!("m", attrs.iter().flat_map(|&a| Into::>::into(a)).map(Some)), [INFO] [stderr] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" @"` [INFO] [stderr] ... [INFO] [stderr] 355 | write!(" @", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" h"` [INFO] [stderr] ... [INFO] [stderr] 358 | write!(" h", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"h"` [INFO] [stderr] ... [INFO] [stderr] 361 | write!("h", modes.iter().map(|&m| Into::::into(m)).map(Some)), [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" A"` [INFO] [stderr] ... [INFO] [stderr] 364 | write!(" A", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"["` [INFO] [stderr] ... [INFO] [stderr] 367 | write!("[", [0u32]), [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"["` [INFO] [stderr] ... [INFO] [stderr] 370 | write!("[", [1u32]), [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" I"` [INFO] [stderr] ... [INFO] [stderr] 373 | write!(" I", [unit]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" ["` [INFO] [stderr] ... [INFO] [stderr] 376 | write!(" [", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"S"` [INFO] [stderr] ... [INFO] [stderr] 379 | write!("S", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"g"` [INFO] [stderr] ... [INFO] [stderr] 382 | write!("g", [value]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"d"` [INFO] [stderr] ... [INFO] [stderr] 385 | write!("d", [n + 1]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/erase.rs:26:15 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/tabulation_control.rs:30:15 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/tabulation.rs:29:15 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/qualification.rs:35:15 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/combination.rs:26:15 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/copy.rs:31:15 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/expansion.rs:26:15 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/parallel.rs:29:15 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/disposition.rs:30:15 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/mode.rs:44:15 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/direction.rs:25:15 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/unit.rs:32:15 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/report.rs:25:15 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:556:1 [INFO] [stderr] | [INFO] [stderr] 556 | / with_args!(CBT<1, args> -> CSI, [INFO] [stderr] 557 | | CursorBackTabulation(arg!(args[0] => 1))); [INFO] [stderr] | |______________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:559:1 [INFO] [stderr] | [INFO] [stderr] 559 | / with_args!(CHA<1, args> -> CSI, [INFO] [stderr] 560 | | CursorHorizontalPosition(arg!(args[0] => 1).saturating_sub(1))); [INFO] [stderr] | |____________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:562:1 [INFO] [stderr] | [INFO] [stderr] 562 | / with_args!(CHT<1, args> -> CSI, [INFO] [stderr] 563 | | CursorForwardTabulation(arg!(args[0] => 1))); [INFO] [stderr] | |_________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:565:1 [INFO] [stderr] | [INFO] [stderr] 565 | / with_args!(CNL<1, args> -> CSI, [INFO] [stderr] 566 | | CursorNextLine(arg!(args[0] => 1))); [INFO] [stderr] | |________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:568:1 [INFO] [stderr] | [INFO] [stderr] 568 | / with_args!(CPL<1, args> -> CSI, [INFO] [stderr] 569 | | CursorPreviousLine(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:571:1 [INFO] [stderr] | [INFO] [stderr] 571 | / with_args!(CPR<2, args> -> CSI, [INFO] [stderr] 572 | | CursorPositionReport { [INFO] [stderr] 573 | | y: arg!(args[0] => 1).saturating_sub(1), [INFO] [stderr] 574 | | x: arg!(args[1] => 1).saturating_sub(1) [INFO] [stderr] 575 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:577:1 [INFO] [stderr] | [INFO] [stderr] 577 | / with_args!(CTC<1, args> -> CSI, ? [INFO] [stderr] 578 | | TabulationControl::parse(arg!(args[0] => 0)).map(CursorTabulationControl)); [INFO] [stderr] | |_______________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:580:1 [INFO] [stderr] | [INFO] [stderr] 580 | / with_args!(CUB<1, args> -> CSI, [INFO] [stderr] 581 | | CursorBack(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:583:1 [INFO] [stderr] | [INFO] [stderr] 583 | / with_args!(CUD<1, args> -> CSI, [INFO] [stderr] 584 | | CursorDown(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:586:1 [INFO] [stderr] | [INFO] [stderr] 586 | / with_args!(CUF<1, args> -> CSI, [INFO] [stderr] 587 | | CursorForward(arg!(args[0] => 1))); [INFO] [stderr] | |_______________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:589:1 [INFO] [stderr] | [INFO] [stderr] 589 | / with_args!(CUP<2, args> -> CSI, [INFO] [stderr] 590 | | CursorPosition { [INFO] [stderr] 591 | | y: arg!(args[0] => 1).saturating_sub(1), [INFO] [stderr] 592 | | x: arg!(args[1] => 1).saturating_sub(1) [INFO] [stderr] 593 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:595:1 [INFO] [stderr] | [INFO] [stderr] 595 | / with_args!(CUU<1, args> -> CSI, [INFO] [stderr] 596 | | CursorUp(arg!(args[0] => 1))); [INFO] [stderr] | |__________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:598:1 [INFO] [stderr] | [INFO] [stderr] 598 | / with_args!(CVT<1, args> -> CSI, [INFO] [stderr] 599 | | CursorLineTabulation(arg!(args[0] => 1))); [INFO] [stderr] | |______________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:601:1 [INFO] [stderr] | [INFO] [stderr] 601 | / with_args!(DA<1, args> -> CSI, [INFO] [stderr] 602 | | DeviceAttributes(arg!(args[0] => 0))); [INFO] [stderr] | |__________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:604:1 [INFO] [stderr] | [INFO] [stderr] 604 | / with_args!(DAQ<1, args> -> CSI, ? [INFO] [stderr] 605 | | Qualification::parse(arg!(args[0] => 0)).map(DefineAreaQualification)); [INFO] [stderr] | |___________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:607:1 [INFO] [stderr] | [INFO] [stderr] 607 | / with_args!(DCH<1, args> -> CSI, [INFO] [stderr] 608 | | DeleteCharacter(arg!(args[0] => 1))); [INFO] [stderr] | |_________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:610:1 [INFO] [stderr] | [INFO] [stderr] 610 | / with_args!(DL<1, args> -> CSI, [INFO] [stderr] 611 | | DeleteLine(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:613:1 [INFO] [stderr] | [INFO] [stderr] 613 | / with_args!(DSR<1, args> -> CSI, ? [INFO] [stderr] 614 | | Report::parse(arg!(args[0] => 0)).map(DeviceStatusReport)); [INFO] [stderr] | |_______________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:616:1 [INFO] [stderr] | [INFO] [stderr] 616 | / with_args!(DTA<2, args> -> CSI, [INFO] [stderr] 617 | | DimensionTextArea(arg!(args[0] => 0), arg!(args[1] => 0))); [INFO] [stderr] | |_______________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:619:1 [INFO] [stderr] | [INFO] [stderr] 619 | / with_args!(EA<1, args> -> CSI, ? [INFO] [stderr] 620 | | Erase::parse(arg!(args[0] => 0)).map(EraseArea)); [INFO] [stderr] | |_____________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:622:1 [INFO] [stderr] | [INFO] [stderr] 622 | / with_args!(ECH<1, args> -> CSI, [INFO] [stderr] 623 | | EraseCharacter(arg!(args[0] => 1))); [INFO] [stderr] | |________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:625:1 [INFO] [stderr] | [INFO] [stderr] 625 | / with_args!(ED<1, args> -> CSI, ? [INFO] [stderr] 626 | | Erase::parse(arg!(args[0] => 0)).map(EraseDisplay)); [INFO] [stderr] | |________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:628:1 [INFO] [stderr] | [INFO] [stderr] 628 | / with_args!(EF<1, args> -> CSI, ? [INFO] [stderr] 629 | | Erase::parse(arg!(args[0] => 0)).map(EraseField)); [INFO] [stderr] | |______________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:631:1 [INFO] [stderr] | [INFO] [stderr] 631 | / with_args!(EL<1, args> -> CSI, ? [INFO] [stderr] 632 | | Erase::parse(arg!(args[0] => 0)).map(EraseLine)); [INFO] [stderr] | |_____________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:634:1 [INFO] [stderr] | [INFO] [stderr] 634 | / with_args!(FNK<1, args> -> CSI, [INFO] [stderr] 635 | | FunctionKey(arg!(args[0] => 0))); [INFO] [stderr] | |_____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:637:1 [INFO] [stderr] | [INFO] [stderr] 637 | / with_args!(FNT<2, args> -> CSI, [INFO] [stderr] 638 | | SelectFont(arg!(args[0] => 0), arg!(args[1] => 0))); [INFO] [stderr] | |________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:640:1 [INFO] [stderr] | [INFO] [stderr] 640 | / with_args!(GCC<1, args> -> CSI, ? [INFO] [stderr] 641 | | Combination::parse(arg!(args[0] => 0)).map(GraphicCharacterCombination)); [INFO] [stderr] | |_____________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:643:1 [INFO] [stderr] | [INFO] [stderr] 643 | / with_args!(GSM<2, args> -> CSI, [INFO] [stderr] 644 | | GraphicSizeModification { height: arg!(args[0] => 100), width: arg!(args[1] => 100) }); [INFO] [stderr] | |___________________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:646:1 [INFO] [stderr] | [INFO] [stderr] 646 | / with_args!(HPA<1, args> -> CSI, [INFO] [stderr] 647 | | CursorHorizontalPosition(arg!(args[0] => 1).saturating_sub(1))); [INFO] [stderr] | |____________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:649:1 [INFO] [stderr] | [INFO] [stderr] 649 | / with_args!(HPB<1, args> -> CSI, [INFO] [stderr] 650 | | CursorBack(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:652:1 [INFO] [stderr] | [INFO] [stderr] 652 | / with_args!(HPR<1, args> -> CSI, [INFO] [stderr] 653 | | CursorForward(arg!(args[0] => 1))); [INFO] [stderr] | |_______________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:655:1 [INFO] [stderr] | [INFO] [stderr] 655 | / with_args!(HVP<2, args> -> CSI, [INFO] [stderr] 656 | | CursorPosition { [INFO] [stderr] 657 | | y: arg!(args[0] => 1).saturating_sub(1), [INFO] [stderr] 658 | | x: arg!(args[1] => 1).saturating_sub(1), [INFO] [stderr] 659 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:661:1 [INFO] [stderr] | [INFO] [stderr] 661 | / with_args!(ICH<1, args> -> CSI, [INFO] [stderr] 662 | | InsertCharacter(arg!(args[0] => 1))); [INFO] [stderr] | |_________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:664:1 [INFO] [stderr] | [INFO] [stderr] 664 | / with_args!(IDCS<1, args> -> CSI, [INFO] [stderr] 665 | | IdentifyDeviceControlString(arg!(args[0]))); [INFO] [stderr] | |________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:667:1 [INFO] [stderr] | [INFO] [stderr] 667 | / with_args!(IGS<1, args> -> CSI, [INFO] [stderr] 668 | | IdentifyGraphicSubrepertoire(arg!(args[0]))); [INFO] [stderr] | |_________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:670:1 [INFO] [stderr] | [INFO] [stderr] 670 | / with_args!(IL<1, args> -> CSI, [INFO] [stderr] 671 | | InsertLine(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 60 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:673:1 [INFO] [stderr] | [INFO] [stderr] 673 | / with_args!(JFY -> CSI, [INFO] [stderr] 674 | | Justify(SmallVec::from_iter(args.iter().cloned()))); [INFO] [stderr] | |________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:676:1 [INFO] [stderr] | [INFO] [stderr] 676 | / with_args!(MC<1, args> -> CSI, ? [INFO] [stderr] 677 | | Copy::parse(arg!(args[0] => 0)).map(MediaCopy)); [INFO] [stderr] | |____________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:679:1 [INFO] [stderr] | [INFO] [stderr] 679 | / with_args!(NP<1, args> -> CSI, [INFO] [stderr] 680 | | NextPage(arg!(args[0] => 1))); [INFO] [stderr] | |__________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:682:1 [INFO] [stderr] | [INFO] [stderr] 682 | / with_args!(PEC<1, args> -> CSI, ? [INFO] [stderr] 683 | | Expansion::parse(arg!(args[0] => 0)).map(Presentation)); [INFO] [stderr] | |____________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:685:1 [INFO] [stderr] | [INFO] [stderr] 685 | / with_args!(PFS<1, args> -> CSI, [INFO] [stderr] 686 | | PageFormat(arg!(args[0] => 0))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:688:1 [INFO] [stderr] | [INFO] [stderr] 688 | / with_args!(PP<1, args> -> CSI, [INFO] [stderr] 689 | | PrecedingPage(arg!(args[0] => 1))); [INFO] [stderr] | |_______________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:691:1 [INFO] [stderr] | [INFO] [stderr] 691 | / with_args!(PPA<1, args> -> CSI, [INFO] [stderr] 692 | | PagePosition(arg!(args[0] => 1))); [INFO] [stderr] | |______________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:694:1 [INFO] [stderr] | [INFO] [stderr] 694 | / with_args!(PPB<1, args> -> CSI, [INFO] [stderr] 695 | | PageBack(arg!(args[0] => 1))); [INFO] [stderr] | |__________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:697:1 [INFO] [stderr] | [INFO] [stderr] 697 | / with_args!(PPR<1, args> -> CSI, [INFO] [stderr] 698 | | PageForward(arg!(args[0] => 1))); [INFO] [stderr] | |_____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:700:1 [INFO] [stderr] | [INFO] [stderr] 700 | / with_args!(PTX<1, args> -> CSI, ? [INFO] [stderr] 701 | | Parallel::parse(arg!(args[0] => 0)).map(ParallelText)); [INFO] [stderr] | |___________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:703:1 [INFO] [stderr] | [INFO] [stderr] 703 | / with_args!(QUAD -> CSI, ? [INFO] [stderr] 704 | | args.iter().map(|d| d.unwrap_or(0)) [INFO] [stderr] 705 | | .map(Disposition::parse) [INFO] [stderr] 706 | | .collect::, _>>() [INFO] [stderr] 707 | | .map(GraphicDisposition)); [INFO] [stderr] | |__________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | fn $name<'a>(args: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:709:1 [INFO] [stderr] | [INFO] [stderr] 709 | / with_args!(RCP -> CSI, [INFO] [stderr] 710 | | RestoreCursor); [INFO] [stderr] | |___________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:712:1 [INFO] [stderr] | [INFO] [stderr] 712 | / with_args!(REP<1, args> -> CSI, [INFO] [stderr] 713 | | Repeat(arg!(args[0] => 1))); [INFO] [stderr] | |________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:715:1 [INFO] [stderr] | [INFO] [stderr] 715 | / with_args!(RM -> CSI, ? [INFO] [stderr] 716 | | args.iter().map(|d| d.unwrap_or(0)) [INFO] [stderr] 717 | | .map(Mode::parse) [INFO] [stderr] 718 | | .collect::, _>>() [INFO] [stderr] 719 | | .map(Reset)); [INFO] [stderr] | |_____________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:721:1 [INFO] [stderr] | [INFO] [stderr] 721 | / with_args!(SCO<1, args> -> CSI, ? [INFO] [stderr] 722 | | match arg!(args[0] => 0) { [INFO] [stderr] 723 | | 0 => Ok(CharacterOrientation(0)), [INFO] [stderr] 724 | | 1 => Ok(CharacterOrientation(45)), [INFO] [stderr] ... | [INFO] [stderr] 731 | | _ => Err(nom::ErrorKind::Custom(9002)), [INFO] [stderr] 732 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | fn $name<'a>(args: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:734:1 [INFO] [stderr] | [INFO] [stderr] 734 | / with_args!(SCP -> CSI, [INFO] [stderr] 735 | | SaveCursor); [INFO] [stderr] | |________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:737:1 [INFO] [stderr] | [INFO] [stderr] 737 | / with_args!(SCS<1, args> -> CSI, [INFO] [stderr] 738 | | CharacterSpacing(arg!(args[0] => 1))); [INFO] [stderr] | |__________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:740:1 [INFO] [stderr] | [INFO] [stderr] 740 | / with_args!(SD<1, args> -> CSI, [INFO] [stderr] 741 | | ScrollDown(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:743:1 [INFO] [stderr] | [INFO] [stderr] 743 | / with_args!(SIMD<1, args> -> CSI, ? [INFO] [stderr] 744 | | Direction::parse(arg!(args[0] => 0)).map(Movement)); [INFO] [stderr] | |________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:746:1 [INFO] [stderr] | [INFO] [stderr] 746 | / with_args!(SGR -> CSI, ? [INFO] [stderr] 747 | | ::SGR::parse(args).map(|v| SelectGraphicalRendition(v))); [INFO] [stderr] | |_____________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/csi/mod.rs:747:25 [INFO] [stderr] | [INFO] [stderr] 747 | ::SGR::parse(args).map(|v| SelectGraphicalRendition(v))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `SelectGraphicalRendition` [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: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:749:1 [INFO] [stderr] | [INFO] [stderr] 749 | / with_args!(SL<1, args> -> CSI, [INFO] [stderr] 750 | | ScrollLeft(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:752:1 [INFO] [stderr] | [INFO] [stderr] 752 | / with_args!(SLS<1, args> -> CSI, [INFO] [stderr] 753 | | LineSpacing(arg!(args[0] => 1))); [INFO] [stderr] | |_____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:755:1 [INFO] [stderr] | [INFO] [stderr] 755 | / with_args!(SM -> CSI, ? [INFO] [stderr] 756 | | args.iter().map(|d| d.unwrap_or(0)) [INFO] [stderr] 757 | | .map(Mode::parse) [INFO] [stderr] 758 | | .collect::, _>>() [INFO] [stderr] 759 | | .map(Set)); [INFO] [stderr] | |___________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:761:1 [INFO] [stderr] | [INFO] [stderr] 761 | / with_args!(SR<1, args> -> CSI, [INFO] [stderr] 762 | | ScrollRight(arg!(args[0] => 1))); [INFO] [stderr] | |_____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:764:1 [INFO] [stderr] | [INFO] [stderr] 764 | / with_args!(SRS<1, args> -> CSI, ? [INFO] [stderr] 765 | | match arg!(args[0] => 0) { [INFO] [stderr] 766 | | 0 => Ok(ReverseString(false)), [INFO] [stderr] 767 | | 1 => Ok(ReverseString(true)), [INFO] [stderr] 768 | | _ => Err(nom::ErrorKind::Custom(9002)), [INFO] [stderr] 769 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:771:1 [INFO] [stderr] | [INFO] [stderr] 771 | / with_args!(SSU<1, args> -> CSI, ? [INFO] [stderr] 772 | | Unit::parse(arg!(args[0] => 0)).map(SizeUnit)); [INFO] [stderr] | |___________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:774:1 [INFO] [stderr] | [INFO] [stderr] 774 | / with_args!(SSW<1, args> -> CSI, [INFO] [stderr] 775 | | SpaceWidth(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:777:1 [INFO] [stderr] | [INFO] [stderr] 777 | / with_args!(SU<1, args> -> CSI, [INFO] [stderr] 778 | | ScrollUp(arg!(args[0] => 1))); [INFO] [stderr] | |__________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:780:1 [INFO] [stderr] | [INFO] [stderr] 780 | / with_args!(TBC<1, args> -> CSI, ? [INFO] [stderr] 781 | | Tabulation::parse(arg!(args[0] => 0)).map(TabulationClear)); [INFO] [stderr] | |________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:783:1 [INFO] [stderr] | [INFO] [stderr] 783 | / with_args!(VPA<1, args> -> CSI, [INFO] [stderr] 784 | | CursorVerticalPosition(arg!(args[0] => 1).saturating_sub(1))); [INFO] [stderr] | |__________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:786:1 [INFO] [stderr] | [INFO] [stderr] 786 | / with_args!(VPB<1, args> -> CSI, [INFO] [stderr] 787 | | CursorUp(arg!(args[0] => 1))); [INFO] [stderr] | |__________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:789:1 [INFO] [stderr] | [INFO] [stderr] 789 | / with_args!(VPR<1, args> -> CSI, [INFO] [stderr] 790 | | CursorDown(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:105:16 [INFO] [stderr] | [INFO] [stderr] 105 | small_vec![index as u32 + 30], [INFO] [stderr] | ^^^^^^^^^^^^ help: try: `u32::from(index)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:108:16 [INFO] [stderr] | [INFO] [stderr] 108 | small_vec![index as u32 - 8 + 90], [INFO] [stderr] | ^^^^^^^^^^^^ help: try: `u32::from(index)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:111:23 [INFO] [stderr] | [INFO] [stderr] 111 | small_vec![38, 5, index as u32], [INFO] [stderr] | ^^^^^^^^^^^^ help: try: `u32::from(index)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:120:23 [INFO] [stderr] | [INFO] [stderr] 120 | small_vec![38, 2, r as u32, g as u32, b as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(r)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:120:33 [INFO] [stderr] | [INFO] [stderr] 120 | small_vec![38, 2, r as u32, g as u32, b as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(g)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:120:43 [INFO] [stderr] | [INFO] [stderr] 120 | small_vec![38, 2, r as u32, g as u32, b as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(b)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:123:23 [INFO] [stderr] | [INFO] [stderr] 123 | small_vec![38, 3, c as u32, m as u32, y as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(c)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:123:33 [INFO] [stderr] | [INFO] [stderr] 123 | small_vec![38, 3, c as u32, m as u32, y as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(m)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:123:43 [INFO] [stderr] | [INFO] [stderr] 123 | small_vec![38, 3, c as u32, m as u32, y as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(y)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:126:23 [INFO] [stderr] | [INFO] [stderr] 126 | small_vec![38, 4, c as u32, m as u32, y as u32, k as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(c)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:126:33 [INFO] [stderr] | [INFO] [stderr] 126 | small_vec![38, 4, c as u32, m as u32, y as u32, k as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(m)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:126:43 [INFO] [stderr] | [INFO] [stderr] 126 | small_vec![38, 4, c as u32, m as u32, y as u32, k as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(y)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:126:53 [INFO] [stderr] | [INFO] [stderr] 126 | small_vec![38, 4, c as u32, m as u32, y as u32, k as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(k)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:129:16 [INFO] [stderr] | [INFO] [stderr] 129 | small_vec![index as u32 + 40], [INFO] [stderr] | ^^^^^^^^^^^^ help: try: `u32::from(index)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:132:16 [INFO] [stderr] | [INFO] [stderr] 132 | small_vec![index as u32 - 8 + 100], [INFO] [stderr] | ^^^^^^^^^^^^ help: try: `u32::from(index)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:135:23 [INFO] [stderr] | [INFO] [stderr] 135 | small_vec![48, 5, index as u32], [INFO] [stderr] | ^^^^^^^^^^^^ help: try: `u32::from(index)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:144:23 [INFO] [stderr] | [INFO] [stderr] 144 | small_vec![48, 2, r as u32, g as u32, b as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(r)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:144:33 [INFO] [stderr] | [INFO] [stderr] 144 | small_vec![48, 2, r as u32, g as u32, b as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(g)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:144:43 [INFO] [stderr] | [INFO] [stderr] 144 | small_vec![48, 2, r as u32, g as u32, b as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(b)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:147:23 [INFO] [stderr] | [INFO] [stderr] 147 | small_vec![48, 3, c as u32, m as u32, y as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(c)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:147:33 [INFO] [stderr] | [INFO] [stderr] 147 | small_vec![48, 3, c as u32, m as u32, y as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(m)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:147:43 [INFO] [stderr] | [INFO] [stderr] 147 | small_vec![48, 3, c as u32, m as u32, y as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(y)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:150:23 [INFO] [stderr] | [INFO] [stderr] 150 | small_vec![48, 4, c as u32, m as u32, y as u32, k as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(c)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:150:33 [INFO] [stderr] | [INFO] [stderr] 150 | small_vec![48, 4, c as u32, m as u32, y as u32, k as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(m)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:150:43 [INFO] [stderr] | [INFO] [stderr] 150 | small_vec![48, 4, c as u32, m as u32, y as u32, k as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(y)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:150:53 [INFO] [stderr] | [INFO] [stderr] 150 | small_vec![48, 4, c as u32, m as u32, y as u32, k as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(k)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/sgr.rs:221:1 [INFO] [stderr] | [INFO] [stderr] 221 | / pub fn parse<'a, 'b>(args: &'b [Option]) -> Result, nom::ErrorKind> { [INFO] [stderr] 222 | | if args.is_empty() { [INFO] [stderr] 223 | | return Ok(small_vec![Reset]); [INFO] [stderr] 224 | | } [INFO] [stderr] ... | [INFO] [stderr] 311 | | Ok(result) [INFO] [stderr] 312 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_lifetimes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/sgr.rs:221:14 [INFO] [stderr] | [INFO] [stderr] 221 | pub fn parse<'a, 'b>(args: &'b [Option]) -> Result, nom::ErrorKind> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/util.rs:193:11 [INFO] [stderr] | [INFO] [stderr] 193 | let d = (ch as u32).wrapping_sub(b'0' as u32); [INFO] [stderr] | ^^^^^^^^^^^ help: try: `u32::from(ch)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/util.rs:193:36 [INFO] [stderr] | [INFO] [stderr] 193 | let d = (ch as u32).wrapping_sub(b'0' as u32); [INFO] [stderr] | ^^^^^^^^^^^ help: try: `u32::from(b'0')` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> src/control.rs:73:3 [INFO] [stderr] | [INFO] [stderr] 73 | match self { [INFO] [stderr] | _________^ [INFO] [stderr] 74 | | &Control::C0(ref value) => [INFO] [stderr] 75 | | value.fmt(f), [INFO] [stderr] 76 | | [INFO] [stderr] ... | [INFO] [stderr] 81 | | value.fmt(f), [INFO] [stderr] 82 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::match_ref_pats)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stderr] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stderr] | [INFO] [stderr] 73 | match *self { [INFO] [stderr] 74 | Control::C0(ref value) => [INFO] [stderr] 75 | value.fmt(f), [INFO] [stderr] 76 | [INFO] [stderr] 77 | Control::C1(ref value) => [INFO] [stderr] 78 | value.fmt(f), [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/control.rs:120:20 [INFO] [stderr] | [INFO] [stderr] 120 | map!(DEC::parse, |c| Control::DEC(c)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `Control::DEC` [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: redundant closure found [INFO] [stderr] --> src/control.rs:145:20 [INFO] [stderr] | [INFO] [stderr] 145 | map!(C0::parse, |c| Control::C0(c)))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `Control::C0` [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: redundant closure found [INFO] [stderr] --> src/c0.rs:164:1 [INFO] [stderr] | [INFO] [stderr] 164 | / named!(pub parse, [INFO] [stderr] 165 | | switch!(take!(1), [INFO] [stderr] 166 | | b"\x0D" => call!(CR) | [INFO] [stderr] 167 | | b"\x0A" => call!(LF) | [INFO] [stderr] ... | [INFO] [stderr] 197 | | b"\x1E" => call!(RS) | [INFO] [stderr] 198 | | b"\x1F" => call!(US))); [INFO] [stderr] | |_______________________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/c1.rs:172:1 [INFO] [stderr] | [INFO] [stderr] 172 | / named!(one, [INFO] [stderr] 173 | | switch!(take!(1), [INFO] [stderr] 174 | | b"\x9B" => call!(CSI) | [INFO] [stderr] 175 | | b"\x9D" => call!(OSC) | [INFO] [stderr] ... | [INFO] [stderr] 204 | | b"\x9E" => call!(PM) | [INFO] [stderr] 205 | | b"\x9F" => call!(APC))); [INFO] [stderr] | |________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/c1.rs:207:1 [INFO] [stderr] | [INFO] [stderr] 207 | / named!(two, [INFO] [stderr] 208 | | do_parse!(tag!(b"\x1B") >> [INFO] [stderr] 209 | | res: switch!(take!(1), [INFO] [stderr] 210 | | b"\x5B" => call!(CSI) | [INFO] [stderr] ... | [INFO] [stderr] 242 | | [INFO] [stderr] 243 | | (res))); [INFO] [stderr] | |____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/c1.rs:327:28 [INFO] [stderr] | [INFO] [stderr] 327 | map!(call!(::CSI::parse), |res| ControlSequence(res))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `ControlSequence` [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: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/dec/mod.rs:178:58 [INFO] [stderr] | [INFO] [stderr] 178 | write!(csi Unknown(b'q', Some(b' '), small_vec![Some(id as u32)])), [INFO] [stderr] | ^^^^^^^^^ help: try: `u32::from(id)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/dec/mode.rs:62:15 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::extra_unused_lifetimes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/dec/mod.rs:221:1 [INFO] [stderr] | [INFO] [stderr] 221 | / named!(pub parse, [INFO] [stderr] 222 | | do_parse!(tag!(b"\x1B") >> [INFO] [stderr] 223 | | res: switch!(take!(1), [INFO] [stderr] 224 | | b"#" => switch!(take!(1), [INFO] [stderr] ... | [INFO] [stderr] 257 | | [INFO] [stderr] 258 | | (res))); [INFO] [stderr] | |____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/dec/mod.rs:221:1 [INFO] [stderr] | [INFO] [stderr] 221 | / named!(pub parse, [INFO] [stderr] 222 | | do_parse!(tag!(b"\x1B") >> [INFO] [stderr] 223 | | res: switch!(take!(1), [INFO] [stderr] 224 | | b"#" => switch!(take!(1), [INFO] [stderr] ... | [INFO] [stderr] 257 | | [INFO] [stderr] 258 | | (res))); [INFO] [stderr] | |____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/dec/mod.rs:221:1 [INFO] [stderr] | [INFO] [stderr] 221 | / named!(pub parse, [INFO] [stderr] 222 | | do_parse!(tag!(b"\x1B") >> [INFO] [stderr] 223 | | res: switch!(take!(1), [INFO] [stderr] 224 | | b"#" => switch!(take!(1), [INFO] [stderr] ... | [INFO] [stderr] 257 | | [INFO] [stderr] 258 | | (res))); [INFO] [stderr] | |____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/dec/mod.rs:221:1 [INFO] [stderr] | [INFO] [stderr] 221 | / named!(pub parse, [INFO] [stderr] 222 | | do_parse!(tag!(b"\x1B") >> [INFO] [stderr] 223 | | res: switch!(take!(1), [INFO] [stderr] 224 | | b"#" => switch!(take!(1), [INFO] [stderr] ... | [INFO] [stderr] 257 | | [INFO] [stderr] 258 | | (res))); [INFO] [stderr] | |____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/dec/mod.rs:326:1 [INFO] [stderr] | [INFO] [stderr] 326 | / named!(SCS, [INFO] [stderr] 327 | | switch!(take!(1), [INFO] [stderr] 328 | | b"<" => value!(Charset::UserPreferred) | [INFO] [stderr] 329 | | [INFO] [stderr] ... | [INFO] [stderr] 367 | | b"2" => value!(charset::NRCS::Turkish.into()) | [INFO] [stderr] 368 | | b"3" => value!(charset::NRCS::SCS.into())))); [INFO] [stderr] | |_________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/dec/mod.rs:326:1 [INFO] [stderr] | [INFO] [stderr] 326 | / named!(SCS, [INFO] [stderr] 327 | | switch!(take!(1), [INFO] [stderr] 328 | | b"<" => value!(Charset::UserPreferred) | [INFO] [stderr] 329 | | [INFO] [stderr] ... | [INFO] [stderr] 367 | | b"2" => value!(charset::NRCS::Turkish.into()) | [INFO] [stderr] 368 | | b"3" => value!(charset::NRCS::SCS.into())))); [INFO] [stderr] | |_________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/dec/mod.rs:326:1 [INFO] [stderr] | [INFO] [stderr] 326 | / named!(SCS, [INFO] [stderr] 327 | | switch!(take!(1), [INFO] [stderr] 328 | | b"<" => value!(Charset::UserPreferred) | [INFO] [stderr] 329 | | [INFO] [stderr] ... | [INFO] [stderr] 367 | | b"2" => value!(charset::NRCS::Turkish.into()) | [INFO] [stderr] 368 | | b"3" => value!(charset::NRCS::SCS.into())))); [INFO] [stderr] | |_________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/dec/mod.rs:326:1 [INFO] [stderr] | [INFO] [stderr] 326 | / named!(SCS, [INFO] [stderr] 327 | | switch!(take!(1), [INFO] [stderr] 328 | | b"<" => value!(Charset::UserPreferred) | [INFO] [stderr] 329 | | [INFO] [stderr] ... | [INFO] [stderr] 367 | | b"2" => value!(charset::NRCS::Turkish.into()) | [INFO] [stderr] 368 | | b"3" => value!(charset::NRCS::SCS.into())))); [INFO] [stderr] | |_________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/dec/csi.rs:44:1 [INFO] [stderr] | [INFO] [stderr] 44 | / with_args!(SM -> DEC, ? [INFO] [stderr] 45 | | args.iter().map(|d| d.unwrap_or(0)) [INFO] [stderr] 46 | | .map(Mode::parse) [INFO] [stderr] 47 | | .collect::, _>>() [INFO] [stderr] 48 | | .map(Set)); [INFO] [stderr] | |___________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/dec/csi.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | / with_args!(RM -> DEC, ? [INFO] [stderr] 51 | | args.iter().map(|d| d.unwrap_or(0)) [INFO] [stderr] 52 | | .map(Mode::parse) [INFO] [stderr] 53 | | .collect::, _>>() [INFO] [stderr] 54 | | .map(Reset)); [INFO] [stderr] | |_____________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/dec/csi.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | / with_args!(DECDC<1, args> -> DEC, [INFO] [stderr] 57 | | DeleteColumn(arg!(args[0] => 1))); [INFO] [stderr] | |______________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/dec/csi.rs:59:1 [INFO] [stderr] | [INFO] [stderr] 59 | / with_args!(DECIC<1, args> -> DEC, [INFO] [stderr] 60 | | InsertColumn(arg!(args[0] => 1))); [INFO] [stderr] | |______________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/dec/csi.rs:62:1 [INFO] [stderr] | [INFO] [stderr] 62 | / with_args!(DECSCUSR<1, args> -> DEC, [INFO] [stderr] 63 | | CursorStyle(arg!(args[0] => 0) as u8)); [INFO] [stderr] | |___________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/dec/csi.rs:65:1 [INFO] [stderr] | [INFO] [stderr] 65 | / with_args!(DECSTBM<2, args> -> DEC, [INFO] [stderr] 66 | | ScrollRegion { [INFO] [stderr] 67 | | top: arg!(args[0] => 1).saturating_sub(1), [INFO] [stderr] 68 | | bottom: arg!(args[1]) [INFO] [stderr] 69 | | .and_then(|v| if v == 0 { None } else { Some(v) }) [INFO] [stderr] 70 | | .map(|b| b.saturating_sub(1)), [INFO] [stderr] 71 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | fn $name<'a>(args: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/dec/csi.rs:73:1 [INFO] [stderr] | [INFO] [stderr] 73 | / with_args!(DECSTR -> DEC, [INFO] [stderr] 74 | | SoftReset); [INFO] [stderr] | |_______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/dec/sixel.rs:25:18 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::trivially_copy_pass_by_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/dec/sixel.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn get(&self, index: u8) -> bool { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: casting u8 to f32 may become silently lossy if types change [INFO] [stderr] --> src/dec/sixel.rs:162:9 [INFO] [stderr] | [INFO] [stderr] 162 | (r as f32 / 255.0 * 100.0) as u8, [INFO] [stderr] | ^^^^^^^^ help: try: `f32::from(r)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to f32 may become silently lossy if types change [INFO] [stderr] --> src/dec/sixel.rs:163:9 [INFO] [stderr] | [INFO] [stderr] 163 | (g as f32 / 255.0 * 100.0) as u8, [INFO] [stderr] | ^^^^^^^^ help: try: `f32::from(g)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to f32 may become silently lossy if types change [INFO] [stderr] --> src/dec/sixel.rs:164:9 [INFO] [stderr] | [INFO] [stderr] 164 | (b as f32 / 255.0 * 100.0) as u8)); [INFO] [stderr] | ^^^^^^^^ help: try: `f32::from(b)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/dec/sixel.rs:248:1 [INFO] [stderr] | [INFO] [stderr] 248 | / named!(color, [INFO] [stderr] 249 | | do_parse!( [INFO] [stderr] 250 | | char!('#') >> [INFO] [stderr] 251 | | id: digit >> [INFO] [stderr] ... | [INFO] [stderr] 290 | | Sixel::Enable(number(id)) [INFO] [stderr] 291 | | }))); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 259 [INFO] [stderr] --> src/csi/mod.rs:127:2 [INFO] [stderr] | [INFO] [stderr] 127 | fn fmt(&self, mut f: W) -> io::Result<()> { [INFO] [stderr] | _____^ [INFO] [stderr] 128 | | macro_rules! write { [INFO] [stderr] 129 | | (entry $private:expr) => ({ [INFO] [stderr] 130 | | try!(f.write_all(b"\x1B\x5B")); [INFO] [stderr] ... | [INFO] [stderr] 398 | | } [INFO] [stderr] 399 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"Z"` [INFO] [stderr] ... [INFO] [stderr] 189 | write!("Z", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::string_lit_as_bytes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"G"` [INFO] [stderr] ... [INFO] [stderr] 192 | write!("G", [n + 1]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"I"` [INFO] [stderr] ... [INFO] [stderr] 195 | write!("I", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"E"` [INFO] [stderr] ... [INFO] [stderr] 198 | write!("E", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"F"` [INFO] [stderr] ... [INFO] [stderr] 201 | write!("F", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"R"` [INFO] [stderr] ... [INFO] [stderr] 204 | write!("R", [y + 1, x + 1]), [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"W"` [INFO] [stderr] ... [INFO] [stderr] 207 | write!("W", [value]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"D"` [INFO] [stderr] ... [INFO] [stderr] 210 | write!("D", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"B"` [INFO] [stderr] ... [INFO] [stderr] 213 | write!("B", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"C"` [INFO] [stderr] ... [INFO] [stderr] 216 | write!("C", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"H"` [INFO] [stderr] ... [INFO] [stderr] 219 | write!("H", [y + 1, x + 1]), [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"A"` [INFO] [stderr] ... [INFO] [stderr] 222 | write!("A", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"Y"` [INFO] [stderr] ... [INFO] [stderr] 225 | write!("Y", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"c"` [INFO] [stderr] ... [INFO] [stderr] 228 | write!("c", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"o"` [INFO] [stderr] ... [INFO] [stderr] 231 | write!("o", [value]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"P"` [INFO] [stderr] ... [INFO] [stderr] 234 | write!("P", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"M"` [INFO] [stderr] ... [INFO] [stderr] 237 | write!("M", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"n"` [INFO] [stderr] ... [INFO] [stderr] 240 | write!("n", [value]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" T"` [INFO] [stderr] ... [INFO] [stderr] 243 | write!(" T", [w, h]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"O"` [INFO] [stderr] ... [INFO] [stderr] 246 | write!("O", [value]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"X"` [INFO] [stderr] ... [INFO] [stderr] 249 | write!("X", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"N"` [INFO] [stderr] ... [INFO] [stderr] 252 | write!("N", [value]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"J"` [INFO] [stderr] ... [INFO] [stderr] 255 | write!("J", [value]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"K"` [INFO] [stderr] ... [INFO] [stderr] 258 | write!("K", [value]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" W"` [INFO] [stderr] ... [INFO] [stderr] 261 | write!(" W", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" D"` [INFO] [stderr] ... [INFO] [stderr] 264 | write!(" D", [a, b]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" _"` [INFO] [stderr] ... [INFO] [stderr] 267 | write!(" _", [value]), [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" B"` [INFO] [stderr] ... [INFO] [stderr] 270 | write!(" B", [height, width]), [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"@"` [INFO] [stderr] ... [INFO] [stderr] 273 | write!("@", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" O"` [INFO] [stderr] ... [INFO] [stderr] 276 | write!(" O", ![n]), [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" M"` [INFO] [stderr] ... [INFO] [stderr] 279 | write!(" M", ![n]), [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"L"` [INFO] [stderr] ... [INFO] [stderr] 282 | write!("L", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" F"` [INFO] [stderr] ... [INFO] [stderr] 285 | write!(" F", args.iter()), [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"i"` [INFO] [stderr] ... [INFO] [stderr] 288 | write!("i", [value]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"U"` [INFO] [stderr] ... [INFO] [stderr] 291 | write!("U", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" Z"` [INFO] [stderr] ... [INFO] [stderr] 294 | write!(" Z", [value]), [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" J"` [INFO] [stderr] ... [INFO] [stderr] 297 | write!(" J", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"V"` [INFO] [stderr] ... [INFO] [stderr] 300 | write!("V", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" P"` [INFO] [stderr] ... [INFO] [stderr] 303 | write!(" P", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" R"` [INFO] [stderr] ... [INFO] [stderr] 306 | write!(" R", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" Q"` [INFO] [stderr] ... [INFO] [stderr] 309 | write!(" Q", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" H"` [INFO] [stderr] ... [INFO] [stderr] 315 | write!(" H", dispositions.iter().map(|&d| Some(Into::::into(d)))), [INFO] [stderr] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:183:17 [INFO] [stderr] | [INFO] [stderr] 183 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"u"` [INFO] [stderr] ... [INFO] [stderr] 318 | write!("u"), [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"b"` [INFO] [stderr] ... [INFO] [stderr] 321 | write!("b", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"l"` [INFO] [stderr] ... [INFO] [stderr] 324 | write!("l", modes.iter().map(|&m| Some(Into::::into(m)))), [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" e"` [INFO] [stderr] ... [INFO] [stderr] 327 | write!(" e", [match n { [INFO] [stderr] | _________________- [INFO] [stderr] 328 | | 0 => 0u32, [INFO] [stderr] 329 | | 45 => 1u32, [INFO] [stderr] 330 | | 90 => 2u32, [INFO] [stderr] ... | [INFO] [stderr] 336 | | _ => unreachable!(), [INFO] [stderr] 337 | | }]), [INFO] [stderr] | |___________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:183:17 [INFO] [stderr] | [INFO] [stderr] 183 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"s"` [INFO] [stderr] ... [INFO] [stderr] 340 | write!("s"), [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" b"` [INFO] [stderr] ... [INFO] [stderr] 343 | write!(" b", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"T"` [INFO] [stderr] ... [INFO] [stderr] 346 | write!("T", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"^"` [INFO] [stderr] ... [INFO] [stderr] 349 | write!("^", [direction]), [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"m"` [INFO] [stderr] ... [INFO] [stderr] 352 | write!("m", attrs.iter().flat_map(|&a| Into::>::into(a)).map(Some)), [INFO] [stderr] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" @"` [INFO] [stderr] ... [INFO] [stderr] 355 | write!(" @", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" h"` [INFO] [stderr] ... [INFO] [stderr] 358 | write!(" h", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"h"` [INFO] [stderr] ... [INFO] [stderr] 361 | write!("h", modes.iter().map(|&m| Into::::into(m)).map(Some)), [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" A"` [INFO] [stderr] ... [INFO] [stderr] 364 | write!(" A", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"["` [INFO] [stderr] ... [INFO] [stderr] 367 | write!("[", [0u32]), [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"["` [INFO] [stderr] ... [INFO] [stderr] 370 | write!("[", [1u32]), [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" I"` [INFO] [stderr] ... [INFO] [stderr] 373 | write!(" I", [unit]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b" ["` [INFO] [stderr] ... [INFO] [stderr] 376 | write!(" [", [n]), [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"S"` [INFO] [stderr] ... [INFO] [stderr] 379 | write!("S", [n]), [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"g"` [INFO] [stderr] ... [INFO] [stderr] 382 | write!("g", [value]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/csi/mod.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | f.write_all($id.as_bytes()) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"d"` [INFO] [stderr] ... [INFO] [stderr] 385 | write!("d", [n + 1]), [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/erase.rs:26:15 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/tabulation_control.rs:30:15 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/tabulation.rs:29:15 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/qualification.rs:35:15 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/combination.rs:26:15 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/copy.rs:31:15 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/expansion.rs:26:15 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/parallel.rs:29:15 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/disposition.rs:30:15 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/mode.rs:44:15 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/direction.rs:25:15 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/unit.rs:32:15 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/csi/report.rs:25:15 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn parse<'a>(value: u32) -> Result { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:556:1 [INFO] [stderr] | [INFO] [stderr] 556 | / with_args!(CBT<1, args> -> CSI, [INFO] [stderr] 557 | | CursorBackTabulation(arg!(args[0] => 1))); [INFO] [stderr] | |______________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:559:1 [INFO] [stderr] | [INFO] [stderr] 559 | / with_args!(CHA<1, args> -> CSI, [INFO] [stderr] 560 | | CursorHorizontalPosition(arg!(args[0] => 1).saturating_sub(1))); [INFO] [stderr] | |____________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:562:1 [INFO] [stderr] | [INFO] [stderr] 562 | / with_args!(CHT<1, args> -> CSI, [INFO] [stderr] 563 | | CursorForwardTabulation(arg!(args[0] => 1))); [INFO] [stderr] | |_________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:565:1 [INFO] [stderr] | [INFO] [stderr] 565 | / with_args!(CNL<1, args> -> CSI, [INFO] [stderr] 566 | | CursorNextLine(arg!(args[0] => 1))); [INFO] [stderr] | |________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:568:1 [INFO] [stderr] | [INFO] [stderr] 568 | / with_args!(CPL<1, args> -> CSI, [INFO] [stderr] 569 | | CursorPreviousLine(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:571:1 [INFO] [stderr] | [INFO] [stderr] 571 | / with_args!(CPR<2, args> -> CSI, [INFO] [stderr] 572 | | CursorPositionReport { [INFO] [stderr] 573 | | y: arg!(args[0] => 1).saturating_sub(1), [INFO] [stderr] 574 | | x: arg!(args[1] => 1).saturating_sub(1) [INFO] [stderr] 575 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:577:1 [INFO] [stderr] | [INFO] [stderr] 577 | / with_args!(CTC<1, args> -> CSI, ? [INFO] [stderr] 578 | | TabulationControl::parse(arg!(args[0] => 0)).map(CursorTabulationControl)); [INFO] [stderr] | |_______________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:580:1 [INFO] [stderr] | [INFO] [stderr] 580 | / with_args!(CUB<1, args> -> CSI, [INFO] [stderr] 581 | | CursorBack(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:583:1 [INFO] [stderr] | [INFO] [stderr] 583 | / with_args!(CUD<1, args> -> CSI, [INFO] [stderr] 584 | | CursorDown(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:586:1 [INFO] [stderr] | [INFO] [stderr] 586 | / with_args!(CUF<1, args> -> CSI, [INFO] [stderr] 587 | | CursorForward(arg!(args[0] => 1))); [INFO] [stderr] | |_______________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:589:1 [INFO] [stderr] | [INFO] [stderr] 589 | / with_args!(CUP<2, args> -> CSI, [INFO] [stderr] 590 | | CursorPosition { [INFO] [stderr] 591 | | y: arg!(args[0] => 1).saturating_sub(1), [INFO] [stderr] 592 | | x: arg!(args[1] => 1).saturating_sub(1) [INFO] [stderr] 593 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:595:1 [INFO] [stderr] | [INFO] [stderr] 595 | / with_args!(CUU<1, args> -> CSI, [INFO] [stderr] 596 | | CursorUp(arg!(args[0] => 1))); [INFO] [stderr] | |__________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:598:1 [INFO] [stderr] | [INFO] [stderr] 598 | / with_args!(CVT<1, args> -> CSI, [INFO] [stderr] 599 | | CursorLineTabulation(arg!(args[0] => 1))); [INFO] [stderr] | |______________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:601:1 [INFO] [stderr] | [INFO] [stderr] 601 | / with_args!(DA<1, args> -> CSI, [INFO] [stderr] 602 | | DeviceAttributes(arg!(args[0] => 0))); [INFO] [stderr] | |__________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:604:1 [INFO] [stderr] | [INFO] [stderr] 604 | / with_args!(DAQ<1, args> -> CSI, ? [INFO] [stderr] 605 | | Qualification::parse(arg!(args[0] => 0)).map(DefineAreaQualification)); [INFO] [stderr] | |___________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:607:1 [INFO] [stderr] | [INFO] [stderr] 607 | / with_args!(DCH<1, args> -> CSI, [INFO] [stderr] 608 | | DeleteCharacter(arg!(args[0] => 1))); [INFO] [stderr] | |_________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:610:1 [INFO] [stderr] | [INFO] [stderr] 610 | / with_args!(DL<1, args> -> CSI, [INFO] [stderr] 611 | | DeleteLine(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:613:1 [INFO] [stderr] | [INFO] [stderr] 613 | / with_args!(DSR<1, args> -> CSI, ? [INFO] [stderr] 614 | | Report::parse(arg!(args[0] => 0)).map(DeviceStatusReport)); [INFO] [stderr] | |_______________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:616:1 [INFO] [stderr] | [INFO] [stderr] 616 | / with_args!(DTA<2, args> -> CSI, [INFO] [stderr] 617 | | DimensionTextArea(arg!(args[0] => 0), arg!(args[1] => 0))); [INFO] [stderr] | |_______________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:619:1 [INFO] [stderr] | [INFO] [stderr] 619 | / with_args!(EA<1, args> -> CSI, ? [INFO] [stderr] 620 | | Erase::parse(arg!(args[0] => 0)).map(EraseArea)); [INFO] [stderr] | |_____________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:622:1 [INFO] [stderr] | [INFO] [stderr] 622 | / with_args!(ECH<1, args> -> CSI, [INFO] [stderr] 623 | | EraseCharacter(arg!(args[0] => 1))); [INFO] [stderr] | |________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:625:1 [INFO] [stderr] | [INFO] [stderr] 625 | / with_args!(ED<1, args> -> CSI, ? [INFO] [stderr] 626 | | Erase::parse(arg!(args[0] => 0)).map(EraseDisplay)); [INFO] [stderr] | |________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:628:1 [INFO] [stderr] | [INFO] [stderr] 628 | / with_args!(EF<1, args> -> CSI, ? [INFO] [stderr] 629 | | Erase::parse(arg!(args[0] => 0)).map(EraseField)); [INFO] [stderr] | |______________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:631:1 [INFO] [stderr] | [INFO] [stderr] 631 | / with_args!(EL<1, args> -> CSI, ? [INFO] [stderr] 632 | | Erase::parse(arg!(args[0] => 0)).map(EraseLine)); [INFO] [stderr] | |_____________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:634:1 [INFO] [stderr] | [INFO] [stderr] 634 | / with_args!(FNK<1, args> -> CSI, [INFO] [stderr] 635 | | FunctionKey(arg!(args[0] => 0))); [INFO] [stderr] | |_____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:637:1 [INFO] [stderr] | [INFO] [stderr] 637 | / with_args!(FNT<2, args> -> CSI, [INFO] [stderr] 638 | | SelectFont(arg!(args[0] => 0), arg!(args[1] => 0))); [INFO] [stderr] | |________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:640:1 [INFO] [stderr] | [INFO] [stderr] 640 | / with_args!(GCC<1, args> -> CSI, ? [INFO] [stderr] 641 | | Combination::parse(arg!(args[0] => 0)).map(GraphicCharacterCombination)); [INFO] [stderr] | |_____________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:643:1 [INFO] [stderr] | [INFO] [stderr] 643 | / with_args!(GSM<2, args> -> CSI, [INFO] [stderr] 644 | | GraphicSizeModification { height: arg!(args[0] => 100), width: arg!(args[1] => 100) }); [INFO] [stderr] | |___________________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:646:1 [INFO] [stderr] | [INFO] [stderr] 646 | / with_args!(HPA<1, args> -> CSI, [INFO] [stderr] 647 | | CursorHorizontalPosition(arg!(args[0] => 1).saturating_sub(1))); [INFO] [stderr] | |____________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:649:1 [INFO] [stderr] | [INFO] [stderr] 649 | / with_args!(HPB<1, args> -> CSI, [INFO] [stderr] 650 | | CursorBack(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:652:1 [INFO] [stderr] | [INFO] [stderr] 652 | / with_args!(HPR<1, args> -> CSI, [INFO] [stderr] 653 | | CursorForward(arg!(args[0] => 1))); [INFO] [stderr] | |_______________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:655:1 [INFO] [stderr] | [INFO] [stderr] 655 | / with_args!(HVP<2, args> -> CSI, [INFO] [stderr] 656 | | CursorPosition { [INFO] [stderr] 657 | | y: arg!(args[0] => 1).saturating_sub(1), [INFO] [stderr] 658 | | x: arg!(args[1] => 1).saturating_sub(1), [INFO] [stderr] 659 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:661:1 [INFO] [stderr] | [INFO] [stderr] 661 | / with_args!(ICH<1, args> -> CSI, [INFO] [stderr] 662 | | InsertCharacter(arg!(args[0] => 1))); [INFO] [stderr] | |_________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:664:1 [INFO] [stderr] | [INFO] [stderr] 664 | / with_args!(IDCS<1, args> -> CSI, [INFO] [stderr] 665 | | IdentifyDeviceControlString(arg!(args[0]))); [INFO] [stderr] | |________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:667:1 [INFO] [stderr] | [INFO] [stderr] 667 | / with_args!(IGS<1, args> -> CSI, [INFO] [stderr] 668 | | IdentifyGraphicSubrepertoire(arg!(args[0]))); [INFO] [stderr] | |_________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:670:1 [INFO] [stderr] | [INFO] [stderr] 670 | / with_args!(IL<1, args> -> CSI, [INFO] [stderr] 671 | | InsertLine(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 60 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:673:1 [INFO] [stderr] | [INFO] [stderr] 673 | / with_args!(JFY -> CSI, [INFO] [stderr] 674 | | Justify(SmallVec::from_iter(args.iter().cloned()))); [INFO] [stderr] | |________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:676:1 [INFO] [stderr] | [INFO] [stderr] 676 | / with_args!(MC<1, args> -> CSI, ? [INFO] [stderr] 677 | | Copy::parse(arg!(args[0] => 0)).map(MediaCopy)); [INFO] [stderr] | |____________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:679:1 [INFO] [stderr] | [INFO] [stderr] 679 | / with_args!(NP<1, args> -> CSI, [INFO] [stderr] 680 | | NextPage(arg!(args[0] => 1))); [INFO] [stderr] | |__________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:682:1 [INFO] [stderr] | [INFO] [stderr] 682 | / with_args!(PEC<1, args> -> CSI, ? [INFO] [stderr] 683 | | Expansion::parse(arg!(args[0] => 0)).map(Presentation)); [INFO] [stderr] | |____________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:685:1 [INFO] [stderr] | [INFO] [stderr] 685 | / with_args!(PFS<1, args> -> CSI, [INFO] [stderr] 686 | | PageFormat(arg!(args[0] => 0))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:688:1 [INFO] [stderr] | [INFO] [stderr] 688 | / with_args!(PP<1, args> -> CSI, [INFO] [stderr] 689 | | PrecedingPage(arg!(args[0] => 1))); [INFO] [stderr] | |_______________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:691:1 [INFO] [stderr] | [INFO] [stderr] 691 | / with_args!(PPA<1, args> -> CSI, [INFO] [stderr] 692 | | PagePosition(arg!(args[0] => 1))); [INFO] [stderr] | |______________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:694:1 [INFO] [stderr] | [INFO] [stderr] 694 | / with_args!(PPB<1, args> -> CSI, [INFO] [stderr] 695 | | PageBack(arg!(args[0] => 1))); [INFO] [stderr] | |__________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:697:1 [INFO] [stderr] | [INFO] [stderr] 697 | / with_args!(PPR<1, args> -> CSI, [INFO] [stderr] 698 | | PageForward(arg!(args[0] => 1))); [INFO] [stderr] | |_____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:700:1 [INFO] [stderr] | [INFO] [stderr] 700 | / with_args!(PTX<1, args> -> CSI, ? [INFO] [stderr] 701 | | Parallel::parse(arg!(args[0] => 0)).map(ParallelText)); [INFO] [stderr] | |___________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:703:1 [INFO] [stderr] | [INFO] [stderr] 703 | / with_args!(QUAD -> CSI, ? [INFO] [stderr] 704 | | args.iter().map(|d| d.unwrap_or(0)) [INFO] [stderr] 705 | | .map(Disposition::parse) [INFO] [stderr] 706 | | .collect::, _>>() [INFO] [stderr] 707 | | .map(GraphicDisposition)); [INFO] [stderr] | |__________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | fn $name<'a>(args: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:709:1 [INFO] [stderr] | [INFO] [stderr] 709 | / with_args!(RCP -> CSI, [INFO] [stderr] 710 | | RestoreCursor); [INFO] [stderr] | |___________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:712:1 [INFO] [stderr] | [INFO] [stderr] 712 | / with_args!(REP<1, args> -> CSI, [INFO] [stderr] 713 | | Repeat(arg!(args[0] => 1))); [INFO] [stderr] | |________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:715:1 [INFO] [stderr] | [INFO] [stderr] 715 | / with_args!(RM -> CSI, ? [INFO] [stderr] 716 | | args.iter().map(|d| d.unwrap_or(0)) [INFO] [stderr] 717 | | .map(Mode::parse) [INFO] [stderr] 718 | | .collect::, _>>() [INFO] [stderr] 719 | | .map(Reset)); [INFO] [stderr] | |_____________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:721:1 [INFO] [stderr] | [INFO] [stderr] 721 | / with_args!(SCO<1, args> -> CSI, ? [INFO] [stderr] 722 | | match arg!(args[0] => 0) { [INFO] [stderr] 723 | | 0 => Ok(CharacterOrientation(0)), [INFO] [stderr] 724 | | 1 => Ok(CharacterOrientation(45)), [INFO] [stderr] ... | [INFO] [stderr] 731 | | _ => Err(nom::ErrorKind::Custom(9002)), [INFO] [stderr] 732 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | fn $name<'a>(args: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:734:1 [INFO] [stderr] | [INFO] [stderr] 734 | / with_args!(SCP -> CSI, [INFO] [stderr] 735 | | SaveCursor); [INFO] [stderr] | |________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:737:1 [INFO] [stderr] | [INFO] [stderr] 737 | / with_args!(SCS<1, args> -> CSI, [INFO] [stderr] 738 | | CharacterSpacing(arg!(args[0] => 1))); [INFO] [stderr] | |__________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:740:1 [INFO] [stderr] | [INFO] [stderr] 740 | / with_args!(SD<1, args> -> CSI, [INFO] [stderr] 741 | | ScrollDown(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:743:1 [INFO] [stderr] | [INFO] [stderr] 743 | / with_args!(SIMD<1, args> -> CSI, ? [INFO] [stderr] 744 | | Direction::parse(arg!(args[0] => 0)).map(Movement)); [INFO] [stderr] | |________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:746:1 [INFO] [stderr] | [INFO] [stderr] 746 | / with_args!(SGR -> CSI, ? [INFO] [stderr] 747 | | ::SGR::parse(args).map(|v| SelectGraphicalRendition(v))); [INFO] [stderr] | |_____________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/csi/mod.rs:747:25 [INFO] [stderr] | [INFO] [stderr] 747 | ::SGR::parse(args).map(|v| SelectGraphicalRendition(v))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `SelectGraphicalRendition` [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: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:749:1 [INFO] [stderr] | [INFO] [stderr] 749 | / with_args!(SL<1, args> -> CSI, [INFO] [stderr] 750 | | ScrollLeft(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:752:1 [INFO] [stderr] | [INFO] [stderr] 752 | / with_args!(SLS<1, args> -> CSI, [INFO] [stderr] 753 | | LineSpacing(arg!(args[0] => 1))); [INFO] [stderr] | |_____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:755:1 [INFO] [stderr] | [INFO] [stderr] 755 | / with_args!(SM -> CSI, ? [INFO] [stderr] 756 | | args.iter().map(|d| d.unwrap_or(0)) [INFO] [stderr] 757 | | .map(Mode::parse) [INFO] [stderr] 758 | | .collect::, _>>() [INFO] [stderr] 759 | | .map(Set)); [INFO] [stderr] | |___________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:761:1 [INFO] [stderr] | [INFO] [stderr] 761 | / with_args!(SR<1, args> -> CSI, [INFO] [stderr] 762 | | ScrollRight(arg!(args[0] => 1))); [INFO] [stderr] | |_____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:764:1 [INFO] [stderr] | [INFO] [stderr] 764 | / with_args!(SRS<1, args> -> CSI, ? [INFO] [stderr] 765 | | match arg!(args[0] => 0) { [INFO] [stderr] 766 | | 0 => Ok(ReverseString(false)), [INFO] [stderr] 767 | | 1 => Ok(ReverseString(true)), [INFO] [stderr] 768 | | _ => Err(nom::ErrorKind::Custom(9002)), [INFO] [stderr] 769 | | }); [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:771:1 [INFO] [stderr] | [INFO] [stderr] 771 | / with_args!(SSU<1, args> -> CSI, ? [INFO] [stderr] 772 | | Unit::parse(arg!(args[0] => 0)).map(SizeUnit)); [INFO] [stderr] | |___________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:774:1 [INFO] [stderr] | [INFO] [stderr] 774 | / with_args!(SSW<1, args> -> CSI, [INFO] [stderr] 775 | | SpaceWidth(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:777:1 [INFO] [stderr] | [INFO] [stderr] 777 | / with_args!(SU<1, args> -> CSI, [INFO] [stderr] 778 | | ScrollUp(arg!(args[0] => 1))); [INFO] [stderr] | |__________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:780:1 [INFO] [stderr] | [INFO] [stderr] 780 | / with_args!(TBC<1, args> -> CSI, ? [INFO] [stderr] 781 | | Tabulation::parse(arg!(args[0] => 0)).map(TabulationClear)); [INFO] [stderr] | |________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:783:1 [INFO] [stderr] | [INFO] [stderr] 783 | / with_args!(VPA<1, args> -> CSI, [INFO] [stderr] 784 | | CursorVerticalPosition(arg!(args[0] => 1).saturating_sub(1))); [INFO] [stderr] | |__________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:786:1 [INFO] [stderr] | [INFO] [stderr] 786 | / with_args!(VPB<1, args> -> CSI, [INFO] [stderr] 787 | | CursorUp(arg!(args[0] => 1))); [INFO] [stderr] | |__________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/util.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | fn $name<'a>($params: &[Option]) -> Option<$ty> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] ::: src/csi/mod.rs:789:1 [INFO] [stderr] | [INFO] [stderr] 789 | / with_args!(VPR<1, args> -> CSI, [INFO] [stderr] 790 | | CursorDown(arg!(args[0] => 1))); [INFO] [stderr] | |____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:105:16 [INFO] [stderr] | [INFO] [stderr] 105 | small_vec![index as u32 + 30], [INFO] [stderr] | ^^^^^^^^^^^^ help: try: `u32::from(index)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:108:16 [INFO] [stderr] | [INFO] [stderr] 108 | small_vec![index as u32 - 8 + 90], [INFO] [stderr] | ^^^^^^^^^^^^ help: try: `u32::from(index)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:111:23 [INFO] [stderr] | [INFO] [stderr] 111 | small_vec![38, 5, index as u32], [INFO] [stderr] | ^^^^^^^^^^^^ help: try: `u32::from(index)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:120:23 [INFO] [stderr] | [INFO] [stderr] 120 | small_vec![38, 2, r as u32, g as u32, b as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(r)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:120:33 [INFO] [stderr] | [INFO] [stderr] 120 | small_vec![38, 2, r as u32, g as u32, b as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(g)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:120:43 [INFO] [stderr] | [INFO] [stderr] 120 | small_vec![38, 2, r as u32, g as u32, b as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(b)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:123:23 [INFO] [stderr] | [INFO] [stderr] 123 | small_vec![38, 3, c as u32, m as u32, y as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(c)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:123:33 [INFO] [stderr] | [INFO] [stderr] 123 | small_vec![38, 3, c as u32, m as u32, y as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(m)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:123:43 [INFO] [stderr] | [INFO] [stderr] 123 | small_vec![38, 3, c as u32, m as u32, y as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(y)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:126:23 [INFO] [stderr] | [INFO] [stderr] 126 | small_vec![38, 4, c as u32, m as u32, y as u32, k as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(c)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:126:33 [INFO] [stderr] | [INFO] [stderr] 126 | small_vec![38, 4, c as u32, m as u32, y as u32, k as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(m)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:126:43 [INFO] [stderr] | [INFO] [stderr] 126 | small_vec![38, 4, c as u32, m as u32, y as u32, k as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(y)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:126:53 [INFO] [stderr] | [INFO] [stderr] 126 | small_vec![38, 4, c as u32, m as u32, y as u32, k as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(k)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:129:16 [INFO] [stderr] | [INFO] [stderr] 129 | small_vec![index as u32 + 40], [INFO] [stderr] | ^^^^^^^^^^^^ help: try: `u32::from(index)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:132:16 [INFO] [stderr] | [INFO] [stderr] 132 | small_vec![index as u32 - 8 + 100], [INFO] [stderr] | ^^^^^^^^^^^^ help: try: `u32::from(index)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:135:23 [INFO] [stderr] | [INFO] [stderr] 135 | small_vec![48, 5, index as u32], [INFO] [stderr] | ^^^^^^^^^^^^ help: try: `u32::from(index)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:144:23 [INFO] [stderr] | [INFO] [stderr] 144 | small_vec![48, 2, r as u32, g as u32, b as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(r)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:144:33 [INFO] [stderr] | [INFO] [stderr] 144 | small_vec![48, 2, r as u32, g as u32, b as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(g)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:144:43 [INFO] [stderr] | [INFO] [stderr] 144 | small_vec![48, 2, r as u32, g as u32, b as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(b)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:147:23 [INFO] [stderr] | [INFO] [stderr] 147 | small_vec![48, 3, c as u32, m as u32, y as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(c)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:147:33 [INFO] [stderr] | [INFO] [stderr] 147 | small_vec![48, 3, c as u32, m as u32, y as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(m)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:147:43 [INFO] [stderr] | [INFO] [stderr] 147 | small_vec![48, 3, c as u32, m as u32, y as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(y)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:150:23 [INFO] [stderr] | [INFO] [stderr] 150 | small_vec![48, 4, c as u32, m as u32, y as u32, k as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(c)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:150:33 [INFO] [stderr] | [INFO] [stderr] 150 | small_vec![48, 4, c as u32, m as u32, y as u32, k as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(m)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:150:43 [INFO] [stderr] | [INFO] [stderr] 150 | small_vec![48, 4, c as u32, m as u32, y as u32, k as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(y)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u32 may become silently lossy if types change [INFO] [stderr] --> src/sgr.rs:150:53 [INFO] [stderr] | [INFO] [stderr] 150 | small_vec![48, 4, c as u32, m as u32, y as u32, k as u32], [INFO] [stderr] | ^^^^^^^^ help: try: `u32::from(k)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/sgr.rs:221:1 [INFO] [stderr] | [INFO] [stderr] 221 | / pub fn parse<'a, 'b>(args: &'b [Option]) -> Result, nom::ErrorKind> { [INFO] [stderr] 222 | | if args.is_empty() { [INFO] [stderr] 223 | | return Ok(small_vec![Reset]); [INFO] [stderr] 224 | | } [INFO] [stderr] ... | [INFO] [stderr] 311 | | Ok(result) [INFO] [stderr] 312 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_lifetimes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this lifetime isn't used in the function definition [INFO] [stderr] --> src/sgr.rs:221:14 [INFO] [stderr] | [INFO] [stderr] 221 | pub fn parse<'a, 'b>(args: &'b [Option]) -> Result, nom::ErrorKind> { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.88s [INFO] running `"docker" "inspect" "ee1bf2dd94b3a88dafaef6ee9db7d692281cb5058b92ccd3591eb7ac1e160e5c"` [INFO] running `"docker" "rm" "-f" "ee1bf2dd94b3a88dafaef6ee9db7d692281cb5058b92ccd3591eb7ac1e160e5c"` [INFO] [stdout] ee1bf2dd94b3a88dafaef6ee9db7d692281cb5058b92ccd3591eb7ac1e160e5c