[INFO] cloning repository https://github.com/codex-tooling/tails [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codex-tooling/tails" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodex-tooling%2Ftails", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodex-tooling%2Ftails'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86009a13af68d216cbd483639f37a7a37ac7bbaa [INFO] checking codex-tooling/tails against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodex-tooling%2Ftails" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/codex-tooling/tails [INFO] finished tweaking git repo https://github.com/codex-tooling/tails [INFO] tweaked toml for git repo https://github.com/codex-tooling/tails written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/codex-tooling/tails on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/codex-tooling/tails 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/TheDan64/inkwell` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded llvm-sys v150.1.2 [INFO] [stderr] Downloaded winnow v0.5.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1573e8ba2ec127840244f475594e226299283cdabe3dc3c80fa55b3d84625855 [INFO] running `Command { std: "docker" "start" "-a" "1573e8ba2ec127840244f475594e226299283cdabe3dc3c80fa55b3d84625855", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1573e8ba2ec127840244f475594e226299283cdabe3dc3c80fa55b3d84625855", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1573e8ba2ec127840244f475594e226299283cdabe3dc3c80fa55b3d84625855", kill_on_drop: false }` [INFO] [stdout] 1573e8ba2ec127840244f475594e226299283cdabe3dc3c80fa55b3d84625855 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 936d79228c9c06983bb04780a2623f71ca01c44cf4cf6ad6af9595901ab5f310 [INFO] running `Command { std: "docker" "start" "-a" "936d79228c9c06983bb04780a2623f71ca01c44cf4cf6ad6af9595901ab5f310", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling inkwell v0.2.0 (https://github.com/TheDan64/inkwell?branch=master#7a09ad8a) [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking winnow v0.5.18 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling inkwell_internals v0.8.0 (https://github.com/TheDan64/inkwell?branch=master#7a09ad8a) [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling llvm-sys v150.1.2 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking tails v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/lifetime.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | const BUG_MISSING_ATTRIBUTE: &str = [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] note: cannot automatically infer `'static` because of other lifetimes in scope [INFO] [stdout] --> src/lifetime.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | impl<'a> LifetimeAnalysisContext<'a> { [INFO] [stdout] | ^^ [INFO] [stdout] = note: `#[deny(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 31 | const BUG_MISSING_ATTRIBUTE: &'static str = [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnyValue` [INFO] [stdout] --> src/lowering.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | values::{AnyValue, BasicValue}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/lifetime.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | const BUG_MISSING_ATTRIBUTE: &str = [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] note: cannot automatically infer `'static` because of other lifetimes in scope [INFO] [stdout] --> src/lifetime.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | impl<'a> LifetimeAnalysisContext<'a> { [INFO] [stdout] | ^^ [INFO] [stdout] = note: `#[deny(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 31 | const BUG_MISSING_ATTRIBUTE: &'static str = [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnyValue` [INFO] [stdout] --> src/lowering.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | values::{AnyValue, BasicValue}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/inference.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 408 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 409 | [INFO] [stdout] 410 | context.finalize(ty) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/inference.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 408 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 409 | [INFO] [stdout] 410 | context.finalize(ty) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/inference.rs:628:5 [INFO] [stdout] | [INFO] [stdout] 626 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 627 | [INFO] [stdout] 628 | / let union_variant = assert_extract!( [INFO] [stdout] 629 | | context [INFO] [stdout] 630 | | .symbol_table [INFO] [stdout] 631 | | .follow_link(&self.path.link_id) [INFO] [stdout] 632 | | .expect(auxiliary::BUG_NAME_RESOLUTION), [INFO] [stdout] 633 | | symbol_table::RegistryItem::UnionVariant [INFO] [stdout] 634 | | ); [INFO] [stdout] | |______^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/inference.rs:628:5 [INFO] [stdout] | [INFO] [stdout] 626 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 627 | [INFO] [stdout] 628 | / let union_variant = assert_extract!( [INFO] [stdout] 629 | | context [INFO] [stdout] 630 | | .symbol_table [INFO] [stdout] 631 | | .follow_link(&self.path.link_id) [INFO] [stdout] 632 | | .expect(auxiliary::BUG_NAME_RESOLUTION), [INFO] [stdout] 633 | | symbol_table::RegistryItem::UnionVariant [INFO] [stdout] 634 | | ); [INFO] [stdout] | |______^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/inference.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | let ty = context.visit(&self.object); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/lifetime.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | ast::Expr::Block(block) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with` [INFO] [stdout] --> src/lowering.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | fn visit_with(&mut self, with: &ast::With) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_with` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/inference.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | let ty = context.visit(&self.object); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/pass.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | module: &ast::Module, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/lifetime.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | ast::Expr::Block(block) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with` [INFO] [stdout] --> src/lowering.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | fn visit_with(&mut self, with: &ast::With) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_with` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `union` [INFO] [stdout] --> src/types.rs:127:43 [INFO] [stdout] | [INFO] [stdout] 127 | symbol_table::RegistryItem::Union(union) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_union` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `union_` [INFO] [stdout] --> src/types.rs:498:19 [INFO] [stdout] | [INFO] [stdout] 498 | Type::Union(union_) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_union_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple_type` [INFO] [stdout] --> src/unification.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | tuple_type: &types::Type, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_type` [INFO] [stdout] --> src/unification.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | element_type: &types::Type, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/unification.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | index: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `artifact_ids` [INFO] [stdout] --> src/visit.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | if let Some(artifact_ids) = reverse_context_artifact_id_tracker.get(registry_id) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_artifact_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CallGraphTraversalRecursionBehavior` is never used [INFO] [stdout] --> src/auxiliary.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | pub enum CallGraphTraversalRecursionBehavior { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `traverse` is never used [INFO] [stdout] --> src/auxiliary.rs:237:10 [INFO] [stdout] | [INFO] [stdout] 93 | impl CallGraph { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn traverse( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `join_two_opts` is never used [INFO] [stdout] --> src/auxiliary.rs:278:15 [INFO] [stdout] | [INFO] [stdout] 278 | pub(crate) fn join_two_opts<'a, A, B>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/resolution.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | TypeResolutionError(TypeResolutionError), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeResolutionByIdError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 40 - TypeResolutionError(TypeResolutionError), [INFO] [stdout] 40 + TypeResolutionError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SymbolMetadataFlag` is never used [INFO] [stdout] --> src/symbol_table.rs:138:6 [INFO] [stdout] | [INFO] [stdout] 138 | enum SymbolMetadataFlag { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SymbolLocation` is never constructed [INFO] [stdout] --> src/symbol_table.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | struct SymbolLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SymbolMetadata` is never constructed [INFO] [stdout] --> src/symbol_table.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | struct SymbolMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SymbolTableEntry` is never constructed [INFO] [stdout] --> src/symbol_table.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | struct SymbolTableEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_universe_stack`, `set_universe_stack`, and `push_universe_id` are never used [INFO] [stdout] --> src/visit.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) trait ArtifactVisitor { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 12 | fn get_universe_stack(&self) -> &resolution::UniverseStack; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | fn set_universe_stack(&mut self, universe_stack: resolution::UniverseStack); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | fn push_universe_id(&mut self, universe_id: symbol_table::UniverseId); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse_polymorphic_item` is never used [INFO] [stdout] --> src/visit.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) fn traverse_polymorphic_item( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types.rs:198:35 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn try_substitute_self<'a>(&'a self, substitution_env: &'a SubstitutionEnv) -> Option<&Type> { [INFO] [stdout] | ^^ ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 198 | pub fn try_substitute_self<'a>(&'a self, substitution_env: &'a SubstitutionEnv) -> Option<&'a Type> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types.rs:413:6 [INFO] [stdout] | [INFO] [stdout] 413 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 414 | symbol_table: &'a symbol_table::SymbolTable, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 415 | ) -> IndirectSubtreeIterator<'_> { [INFO] [stdout] | -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 415 - ) -> IndirectSubtreeIterator<'_> { [INFO] [stdout] 415 + ) -> IndirectSubtreeIterator<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tails` (lib) due to 1 previous error; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/pass.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | module: &ast::Module, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `union` [INFO] [stdout] --> src/types.rs:127:43 [INFO] [stdout] | [INFO] [stdout] 127 | symbol_table::RegistryItem::Union(union) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_union` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `union_` [INFO] [stdout] --> src/types.rs:498:19 [INFO] [stdout] | [INFO] [stdout] 498 | Type::Union(union_) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_union_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple_type` [INFO] [stdout] --> src/unification.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | tuple_type: &types::Type, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_type` [INFO] [stdout] --> src/unification.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | element_type: &types::Type, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/unification.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | index: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `artifact_ids` [INFO] [stdout] --> src/visit.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | if let Some(artifact_ids) = reverse_context_artifact_id_tracker.get(registry_id) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_artifact_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CallGraphTraversalRecursionBehavior` is never used [INFO] [stdout] --> src/auxiliary.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | pub enum CallGraphTraversalRecursionBehavior { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `traverse` is never used [INFO] [stdout] --> src/auxiliary.rs:237:10 [INFO] [stdout] | [INFO] [stdout] 93 | impl CallGraph { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn traverse( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `join_two_opts` is never used [INFO] [stdout] --> src/auxiliary.rs:278:15 [INFO] [stdout] | [INFO] [stdout] 278 | pub(crate) fn join_two_opts<'a, A, B>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/resolution.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | TypeResolutionError(TypeResolutionError), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeResolutionByIdError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 40 - TypeResolutionError(TypeResolutionError), [INFO] [stdout] 40 + TypeResolutionError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SymbolMetadataFlag` is never used [INFO] [stdout] --> src/symbol_table.rs:138:6 [INFO] [stdout] | [INFO] [stdout] 138 | enum SymbolMetadataFlag { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SymbolLocation` is never constructed [INFO] [stdout] --> src/symbol_table.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | struct SymbolLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SymbolMetadata` is never constructed [INFO] [stdout] --> src/symbol_table.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | struct SymbolMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SymbolTableEntry` is never constructed [INFO] [stdout] --> src/symbol_table.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | struct SymbolTableEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_universe_stack`, `set_universe_stack`, and `push_universe_id` are never used [INFO] [stdout] --> src/visit.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) trait ArtifactVisitor { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 12 | fn get_universe_stack(&self) -> &resolution::UniverseStack; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | fn set_universe_stack(&mut self, universe_stack: resolution::UniverseStack); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | fn push_universe_id(&mut self, universe_id: symbol_table::UniverseId); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse_polymorphic_item` is never used [INFO] [stdout] --> src/visit.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) fn traverse_polymorphic_item( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types.rs:198:35 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn try_substitute_self<'a>(&'a self, substitution_env: &'a SubstitutionEnv) -> Option<&Type> { [INFO] [stdout] | ^^ ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 198 | pub fn try_substitute_self<'a>(&'a self, substitution_env: &'a SubstitutionEnv) -> Option<&'a Type> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types.rs:413:6 [INFO] [stdout] | [INFO] [stdout] 413 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 414 | symbol_table: &'a symbol_table::SymbolTable, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 415 | ) -> IndirectSubtreeIterator<'_> { [INFO] [stdout] | -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 415 - ) -> IndirectSubtreeIterator<'_> { [INFO] [stdout] 415 + ) -> IndirectSubtreeIterator<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tails` (lib test) due to 1 previous error; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "936d79228c9c06983bb04780a2623f71ca01c44cf4cf6ad6af9595901ab5f310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "936d79228c9c06983bb04780a2623f71ca01c44cf4cf6ad6af9595901ab5f310", kill_on_drop: false }` [INFO] [stdout] 936d79228c9c06983bb04780a2623f71ca01c44cf4cf6ad6af9595901ab5f310