[INFO] cloning repository https://github.com/ast-grep/tree-sitter-wasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ast-grep/tree-sitter-wasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fast-grep%2Ftree-sitter-wasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fast-grep%2Ftree-sitter-wasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0785dfff5bcb2d9011a3a58602f8f743ec05652f [INFO] checking ast-grep/tree-sitter-wasm against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fast-grep%2Ftree-sitter-wasm" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/ast-grep/tree-sitter-wasm [INFO] finished tweaking git repo https://github.com/ast-grep/tree-sitter-wasm [INFO] tweaked toml for git repo https://github.com/ast-grep/tree-sitter-wasm written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ast-grep/tree-sitter-wasm on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ast-grep/tree-sitter-wasm 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-2-tc2/source/crates/tree-sitter-facade/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-2-tc2/source/crates/web-tree-sitter-sg/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e196352f1918e988de513cf3ad8afb4fa8e9731926e41a2b18645da4ecf07693 [INFO] running `Command { std: "docker" "start" "-a" "e196352f1918e988de513cf3ad8afb4fa8e9731926e41a2b18645da4ecf07693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e196352f1918e988de513cf3ad8afb4fa8e9731926e41a2b18645da4ecf07693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e196352f1918e988de513cf3ad8afb4fa8e9731926e41a2b18645da4ecf07693", kill_on_drop: false }` [INFO] [stdout] e196352f1918e988de513cf3ad8afb4fa8e9731926e41a2b18645da4ecf07693 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3afeacf788d7e4d1d434649f4dd101435287eab6001669c01c036de5c6d13a3 [INFO] running `Command { std: "docker" "start" "-a" "b3afeacf788d7e4d1d434649f4dd101435287eab6001669c01c036de5c6d13a3", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/crates/tree-sitter-facade/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/crates/web-tree-sitter-sg/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking tree-sitter-language v0.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling tree-sitter v0.25.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking tree-sitter-facade-sg v0.25.3 (/opt/rustwide/workdir/crates/tree-sitter-facade) [INFO] [stderr] error: could not compile `tree-sitter-facade-sg` (lib) due to 10 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/tree-sitter-facade/src/language.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn field_name_for_id(&self, field_id: u16) -> Option> { [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] 23 | pub fn field_name_for_id(&self, field_id: u16) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/tree-sitter-facade/src/language.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn node_kind_for_id(&self, id: u16) -> Option> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn node_kind_for_id(&self, id: u16) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/tree-sitter-facade/src/node.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn kind(&self) -> Cow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | pub fn kind(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/tree-sitter-facade/src/node.rs:229:24 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn to_sexp(&self) -> Cow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn to_sexp(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:21:51 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new() -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 22 | | let inner = tree_sitter::Parser::new(); [INFO] [stdout] 23 | | Ok(Self { inner }) [INFO] [stdout] 24 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(Self { inner }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn logger(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn logger(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, error::native::ParserError> [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:46:119 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn parse(&mut self, text: impl AsRef<[u8]>, old_tree: Option<&Tree>) -> Result, ParserError> { [INFO] [stdout] | _______________________________________________________________________________________________________________________^ [INFO] [stdout] 47 | | let old_tree = old_tree.map(|tree| &tree.inner); [INFO] [stdout] 48 | | Ok(self.inner.parse(text, old_tree).map(Into::into)) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, error::native::ParserError> [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(self.inner.parse(text, old_tree).map(Into::into)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, error::native::ParserError> [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:56:48 [INFO] [stdout] | [INFO] [stdout] 56 | ) -> Result, ParserError> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 57 | | let old_tree = old_tree.map(|tree| &tree.inner); [INFO] [stdout] 58 | | Ok(self.inner.parse_utf16_le(text, old_tree).map(Into::into)) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, error::native::ParserError> [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(self.inner.parse_utf16_le(text, old_tree).map(Into::into)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, error::native::ParserError> [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / { [INFO] [stdout] 70 | | let mut callback = |offset, inner| callback(u32::try_from(offset).unwrap(), Point { inner }); [INFO] [stdout] 71 | | let old_tree = old_tree.map(|tree| &tree.inner); [INFO] [stdout] 72 | | Ok(self.inner.parse_utf16_le_with_options(&mut callback, old_tree, None).map(Into::into)) [INFO] [stdout] 73 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, error::native::ParserError> [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(self.inner.parse_utf16_le_with_options(&mut callback, old_tree, None).map(Into::into)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, error::native::ParserError> [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | let mut callback = |offset, inner| callback(u32::try_from(offset).unwrap(), Point { inner }); [INFO] [stdout] 85 | | let old_tree = old_tree.map(|tree| &tree.inner); [INFO] [stdout] 86 | | Ok(self.inner.parse_with_options(&mut callback, old_tree, None).map(Into::into)) [INFO] [stdout] 87 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, error::native::ParserError> [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | Ok(self.inner.parse_with_options(&mut callback, old_tree, None).map(Into::into)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/tree-sitter-facade/src/tree_cursor.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn field_name(&self) -> Option> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | pub fn field_name(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/tree-sitter-facade/src/language.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn field_name_for_id(&self, field_id: u16) -> Option> { [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] 23 | pub fn field_name_for_id(&self, field_id: u16) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/tree-sitter-facade/src/language.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn node_kind_for_id(&self, id: u16) -> Option> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn node_kind_for_id(&self, id: u16) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/tree-sitter-facade/src/node.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn kind(&self) -> Cow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | pub fn kind(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/tree-sitter-facade/src/node.rs:229:24 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn to_sexp(&self) -> Cow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn to_sexp(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:21:51 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new() -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 22 | | let inner = tree_sitter::Parser::new(); [INFO] [stdout] 23 | | Ok(Self { inner }) [INFO] [stdout] 24 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(Self { inner }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tree-sitter-facade-sg` (lib test) due to 10 previous errors; 6 warnings emitted [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn logger(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn logger(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, error::native::ParserError> [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:46:119 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn parse(&mut self, text: impl AsRef<[u8]>, old_tree: Option<&Tree>) -> Result, ParserError> { [INFO] [stdout] | _______________________________________________________________________________________________________________________^ [INFO] [stdout] 47 | | let old_tree = old_tree.map(|tree| &tree.inner); [INFO] [stdout] 48 | | Ok(self.inner.parse(text, old_tree).map(Into::into)) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, error::native::ParserError> [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(self.inner.parse(text, old_tree).map(Into::into)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, error::native::ParserError> [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:56:48 [INFO] [stdout] | [INFO] [stdout] 56 | ) -> Result, ParserError> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 57 | | let old_tree = old_tree.map(|tree| &tree.inner); [INFO] [stdout] 58 | | Ok(self.inner.parse_utf16_le(text, old_tree).map(Into::into)) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, error::native::ParserError> [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(self.inner.parse_utf16_le(text, old_tree).map(Into::into)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, error::native::ParserError> [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / { [INFO] [stdout] 70 | | let mut callback = |offset, inner| callback(u32::try_from(offset).unwrap(), Point { inner }); [INFO] [stdout] 71 | | let old_tree = old_tree.map(|tree| &tree.inner); [INFO] [stdout] 72 | | Ok(self.inner.parse_utf16_le_with_options(&mut callback, old_tree, None).map(Into::into)) [INFO] [stdout] 73 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, error::native::ParserError> [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(self.inner.parse_utf16_le_with_options(&mut callback, old_tree, None).map(Into::into)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, error::native::ParserError> [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | let mut callback = |offset, inner| callback(u32::try_from(offset).unwrap(), Point { inner }); [INFO] [stdout] 85 | | let old_tree = old_tree.map(|tree| &tree.inner); [INFO] [stdout] 86 | | Ok(self.inner.parse_with_options(&mut callback, old_tree, None).map(Into::into)) [INFO] [stdout] 87 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, error::native::ParserError> [INFO] [stdout] --> crates/tree-sitter-facade/src/parser.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | Ok(self.inner.parse_with_options(&mut callback, old_tree, None).map(Into::into)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/tree-sitter-facade/src/tree_cursor.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn field_name(&self) -> Option> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | pub fn field_name(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b3afeacf788d7e4d1d434649f4dd101435287eab6001669c01c036de5c6d13a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3afeacf788d7e4d1d434649f4dd101435287eab6001669c01c036de5c6d13a3", kill_on_drop: false }` [INFO] [stdout] b3afeacf788d7e4d1d434649f4dd101435287eab6001669c01c036de5c6d13a3