[INFO] cloning repository https://github.com/Juul-Mc-Goa/tree-sitter-cairo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Juul-Mc-Goa/tree-sitter-cairo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuul-Mc-Goa%2Ftree-sitter-cairo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuul-Mc-Goa%2Ftree-sitter-cairo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f14c5a4466b490e333cf2a579857ba30dc1de81e [INFO] checking Juul-Mc-Goa/tree-sitter-cairo against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuul-Mc-Goa%2Ftree-sitter-cairo" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Juul-Mc-Goa/tree-sitter-cairo [INFO] finished tweaking git repo https://github.com/Juul-Mc-Goa/tree-sitter-cairo [INFO] tweaked toml for git repo https://github.com/Juul-Mc-Goa/tree-sitter-cairo written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Juul-Mc-Goa/tree-sitter-cairo 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/Juul-Mc-Goa/tree-sitter-cairo 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-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 9eb0f8958f09151804307aa6cbe00e3a198e2f1e84a0898e31a4392fa438371f [INFO] running `Command { std: "docker" "start" "9eb0f8958f09151804307aa6cbe00e3a198e2f1e84a0898e31a4392fa438371f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9eb0f8958f09151804307aa6cbe00e3a198e2f1e84a0898e31a4392fa438371f", 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" "9eb0f8958f09151804307aa6cbe00e3a198e2f1e84a0898e31a4392fa438371f" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9eb0f8958f09151804307aa6cbe00e3a198e2f1e84a0898e31a4392fa438371f", 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" "9eb0f8958f09151804307aa6cbe00e3a198e2f1e84a0898e31a4392fa438371f" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling tree-sitter-rust v0.20.4 [INFO] [stderr] Compiling tree-sitter-cairo v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex-automata v0.4.1 [INFO] [stderr] Checking regex v1.10.0 [INFO] [stderr] Checking cairo-syntax-parser v0.1.0 (/opt/rustwide/workdir/cairo-syntax-parser) [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> cairo-syntax-parser/src/cairo_spec_parser.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | new_result.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] 527 - new_result.into() [INFO] [stdout] 527 + new_result [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 527 - new_result.into() [INFO] [stdout] 527 + >::into(new_result) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> cairo-syntax-parser/src/lexer_file_parser.rs:94:49 [INFO] [stdout] | [INFO] [stdout] 94 | self.token_to_str_push_value("".into(), to_push.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] 94 - self.token_to_str_push_value("".into(), to_push.into()); [INFO] [stdout] 94 + self.token_to_str_push_value("".into(), to_push); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 94 - self.token_to_str_push_value("".into(), to_push.into()); [INFO] [stdout] 94 + self.token_to_str_push_value("".into(), >::into(to_push)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> cairo-syntax-parser/src/lexer_file_parser.rs:109:49 [INFO] [stdout] | [INFO] [stdout] 109 | self.token_to_str_push_value("".into(), to_push.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] 109 - self.token_to_str_push_value("".into(), to_push.into()); [INFO] [stdout] 109 + self.token_to_str_push_value("".into(), to_push); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 109 - self.token_to_str_push_value("".into(), to_push.into()); [INFO] [stdout] 109 + self.token_to_str_push_value("".into(), >::into(to_push)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> cairo-syntax-parser/src/lexer_file_parser.rs:124:49 [INFO] [stdout] | [INFO] [stdout] 124 | self.token_to_str_push_value("".into(), to_push.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] 124 - self.token_to_str_push_value("".into(), to_push.into()); [INFO] [stdout] 124 + self.token_to_str_push_value("".into(), to_push); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 124 - self.token_to_str_push_value("".into(), to_push.into()); [INFO] [stdout] 124 + self.token_to_str_push_value("".into(), >::into(to_push)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> cairo-syntax-parser/src/lexer_file_parser.rs:154:49 [INFO] [stdout] | [INFO] [stdout] 154 | self.token_to_str_push_value("".into(), to_push.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] 154 - self.token_to_str_push_value("".into(), to_push.into()); [INFO] [stdout] 154 + self.token_to_str_push_value("".into(), to_push); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 154 - self.token_to_str_push_value("".into(), to_push.into()); [INFO] [stdout] 154 + self.token_to_str_push_value("".into(), >::into(to_push)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> cairo-syntax-parser/src/operators_parser.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | fn iterate_or_nodes(&self, n: Node<'a>) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 28 | fn iterate_or_nodes(&self, n: Node<'a>) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cairo-syntax-parser` (bin "cairo-syntax-parser") due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> cairo-syntax-parser/src/cairo_spec_parser.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | new_result.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] 527 - new_result.into() [INFO] [stdout] 527 + new_result [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 527 - new_result.into() [INFO] [stdout] 527 + >::into(new_result) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> cairo-syntax-parser/src/lexer_file_parser.rs:94:49 [INFO] [stdout] | [INFO] [stdout] 94 | self.token_to_str_push_value("".into(), to_push.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] 94 - self.token_to_str_push_value("".into(), to_push.into()); [INFO] [stdout] 94 + self.token_to_str_push_value("".into(), to_push); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 94 - self.token_to_str_push_value("".into(), to_push.into()); [INFO] [stdout] 94 + self.token_to_str_push_value("".into(), >::into(to_push)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> cairo-syntax-parser/src/lexer_file_parser.rs:109:49 [INFO] [stdout] | [INFO] [stdout] 109 | self.token_to_str_push_value("".into(), to_push.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] 109 - self.token_to_str_push_value("".into(), to_push.into()); [INFO] [stdout] 109 + self.token_to_str_push_value("".into(), to_push); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 109 - self.token_to_str_push_value("".into(), to_push.into()); [INFO] [stdout] 109 + self.token_to_str_push_value("".into(), >::into(to_push)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> cairo-syntax-parser/src/lexer_file_parser.rs:124:49 [INFO] [stdout] | [INFO] [stdout] 124 | self.token_to_str_push_value("".into(), to_push.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] 124 - self.token_to_str_push_value("".into(), to_push.into()); [INFO] [stdout] 124 + self.token_to_str_push_value("".into(), to_push); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 124 - self.token_to_str_push_value("".into(), to_push.into()); [INFO] [stdout] 124 + self.token_to_str_push_value("".into(), >::into(to_push)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> cairo-syntax-parser/src/lexer_file_parser.rs:154:49 [INFO] [stdout] | [INFO] [stdout] 154 | self.token_to_str_push_value("".into(), to_push.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] 154 - self.token_to_str_push_value("".into(), to_push.into()); [INFO] [stdout] 154 + self.token_to_str_push_value("".into(), to_push); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 154 - self.token_to_str_push_value("".into(), to_push.into()); [INFO] [stdout] 154 + self.token_to_str_push_value("".into(), >::into(to_push)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> cairo-syntax-parser/src/operators_parser.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | fn iterate_or_nodes(&self, n: Node<'a>) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 28 | fn iterate_or_nodes(&self, n: Node<'a>) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cairo-syntax-parser` (bin "cairo-syntax-parser" test) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: unused dependency `tree-sitter-rust` [INFO] [stderr] --> Cargo.toml:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | tree-sitter-rust = "0.20.3" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `tree-sitter-rust` [INFO] [stderr] warning: `tree-sitter-cairo` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "inspect" "9eb0f8958f09151804307aa6cbe00e3a198e2f1e84a0898e31a4392fa438371f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eb0f8958f09151804307aa6cbe00e3a198e2f1e84a0898e31a4392fa438371f", kill_on_drop: false }` [INFO] [stdout] 9eb0f8958f09151804307aa6cbe00e3a198e2f1e84a0898e31a4392fa438371f