[INFO] fetching crate smpl 0.18.0... [INFO] testing smpl-0.18.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate smpl 0.18.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate smpl 0.18.0 [INFO] finished tweaking crates.io crate smpl 0.18.0 [INFO] tweaked toml for crates.io crate smpl 0.18.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate smpl 0.18.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 63 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.8.2 (available: v0.14.0) [INFO] [stderr] Adding petgraph v0.4.13 (available: v0.8.2) [INFO] [stderr] Adding uuid v0.7.4 (available: v1.18.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42891867e14dbe083a70e879085762afc84dd94d6927ccbcef65e7b8a4ec976f [INFO] running `Command { std: "docker" "start" "-a" "42891867e14dbe083a70e879085762afc84dd94d6927ccbcef65e7b8a4ec976f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42891867e14dbe083a70e879085762afc84dd94d6927ccbcef65e7b8a4ec976f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42891867e14dbe083a70e879085762afc84dd94d6927ccbcef65e7b8a4ec976f", kill_on_drop: false }` [INFO] [stdout] 42891867e14dbe083a70e879085762afc84dd94d6927ccbcef65e7b8a4ec976f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3df1b4eccfbd2274b2014b34c0ec81f6ac26625caa1ecd7fbf293a2b4c7fb089 [INFO] running `Command { std: "docker" "start" "-a" "3df1b4eccfbd2274b2014b34c0ec81f6ac26625caa1ecd7fbf293a2b4c7fb089", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling irmatch v0.2.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling display_derive v0.0.0 [INFO] [stderr] Compiling smpl v0.18.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/ast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::feature::*` [INFO] [stdout] --> src/analysis/semantic_ck.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::feature::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell` and `RefCell` [INFO] [stdout] --> src/analysis/semantic_data.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/analysis/semantic_data.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnonymousFn as AstAnonymousFn` [INFO] [stdout] --> src/analysis/semantic_data.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::ast::{AnonymousFn as AstAnonymousFn, ModulePath as AstModulePath}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::type_checker::TypingContext` [INFO] [stdout] --> src/analysis/semantic_data.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use super::type_checker::TypingContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnalysisUniverse` and `GlobalData` [INFO] [stdout] --> src/analysis/semantic_data.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | use super::analysis_context::{GlobalData, AnalysisContext, AnalysisUniverse}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::span::Span` [INFO] [stdout] --> src/analysis/analysis_helpers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::span::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FieldId`, `FnId`, `Program`, `TypeId`, `TypeParamId`, and `TypeVarId` [INFO] [stdout] --> src/analysis/analysis_helpers.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | FieldId, FnId, Program, TypeId, TypeParamId, TypeVarId, [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeParams` [INFO] [stdout] --> src/analysis/analysis_helpers.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | use super::type_cons::{TypeCons, TypeParams}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReservedAnonymousFn` [INFO] [stdout] --> src/analysis/analysis_helpers.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | ReservedAnonymousFn, AnalyzableFn [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::analysis_context::AnalyzableAnonymousFn` [INFO] [stdout] --> src/analysis/analysis_helpers.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use super::analysis_context::AnalyzableAnonymousFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Universe` [INFO] [stdout] --> src/analysis/expr_flow.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use super::semantic_data::{TmpId, Universe}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::span::Span` [INFO] [stdout] --> src/analysis/mod_resolver.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::span::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_data::*` [INFO] [stdout] --> src/analysis/return_trace.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::semantic_data::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::analysis_helpers` [INFO] [stdout] --> src/analysis/type_checker.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::analysis_helpers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::type_cons_gen` [INFO] [stdout] --> src/analysis/type_checker.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use super::type_cons_gen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `expr_type` [INFO] [stdout] --> src/analysis/type_checker.rs:1312:14 [INFO] [stdout] | [INFO] [stdout] 1312 | macro_rules! expr_type { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Program` [INFO] [stdout] --> src/analysis/type_cons_gen.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | FieldId, FnId, Program, TypeId, TypeParamId, TypeVarId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::*` [INFO] [stdout] --> src/analysis/analysis_context.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModulePath as AstModulePath` [INFO] [stdout] --> src/analysis/analysis_context.rs:5:65 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{Ident, AstNode, AnonymousFn as AstAnonymousFn, ModulePath as AstModulePath}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::control_flow::CFG` [INFO] [stdout] --> src/analysis/analysis_context.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::control_flow::CFG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Program` [INFO] [stdout] --> src/analysis/analysis_context.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | FieldId, FnId, Program, TypeId, TypeParamId, TypeVarId, LoopId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | $(v.push(ident!($segment));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/analysis/analysis_context.rs:243:42 [INFO] [stdout] | [INFO] [stdout] 243 | (global_data.unit_type_id(), internal_module_path!(UNIT_TYPE), TypeCons::Unit); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `internal_module_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | $(v.push(ident!($segment));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/analysis/analysis_context.rs:245:41 [INFO] [stdout] | [INFO] [stdout] 245 | (global_data.int_type_id(), internal_module_path!(INT_TYPE), TypeCons::Int); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `internal_module_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | $(v.push(ident!($segment));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/analysis/analysis_context.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | internal_module_path!(FLOAT_TYPE), [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `internal_module_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | $(v.push(ident!($segment));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/analysis/analysis_context.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | internal_module_path!(STRING_TYPE), [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `internal_module_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | $(v.push(ident!($segment));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/analysis/analysis_context.rs:257:42 [INFO] [stdout] | [INFO] [stdout] 257 | (global_data.bool_type_id(), internal_module_path!(BOOL_TYPE), TypeCons::Bool); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `internal_module_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AstNode` and `WidthConstraint` [INFO] [stdout] --> src/analysis/type_cons.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::{AstNode, Ident, WidthConstraint}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnalysisError`, `ApplicationError`, and `TypeError as ATypeError` [INFO] [stdout] --> src/analysis/type_cons.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use super::error::{AnalysisError, ApplicationError, TypeError as ATypeError}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `nill_check` [INFO] [stdout] --> src/analysis/type_cons.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | macro_rules! nill_check { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeParamId` [INFO] [stdout] --> src/analysis/abstract_type.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | use super::semantic_data::{FieldId, TypeId, TypeParamId, TypeVarId}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockyPassenger` and `BlockyTraverser` [INFO] [stdout] --> src/analysis/mod.rs:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) use self::blocky_linear_cfg_traversal::{BlockyPassenger, BlockyTraverser}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `previous` is never read [INFO] [stdout] --> src/analysis/control_flow.rs:623:60 [INFO] [stdout] | [INFO] [stdout] 623 | ... append_node_index!(self, head, previous, loop_head); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `previous` is never read [INFO] [stdout] --> src/analysis/control_flow.rs:859:33 [INFO] [stdout] | [INFO] [stdout] 859 | ... previous, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/analysis/mod_resolver.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | mut reserved_anon_fns: AnonStorage, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/analysis/mod_resolver.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | let mut anon_fns_to_resolve = unresolved_anon_fns.data(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/analysis/mod_resolver.rs:437:18 [INFO] [stdout] | [INFO] [stdout] 437 | let (mut nested_unresolved_anon_fns, cfg) = CFG::generate( [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/analysis/type_checker.rs:1285:29 [INFO] [stdout] | [INFO] [stdout] 1285 | ... data, [INFO] [stdout] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/analysis/type_cons_gen.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | metadata: &mut Metadata, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fn_id` [INFO] [stdout] --> src/analysis/type_cons_gen.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | fn_id: FnId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fn_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/analysis/type_cons_gen.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | metadata: &mut Metadata, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fn_id` [INFO] [stdout] --> src/analysis/type_cons_gen.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | fn_id: FnId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fn_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `universe` [INFO] [stdout] --> src/analysis/type_cons_gen.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | universe: &AnalysisUniverse, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_universe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_equality.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_equality.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:151:27 [INFO] [stdout] | [INFO] [stdout] 151 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:206:27 [INFO] [stdout] | [INFO] [stdout] 206 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_equality.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | (TypeVar(ref synth_span, synth_id), TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:269:57 [INFO] [stdout] | [INFO] [stdout] 269 | (TypeVar(ref synth_span, synth_id), TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_equality.rs:330:27 [INFO] [stdout] | [INFO] [stdout] 330 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:335:27 [INFO] [stdout] | [INFO] [stdout] 335 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:189:27 [INFO] [stdout] | [INFO] [stdout] 189 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:208:27 [INFO] [stdout] | [INFO] [stdout] 208 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:263:27 [INFO] [stdout] | [INFO] [stdout] 263 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:337:22 [INFO] [stdout] | [INFO] [stdout] 337 | (TypeVar(ref synth_span, synth_id), TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:337:57 [INFO] [stdout] | [INFO] [stdout] 337 | (TypeVar(ref synth_span, synth_id), TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | (TypeVar(ref synth_span, synth_id), constraint) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:373:33 [INFO] [stdout] | [INFO] [stdout] 373 | (synthesis, TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:466:27 [INFO] [stdout] | [INFO] [stdout] 466 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:470:27 [INFO] [stdout] | [INFO] [stdout] 470 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:514:27 [INFO] [stdout] | [INFO] [stdout] 514 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:552:22 [INFO] [stdout] | [INFO] [stdout] 552 | (TypeVar(ref synth_span, synth_id), TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:552:57 [INFO] [stdout] | [INFO] [stdout] 552 | (TypeVar(ref synth_span, synth_id), TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:582:22 [INFO] [stdout] | [INFO] [stdout] 582 | (TypeVar(ref synth_span, synth_id), _) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:605:25 [INFO] [stdout] | [INFO] [stdout] 605 | (_, TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/analysis/abstract_type.rs:1297:27 [INFO] [stdout] | [INFO] [stdout] 1297 | data: ref span, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/program.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | f => Some(CompilableModule::to_compilable_fn(fn_id.clone(), func)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end` is never read [INFO] [stdout] --> src/parser/parser.rs:1797:13 [INFO] [stdout] | [INFO] [stdout] 1797 | let mut end = ifloc.clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end` is never read [INFO] [stdout] --> src/parser/parser.rs:1911:13 [INFO] [stdout] | [INFO] [stdout] 1911 | let mut end = returnloc.clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureErr` is never constructed [INFO] [stdout] --> src/feature/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FeatureErr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with` and `has_feature` are never used [INFO] [stdout] --> src/feature/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl PresentFeatures { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with(f: Vec) -> PresentFeatures { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn has_feature(&self, f: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureInfo` is never constructed [INFO] [stdout] --> src/feature/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct FeatureInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `check` are never used [INFO] [stdout] --> src/feature/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl FeatureInfo { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 48 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn check(&self, pf: &PresentFeatures) -> Result<(), FeatureErr> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureReasoning` is never constructed [INFO] [stdout] --> src/feature/mod.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct FeatureReasoning { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_feature`, `feature_with_reason`, `feature`, and `reason` are never used [INFO] [stdout] --> src/feature/mod.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl FeatureReasoning { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 95 | pub fn with_feature(f: &str) -> FeatureReasoning { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn feature_with_reason(f: &str, r: &str) -> FeatureReasoning { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn feature(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn reason(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATIC_ARRAY` is never used [INFO] [stdout] --> src/feature/feature_list.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | feature!(STATIC_ARRAY); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `feature` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCTION_VALUE` is never used [INFO] [stdout] --> src/feature/feature_list.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | feature!(FUNCTION_VALUE); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `feature` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOD_ACCESS` is never used [INFO] [stdout] --> src/feature/feature_list.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | feature!(MOD_ACCESS); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `feature` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANONYMOUS_FN` is never used [INFO] [stdout] --> src/feature/feature_list.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | feature!(ANONYMOUS_FN); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `feature` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/ast.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Module { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 71 | pub fn name(&self) -> Option<&Ident> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `var_type_scanner` is never used [INFO] [stdout] --> src/analysis/feature_checkers.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn var_type_scanner(_u: &Universe, _f: &mut PresentFeatures, _t: TypeId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fn_sig_type_scanner` is never used [INFO] [stdout] --> src/analysis/feature_checkers.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn fn_sig_type_scanner( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `field_type_scanner` is never used [INFO] [stdout] --> src/analysis/feature_checkers.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn field_type_scanner(_u: &Universe, _f: &mut PresentFeatures, _t: TypeId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `all_fns`, `smpl_fns`, `features`, `universe_mut`, `metadata_mut`, and `features_mut` are never used [INFO] [stdout] --> src/analysis/semantic_data.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Program { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn all_fns(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn smpl_fns(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn features(&self) -> &PresentFeatures { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub(super) fn universe_mut(&mut self) -> &mut Universe { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(super) fn metadata_mut(&mut self) -> &mut Metadata { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub(super) fn features_mut(&mut self) -> &mut PresentFeatures { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/analysis/semantic_data.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Universe { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 99 | pub(super) type_map: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 100 | pub(super) fn_map: HashMap, [INFO] [stdout] 101 | pub(super) builtin_fn_set: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub(super) unit: TypeId, [INFO] [stdout] | ^^^^ [INFO] [stdout] 105 | pub(super) int: TypeId, [INFO] [stdout] | ^^^ [INFO] [stdout] 106 | pub(super) float: TypeId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 107 | pub(super) string: TypeId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 108 | pub(super) boolean: TypeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Universe` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/analysis/semantic_data.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl Universe { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 112 | [INFO] [stdout] 113 | pub fn unit(&self) -> TypeId { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn int(&self) -> TypeId { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn float(&self) -> TypeId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn string(&self) -> TypeId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn boolean(&self) -> TypeId { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn module_id(&self, name: &Ident) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn get_type_cons(&self, id: TypeId) -> &TypeCons { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn is_builtin_fn(&self, id: FnId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn static_types(&self) -> Vec<(TypeId, TypeCons)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BindingInfo` is never used [INFO] [stdout] --> src/analysis/semantic_data.rs:215:10 [INFO] [stdout] | [INFO] [stdout] 215 | pub enum BindingInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/analysis/semantic_data.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | Builtin(BuiltinFunction), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Debug` and `Clone`, but these are 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] 222 - Builtin(BuiltinFunction), [INFO] [stdout] 222 + Builtin(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fn_type` and `name` are never used [INFO] [stdout] --> src/analysis/semantic_data.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 227 | impl Function { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 228 | pub fn fn_type(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn name(&self) -> Option<&Ident> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fn_id`, `name`, and `type_id` are never read [INFO] [stdout] --> src/analysis/semantic_data.rs:266:16 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct BuiltinFunction { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 266 | pub(super) fn_id: FnId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 267 | pub(super) name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 268 | pub(super) type_id: TypeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuiltinFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fn_id`, `name`, and `type_id` are never used [INFO] [stdout] --> src/analysis/semantic_data.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 271 | impl BuiltinFunction { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 272 | [INFO] [stdout] 273 | pub fn fn_id(&self) -> FnId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn name(&self) -> &Ident { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn type_id(&self) -> TypeId { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fn_id` and `name` are never read [INFO] [stdout] --> src/analysis/semantic_data.rs:289:16 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct SMPLFunction { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 289 | pub(super) fn_id: FnId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 290 | pub(super) name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SMPLFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/analysis/semantic_data.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 297 | impl SMPLFunction { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 298 | pub fn name(&self) -> &Ident { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataId` is never used [INFO] [stdout] --> src/analysis/semantic_data.rs:401:10 [INFO] [stdout] | [INFO] [stdout] 401 | pub enum DataId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BlockyPassenger` is never used [INFO] [stdout] --> src/analysis/blocky_linear_cfg_traversal.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait BlockyPassenger { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockyTraverser` is never constructed [INFO] [stdout] --> src/analysis/blocky_linear_cfg_traversal.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct BlockyTraverser<'a, 'b, E: 'b> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `traverse`, and `visit_node` are never used [INFO] [stdout] --> src/analysis/blocky_linear_cfg_traversal.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl<'a, 'b, E> BlockyTraverser<'a, 'b, E> { [INFO] [stdout] | ------------------------------------------ associated items in this implementation [INFO] [stdout] 63 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn traverse(mut self) -> Result<(), E> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn visit_node( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RawProgram` is never constructed [INFO] [stdout] --> src/analysis/mod_resolver.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct RawProgram { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `module_id` is never read [INFO] [stdout] --> src/analysis/type_checker.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 84 | struct TypeChecker<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 88 | module_id: ModuleId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_mut` is never used [INFO] [stdout] --> src/analysis/type_checker.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 96 | impl<'a> TypeChecker<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 225 | fn current_mut(&mut self) -> &mut ScopedData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_param` is never used [INFO] [stdout] --> src/analysis/type_resolver.rs:405:4 [INFO] [stdout] | [INFO] [stdout] 405 | fn resolve_param( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fn_id` is never read [INFO] [stdout] --> src/analysis/analysis_context.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ReservedAnonymousFn { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 49 | pub(super) fn_id: FnId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReservedAnonymousFn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_module_mut` is never used [INFO] [stdout] --> src/analysis/analysis_context.rs:334:19 [INFO] [stdout] | [INFO] [stdout] 240 | impl AnalysisUniverse { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 334 | pub(crate) fn get_module_mut(&mut self, id: ModuleId) -> &mut Module { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_iter` and `append_iter` are never used [INFO] [stdout] --> src/analysis/anon_storage.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl AnonStorage { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub(super) fn from_iter(i: I) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub(super) fn append_iter(&mut self, other: I) where I: Iterator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_fn_layout` and `insert_array_type` are never used [INFO] [stdout] --> src/analysis/metadata/mod.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 49 | impl Metadata { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub(super) fn insert_fn_layout(&mut self, id: FnId, data: FnLayout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub(super) fn insert_array_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ident` is never used [INFO] [stdout] --> src/analysis/metadata/fn_data.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl FunctionParameter { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub(crate) fn ident(&self) -> &Ident { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_mod_source` and `insert_module_scope` are never used [INFO] [stdout] --> src/analysis/metadata/modules.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl ModuleMetadata { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn insert_mod_source( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub(crate) fn insert_module_scope( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Normal` is never constructed [INFO] [stdout] --> src/code_gen/byte_gen/first_pass.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 27 | enum State { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Normal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_state` is never used [INFO] [stdout] --> src/code_gen/byte_gen/first_pass.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 184 | impl<'a> FirstPass<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 210 | fn current_state(&self) -> State { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/parser/error.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ParserError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 38 | kind: ParserErrorKind, [INFO] [stdout] 39 | location: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/parser/tokens.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 225 | struct CharInput<'src_str, 'input> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 226 | source: &'src_str ModuleSource, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peek_is_none` is never used [INFO] [stdout] --> src/parser/tokens.rs:783:12 [INFO] [stdout] | [INFO] [stdout] 761 | impl<'a, 'b> BufferedTokenizer<'a, 'b> { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 783 | pub fn peek_is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/module.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn file(path: PathBuf, data: &str) -> UnparsedModule { [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] 58 | pub fn file(path: PathBuf, data: &str) -> UnparsedModule<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/module.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn anonymous(data: &str) -> UnparsedModule { [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] 72 | pub fn anonymous(data: &str) -> UnparsedModule<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/module.rs:87:47 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn anonymous_hint(hint: String, data: &str) -> UnparsedModule { [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] 87 | pub fn anonymous_hint(hint: String, data: &str) -> UnparsedModule<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ast.rs:465:58 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 465 | pub fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast.rs:498:17 [INFO] [stdout] | [INFO] [stdout] 498 | pub fn iter(&self) -> Iter { [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] 498 | pub fn iter(&self) -> Iter<'_, PathSegment> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/analysis/semantic_data.rs:517:17 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn iter(&self) -> Iter { [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] 517 | pub fn iter(&self) -> Iter<'_, Ident> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/analysis/control_flow.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 313 | node: graph::NodeIndex, [INFO] [stdout] 314 | ) -> graph::Neighbors { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ 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] 314 | ) -> graph::Neighbors<'_, Edge> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/analysis/control_flow.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 320 | node: graph::NodeIndex, [INFO] [stdout] 321 | ) -> graph::Neighbors { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ 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] 321 | ) -> graph::Neighbors<'_, Edge> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/analysis/analysis_helpers.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | fn from(ast_fn: &ast::Function) -> ContextData { [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] 84 | fn from(ast_fn: &ast::Function) -> ContextData<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/analysis/analysis_helpers.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | fn from(ast_fn: &ast::AnonymousFn) -> ContextData { [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] 94 | fn from(ast_fn: &ast::AnonymousFn) -> ContextData<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/analysis/metadata/mod.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | format!("Overwriting field ordering for struct {}", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/analysis/metadata/mod.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | format!("Overwriting for fn {}", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/analysis/metadata/mod.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | format!("Overriding function param ids for {:?}", fn_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/analysis/metadata/modules.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | format!("Modules should only have one source") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/analysis/metadata/modules.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | format!("Overriding {:?}", mod_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/analysis/metadata/modules.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | format!("Overriding {:?}", mod_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/analysis/metadata/modules.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | format!("Overriding module scope for {:?}", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/code_gen/byte_gen/first_pass.rs:185:39 [INFO] [stdout] | [INFO] [stdout] 185 | pub(super) fn new(typing_context: &TypingContext) -> FirstPass { [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] 185 | pub(super) fn new(typing_context: &TypingContext) -> FirstPass<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/program.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn compilable_modules(&self) -> impl Iterator { [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] 57 | pub fn compilable_modules(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/program.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_module(&self, module_id: ModuleId) -> CompilableModule { [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] 72 | pub fn get_module(&self, module_id: ModuleId) -> CompilableModule<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/program.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn get_fn(&self, fn_id: FnId) -> 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] 102 | pub fn get_fn(&self, fn_id: FnId) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/program.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn compilable_fns(&self) -> [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 117 | impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^ 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] 117 | impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/program.rs:134:40 [INFO] [stdout] | [INFO] [stdout] 134 | fn to_compilable_fn(f_id: FnId, f: &Function) -> CompilableFn { [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] 134 | fn to_compilable_fn(f_id: FnId, f: &Function) -> CompilableFn<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser/error.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Debug, Clone, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ParserErrorKind` [INFO] [stdout] 86 | pub enum ParserErrorKind { [INFO] [stdout] | --------------- `ParserErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser/error.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Debug, Clone, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ParserErrorKind` [INFO] [stdout] 86 | pub enum ParserErrorKind { [INFO] [stdout] | --------------- `ParserErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser/tokens.rs:202:35 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Debug, PartialEq, Clone, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SpannedError` [INFO] [stdout] 203 | #[fail(display = "{} {}", error, location)] [INFO] [stdout] 204 | pub struct SpannedError { [INFO] [stdout] | ------------ `SpannedError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser/tokens.rs:202:35 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Debug, PartialEq, Clone, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SpannedError` [INFO] [stdout] 203 | #[fail(display = "{} {}", error, location)] [INFO] [stdout] 204 | pub struct SpannedError { [INFO] [stdout] | ------------ `SpannedError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser/tokens.rs:209:35 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Debug, PartialEq, Clone, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_TokenizerError` [INFO] [stdout] 210 | pub enum TokenizerError { [INFO] [stdout] | -------------- `TokenizerError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser/tokens.rs:209:35 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Debug, PartialEq, Clone, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_TokenizerError` [INFO] [stdout] 210 | pub enum TokenizerError { [INFO] [stdout] | -------------- `TokenizerError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.79s [INFO] running `Command { std: "docker" "inspect" "3df1b4eccfbd2274b2014b34c0ec81f6ac26625caa1ecd7fbf293a2b4c7fb089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3df1b4eccfbd2274b2014b34c0ec81f6ac26625caa1ecd7fbf293a2b4c7fb089", kill_on_drop: false }` [INFO] [stdout] 3df1b4eccfbd2274b2014b34c0ec81f6ac26625caa1ecd7fbf293a2b4c7fb089 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a12a28db33a9c64f1e0ff0d4e10c0f028bcd51543f34b1da848cb6db97be47c [INFO] running `Command { std: "docker" "start" "-a" "7a12a28db33a9c64f1e0ff0d4e10c0f028bcd51543f34b1da848cb6db97be47c", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/ast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::feature::*` [INFO] [stdout] --> src/analysis/semantic_ck.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::feature::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell` and `RefCell` [INFO] [stdout] --> src/analysis/semantic_data.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/analysis/semantic_data.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnonymousFn as AstAnonymousFn` [INFO] [stdout] --> src/analysis/semantic_data.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::ast::{AnonymousFn as AstAnonymousFn, ModulePath as AstModulePath}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::type_checker::TypingContext` [INFO] [stdout] --> src/analysis/semantic_data.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use super::type_checker::TypingContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnalysisUniverse` and `GlobalData` [INFO] [stdout] --> src/analysis/semantic_data.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | use super::analysis_context::{GlobalData, AnalysisContext, AnalysisUniverse}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::span::Span` [INFO] [stdout] --> src/analysis/analysis_helpers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::span::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FieldId`, `FnId`, `Program`, `TypeId`, `TypeParamId`, and `TypeVarId` [INFO] [stdout] --> src/analysis/analysis_helpers.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | FieldId, FnId, Program, TypeId, TypeParamId, TypeVarId, [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeParams` [INFO] [stdout] --> src/analysis/analysis_helpers.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | use super::type_cons::{TypeCons, TypeParams}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReservedAnonymousFn` [INFO] [stdout] --> src/analysis/analysis_helpers.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | ReservedAnonymousFn, AnalyzableFn [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::analysis_context::AnalyzableAnonymousFn` [INFO] [stdout] --> src/analysis/analysis_helpers.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use super::analysis_context::AnalyzableAnonymousFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Universe` [INFO] [stdout] --> src/analysis/expr_flow.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use super::semantic_data::{TmpId, Universe}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::span::Span` [INFO] [stdout] --> src/analysis/mod_resolver.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::span::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_data::*` [INFO] [stdout] --> src/analysis/return_trace.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::semantic_data::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::analysis_helpers` [INFO] [stdout] --> src/analysis/type_checker.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::analysis_helpers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::type_cons_gen` [INFO] [stdout] --> src/analysis/type_checker.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use super::type_cons_gen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `expr_type` [INFO] [stdout] --> src/analysis/type_checker.rs:1312:14 [INFO] [stdout] | [INFO] [stdout] 1312 | macro_rules! expr_type { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Program` [INFO] [stdout] --> src/analysis/type_cons_gen.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | FieldId, FnId, Program, TypeId, TypeParamId, TypeVarId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::*` [INFO] [stdout] --> src/analysis/analysis_context.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModulePath as AstModulePath` [INFO] [stdout] --> src/analysis/analysis_context.rs:5:65 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{Ident, AstNode, AnonymousFn as AstAnonymousFn, ModulePath as AstModulePath}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::control_flow::CFG` [INFO] [stdout] --> src/analysis/analysis_context.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::control_flow::CFG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Program` [INFO] [stdout] --> src/analysis/analysis_context.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | FieldId, FnId, Program, TypeId, TypeParamId, TypeVarId, LoopId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | $(v.push(ident!($segment));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/analysis/analysis_context.rs:243:42 [INFO] [stdout] | [INFO] [stdout] 243 | (global_data.unit_type_id(), internal_module_path!(UNIT_TYPE), TypeCons::Unit); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `internal_module_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | $(v.push(ident!($segment));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/analysis/analysis_context.rs:245:41 [INFO] [stdout] | [INFO] [stdout] 245 | (global_data.int_type_id(), internal_module_path!(INT_TYPE), TypeCons::Int); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `internal_module_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | $(v.push(ident!($segment));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/analysis/analysis_context.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | internal_module_path!(FLOAT_TYPE), [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `internal_module_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | $(v.push(ident!($segment));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/analysis/analysis_context.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | internal_module_path!(STRING_TYPE), [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `internal_module_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | $(v.push(ident!($segment));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/analysis/analysis_context.rs:257:42 [INFO] [stdout] | [INFO] [stdout] 257 | (global_data.bool_type_id(), internal_module_path!(BOOL_TYPE), TypeCons::Bool); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `internal_module_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AstNode` and `WidthConstraint` [INFO] [stdout] --> src/analysis/type_cons.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::{AstNode, Ident, WidthConstraint}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnalysisError`, `ApplicationError`, and `TypeError as ATypeError` [INFO] [stdout] --> src/analysis/type_cons.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use super::error::{AnalysisError, ApplicationError, TypeError as ATypeError}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `nill_check` [INFO] [stdout] --> src/analysis/type_cons.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | macro_rules! nill_check { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeParamId` [INFO] [stdout] --> src/analysis/abstract_type.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | use super::semantic_data::{FieldId, TypeId, TypeParamId, TypeVarId}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockyPassenger` and `BlockyTraverser` [INFO] [stdout] --> src/analysis/mod.rs:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) use self::blocky_linear_cfg_traversal::{BlockyPassenger, BlockyTraverser}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `previous` is never read [INFO] [stdout] --> src/analysis/control_flow.rs:623:60 [INFO] [stdout] | [INFO] [stdout] 623 | ... append_node_index!(self, head, previous, loop_head); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `previous` is never read [INFO] [stdout] --> src/analysis/control_flow.rs:859:33 [INFO] [stdout] | [INFO] [stdout] 859 | ... previous, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/analysis/mod_resolver.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | mut reserved_anon_fns: AnonStorage, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/analysis/mod_resolver.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | let mut anon_fns_to_resolve = unresolved_anon_fns.data(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/analysis/mod_resolver.rs:437:18 [INFO] [stdout] | [INFO] [stdout] 437 | let (mut nested_unresolved_anon_fns, cfg) = CFG::generate( [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/analysis/type_checker.rs:1285:29 [INFO] [stdout] | [INFO] [stdout] 1285 | ... data, [INFO] [stdout] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/analysis/type_cons_gen.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | metadata: &mut Metadata, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fn_id` [INFO] [stdout] --> src/analysis/type_cons_gen.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | fn_id: FnId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fn_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/analysis/type_cons_gen.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | metadata: &mut Metadata, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fn_id` [INFO] [stdout] --> src/analysis/type_cons_gen.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | fn_id: FnId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fn_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `universe` [INFO] [stdout] --> src/analysis/type_cons_gen.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | universe: &AnalysisUniverse, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_universe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_equality.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_equality.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:151:27 [INFO] [stdout] | [INFO] [stdout] 151 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:206:27 [INFO] [stdout] | [INFO] [stdout] 206 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_equality.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | (TypeVar(ref synth_span, synth_id), TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:269:57 [INFO] [stdout] | [INFO] [stdout] 269 | (TypeVar(ref synth_span, synth_id), TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_equality.rs:330:27 [INFO] [stdout] | [INFO] [stdout] 330 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:335:27 [INFO] [stdout] | [INFO] [stdout] 335 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:189:27 [INFO] [stdout] | [INFO] [stdout] 189 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:208:27 [INFO] [stdout] | [INFO] [stdout] 208 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:263:27 [INFO] [stdout] | [INFO] [stdout] 263 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:337:22 [INFO] [stdout] | [INFO] [stdout] 337 | (TypeVar(ref synth_span, synth_id), TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:337:57 [INFO] [stdout] | [INFO] [stdout] 337 | (TypeVar(ref synth_span, synth_id), TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | (TypeVar(ref synth_span, synth_id), constraint) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:373:33 [INFO] [stdout] | [INFO] [stdout] 373 | (synthesis, TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:466:27 [INFO] [stdout] | [INFO] [stdout] 466 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:470:27 [INFO] [stdout] | [INFO] [stdout] 470 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:514:27 [INFO] [stdout] | [INFO] [stdout] 514 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:552:22 [INFO] [stdout] | [INFO] [stdout] 552 | (TypeVar(ref synth_span, synth_id), TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:552:57 [INFO] [stdout] | [INFO] [stdout] 552 | (TypeVar(ref synth_span, synth_id), TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:582:22 [INFO] [stdout] | [INFO] [stdout] 582 | (TypeVar(ref synth_span, synth_id), _) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:605:25 [INFO] [stdout] | [INFO] [stdout] 605 | (_, TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/analysis/abstract_type.rs:1297:27 [INFO] [stdout] | [INFO] [stdout] 1297 | data: ref span, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/program.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | f => Some(CompilableModule::to_compilable_fn(fn_id.clone(), func)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end` is never read [INFO] [stdout] --> src/parser/parser.rs:1797:13 [INFO] [stdout] | [INFO] [stdout] 1797 | let mut end = ifloc.clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end` is never read [INFO] [stdout] --> src/parser/parser.rs:1911:13 [INFO] [stdout] | [INFO] [stdout] 1911 | let mut end = returnloc.clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureErr` is never constructed [INFO] [stdout] --> src/feature/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FeatureErr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with` and `has_feature` are never used [INFO] [stdout] --> src/feature/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl PresentFeatures { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with(f: Vec) -> PresentFeatures { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn has_feature(&self, f: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureInfo` is never constructed [INFO] [stdout] --> src/feature/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct FeatureInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `check` are never used [INFO] [stdout] --> src/feature/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl FeatureInfo { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 48 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn check(&self, pf: &PresentFeatures) -> Result<(), FeatureErr> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeatureReasoning` is never constructed [INFO] [stdout] --> src/feature/mod.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct FeatureReasoning { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_feature`, `feature_with_reason`, `feature`, and `reason` are never used [INFO] [stdout] --> src/feature/mod.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl FeatureReasoning { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 95 | pub fn with_feature(f: &str) -> FeatureReasoning { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn feature_with_reason(f: &str, r: &str) -> FeatureReasoning { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn feature(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn reason(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATIC_ARRAY` is never used [INFO] [stdout] --> src/feature/feature_list.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | feature!(STATIC_ARRAY); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `feature` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCTION_VALUE` is never used [INFO] [stdout] --> src/feature/feature_list.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | feature!(FUNCTION_VALUE); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `feature` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOD_ACCESS` is never used [INFO] [stdout] --> src/feature/feature_list.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | feature!(MOD_ACCESS); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `feature` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANONYMOUS_FN` is never used [INFO] [stdout] --> src/feature/feature_list.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | feature!(ANONYMOUS_FN); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `feature` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/ast.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Module { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 71 | pub fn name(&self) -> Option<&Ident> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `var_type_scanner` is never used [INFO] [stdout] --> src/analysis/feature_checkers.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn var_type_scanner(_u: &Universe, _f: &mut PresentFeatures, _t: TypeId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fn_sig_type_scanner` is never used [INFO] [stdout] --> src/analysis/feature_checkers.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn fn_sig_type_scanner( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `field_type_scanner` is never used [INFO] [stdout] --> src/analysis/feature_checkers.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn field_type_scanner(_u: &Universe, _f: &mut PresentFeatures, _t: TypeId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `all_fns`, `smpl_fns`, `features`, `universe_mut`, `metadata_mut`, and `features_mut` are never used [INFO] [stdout] --> src/analysis/semantic_data.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Program { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn all_fns(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn smpl_fns(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn features(&self) -> &PresentFeatures { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub(super) fn universe_mut(&mut self) -> &mut Universe { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(super) fn metadata_mut(&mut self) -> &mut Metadata { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub(super) fn features_mut(&mut self) -> &mut PresentFeatures { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/analysis/semantic_data.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Universe { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 99 | pub(super) type_map: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 100 | pub(super) fn_map: HashMap, [INFO] [stdout] 101 | pub(super) builtin_fn_set: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub(super) unit: TypeId, [INFO] [stdout] | ^^^^ [INFO] [stdout] 105 | pub(super) int: TypeId, [INFO] [stdout] | ^^^ [INFO] [stdout] 106 | pub(super) float: TypeId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 107 | pub(super) string: TypeId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 108 | pub(super) boolean: TypeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Universe` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/analysis/semantic_data.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl Universe { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 112 | [INFO] [stdout] 113 | pub fn unit(&self) -> TypeId { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn int(&self) -> TypeId { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn float(&self) -> TypeId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn string(&self) -> TypeId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn boolean(&self) -> TypeId { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn module_id(&self, name: &Ident) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn get_type_cons(&self, id: TypeId) -> &TypeCons { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn is_builtin_fn(&self, id: FnId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn static_types(&self) -> Vec<(TypeId, TypeCons)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BindingInfo` is never used [INFO] [stdout] --> src/analysis/semantic_data.rs:215:10 [INFO] [stdout] | [INFO] [stdout] 215 | pub enum BindingInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/analysis/semantic_data.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | Builtin(BuiltinFunction), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Debug` and `Clone`, but these are 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] 222 - Builtin(BuiltinFunction), [INFO] [stdout] 222 + Builtin(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fn_type` and `name` are never used [INFO] [stdout] --> src/analysis/semantic_data.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 227 | impl Function { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 228 | pub fn fn_type(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn name(&self) -> Option<&Ident> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fn_id`, `name`, and `type_id` are never read [INFO] [stdout] --> src/analysis/semantic_data.rs:266:16 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct BuiltinFunction { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 266 | pub(super) fn_id: FnId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 267 | pub(super) name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 268 | pub(super) type_id: TypeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuiltinFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fn_id`, `name`, and `type_id` are never used [INFO] [stdout] --> src/analysis/semantic_data.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 271 | impl BuiltinFunction { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 272 | [INFO] [stdout] 273 | pub fn fn_id(&self) -> FnId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn name(&self) -> &Ident { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn type_id(&self) -> TypeId { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fn_id` and `name` are never read [INFO] [stdout] --> src/analysis/semantic_data.rs:289:16 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct SMPLFunction { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 289 | pub(super) fn_id: FnId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 290 | pub(super) name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SMPLFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/analysis/semantic_data.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 297 | impl SMPLFunction { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 298 | pub fn name(&self) -> &Ident { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataId` is never used [INFO] [stdout] --> src/analysis/semantic_data.rs:401:10 [INFO] [stdout] | [INFO] [stdout] 401 | pub enum DataId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BlockyPassenger` is never used [INFO] [stdout] --> src/analysis/blocky_linear_cfg_traversal.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait BlockyPassenger { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockyTraverser` is never constructed [INFO] [stdout] --> src/analysis/blocky_linear_cfg_traversal.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct BlockyTraverser<'a, 'b, E: 'b> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `traverse`, and `visit_node` are never used [INFO] [stdout] --> src/analysis/blocky_linear_cfg_traversal.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl<'a, 'b, E> BlockyTraverser<'a, 'b, E> { [INFO] [stdout] | ------------------------------------------ associated items in this implementation [INFO] [stdout] 63 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn traverse(mut self) -> Result<(), E> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn visit_node( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RawProgram` is never constructed [INFO] [stdout] --> src/analysis/mod_resolver.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct RawProgram { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `module_id` is never read [INFO] [stdout] --> src/analysis/type_checker.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 84 | struct TypeChecker<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 88 | module_id: ModuleId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_mut` is never used [INFO] [stdout] --> src/analysis/type_checker.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 96 | impl<'a> TypeChecker<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 225 | fn current_mut(&mut self) -> &mut ScopedData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_param` is never used [INFO] [stdout] --> src/analysis/type_resolver.rs:405:4 [INFO] [stdout] | [INFO] [stdout] 405 | fn resolve_param( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fn_id` is never read [INFO] [stdout] --> src/analysis/analysis_context.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ReservedAnonymousFn { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 49 | pub(super) fn_id: FnId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReservedAnonymousFn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_module_mut` is never used [INFO] [stdout] --> src/analysis/analysis_context.rs:334:19 [INFO] [stdout] | [INFO] [stdout] 240 | impl AnalysisUniverse { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 334 | pub(crate) fn get_module_mut(&mut self, id: ModuleId) -> &mut Module { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_iter` and `append_iter` are never used [INFO] [stdout] --> src/analysis/anon_storage.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl AnonStorage { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub(super) fn from_iter(i: I) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub(super) fn append_iter(&mut self, other: I) where I: Iterator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_fn_layout` and `insert_array_type` are never used [INFO] [stdout] --> src/analysis/metadata/mod.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 49 | impl Metadata { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub(super) fn insert_fn_layout(&mut self, id: FnId, data: FnLayout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub(super) fn insert_array_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ident` is never used [INFO] [stdout] --> src/analysis/metadata/fn_data.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl FunctionParameter { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub(crate) fn ident(&self) -> &Ident { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_mod_source` and `insert_module_scope` are never used [INFO] [stdout] --> src/analysis/metadata/modules.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl ModuleMetadata { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn insert_mod_source( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub(crate) fn insert_module_scope( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Normal` is never constructed [INFO] [stdout] --> src/code_gen/byte_gen/first_pass.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 27 | enum State { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Normal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_state` is never used [INFO] [stdout] --> src/code_gen/byte_gen/first_pass.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 184 | impl<'a> FirstPass<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 210 | fn current_state(&self) -> State { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/parser/error.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ParserError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 38 | kind: ParserErrorKind, [INFO] [stdout] 39 | location: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/parser/tokens.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 225 | struct CharInput<'src_str, 'input> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 226 | source: &'src_str ModuleSource, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peek_is_none` is never used [INFO] [stdout] --> src/parser/tokens.rs:783:12 [INFO] [stdout] | [INFO] [stdout] 761 | impl<'a, 'b> BufferedTokenizer<'a, 'b> { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 783 | pub fn peek_is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/module.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn file(path: PathBuf, data: &str) -> UnparsedModule { [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] 58 | pub fn file(path: PathBuf, data: &str) -> UnparsedModule<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/module.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn anonymous(data: &str) -> UnparsedModule { [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] 72 | pub fn anonymous(data: &str) -> UnparsedModule<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/module.rs:87:47 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn anonymous_hint(hint: String, data: &str) -> UnparsedModule { [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] 87 | pub fn anonymous_hint(hint: String, data: &str) -> UnparsedModule<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ast.rs:465:58 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 465 | pub fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast.rs:498:17 [INFO] [stdout] | [INFO] [stdout] 498 | pub fn iter(&self) -> Iter { [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] 498 | pub fn iter(&self) -> Iter<'_, PathSegment> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/analysis/semantic_data.rs:517:17 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn iter(&self) -> Iter { [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] 517 | pub fn iter(&self) -> Iter<'_, Ident> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/analysis/control_flow.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 313 | node: graph::NodeIndex, [INFO] [stdout] 314 | ) -> graph::Neighbors { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ 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] 314 | ) -> graph::Neighbors<'_, Edge> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/analysis/control_flow.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 320 | node: graph::NodeIndex, [INFO] [stdout] 321 | ) -> graph::Neighbors { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ 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] 321 | ) -> graph::Neighbors<'_, Edge> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/analysis/analysis_helpers.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | fn from(ast_fn: &ast::Function) -> ContextData { [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] 84 | fn from(ast_fn: &ast::Function) -> ContextData<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/analysis/analysis_helpers.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | fn from(ast_fn: &ast::AnonymousFn) -> ContextData { [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] 94 | fn from(ast_fn: &ast::AnonymousFn) -> ContextData<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/analysis/metadata/mod.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | format!("Overwriting field ordering for struct {}", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/analysis/metadata/mod.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | format!("Overwriting for fn {}", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/analysis/metadata/mod.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | format!("Overriding function param ids for {:?}", fn_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/analysis/metadata/modules.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | format!("Modules should only have one source") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/analysis/metadata/modules.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | format!("Overriding {:?}", mod_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/analysis/metadata/modules.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | format!("Overriding {:?}", mod_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/analysis/metadata/modules.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | format!("Overriding module scope for {:?}", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/code_gen/byte_gen/first_pass.rs:185:39 [INFO] [stdout] | [INFO] [stdout] 185 | pub(super) fn new(typing_context: &TypingContext) -> FirstPass { [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] 185 | pub(super) fn new(typing_context: &TypingContext) -> FirstPass<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/program.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn compilable_modules(&self) -> impl Iterator { [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] 57 | pub fn compilable_modules(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/program.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_module(&self, module_id: ModuleId) -> CompilableModule { [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] 72 | pub fn get_module(&self, module_id: ModuleId) -> CompilableModule<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/program.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn get_fn(&self, fn_id: FnId) -> 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] 102 | pub fn get_fn(&self, fn_id: FnId) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/program.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn compilable_fns(&self) -> [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 117 | impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^ 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] 117 | impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/program.rs:134:40 [INFO] [stdout] | [INFO] [stdout] 134 | fn to_compilable_fn(f_id: FnId, f: &Function) -> CompilableFn { [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] 134 | fn to_compilable_fn(f_id: FnId, f: &Function) -> CompilableFn<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser/error.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Debug, Clone, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ParserErrorKind` [INFO] [stdout] 86 | pub enum ParserErrorKind { [INFO] [stdout] | --------------- `ParserErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser/error.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Debug, Clone, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ParserErrorKind` [INFO] [stdout] 86 | pub enum ParserErrorKind { [INFO] [stdout] | --------------- `ParserErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser/tokens.rs:202:35 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Debug, PartialEq, Clone, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SpannedError` [INFO] [stdout] 203 | #[fail(display = "{} {}", error, location)] [INFO] [stdout] 204 | pub struct SpannedError { [INFO] [stdout] | ------------ `SpannedError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser/tokens.rs:202:35 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Debug, PartialEq, Clone, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SpannedError` [INFO] [stdout] 203 | #[fail(display = "{} {}", error, location)] [INFO] [stdout] 204 | pub struct SpannedError { [INFO] [stdout] | ------------ `SpannedError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling smpl v0.18.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser/tokens.rs:209:35 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Debug, PartialEq, Clone, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_TokenizerError` [INFO] [stdout] 210 | pub enum TokenizerError { [INFO] [stdout] | -------------- `TokenizerError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser/tokens.rs:209:35 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Debug, PartialEq, Clone, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_TokenizerError` [INFO] [stdout] 210 | pub enum TokenizerError { [INFO] [stdout] | -------------- `TokenizerError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/tic_tac_toe.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | test_pass_analysis!(tic_tac_toe); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/basic_test_semantic_analysis.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | test_pass_analysis!(basic_test_semantic_analysis); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/fn_out_of_order.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | test_pass_analysis!(fn_out_of_order); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/struct_out_of_order.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | test_pass_analysis!(struct_out_of_order); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/array_indexing.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | test_pass_analysis!(array_indexing); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/assign_array_index.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | test_pass_analysis!(assign_array_index); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/function_value.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | test_pass_analysis!(function_value); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/function_field.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | test_pass_analysis!(function_field); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/builtin_function.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | test_pass_analysis!(builtin_function); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/unchecked_params_builtin_function.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | test_pass_analysis!(unchecked_params_builtin_function); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/optional_local_type_annotation.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | test_pass_analysis!(optional_local_type_annotation); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/recursive_check.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | test_pass_analysis!(recursive_check); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/mutually_recursive_check.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | test_pass_analysis!(mutually_recursive_check); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/anonymous_fn_call.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | test_pass_analysis!(anonymous_fn_call); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/anonymous_fn_nested.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | test_pass_analysis!(anonymous_fn_nested); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/anonymous_fn_arg.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | test_pass_analysis!(anonymous_fn_arg); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/fn_piping.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | test_pass_analysis!(fn_piping); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/opaque_type_param.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | test_pass_analysis!(opaque_type_param); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/opaque_type_assignment.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | test_pass_analysis!(opaque_type_assignment); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/opaque_type_field.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | test_pass_analysis!(opaque_type_field); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/builtin_bind.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | test_pass_analysis!(builtin_bind); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/generic_struct_decl.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | test_pass_analysis!(generic_struct_decl); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/generic_struct_init.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | test_pass_analysis!(generic_struct_init); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/generic_function.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | test_pass_analysis!(generic_function); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/generic_fn_binding.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | test_pass_analysis!(generic_fn_binding); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/generic_builtin_fn_binding.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | test_pass_analysis!(generic_builtin_fn_binding); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/instantiate_fn_binding.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | test_pass_analysis!(instantiate_fn_binding); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/instantiate_builtin_fn_binding.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | test_pass_analysis!(instantiate_builtin_fn_binding); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/generic_fn_param.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | test_pass_analysis!(generic_fn_param); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/width_constraint_call.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | test_pass_analysis!(width_constraint_call); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/width_constraint_nested.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | test_pass_analysis!(width_constraint_nested); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/generic_width_constraint.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | test_pass_analysis!(generic_width_constraint); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/generic_transitive_width_constraint.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | test_pass_analysis!(generic_transitive_width_constraint); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/width_constraint_multi_base.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | test_pass_analysis!(width_constraint_multi_base); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/generic_struct_init_type_arg.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | test_pass_analysis!(generic_struct_init_type_arg); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/generic_struct_init_width_constraint.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | test_pass_analysis!(generic_struct_init_width_constraint); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/anonymous_struct_init.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | test_pass_analysis!(anonymous_struct_init); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/valid_fn_subtyping.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | test_pass_analysis!(valid_fn_subtyping); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/bind_fn_type_app.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | test_pass_analysis!(bind_fn_type_app); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/array_path_assignment.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | test_pass_analysis!(array_path_assignment); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `test_pass_analysis` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/call_fn_success.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | let input = include_test!("call_fn_success.smpl"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/embedded_ifs_analysis.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | let input = include_test!("embedded_ifs_analysis.smpl"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/missing_return_0.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | let input_0 = include_test!("missing_return_0.smpl"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/missing_return_1.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | let input_1 = include_test!("missing_return_1.smpl"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/missing_return_2.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | let input_2 = include_test!("missing_return_2.smpl"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/missing_return_3.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | let input_3 = include_test!("missing_return_3.smpl"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/missing_return_4.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | let input_4 = include_test!("missing_return_4.smpl"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/missing_return_5.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | let input_5 = include_test!("missing_return_5.smpl"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/missing_return_6.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | let input_6 = include_test!("missing_return_6.smpl"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/all_required_returns_0.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | let input_0 = include_test!("all_required_returns_0.smpl"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/all_required_returns_1.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | let input_1 = include_test!("all_required_returns_1.smpl"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/all_required_returns_2.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | let input_2 = include_test!("all_required_returns_2.smpl"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/all_required_returns_3.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | let input_3 = include_test!("all_required_returns_3.smpl"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/all_required_returns_4.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | let input_4 = include_test!("all_required_returns_4.smpl"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/all_required_returns_5.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | let input_5 = include_test!("all_required_returns_5.smpl"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/all_required_returns_6.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | let input_6 = include_test!("all_required_returns_6.smpl"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/mods_out_of_order_1.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | let mod1 = include_test!("mods_out_of_order_1.smpl"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/mods_out_of_order_2.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | let mod2 = include_test!("mods_out_of_order_2.smpl"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/correct_array_initialization.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | let mod1 = include_test!("correct_array_initialization.smpl"); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/heterogenous_array_initialization.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | let mod1 = include_test!("heterogenous_array_initialization.smpl"); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/mismatch_array_assignment.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | let mod1 = include_test!("mismatch_array_assignment.smpl"); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/mod_function_value_1.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | let mod1 = include_test!("mod_function_value_1.smpl"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/mod_function_value_2.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | let mod2 = include_test!("mod_function_value_2.smpl"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/deny_unchecked_params_builtin_function_struct.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | let mod1 = include_test!("deny_unchecked_params_builtin_function_struct.smpl"); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/anonymous_fn_invalid.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | let mod1 = include_test!("anonymous_fn_invalid.smpl"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/annotate_struct.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | let input = include_test!("annotate_struct.smpl"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/annotate_fn.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | let input = include_test!("annotate_fn.smpl"); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/opaque_struct.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | let input = include_test!("opaque_struct.smpl"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/opaque_type_invariance.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 456 | let mod1 = include_test!("opaque_type_invariance.smpl"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/opaque_type_field_invariance.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | let mod1 = include_test!("opaque_type_field_invariance.smpl"); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/generic_struct_init_type_arg_error.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | let mod1 = include_test!("generic_struct_init_type_arg_error.smpl"); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/generic_fn_binding_invalid_type.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | let mod1 = include_test!("generic_fn_binding_invalid_type.smpl"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/generic_width_constraint_invalid_bind.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | let mod1 = include_test!("generic_width_constraint_invalid_bind.smpl"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/generic_width_constraint_invalid_return.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 496 | let mod1 = include_test!("generic_width_constraint_invalid_return.smpl"); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/generic_width_constraint_invalid_field_bind.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 504 | let mod1 = include_test!("generic_width_constraint_invalid_field_bind.smpl"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/generic_invalid_transitive_width_constraint.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | let mod1 = include_test!("generic_invalid_transitive_width_constraint.smpl"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/width_constraint_conflicting.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 520 | let mod1 = include_test!("width_constraint_conflicting.smpl"); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/generic_unknown_type_parameter.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | let mod1 = include_test!("generic_unknown_type_parameter.smpl"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/anonymous_struct_init_invalid_type.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | let mod1 = include_test!("anonymous_struct_init_invalid_type.smpl"); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/invalid_fn_subtyping_wider.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 544 | let mod1 = include_test!("invalid_fn_subtyping_wider.smpl"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/invalid_fn_subtyping_nominal.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 552 | let mod1 = include_test!("invalid_fn_subtyping_nominal.smpl"); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/bind_fn_type_app_mod_access_1.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 560 | let mod1 = include_test!("bind_fn_type_app_mod_access_1.smpl"); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/bind_fn_type_app_mod_access_2.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 561 | let mod2 = include_test!("bind_fn_type_app_mod_access_2.smpl"); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/bind_fn_type_app_mod_access_stmt_1.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 570 | let mod1 = include_test!("bind_fn_type_app_mod_access_stmt_1.smpl"); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/bind_fn_type_app_mod_access_stmt_2.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 571 | let mod2 = include_test!("bind_fn_type_app_mod_access_stmt_2.smpl"); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/fn_multi_type_param.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 580 | let mod1 = include_test!("fn_multi_type_param.smpl"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/fn_multi_type_param_err.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 588 | let mod1 = include_test!("fn_multi_type_param_err.smpl"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/invalid_type_arg.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 606 | let mod1 = include_test!("invalid_type_arg.smpl"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/top_level_name_collision_struct.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 640 | let mod1 = include_test!("top_level_name_collision_struct.smpl"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/top_level_name_collision_struct_opaque.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 658 | let mod1 = include_test!("top_level_name_collision_struct_opaque.smpl"); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/top_level_name_collision_opaque.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 676 | let mod1 = include_test!("top_level_name_collision_opaque.smpl"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/top_level_name_collision_fn.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 694 | let mod1 = include_test!("top_level_name_collision_fn.smpl"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/top_level_name_collision_fn_builtin.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 712 | let mod1 = include_test!("top_level_name_collision_fn_builtin.smpl"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/../../../semantic-tests/top_level_name_collision_builtin_fn.smpl`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/semantic_ck.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | include_str!(concat!("../../../semantic-tests/", $file_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 730 | let mod1 = include_test!("top_level_name_collision_builtin_fn.smpl"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/ast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::feature::*` [INFO] [stdout] --> src/analysis/semantic_ck.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::feature::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell` and `RefCell` [INFO] [stdout] --> src/analysis/semantic_data.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/analysis/semantic_data.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnonymousFn as AstAnonymousFn` [INFO] [stdout] --> src/analysis/semantic_data.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::ast::{AnonymousFn as AstAnonymousFn, ModulePath as AstModulePath}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::type_checker::TypingContext` [INFO] [stdout] --> src/analysis/semantic_data.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use super::type_checker::TypingContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnalysisUniverse` and `GlobalData` [INFO] [stdout] --> src/analysis/semantic_data.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | use super::analysis_context::{GlobalData, AnalysisContext, AnalysisUniverse}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::span::Span` [INFO] [stdout] --> src/analysis/analysis_helpers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::span::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FieldId`, `FnId`, `Program`, `TypeId`, `TypeParamId`, and `TypeVarId` [INFO] [stdout] --> src/analysis/analysis_helpers.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | FieldId, FnId, Program, TypeId, TypeParamId, TypeVarId, [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeParams` [INFO] [stdout] --> src/analysis/analysis_helpers.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | use super::type_cons::{TypeCons, TypeParams}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReservedAnonymousFn` [INFO] [stdout] --> src/analysis/analysis_helpers.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | ReservedAnonymousFn, AnalyzableFn [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::analysis_context::AnalyzableAnonymousFn` [INFO] [stdout] --> src/analysis/analysis_helpers.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use super::analysis_context::AnalyzableAnonymousFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Universe` [INFO] [stdout] --> src/analysis/expr_flow.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use super::semantic_data::{TmpId, Universe}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::semantic_data::*` [INFO] [stdout] --> src/analysis/expr_flow.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | use super::super::semantic_data::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::span::Span` [INFO] [stdout] --> src/analysis/mod_resolver.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::span::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_data::*` [INFO] [stdout] --> src/analysis/return_trace.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::semantic_data::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::analysis_helpers` [INFO] [stdout] --> src/analysis/type_checker.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::analysis_helpers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::type_cons_gen` [INFO] [stdout] --> src/analysis/type_checker.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use super::type_cons_gen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `expr_type` [INFO] [stdout] --> src/analysis/type_checker.rs:1312:14 [INFO] [stdout] | [INFO] [stdout] 1312 | macro_rules! expr_type { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Program` [INFO] [stdout] --> src/analysis/type_cons_gen.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | FieldId, FnId, Program, TypeId, TypeParamId, TypeVarId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::*` [INFO] [stdout] --> src/analysis/analysis_context.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModulePath as AstModulePath` [INFO] [stdout] --> src/analysis/analysis_context.rs:5:65 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{Ident, AstNode, AnonymousFn as AstAnonymousFn, ModulePath as AstModulePath}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::control_flow::CFG` [INFO] [stdout] --> src/analysis/analysis_context.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::control_flow::CFG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Program` [INFO] [stdout] --> src/analysis/analysis_context.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | FieldId, FnId, Program, TypeId, TypeParamId, TypeVarId, LoopId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | $(v.push(ident!($segment));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/analysis/analysis_context.rs:243:42 [INFO] [stdout] | [INFO] [stdout] 243 | (global_data.unit_type_id(), internal_module_path!(UNIT_TYPE), TypeCons::Unit); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `internal_module_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | $(v.push(ident!($segment));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/analysis/analysis_context.rs:245:41 [INFO] [stdout] | [INFO] [stdout] 245 | (global_data.int_type_id(), internal_module_path!(INT_TYPE), TypeCons::Int); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `internal_module_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | $(v.push(ident!($segment));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/analysis/analysis_context.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | internal_module_path!(FLOAT_TYPE), [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `internal_module_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | $(v.push(ident!($segment));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/analysis/analysis_context.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | internal_module_path!(STRING_TYPE), [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `internal_module_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | $(v.push(ident!($segment));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/analysis/analysis_context.rs:257:42 [INFO] [stdout] | [INFO] [stdout] 257 | (global_data.bool_type_id(), internal_module_path!(BOOL_TYPE), TypeCons::Bool); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `internal_module_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AstNode` and `WidthConstraint` [INFO] [stdout] --> src/analysis/type_cons.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::{AstNode, Ident, WidthConstraint}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnalysisError`, `ApplicationError`, and `TypeError as ATypeError` [INFO] [stdout] --> src/analysis/type_cons.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use super::error::{AnalysisError, ApplicationError, TypeError as ATypeError}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `nill_check` [INFO] [stdout] --> src/analysis/type_cons.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | macro_rules! nill_check { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeParamId` [INFO] [stdout] --> src/analysis/abstract_type.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | use super::semantic_data::{FieldId, TypeId, TypeParamId, TypeVarId}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockyPassenger` and `BlockyTraverser` [INFO] [stdout] --> src/analysis/mod.rs:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) use self::blocky_linear_cfg_traversal::{BlockyPassenger, BlockyTraverser}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:91:51 [INFO] [stdout] | [INFO] [stdout] 91 | $(v.push(dummy_node!(ident!($segment)));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/parser_tests.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | struct_name: type_path!("NAME"), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `type_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:91:51 [INFO] [stdout] | [INFO] [stdout] 91 | $(v.push(dummy_node!(ident!($segment)));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/parser_tests.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | struct_name: type_path!("NAME"), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `type_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:91:51 [INFO] [stdout] | [INFO] [stdout] 91 | $(v.push(dummy_node!(ident!($segment)));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/parser_tests.rs:269:59 [INFO] [stdout] | [INFO] [stdout] 269 | assert_eq!(*anno.data(), TypeAnnotation::Path(type_path!("int"))); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `type_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:91:51 [INFO] [stdout] | [INFO] [stdout] 91 | $(v.push(dummy_node!(ident!($segment)));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/parser_tests.rs:286:42 [INFO] [stdout] | [INFO] [stdout] 286 | (dummy_node!(ident!("arg")), type_path!("i32")), [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `type_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:91:51 [INFO] [stdout] | [INFO] [stdout] 91 | $(v.push(dummy_node!(ident!($segment)));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/parser_tests.rs:287:43 [INFO] [stdout] | [INFO] [stdout] 287 | (dummy_node!(ident!("test")), type_path!("float")), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `type_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:91:51 [INFO] [stdout] | [INFO] [stdout] 91 | $(v.push(dummy_node!(ident!($segment)));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/parser_tests.rs:288:43 [INFO] [stdout] | [INFO] [stdout] 288 | (dummy_node!(ident!("next")), type_path!("String")), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `type_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:91:51 [INFO] [stdout] | [INFO] [stdout] 91 | $(v.push(dummy_node!(ident!($segment)));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/parser_tests.rs:338:34 [INFO] [stdout] | [INFO] [stdout] 338 | TypeAnnotation::Path(type_path!("Type1")) [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `type_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast_macros.rs:91:51 [INFO] [stdout] | [INFO] [stdout] 91 | $(v.push(dummy_node!(ident!($segment)));)*; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/parser_tests.rs:342:34 [INFO] [stdout] | [INFO] [stdout] 342 | TypeAnnotation::Path(type_path!("Type2")) [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `type_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `previous` is never read [INFO] [stdout] --> src/analysis/control_flow.rs:623:60 [INFO] [stdout] | [INFO] [stdout] 623 | ... append_node_index!(self, head, previous, loop_head); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `previous` is never read [INFO] [stdout] --> src/analysis/control_flow.rs:859:33 [INFO] [stdout] | [INFO] [stdout] 859 | ... previous, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/analysis/control_flow.rs:1043:13 [INFO] [stdout] | [INFO] [stdout] 1043 | let mut universe = AnalysisUniverse::std(&mut global_data); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/analysis/control_flow.rs:1126:13 [INFO] [stdout] | [INFO] [stdout] 1126 | let mut universe = AnalysisUniverse::std(&mut global_data); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/analysis/control_flow.rs:1294:13 [INFO] [stdout] | [INFO] [stdout] 1294 | let mut universe = AnalysisUniverse::std(&mut global_data); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/analysis/control_flow.rs:1521:13 [INFO] [stdout] | [INFO] [stdout] 1521 | let mut universe = AnalysisUniverse::std(&mut global_data); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `universe` [INFO] [stdout] --> src/analysis/expr_flow.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | let mut universe = AnalysisUniverse::std(&mut global_data); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_universe` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/analysis/expr_flow.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | let mut universe = AnalysisUniverse::std(&mut global_data); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/analysis/mod_resolver.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | mut reserved_anon_fns: AnonStorage, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/analysis/mod_resolver.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | let mut anon_fns_to_resolve = unresolved_anon_fns.data(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/analysis/mod_resolver.rs:437:18 [INFO] [stdout] | [INFO] [stdout] 437 | let (mut nested_unresolved_anon_fns, cfg) = CFG::generate( [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/analysis/type_checker.rs:1285:29 [INFO] [stdout] | [INFO] [stdout] 1285 | ... data, [INFO] [stdout] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/analysis/type_cons_gen.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | metadata: &mut Metadata, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fn_id` [INFO] [stdout] --> src/analysis/type_cons_gen.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | fn_id: FnId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fn_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/analysis/type_cons_gen.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | metadata: &mut Metadata, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fn_id` [INFO] [stdout] --> src/analysis/type_cons_gen.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | fn_id: FnId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fn_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `universe` [INFO] [stdout] --> src/analysis/type_cons_gen.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | universe: &AnalysisUniverse, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_universe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_equality.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_equality.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:151:27 [INFO] [stdout] | [INFO] [stdout] 151 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:206:27 [INFO] [stdout] | [INFO] [stdout] 206 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_equality.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | (TypeVar(ref synth_span, synth_id), TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:269:57 [INFO] [stdout] | [INFO] [stdout] 269 | (TypeVar(ref synth_span, synth_id), TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_equality.rs:330:27 [INFO] [stdout] | [INFO] [stdout] 330 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_equality.rs:335:27 [INFO] [stdout] | [INFO] [stdout] 335 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:189:27 [INFO] [stdout] | [INFO] [stdout] 189 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:208:27 [INFO] [stdout] | [INFO] [stdout] 208 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:263:27 [INFO] [stdout] | [INFO] [stdout] 263 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:337:22 [INFO] [stdout] | [INFO] [stdout] 337 | (TypeVar(ref synth_span, synth_id), TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:337:57 [INFO] [stdout] | [INFO] [stdout] 337 | (TypeVar(ref synth_span, synth_id), TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | (TypeVar(ref synth_span, synth_id), constraint) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:373:33 [INFO] [stdout] | [INFO] [stdout] 373 | (synthesis, TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:466:27 [INFO] [stdout] | [INFO] [stdout] 466 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:470:27 [INFO] [stdout] | [INFO] [stdout] 470 | data: ref constraint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:514:27 [INFO] [stdout] | [INFO] [stdout] 514 | data: ref synth_span, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:552:22 [INFO] [stdout] | [INFO] [stdout] 552 | (TypeVar(ref synth_span, synth_id), TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:552:57 [INFO] [stdout] | [INFO] [stdout] 552 | (TypeVar(ref synth_span, synth_id), TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `synth_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:582:22 [INFO] [stdout] | [INFO] [stdout] 582 | (TypeVar(ref synth_span, synth_id), _) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_synth_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint_span` [INFO] [stdout] --> src/analysis/type_resolver.rs:605:25 [INFO] [stdout] | [INFO] [stdout] 605 | (_, TypeVar(ref constraint_span, constraint_id)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/analysis/abstract_type.rs:1297:27 [INFO] [stdout] | [INFO] [stdout] 1297 | data: ref span, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/program.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | f => Some(CompilableModule::to_compilable_fn(fn_id.clone(), func)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end` is never read [INFO] [stdout] --> src/parser/parser.rs:1797:13 [INFO] [stdout] | [INFO] [stdout] 1797 | let mut end = ifloc.clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end` is never read [INFO] [stdout] --> src/parser/parser.rs:1911:13 [INFO] [stdout] | [INFO] [stdout] 1911 | let mut end = returnloc.clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smpl` (lib test) due to 94 previous errors; 93 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7a12a28db33a9c64f1e0ff0d4e10c0f028bcd51543f34b1da848cb6db97be47c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a12a28db33a9c64f1e0ff0d4e10c0f028bcd51543f34b1da848cb6db97be47c", kill_on_drop: false }` [INFO] [stdout] 7a12a28db33a9c64f1e0ff0d4e10c0f028bcd51543f34b1da848cb6db97be47c