[INFO] cloning repository https://github.com/DevYatsu/lira [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DevYatsu/lira" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevYatsu%2Flira", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevYatsu%2Flira'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53227f8928b21c4078864b826c6bc491e1cfae01 [INFO] checking DevYatsu/lira against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevYatsu%2Flira" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DevYatsu/lira [INFO] finished tweaking git repo https://github.com/DevYatsu/lira [INFO] tweaked toml for git repo https://github.com/DevYatsu/lira written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DevYatsu/lira on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DevYatsu/lira already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 6332e8bed5723a2f2c600e1f371ca123991e57b35287889eedf696680471a6ee [INFO] running `Command { std: "docker" "start" "6332e8bed5723a2f2c600e1f371ca123991e57b35287889eedf696680471a6ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6332e8bed5723a2f2c600e1f371ca123991e57b35287889eedf696680471a6ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6332e8bed5723a2f2c600e1f371ca123991e57b35287889eedf696680471a6ee" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6332e8bed5723a2f2c600e1f371ca123991e57b35287889eedf696680471a6ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6332e8bed5723a2f2c600e1f371ca123991e57b35287889eedf696680471a6ee" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling logos-codegen v0.15.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling term v1.0.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling ascii-canvas v4.0.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking lalrpop-util v0.22.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling string_cache v0.8.8 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Checking logos v0.15.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lalrpop v0.22.1 [INFO] [stderr] Compiling lira v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:65:46 [INFO] [stdout] | [INFO] [stdout] 65 | assert_eq!(parts, &[StringPart::Text("hello world".into())]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 65 - assert_eq!(parts, &[StringPart::Text("hello world".into())]); [INFO] [stdout] 65 + assert_eq!(parts, &[StringPart::Text("hello world")]); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 65 - assert_eq!(parts, &[StringPart::Text("hello world".into())]); [INFO] [stdout] 65 + assert_eq!(parts, &[StringPart::Text(<&str as Into<_>>::into("hello world"))]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | StringPart::Text("hello".into()), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 78 - StringPart::Text("hello".into()), [INFO] [stdout] 78 + StringPart::Text("hello"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 78 - StringPart::Text("hello".into()), [INFO] [stdout] 78 + StringPart::Text(<&str as Into<_>>::into("hello")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | StringPart::Text("world".into()), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 80 - StringPart::Text("world".into()), [INFO] [stdout] 80 + StringPart::Text("world"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 80 - StringPart::Text("world".into()), [INFO] [stdout] 80 + StringPart::Text(<&str as Into<_>>::into("world")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | StringPart::Text("!".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 82 - StringPart::Text("!".into()), [INFO] [stdout] 82 + StringPart::Text("!"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 82 - StringPart::Text("!".into()), [INFO] [stdout] 82 + StringPart::Text(<&str as Into<_>>::into("!")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | StringPart::Text("emoji: ".into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 102 - StringPart::Text("emoji: ".into()), [INFO] [stdout] 102 + StringPart::Text("emoji: "), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 102 - StringPart::Text("emoji: ".into()), [INFO] [stdout] 102 + StringPart::Text(<&str as Into<_>>::into("emoji: ")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:121:34 [INFO] [stdout] | [INFO] [stdout] 121 | StringPart::Text("hello ".into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 121 - StringPart::Text("hello ".into()), [INFO] [stdout] 121 + StringPart::Text("hello "), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 121 - StringPart::Text("hello ".into()), [INFO] [stdout] 121 + StringPart::Text(<&str as Into<_>>::into("hello ")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:122:67 [INFO] [stdout] | [INFO] [stdout] 122 | StringPart::Expression(vec![(0usize, Token::Ident("name".into()), 4usize)]), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 122 - StringPart::Expression(vec![(0usize, Token::Ident("name".into()), 4usize)]), [INFO] [stdout] 122 + StringPart::Expression(vec![(0usize, Token::Ident("name"), 4usize)]), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 122 - StringPart::Expression(vec![(0usize, Token::Ident("name".into()), 4usize)]), [INFO] [stdout] 122 + StringPart::Expression(vec![(0usize, Token::Ident(<&str as Into<_>>::into("name")), 4usize)]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:162:27 [INFO] [stdout] | [INFO] [stdout] 162 | (Token::Ident("x".into()), "x"), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 162 - (Token::Ident("x".into()), "x"), [INFO] [stdout] 162 + (Token::Ident("x"), "x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 162 - (Token::Ident("x".into()), "x"), [INFO] [stdout] 162 + (Token::Ident(<&str as Into<_>>::into("x")), "x"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | &Token::Ident("add".into()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 181 - &Token::Ident("add".into()), [INFO] [stdout] 181 + &Token::Ident("add"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 181 - &Token::Ident("add".into()), [INFO] [stdout] 181 + &Token::Ident(<&str as Into<_>>::into("add")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:183:27 [INFO] [stdout] | [INFO] [stdout] 183 | &Token::Ident("a".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 183 - &Token::Ident("a".into()), [INFO] [stdout] 183 + &Token::Ident("a"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 183 - &Token::Ident("a".into()), [INFO] [stdout] 183 + &Token::Ident(<&str as Into<_>>::into("a")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:185:27 [INFO] [stdout] | [INFO] [stdout] 185 | &Token::Ident("int".into()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 185 - &Token::Ident("int".into()), [INFO] [stdout] 185 + &Token::Ident("int"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 185 - &Token::Ident("int".into()), [INFO] [stdout] 185 + &Token::Ident(<&str as Into<_>>::into("int")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:187:27 [INFO] [stdout] | [INFO] [stdout] 187 | &Token::Ident("b".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 187 - &Token::Ident("b".into()), [INFO] [stdout] 187 + &Token::Ident("b"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 187 - &Token::Ident("b".into()), [INFO] [stdout] 187 + &Token::Ident(<&str as Into<_>>::into("b")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:189:27 [INFO] [stdout] | [INFO] [stdout] 189 | &Token::Ident("int".into()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 189 - &Token::Ident("int".into()), [INFO] [stdout] 189 + &Token::Ident("int"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 189 - &Token::Ident("int".into()), [INFO] [stdout] 189 + &Token::Ident(<&str as Into<_>>::into("int")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 192 | &Token::Ident("int".into()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 192 - &Token::Ident("int".into()), [INFO] [stdout] 192 + &Token::Ident("int"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 192 - &Token::Ident("int".into()), [INFO] [stdout] 192 + &Token::Ident(<&str as Into<_>>::into("int")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:195:27 [INFO] [stdout] | [INFO] [stdout] 195 | &Token::Ident("a".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 195 - &Token::Ident("a".into()), [INFO] [stdout] 195 + &Token::Ident("a"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 195 - &Token::Ident("a".into()), [INFO] [stdout] 195 + &Token::Ident(<&str as Into<_>>::into("a")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:197:27 [INFO] [stdout] | [INFO] [stdout] 197 | &Token::Ident("b".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 197 - &Token::Ident("b".into()), [INFO] [stdout] 197 + &Token::Ident("b"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 197 - &Token::Ident("b".into()), [INFO] [stdout] 197 + &Token::Ident(<&str as Into<_>>::into("b")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:212:27 [INFO] [stdout] | [INFO] [stdout] 212 | &Token::Ident("Point".into()), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 212 - &Token::Ident("Point".into()), [INFO] [stdout] 212 + &Token::Ident("Point"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 212 - &Token::Ident("Point".into()), [INFO] [stdout] 212 + &Token::Ident(<&str as Into<_>>::into("Point")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:214:27 [INFO] [stdout] | [INFO] [stdout] 214 | &Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 214 - &Token::Ident("x".into()), [INFO] [stdout] 214 + &Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 214 - &Token::Ident("x".into()), [INFO] [stdout] 214 + &Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | &Token::Ident("int".into()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 216 - &Token::Ident("int".into()), [INFO] [stdout] 216 + &Token::Ident("int"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 216 - &Token::Ident("int".into()), [INFO] [stdout] 216 + &Token::Ident(<&str as Into<_>>::into("int")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:218:27 [INFO] [stdout] | [INFO] [stdout] 218 | &Token::Ident("y".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 218 - &Token::Ident("y".into()), [INFO] [stdout] 218 + &Token::Ident("y"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 218 - &Token::Ident("y".into()), [INFO] [stdout] 218 + &Token::Ident(<&str as Into<_>>::into("y")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:220:27 [INFO] [stdout] | [INFO] [stdout] 220 | &Token::Ident("int".into()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 220 - &Token::Ident("int".into()), [INFO] [stdout] 220 + &Token::Ident("int"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 220 - &Token::Ident("int".into()), [INFO] [stdout] 220 + &Token::Ident(<&str as Into<_>>::into("int")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:235:27 [INFO] [stdout] | [INFO] [stdout] 235 | &Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 235 - &Token::Ident("x".into()), [INFO] [stdout] 235 + &Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 235 - &Token::Ident("x".into()), [INFO] [stdout] 235 + &Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:243:27 [INFO] [stdout] | [INFO] [stdout] 243 | &Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 243 - &Token::Ident("x".into()), [INFO] [stdout] 243 + &Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 243 - &Token::Ident("x".into()), [INFO] [stdout] 243 + &Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 272 | Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 272 - Token::Ident("x".into()), [INFO] [stdout] 272 + Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 272 - Token::Ident("x".into()), [INFO] [stdout] 272 + Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | Token::Ident("y".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 277 - Token::Ident("y".into()), [INFO] [stdout] 277 + Token::Ident("y"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 277 - Token::Ident("y".into()), [INFO] [stdout] 277 + Token::Ident(<&str as Into<_>>::into("y")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:279:22 [INFO] [stdout] | [INFO] [stdout] 279 | Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 279 - Token::Ident("x".into()), [INFO] [stdout] 279 + Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 279 - Token::Ident("x".into()), [INFO] [stdout] 279 + Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:306:28 [INFO] [stdout] | [INFO] [stdout] 306 | Token::LineComment(" this is a line comment".into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 306 - Token::LineComment(" this is a line comment".into()), [INFO] [stdout] 306 + Token::LineComment(" this is a line comment"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 306 - Token::LineComment(" this is a line comment".into()), [INFO] [stdout] 306 + Token::LineComment(<&str as Into<_>>::into(" this is a line comment")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:309:22 [INFO] [stdout] | [INFO] [stdout] 309 | Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 309 - Token::Ident("x".into()), [INFO] [stdout] 309 + Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 309 - Token::Ident("x".into()), [INFO] [stdout] 309 + Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:313:29 [INFO] [stdout] | [INFO] [stdout] 313 | Token::BlockComment(" block comment ".into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 313 - Token::BlockComment(" block comment ".into()), [INFO] [stdout] 313 + Token::BlockComment(" block comment "), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 313 - Token::BlockComment(" block comment ".into()), [INFO] [stdout] 313 + Token::BlockComment(<&str as Into<_>>::into(" block comment ")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:341:22 [INFO] [stdout] | [INFO] [stdout] 341 | Token::Ident("f".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 341 - Token::Ident("f".into()), [INFO] [stdout] 341 + Token::Ident("f"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 341 - Token::Ident("f".into()), [INFO] [stdout] 341 + Token::Ident(<&str as Into<_>>::into("f")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:343:22 [INFO] [stdout] | [INFO] [stdout] 343 | Token::Ident("a".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 343 - Token::Ident("a".into()), [INFO] [stdout] 343 + Token::Ident("a"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 343 - Token::Ident("a".into()), [INFO] [stdout] 343 + Token::Ident(<&str as Into<_>>::into("a")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:345:22 [INFO] [stdout] | [INFO] [stdout] 345 | Token::Ident("int".into()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 345 - Token::Ident("int".into()), [INFO] [stdout] 345 + Token::Ident("int"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 345 - Token::Ident("int".into()), [INFO] [stdout] 345 + Token::Ident(<&str as Into<_>>::into("int")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:348:22 [INFO] [stdout] | [INFO] [stdout] 348 | Token::Ident("int".into()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 348 - Token::Ident("int".into()), [INFO] [stdout] 348 + Token::Ident("int"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 348 - Token::Ident("int".into()), [INFO] [stdout] 348 + Token::Ident(<&str as Into<_>>::into("int")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 352 | Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 352 - Token::Ident("x".into()), [INFO] [stdout] 352 + Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 352 - Token::Ident("x".into()), [INFO] [stdout] 352 + Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:365:22 [INFO] [stdout] | [INFO] [stdout] 365 | Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 365 - Token::Ident("x".into()), [INFO] [stdout] 365 + Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 365 - Token::Ident("x".into()), [INFO] [stdout] 365 + Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:369:22 [INFO] [stdout] | [INFO] [stdout] 369 | Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 369 - Token::Ident("x".into()), [INFO] [stdout] 369 + Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 369 - Token::Ident("x".into()), [INFO] [stdout] 369 + Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:373:22 [INFO] [stdout] | [INFO] [stdout] 373 | Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 373 - Token::Ident("x".into()), [INFO] [stdout] 373 + Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 373 - Token::Ident("x".into()), [INFO] [stdout] 373 + Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:377:22 [INFO] [stdout] | [INFO] [stdout] 377 | Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 377 - Token::Ident("x".into()), [INFO] [stdout] 377 + Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 377 - Token::Ident("x".into()), [INFO] [stdout] 377 + Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:382:22 [INFO] [stdout] | [INFO] [stdout] 382 | Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 382 - Token::Ident("x".into()), [INFO] [stdout] 382 + Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 382 - Token::Ident("x".into()), [INFO] [stdout] 382 + Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:386:22 [INFO] [stdout] | [INFO] [stdout] 386 | Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 386 - Token::Ident("x".into()), [INFO] [stdout] 386 + Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 386 - Token::Ident("x".into()), [INFO] [stdout] 386 + Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:390:22 [INFO] [stdout] | [INFO] [stdout] 390 | Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 390 - Token::Ident("x".into()), [INFO] [stdout] 390 + Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 390 - Token::Ident("x".into()), [INFO] [stdout] 390 + Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:394:22 [INFO] [stdout] | [INFO] [stdout] 394 | Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 394 - Token::Ident("x".into()), [INFO] [stdout] 394 + Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 394 - Token::Ident("x".into()), [INFO] [stdout] 394 + Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:398:22 [INFO] [stdout] | [INFO] [stdout] 398 | Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 398 - Token::Ident("x".into()), [INFO] [stdout] 398 + Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 398 - Token::Ident("x".into()), [INFO] [stdout] 398 + Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:402:22 [INFO] [stdout] | [INFO] [stdout] 402 | Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 402 - Token::Ident("x".into()), [INFO] [stdout] 402 + Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 402 - Token::Ident("x".into()), [INFO] [stdout] 402 + Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:406:22 [INFO] [stdout] | [INFO] [stdout] 406 | Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 406 - Token::Ident("x".into()), [INFO] [stdout] 406 + Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 406 - Token::Ident("x".into()), [INFO] [stdout] 406 + Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:410:22 [INFO] [stdout] | [INFO] [stdout] 410 | Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 410 - Token::Ident("x".into()), [INFO] [stdout] 410 + Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 410 - Token::Ident("x".into()), [INFO] [stdout] 410 + Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:414:22 [INFO] [stdout] | [INFO] [stdout] 414 | Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 414 - Token::Ident("x".into()), [INFO] [stdout] 414 + Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 414 - Token::Ident("x".into()), [INFO] [stdout] 414 + Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:418:22 [INFO] [stdout] | [INFO] [stdout] 418 | Token::Ident("x".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 418 - Token::Ident("x".into()), [INFO] [stdout] 418 + Token::Ident("x"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 418 - Token::Ident("x".into()), [INFO] [stdout] 418 + Token::Ident(<&str as Into<_>>::into("x")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:424:22 [INFO] [stdout] | [INFO] [stdout] 424 | Token::Ident("v".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 424 - Token::Ident("v".into()), [INFO] [stdout] 424 + Token::Ident("v"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 424 - Token::Ident("v".into()), [INFO] [stdout] 424 + Token::Ident(<&str as Into<_>>::into("v")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> tests/lexer.rs:426:22 [INFO] [stdout] | [INFO] [stdout] 426 | Token::Ident("v".into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 426 - Token::Ident("v".into()), [INFO] [stdout] 426 + Token::Ident("v"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 426 - Token::Ident("v".into()), [INFO] [stdout] 426 + Token::Ident(<&str as Into<_>>::into("v")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/lexer.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | fn lex_tokens(input: &str) -> Result, LexingError> { [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3 | fn lex_tokens(input: &str) -> Result, &str)>, LexingError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lira` (test "lexer") due to 50 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6332e8bed5723a2f2c600e1f371ca123991e57b35287889eedf696680471a6ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6332e8bed5723a2f2c600e1f371ca123991e57b35287889eedf696680471a6ee", kill_on_drop: false }` [INFO] [stdout] 6332e8bed5723a2f2c600e1f371ca123991e57b35287889eedf696680471a6ee