[INFO] cloning repository https://github.com/flaghacker/LLLang-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flaghacker/LLLang-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflaghacker%2FLLLang-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflaghacker%2FLLLang-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4ea6a602f5461ad113f8db186a27150c7ee4fc9 [INFO] checking flaghacker/LLLang-rs 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%2Fflaghacker%2FLLLang-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/flaghacker/LLLang-rs [INFO] finished tweaking git repo https://github.com/flaghacker/LLLang-rs [INFO] tweaked toml for git repo https://github.com/flaghacker/LLLang-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/flaghacker/LLLang-rs 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/flaghacker/LLLang-rs 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4ab0b47845f3b5d59a5c174d19026e8968325625d762e1a64b41165bd4460f81 [INFO] running `Command { std: "docker" "start" "-a" "4ab0b47845f3b5d59a5c174d19026e8968325625d762e1a64b41165bd4460f81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ab0b47845f3b5d59a5c174d19026e8968325625d762e1a64b41165bd4460f81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ab0b47845f3b5d59a5c174d19026e8968325625d762e1a64b41165bd4460f81", kill_on_drop: false }` [INFO] [stdout] 4ab0b47845f3b5d59a5c174d19026e8968325625d762e1a64b41165bd4460f81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] d05bd2e8ceca8d235d8439b552c4ec895e0b7f9f5a232bfed3223970a2eff43f [INFO] running `Command { std: "docker" "start" "-a" "d05bd2e8ceca8d235d8439b552c4ec895e0b7f9f5a232bfed3223970a2eff43f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling rustix v0.36.6 [INFO] [stderr] Compiling rustix v0.37.3 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking slice-group-by v0.3.0 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking regalloc2 v0.5.1 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking is-terminal v0.4.2 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking tempfile v3.5.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking lllang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `WrapIterator` is never constructed [INFO] [stdout] --> src/util/internal_iter.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct WrapIterator(I); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IterExt` is never used [INFO] [stdout] --> src/util/internal_iter.rs:268:11 [INFO] [stdout] | [INFO] [stdout] 268 | pub trait IterExt: Iterator + Sized { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/util/internal_iter.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | self.try_all(|item| Ok(f(item))).no_err() [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: std::result::Result [INFO] [stdout] --> src/util/internal_iter.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | self.try_all(|item| Ok(f(item))).no_err() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/front/cst.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn info_size_as_int(&self, ty: Type) -> Cow { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | pub fn info_size_as_int(&self, ty: Type) -> Cow<'_, BasicTypeInfo<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/front/cst.rs:365:24 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn size_as_int(&self, ptr_size_bits: u32) -> Cow where T: Clone { [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] 365 | pub fn size_as_int(&self, ptr_size_bits: u32) -> Cow<'_, Self> where T: Clone { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/front/scope.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn nest(&self) -> Scope { [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] 15 | pub fn nest(&self) -> Scope<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/front/scope.rs:48:98 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn find<'a, 's>(&'s self, root: Option<&'s Self>, id: &'a ast::Identifier) -> Result<'a, &V> { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'s` [INFO] [stdout] | [INFO] [stdout] 48 | pub fn find<'a, 's>(&'s self, root: Option<&'s Self>, id: &'a ast::Identifier) -> Result<'a, &'s V> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/front/resolve.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn resolve(ast: &front::Program>) -> Result { [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] 16 | pub fn resolve(ast: &front::Program>) -> Result<'_, ResolvedProgram<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/front/resolve.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | fn first_pass(ast: &AstProgram) -> Result<(ResolveState, CstProgram)> { [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is hidden here [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] 44 | fn first_pass(ast: &AstProgram) -> Result<'_, (ResolveState<'_>, CstProgram<'_>)> { [INFO] [stdout] | +++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mid/analyse/usage.rs:330:27 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn expr_tree_iter(&self, root: Expression) -> ExpressionTreeIterator { [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] 330 | pub fn expr_tree_iter(&self, root: Expression) -> ExpressionTreeIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mid/analyse/usage.rs:371:29 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn reachable_blocks(&self, root: Block) -> ReachableBlocksIterator { [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] 371 | pub fn reachable_blocks(&self, root: Block) -> ReachableBlocksIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mid/opt/dce.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | fn func_param_mask(&self, func: Function, entry: Block) -> FuncParamMask { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden 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] 72 | fn func_param_mask(&self, func: Function, entry: Block) -> FuncParamMask<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lllang` (lib) due to 2 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `single_unique` is never used [INFO] [stdout] --> src/util/internal_iter.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 268 | pub trait IterExt: Iterator + Sized { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 271 | fn single_unique(self) -> Option where Self::Item : PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/util/internal_iter.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | self.try_all(|item| Ok(f(item))).no_err() [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: std::result::Result [INFO] [stdout] --> src/util/internal_iter.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | self.try_all(|item| Ok(f(item))).no_err() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/front/cst.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn info_size_as_int(&self, ty: Type) -> Cow { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | pub fn info_size_as_int(&self, ty: Type) -> Cow<'_, BasicTypeInfo<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/front/cst.rs:365:24 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn size_as_int(&self, ptr_size_bits: u32) -> Cow where T: Clone { [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] 365 | pub fn size_as_int(&self, ptr_size_bits: u32) -> Cow<'_, Self> where T: Clone { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/front/scope.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn nest(&self) -> Scope { [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] 15 | pub fn nest(&self) -> Scope<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/front/scope.rs:48:98 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn find<'a, 's>(&'s self, root: Option<&'s Self>, id: &'a ast::Identifier) -> Result<'a, &V> { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'s` [INFO] [stdout] | [INFO] [stdout] 48 | pub fn find<'a, 's>(&'s self, root: Option<&'s Self>, id: &'a ast::Identifier) -> Result<'a, &'s V> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/front/resolve.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn resolve(ast: &front::Program>) -> Result { [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] 16 | pub fn resolve(ast: &front::Program>) -> Result<'_, ResolvedProgram<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/front/resolve.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | fn first_pass(ast: &AstProgram) -> Result<(ResolveState, CstProgram)> { [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is hidden here [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] 44 | fn first_pass(ast: &AstProgram) -> Result<'_, (ResolveState<'_>, CstProgram<'_>)> { [INFO] [stdout] | +++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mid/analyse/usage.rs:330:27 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn expr_tree_iter(&self, root: Expression) -> ExpressionTreeIterator { [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] 330 | pub fn expr_tree_iter(&self, root: Expression) -> ExpressionTreeIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mid/analyse/usage.rs:371:29 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn reachable_blocks(&self, root: Block) -> ReachableBlocksIterator { [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] 371 | pub fn reachable_blocks(&self, root: Block) -> ReachableBlocksIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mid/opt/dce.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | fn func_param_mask(&self, func: Function, entry: Block) -> FuncParamMask { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden 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] 72 | fn func_param_mask(&self, func: Function, entry: Block) -> FuncParamMask<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lllang` (lib test) due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d05bd2e8ceca8d235d8439b552c4ec895e0b7f9f5a232bfed3223970a2eff43f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d05bd2e8ceca8d235d8439b552c4ec895e0b7f9f5a232bfed3223970a2eff43f", kill_on_drop: false }` [INFO] [stdout] d05bd2e8ceca8d235d8439b552c4ec895e0b7f9f5a232bfed3223970a2eff43f