Oct 12 20:43:40.822 INFO checking hgzimmerman/HLWNPA against try#4021bd0b3c5815b087d6db10ce461e7e4854ade7 for pr-54977 Oct 12 20:43:40.822 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-54977/worker-5/try#4021bd0b3c5815b087d6db10ce461e7e4854ade7:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-5/pr-54977/try#4021bd0b3c5815b087d6db10ce461e7e4854ade7:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +4021bd0b3c5815b087d6db10ce461e7e4854ade7-alt check --frozen --all --all-targets" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 12 20:43:41.087 INFO blam! de7c0b9ff004db1ad2cbf3c5b0a011d90ece04f0d3f4bd7a020dfec7a8e26c4e Oct 12 20:43:41.091 INFO running `"docker" "start" "-a" "de7c0b9ff004db1ad2cbf3c5b0a011d90ece04f0d3f4bd7a020dfec7a8e26c4e"` Oct 12 20:43:42.359 INFO kablam! usermod: no changes Oct 12 20:43:42.481 INFO kablam! Checking memchr v1.0.1 Oct 12 20:43:42.481 INFO kablam! Checking uuid v0.4.0 Oct 12 20:43:42.985 INFO kablam! Checking nom v3.2.0 Oct 12 20:43:45.345 INFO kablam! Checking hlwnpa v0.1.1 (/source) Oct 12 20:43:46.836 INFO kablam! warning: unused import: `ast` Oct 12 20:43:46.836 INFO kablam! --> src/ast/type_info.rs:346:13 Oct 12 20:43:46.836 INFO kablam! | Oct 12 20:43:46.836 INFO kablam! 346 | use ast; Oct 12 20:43:46.836 INFO kablam! | ^^^ Oct 12 20:43:46.836 INFO kablam! | Oct 12 20:43:46.836 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 12 20:43:46.836 INFO kablam! Oct 12 20:43:46.836 INFO kablam! warning: unused import: `lang_result::LangError` Oct 12 20:43:46.836 INFO kablam! --> src/ast/mutability.rs:2:5 Oct 12 20:43:46.836 INFO kablam! | Oct 12 20:43:46.836 INFO kablam! 2 | use lang_result::LangError; Oct 12 20:43:46.836 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 12 20:43:46.836 INFO kablam! Oct 12 20:43:46.864 INFO kablam! warning: unused import: `std::collections::HashMap` Oct 12 20:43:46.864 INFO kablam! --> src/repl.rs:6:5 Oct 12 20:43:46.864 INFO kablam! | Oct 12 20:43:46.864 INFO kablam! 6 | use std::collections::HashMap; Oct 12 20:43:46.864 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 20:43:46.864 INFO kablam! Oct 12 20:43:46.864 INFO kablam! warning: unused import: `std::rc::Rc` Oct 12 20:43:46.864 INFO kablam! --> src/repl.rs:12:5 Oct 12 20:43:46.864 INFO kablam! | Oct 12 20:43:46.864 INFO kablam! 12 | use std::rc::Rc; Oct 12 20:43:46.864 INFO kablam! | ^^^^^^^^^^^ Oct 12 20:43:46.864 INFO kablam! Oct 12 20:43:46.924 INFO kablam! warning: unused import: `lang_result::LangError` Oct 12 20:43:46.924 INFO kablam! --> src/ast/mutability.rs:2:5 Oct 12 20:43:46.924 INFO kablam! | Oct 12 20:43:46.924 INFO kablam! 2 | use lang_result::LangError; Oct 12 20:43:46.924 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 12 20:43:46.924 INFO kablam! | Oct 12 20:43:46.924 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 12 20:43:46.924 INFO kablam! Oct 12 20:43:46.944 INFO kablam! warning: unused import: `std::collections::HashMap` Oct 12 20:43:46.944 INFO kablam! --> src/repl.rs:6:5 Oct 12 20:43:46.944 INFO kablam! | Oct 12 20:43:46.944 INFO kablam! 6 | use std::collections::HashMap; Oct 12 20:43:46.944 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 20:43:46.944 INFO kablam! Oct 12 20:43:46.944 INFO kablam! warning: unused import: `std::rc::Rc` Oct 12 20:43:46.944 INFO kablam! --> src/repl.rs:12:5 Oct 12 20:43:46.944 INFO kablam! | Oct 12 20:43:46.944 INFO kablam! 12 | use std::rc::Rc; Oct 12 20:43:46.945 INFO kablam! | ^^^^^^^^^^^ Oct 12 20:43:46.945 INFO kablam! Oct 12 20:43:48.964 INFO kablam! warning: unused variable: `identifier` Oct 12 20:43:48.964 INFO kablam! --> src/ast/abstract_syntax_tree.rs:559:36 Oct 12 20:43:48.964 INFO kablam! | Oct 12 20:43:48.964 INFO kablam! 559 | Datatype::StructType { ref identifier, ref type_information } => { Oct 12 20:43:48.964 INFO kablam! | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` Oct 12 20:43:48.964 INFO kablam! | Oct 12 20:43:48.964 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 20:43:48.964 INFO kablam! Oct 12 20:43:48.964 INFO kablam! warning: unused variable: `type_info` Oct 12 20:43:48.964 INFO kablam! --> src/ast/abstract_syntax_tree.rs:685:49 Oct 12 20:43:48.964 INFO kablam! | Oct 12 20:43:48.964 INFO kablam! 685 | ref type_info Oct 12 20:43:48.964 INFO kablam! | ^^^^^^^^^ help: try ignoring the field: `type_info: _` Oct 12 20:43:48.964 INFO kablam! Oct 12 20:43:48.964 INFO kablam! warning: unused variable: `identifier` Oct 12 20:43:48.964 INFO kablam! --> src/ast/abstract_syntax_tree.rs:753:71 Oct 12 20:43:48.965 INFO kablam! | Oct 12 20:43:48.965 INFO kablam! 753 | if let &Datatype::StructType{ ref identifier, ref type_information } = datatype { Oct 12 20:43:48.965 INFO kablam! | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` Oct 12 20:43:48.965 INFO kablam! Oct 12 20:43:48.976 INFO kablam! warning: unused variable: `identifier` Oct 12 20:43:48.976 INFO kablam! --> src/ast/type_info.rs:54:75 Oct 12 20:43:48.976 INFO kablam! | Oct 12 20:43:48.976 INFO kablam! 54 | if let SExpression::TypeAssignment{ref identifier, ref type_info} = *s_expression { Oct 12 20:43:48.976 INFO kablam! | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` Oct 12 20:43:48.976 INFO kablam! Oct 12 20:43:48.976 INFO kablam! warning: unused variable: `type_information` Oct 12 20:43:48.976 INFO kablam! --> src/ast/type_info.rs:77:47 Oct 12 20:43:48.977 INFO kablam! | Oct 12 20:43:48.977 INFO kablam! 77 | Datatype::StructType{ identifier, type_information} => TypeInfo::StructType{ identifier: identifier }, Oct 12 20:43:48.977 INFO kablam! | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `type_information: _` Oct 12 20:43:48.977 INFO kablam! Oct 12 20:43:48.977 INFO kablam! warning: unused variable: `parameters` Oct 12 20:43:48.977 INFO kablam! --> src/ast/type_info.rs:129:36 Oct 12 20:43:48.977 INFO kablam! | Oct 12 20:43:48.977 INFO kablam! 129 | TypeInfo::Function{ref parameters, ref return_type} => { Oct 12 20:43:48.977 INFO kablam! | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` Oct 12 20:43:48.977 INFO kablam! Oct 12 20:43:48.977 INFO kablam! warning: unused variable: `return_type` Oct 12 20:43:48.977 INFO kablam! --> src/ast/type_info.rs:129:52 Oct 12 20:43:48.977 INFO kablam! | Oct 12 20:43:48.977 INFO kablam! 129 | TypeInfo::Function{ref parameters, ref return_type} => { Oct 12 20:43:48.977 INFO kablam! | ^^^^^^^^^^^ help: try ignoring the field: `return_type: _` Oct 12 20:43:48.977 INFO kablam! Oct 12 20:43:48.977 INFO kablam! warning: unused variable: `ast` Oct 12 20:43:48.977 INFO kablam! --> src/ast/mutability.rs:54:65 Oct 12 20:43:48.977 INFO kablam! | Oct 12 20:43:48.977 INFO kablam! 54 | SExpression::Assignment{ref identifier, ref ast} => { // a := 5 Oct 12 20:43:48.977 INFO kablam! | ^^^ help: try ignoring the field: `ast: _` Oct 12 20:43:48.977 INFO kablam! Oct 12 20:43:48.977 INFO kablam! warning: unused variable: `ast` Oct 12 20:43:48.977 INFO kablam! --> src/ast/mutability.rs:68:72 Oct 12 20:43:48.977 INFO kablam! | Oct 12 20:43:48.977 INFO kablam! 68 | SExpression::ConstDeclaration {ref identifier, ref ast} => { // const a := 5 Oct 12 20:43:48.977 INFO kablam! | ^^^ help: try ignoring the field: `ast: _` Oct 12 20:43:48.977 INFO kablam! Oct 12 20:43:48.977 INFO kablam! warning: unused variable: `ast` Oct 12 20:43:48.977 INFO kablam! --> src/ast/mutability.rs:80:76 Oct 12 20:43:48.977 INFO kablam! | Oct 12 20:43:48.977 INFO kablam! 80 | SExpression::VariableDeclaration { ref identifier, ref ast } => { Oct 12 20:43:48.977 INFO kablam! | ^^^ help: try ignoring the field: `ast: _` Oct 12 20:43:48.977 INFO kablam! Oct 12 20:43:48.977 INFO kablam! warning: unused variable: `function_datatype` Oct 12 20:43:48.977 INFO kablam! --> src/ast/mutability.rs:97:72 Oct 12 20:43:48.977 INFO kablam! | Oct 12 20:43:48.977 INFO kablam! 97 | SExpression::DeclareFunction { ref identifier, ref function_datatype } => { Oct 12 20:43:48.977 INFO kablam! | ^^^^^^^^^^^^^^^^^ help: try ignoring the field: `function_datatype: _` Oct 12 20:43:48.977 INFO kablam! Oct 12 20:43:48.977 INFO kablam! warning: unused variable: `struct_type_info` Oct 12 20:43:48.977 INFO kablam! --> src/ast/mutability.rs:109:74 Oct 12 20:43:48.977 INFO kablam! | Oct 12 20:43:48.977 INFO kablam! 109 | SExpression::StructDeclaration { ref identifier, ref struct_type_info} => { Oct 12 20:43:48.977 INFO kablam! | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `struct_type_info: _` Oct 12 20:43:48.977 INFO kablam! Oct 12 20:43:48.980 INFO kablam! warning: unused variable: `lhs_type` Oct 12 20:43:48.980 INFO kablam! --> src/ast/type_checking.rs:130:65 Oct 12 20:43:48.980 INFO kablam! | Oct 12 20:43:48.980 INFO kablam! 130 | Mutability::Mutable(ref lhs_type) => { Oct 12 20:43:48.980 INFO kablam! | ^^^^^^^^ help: consider using `_lhs_type` instead Oct 12 20:43:48.980 INFO kablam! Oct 12 20:43:48.980 INFO kablam! warning: unused variable: `lhs_mutability` Oct 12 20:43:48.980 INFO kablam! --> src/ast/type_checking.rs:166:38 Oct 12 20:43:48.980 INFO kablam! | Oct 12 20:43:48.980 INFO kablam! 166 | Some(lhs_mutability) => { Oct 12 20:43:48.980 INFO kablam! | ^^^^^^^^^^^^^^ help: consider using `_lhs_mutability` instead Oct 12 20:43:48.980 INFO kablam! Oct 12 20:43:48.980 INFO kablam! warning: unused variable: `lhs_mutability` Oct 12 20:43:48.980 INFO kablam! --> src/ast/type_checking.rs:197:38 Oct 12 20:43:48.980 INFO kablam! | Oct 12 20:43:48.980 INFO kablam! 197 | Some(lhs_mutability) => { Oct 12 20:43:48.980 INFO kablam! | ^^^^^^^^^^^^^^ help: consider using `_lhs_mutability` instead Oct 12 20:43:48.980 INFO kablam! Oct 12 20:43:48.980 INFO kablam! warning: unused variable: `lhs_mutability` Oct 12 20:43:48.981 INFO kablam! --> src/ast/type_checking.rs:226:38 Oct 12 20:43:48.981 INFO kablam! | Oct 12 20:43:48.981 INFO kablam! 226 | Some(lhs_mutability) => { Oct 12 20:43:48.981 INFO kablam! | ^^^^^^^^^^^^^^ help: consider using `_lhs_mutability` instead Oct 12 20:43:48.981 INFO kablam! Oct 12 20:43:48.981 INFO kablam! warning: unused variable: `index` Oct 12 20:43:48.981 INFO kablam! --> src/ast/type_checking.rs:308:29 Oct 12 20:43:48.981 INFO kablam! | Oct 12 20:43:48.981 INFO kablam! 308 | ref index Oct 12 20:43:48.981 INFO kablam! | ^^^^^ help: try ignoring the field: `index: _` Oct 12 20:43:48.981 INFO kablam! Oct 12 20:43:48.981 INFO kablam! warning: unused variable: `struct_datatype` Oct 12 20:43:48.981 INFO kablam! --> src/ast/type_checking.rs:386:29 Oct 12 20:43:48.981 INFO kablam! | Oct 12 20:43:48.981 INFO kablam! 386 | ref struct_datatype Oct 12 20:43:48.981 INFO kablam! | ^^^^^^^^^^^^^^^ help: try ignoring the field: `struct_datatype: _` Oct 12 20:43:48.981 INFO kablam! Oct 12 20:43:48.981 INFO kablam! warning: unused variable: `map` Oct 12 20:43:48.981 INFO kablam! --> src/ast/type_checking.rs:390:62 Oct 12 20:43:48.981 INFO kablam! | Oct 12 20:43:48.981 INFO kablam! 390 | if let TypeInfo::Struct{ ref map } = existing_struct_type.clone().get_type() { Oct 12 20:43:48.981 INFO kablam! | ^^^ help: try ignoring the field: `map: _` Oct 12 20:43:48.981 INFO kablam! Oct 12 20:43:48.981 INFO kablam! warning: unused variable: `identifier` Oct 12 20:43:48.981 INFO kablam! --> src/ast/type_checking.rs:399:29 Oct 12 20:43:48.981 INFO kablam! | Oct 12 20:43:48.981 INFO kablam! 399 | ref identifier, Oct 12 20:43:48.981 INFO kablam! | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` Oct 12 20:43:48.981 INFO kablam! Oct 12 20:43:48.981 INFO kablam! warning: unused variable: `field_identifier` Oct 12 20:43:48.981 INFO kablam! --> src/ast/type_checking.rs:400:29 Oct 12 20:43:48.981 INFO kablam! | Oct 12 20:43:48.981 INFO kablam! 400 | ref field_identifier Oct 12 20:43:48.981 INFO kablam! | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `field_identifier: _` Oct 12 20:43:48.981 INFO kablam! Oct 12 20:43:49.260 INFO kablam! warning: variable does not need to be mutable Oct 12 20:43:49.260 INFO kablam! --> src/ast/type_checking.rs:58:32 Oct 12 20:43:49.260 INFO kablam! | Oct 12 20:43:49.260 INFO kablam! 58 | pub fn check_types( &self, mut type_store: &mut TypeStore ) -> MutabilityResult { Oct 12 20:43:49.260 INFO kablam! | ----^^^^^^^^^^ Oct 12 20:43:49.260 INFO kablam! | | Oct 12 20:43:49.260 INFO kablam! | help: remove this `mut` Oct 12 20:43:49.260 INFO kablam! | Oct 12 20:43:49.260 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 12 20:43:49.260 INFO kablam! Oct 12 20:43:49.284 INFO kablam! warning: variable does not need to be mutable Oct 12 20:43:49.284 INFO kablam! --> src/repl.rs:78:82 Oct 12 20:43:49.284 INFO kablam! | Oct 12 20:43:49.284 INFO kablam! 78 | pub fn repl(mut map: &mut VariableStore, mut mutability_map: &mut MutabilityMap, mut type_store: &mut TypeStore) { Oct 12 20:43:49.284 INFO kablam! | ----^^^^^^^^^^ Oct 12 20:43:49.284 INFO kablam! | | Oct 12 20:43:49.284 INFO kablam! | help: remove this `mut` Oct 12 20:43:49.284 INFO kablam! Oct 12 20:43:49.572 INFO kablam! warning: variant is never constructed: `ExpectedDataTypeInfo` Oct 12 20:43:49.572 INFO kablam! --> src/ast/lang_result.rs:23:5 Oct 12 20:43:49.572 INFO kablam! | Oct 12 20:43:49.572 INFO kablam! 23 | ExpectedDataTypeInfo, Oct 12 20:43:49.572 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 12 20:43:49.572 INFO kablam! | Oct 12 20:43:49.572 INFO kablam! = note: #[warn(dead_code)] on by default Oct 12 20:43:49.572 INFO kablam! Oct 12 20:43:49.572 INFO kablam! warning: variant is never constructed: `InvalidSyntax` Oct 12 20:43:49.572 INFO kablam! --> src/ast/lang_result.rs:24:5 Oct 12 20:43:49.572 INFO kablam! | Oct 12 20:43:49.572 INFO kablam! 24 | InvalidSyntax, Oct 12 20:43:49.572 INFO kablam! | ^^^^^^^^^^^^^ Oct 12 20:43:49.572 INFO kablam! Oct 12 20:43:49.572 INFO kablam! warning: variant is never constructed: `InvalidSyntaxFailedToParse` Oct 12 20:43:49.572 INFO kablam! --> src/ast/lang_result.rs:25:5 Oct 12 20:43:49.573 INFO kablam! | Oct 12 20:43:49.573 INFO kablam! 25 | InvalidSyntaxFailedToParse, Oct 12 20:43:49.573 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 20:43:49.573 INFO kablam! Oct 12 20:43:49.573 INFO kablam! warning: type alias is never used: `MutabilityResult` Oct 12 20:43:49.573 INFO kablam! --> src/ast/mutability.rs:10:1 Oct 12 20:43:49.573 INFO kablam! | Oct 12 20:43:49.573 INFO kablam! 10 | pub type MutabilityResult = Result<(), MutabilityError>; Oct 12 20:43:49.573 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 20:43:49.573 INFO kablam! Oct 12 20:43:49.573 INFO kablam! warning: variant is never constructed: `VariableDoesNotExist` Oct 12 20:43:49.573 INFO kablam! --> src/ast/type_checking.rs:16:5 Oct 12 20:43:49.573 INFO kablam! | Oct 12 20:43:49.573 INFO kablam! 16 | VariableDoesNotExist, // Remove? Oct 12 20:43:49.573 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 12 20:43:49.573 INFO kablam! Oct 12 20:43:49.573 INFO kablam! warning: function is never used: `get_type_from_ast` Oct 12 20:43:49.573 INFO kablam! --> src/parser/type_signature.rs:57:1 Oct 12 20:43:49.573 INFO kablam! | Oct 12 20:43:49.573 INFO kablam! 57 | fn get_type_from_ast(ast: Ast) -> TypeInfo { Oct 12 20:43:49.573 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 20:43:49.573 INFO kablam! Oct 12 20:43:50.359 INFO kablam! warning: unused variable: `identifier` Oct 12 20:43:50.359 INFO kablam! --> src/ast/abstract_syntax_tree.rs:559:36 Oct 12 20:43:50.359 INFO kablam! | Oct 12 20:43:50.359 INFO kablam! 559 | Datatype::StructType { ref identifier, ref type_information } => { Oct 12 20:43:50.359 INFO kablam! | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` Oct 12 20:43:50.359 INFO kablam! | Oct 12 20:43:50.359 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 20:43:50.359 INFO kablam! Oct 12 20:43:50.359 INFO kablam! warning: unused variable: `type_info` Oct 12 20:43:50.359 INFO kablam! --> src/ast/abstract_syntax_tree.rs:685:49 Oct 12 20:43:50.359 INFO kablam! | Oct 12 20:43:50.359 INFO kablam! 685 | ref type_info Oct 12 20:43:50.359 INFO kablam! | ^^^^^^^^^ help: try ignoring the field: `type_info: _` Oct 12 20:43:50.359 INFO kablam! Oct 12 20:43:50.359 INFO kablam! warning: unused variable: `identifier` Oct 12 20:43:50.359 INFO kablam! --> src/ast/abstract_syntax_tree.rs:753:71 Oct 12 20:43:50.359 INFO kablam! | Oct 12 20:43:50.359 INFO kablam! 753 | if let &Datatype::StructType{ ref identifier, ref type_information } = datatype { Oct 12 20:43:50.359 INFO kablam! | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` Oct 12 20:43:50.359 INFO kablam! Oct 12 20:43:50.377 INFO kablam! warning: unused variable: `identifier` Oct 12 20:43:50.377 INFO kablam! --> src/ast/type_info.rs:54:75 Oct 12 20:43:50.377 INFO kablam! | Oct 12 20:43:50.377 INFO kablam! 54 | if let SExpression::TypeAssignment{ref identifier, ref type_info} = *s_expression { Oct 12 20:43:50.377 INFO kablam! | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` Oct 12 20:43:50.377 INFO kablam! Oct 12 20:43:50.377 INFO kablam! warning: unused variable: `type_information` Oct 12 20:43:50.377 INFO kablam! --> src/ast/type_info.rs:77:47 Oct 12 20:43:50.377 INFO kablam! | Oct 12 20:43:50.377 INFO kablam! 77 | Datatype::StructType{ identifier, type_information} => TypeInfo::StructType{ identifier: identifier }, Oct 12 20:43:50.377 INFO kablam! | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `type_information: _` Oct 12 20:43:50.377 INFO kablam! Oct 12 20:43:50.377 INFO kablam! warning: unused variable: `parameters` Oct 12 20:43:50.377 INFO kablam! --> src/ast/type_info.rs:129:36 Oct 12 20:43:50.377 INFO kablam! | Oct 12 20:43:50.377 INFO kablam! 129 | TypeInfo::Function{ref parameters, ref return_type} => { Oct 12 20:43:50.377 INFO kablam! | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` Oct 12 20:43:50.377 INFO kablam! Oct 12 20:43:50.382 INFO kablam! warning: unused variable: `return_type` Oct 12 20:43:50.382 INFO kablam! --> src/ast/type_info.rs:129:52 Oct 12 20:43:50.382 INFO kablam! | Oct 12 20:43:50.382 INFO kablam! 129 | TypeInfo::Function{ref parameters, ref return_type} => { Oct 12 20:43:50.382 INFO kablam! | ^^^^^^^^^^^ help: try ignoring the field: `return_type: _` Oct 12 20:43:50.382 INFO kablam! Oct 12 20:43:50.382 INFO kablam! warning: unused variable: `ast` Oct 12 20:43:50.382 INFO kablam! --> src/ast/mutability.rs:54:65 Oct 12 20:43:50.382 INFO kablam! | Oct 12 20:43:50.382 INFO kablam! 54 | SExpression::Assignment{ref identifier, ref ast} => { // a := 5 Oct 12 20:43:50.382 INFO kablam! | ^^^ help: try ignoring the field: `ast: _` Oct 12 20:43:50.382 INFO kablam! Oct 12 20:43:50.382 INFO kablam! warning: unused variable: `ast` Oct 12 20:43:50.382 INFO kablam! --> src/ast/mutability.rs:68:72 Oct 12 20:43:50.382 INFO kablam! | Oct 12 20:43:50.382 INFO kablam! 68 | SExpression::ConstDeclaration {ref identifier, ref ast} => { // const a := 5 Oct 12 20:43:50.382 INFO kablam! | ^^^ help: try ignoring the field: `ast: _` Oct 12 20:43:50.382 INFO kablam! Oct 12 20:43:50.382 INFO kablam! warning: unused variable: `ast` Oct 12 20:43:50.382 INFO kablam! --> src/ast/mutability.rs:80:76 Oct 12 20:43:50.382 INFO kablam! | Oct 12 20:43:50.382 INFO kablam! 80 | SExpression::VariableDeclaration { ref identifier, ref ast } => { Oct 12 20:43:50.382 INFO kablam! | ^^^ help: try ignoring the field: `ast: _` Oct 12 20:43:50.382 INFO kablam! Oct 12 20:43:50.382 INFO kablam! warning: unused variable: `function_datatype` Oct 12 20:43:50.382 INFO kablam! --> src/ast/mutability.rs:97:72 Oct 12 20:43:50.382 INFO kablam! | Oct 12 20:43:50.382 INFO kablam! 97 | SExpression::DeclareFunction { ref identifier, ref function_datatype } => { Oct 12 20:43:50.382 INFO kablam! | ^^^^^^^^^^^^^^^^^ help: try ignoring the field: `function_datatype: _` Oct 12 20:43:50.382 INFO kablam! Oct 12 20:43:50.382 INFO kablam! warning: unused variable: `struct_type_info` Oct 12 20:43:50.382 INFO kablam! --> src/ast/mutability.rs:109:74 Oct 12 20:43:50.382 INFO kablam! | Oct 12 20:43:50.382 INFO kablam! 109 | SExpression::StructDeclaration { ref identifier, ref struct_type_info} => { Oct 12 20:43:50.382 INFO kablam! | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `struct_type_info: _` Oct 12 20:43:50.382 INFO kablam! Oct 12 20:43:50.382 INFO kablam! warning: unused variable: `lhs_type` Oct 12 20:43:50.382 INFO kablam! --> src/ast/type_checking.rs:130:65 Oct 12 20:43:50.382 INFO kablam! | Oct 12 20:43:50.382 INFO kablam! 130 | Mutability::Mutable(ref lhs_type) => { Oct 12 20:43:50.382 INFO kablam! | ^^^^^^^^ help: consider using `_lhs_type` instead Oct 12 20:43:50.382 INFO kablam! Oct 12 20:43:50.382 INFO kablam! warning: unused variable: `lhs_mutability` Oct 12 20:43:50.382 INFO kablam! --> src/ast/type_checking.rs:166:38 Oct 12 20:43:50.382 INFO kablam! | Oct 12 20:43:50.382 INFO kablam! 166 | Some(lhs_mutability) => { Oct 12 20:43:50.382 INFO kablam! | ^^^^^^^^^^^^^^ help: consider using `_lhs_mutability` instead Oct 12 20:43:50.382 INFO kablam! Oct 12 20:43:50.382 INFO kablam! warning: unused variable: `lhs_mutability` Oct 12 20:43:50.382 INFO kablam! --> src/ast/type_checking.rs:197:38 Oct 12 20:43:50.382 INFO kablam! | Oct 12 20:43:50.382 INFO kablam! 197 | Some(lhs_mutability) => { Oct 12 20:43:50.382 INFO kablam! | ^^^^^^^^^^^^^^ help: consider using `_lhs_mutability` instead Oct 12 20:43:50.382 INFO kablam! Oct 12 20:43:50.382 INFO kablam! warning: unused variable: `lhs_mutability` Oct 12 20:43:50.383 INFO kablam! --> src/ast/type_checking.rs:226:38 Oct 12 20:43:50.383 INFO kablam! | Oct 12 20:43:50.383 INFO kablam! 226 | Some(lhs_mutability) => { Oct 12 20:43:50.383 INFO kablam! | ^^^^^^^^^^^^^^ help: consider using `_lhs_mutability` instead Oct 12 20:43:50.383 INFO kablam! Oct 12 20:43:50.383 INFO kablam! warning: unused variable: `index` Oct 12 20:43:50.383 INFO kablam! --> src/ast/type_checking.rs:308:29 Oct 12 20:43:50.383 INFO kablam! | Oct 12 20:43:50.383 INFO kablam! 308 | ref index Oct 12 20:43:50.383 INFO kablam! | ^^^^^ help: try ignoring the field: `index: _` Oct 12 20:43:50.383 INFO kablam! Oct 12 20:43:50.383 INFO kablam! warning: unused variable: `struct_datatype` Oct 12 20:43:50.383 INFO kablam! --> src/ast/type_checking.rs:386:29 Oct 12 20:43:50.383 INFO kablam! | Oct 12 20:43:50.383 INFO kablam! 386 | ref struct_datatype Oct 12 20:43:50.383 INFO kablam! | ^^^^^^^^^^^^^^^ help: try ignoring the field: `struct_datatype: _` Oct 12 20:43:50.383 INFO kablam! Oct 12 20:43:50.383 INFO kablam! warning: unused variable: `map` Oct 12 20:43:50.383 INFO kablam! --> src/ast/type_checking.rs:390:62 Oct 12 20:43:50.383 INFO kablam! | Oct 12 20:43:50.383 INFO kablam! 390 | if let TypeInfo::Struct{ ref map } = existing_struct_type.clone().get_type() { Oct 12 20:43:50.383 INFO kablam! | ^^^ help: try ignoring the field: `map: _` Oct 12 20:43:50.383 INFO kablam! Oct 12 20:43:50.383 INFO kablam! warning: unused variable: `identifier` Oct 12 20:43:50.383 INFO kablam! --> src/ast/type_checking.rs:399:29 Oct 12 20:43:50.383 INFO kablam! | Oct 12 20:43:50.383 INFO kablam! 399 | ref identifier, Oct 12 20:43:50.383 INFO kablam! | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` Oct 12 20:43:50.383 INFO kablam! Oct 12 20:43:50.383 INFO kablam! warning: unused variable: `field_identifier` Oct 12 20:43:50.383 INFO kablam! --> src/ast/type_checking.rs:400:29 Oct 12 20:43:50.383 INFO kablam! | Oct 12 20:43:50.383 INFO kablam! 400 | ref field_identifier Oct 12 20:43:50.383 INFO kablam! | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `field_identifier: _` Oct 12 20:43:50.383 INFO kablam! Oct 12 20:43:50.694 INFO kablam! warning: variable does not need to be mutable Oct 12 20:43:50.694 INFO kablam! --> src/ast/type_checking.rs:58:32 Oct 12 20:43:50.694 INFO kablam! | Oct 12 20:43:50.694 INFO kablam! 58 | pub fn check_types( &self, mut type_store: &mut TypeStore ) -> MutabilityResult { Oct 12 20:43:50.694 INFO kablam! | ----^^^^^^^^^^ Oct 12 20:43:50.694 INFO kablam! | | Oct 12 20:43:50.694 INFO kablam! | help: remove this `mut` Oct 12 20:43:50.694 INFO kablam! | Oct 12 20:43:50.694 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 12 20:43:50.694 INFO kablam! Oct 12 20:43:50.861 INFO kablam! warning: variable does not need to be mutable Oct 12 20:43:50.861 INFO kablam! --> src/repl.rs:78:82 Oct 12 20:43:50.861 INFO kablam! | Oct 12 20:43:50.861 INFO kablam! 78 | pub fn repl(mut map: &mut VariableStore, mut mutability_map: &mut MutabilityMap, mut type_store: &mut TypeStore) { Oct 12 20:43:50.861 INFO kablam! | ----^^^^^^^^^^ Oct 12 20:43:50.861 INFO kablam! | | Oct 12 20:43:50.861 INFO kablam! | help: remove this `mut` Oct 12 20:43:50.861 INFO kablam! Oct 12 20:43:51.193 INFO kablam! warning: variant is never constructed: `ExpectedDataTypeInfo` Oct 12 20:43:51.193 INFO kablam! --> src/ast/lang_result.rs:23:5 Oct 12 20:43:51.193 INFO kablam! | Oct 12 20:43:51.193 INFO kablam! 23 | ExpectedDataTypeInfo, Oct 12 20:43:51.193 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 12 20:43:51.193 INFO kablam! | Oct 12 20:43:51.193 INFO kablam! = note: #[warn(dead_code)] on by default Oct 12 20:43:51.193 INFO kablam! Oct 12 20:43:51.193 INFO kablam! warning: variant is never constructed: `InvalidSyntax` Oct 12 20:43:51.193 INFO kablam! --> src/ast/lang_result.rs:24:5 Oct 12 20:43:51.193 INFO kablam! | Oct 12 20:43:51.193 INFO kablam! 24 | InvalidSyntax, Oct 12 20:43:51.193 INFO kablam! | ^^^^^^^^^^^^^ Oct 12 20:43:51.193 INFO kablam! Oct 12 20:43:51.193 INFO kablam! warning: variant is never constructed: `InvalidSyntaxFailedToParse` Oct 12 20:43:51.193 INFO kablam! --> src/ast/lang_result.rs:25:5 Oct 12 20:43:51.193 INFO kablam! | Oct 12 20:43:51.193 INFO kablam! 25 | InvalidSyntaxFailedToParse, Oct 12 20:43:51.193 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 20:43:51.193 INFO kablam! Oct 12 20:43:51.193 INFO kablam! warning: type alias is never used: `MutabilityResult` Oct 12 20:43:51.193 INFO kablam! --> src/ast/mutability.rs:10:1 Oct 12 20:43:51.193 INFO kablam! | Oct 12 20:43:51.193 INFO kablam! 10 | pub type MutabilityResult = Result<(), MutabilityError>; Oct 12 20:43:51.193 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 20:43:51.193 INFO kablam! Oct 12 20:43:51.194 INFO kablam! warning: variant is never constructed: `VariableDoesNotExist` Oct 12 20:43:51.194 INFO kablam! --> src/ast/type_checking.rs:16:5 Oct 12 20:43:51.194 INFO kablam! | Oct 12 20:43:51.194 INFO kablam! 16 | VariableDoesNotExist, // Remove? Oct 12 20:43:51.194 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 12 20:43:51.194 INFO kablam! Oct 12 20:43:51.195 INFO kablam! warning: function is never used: `get_type_from_ast` Oct 12 20:43:51.195 INFO kablam! --> src/parser/type_signature.rs:57:1 Oct 12 20:43:51.195 INFO kablam! | Oct 12 20:43:51.195 INFO kablam! 57 | fn get_type_from_ast(ast: Ast) -> TypeInfo { Oct 12 20:43:51.195 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 20:43:51.195 INFO kablam! Oct 12 20:43:51.368 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 8.99s Oct 12 20:43:51.372 INFO kablam! su: No module specific data is present Oct 12 20:43:51.656 INFO running `"docker" "rm" "-f" "de7c0b9ff004db1ad2cbf3c5b0a011d90ece04f0d3f4bd7a020dfec7a8e26c4e"` Oct 12 20:43:51.956 INFO blam! de7c0b9ff004db1ad2cbf3c5b0a011d90ece04f0d3f4bd7a020dfec7a8e26c4e