[INFO] updating cached repository https://github.com/LouisJackman/sylan [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a04c61087a7fe04d6ca34f5f81b079aaada4b3ed [INFO] checking LouisJackman/sylan against master#339f574809bf8e4166b8de3cdbe7df181d37af3d for pr-71896 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLouisJackman%2Fsylan" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LouisJackman/sylan on toolchain 339f574809bf8e4166b8de3cdbe7df181d37af3d [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/LouisJackman/sylan [INFO] finished tweaking git repo https://github.com/LouisJackman/sylan [INFO] tweaked toml for git repo https://github.com/LouisJackman/sylan written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/LouisJackman/sylan already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 127040d7897bfa8e1958d1ada71336d537d7ba059462d279a811e1fdc7e88e75 [INFO] running `"docker" "start" "-a" "127040d7897bfa8e1958d1ada71336d537d7ba059462d279a811e1fdc7e88e75"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking sylan v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/parsing.rs:1114:9 [INFO] [stderr] | [INFO] [stderr] 1112 | let return_type = todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 1113 | [INFO] [stderr] 1114 | let block = self.parse_block()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/parsing.rs:1128:26 [INFO] [stderr] | [INFO] [stderr] 1127 | is_extern: todo!(), [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 1128 | is_operator: modifiers.contains(&Modifier::Operator), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/parsing.rs:1233:9 [INFO] [stderr] | [INFO] [stderr] 1231 | let is_extern = todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 1232 | [INFO] [stderr] 1233 | let value = self.parse_expression()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/parsing.rs:1114:9 [INFO] [stderr] | [INFO] [stderr] 1112 | let return_type = todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 1113 | [INFO] [stderr] 1114 | let block = self.parse_block()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/parsing.rs:1128:26 [INFO] [stderr] | [INFO] [stderr] 1127 | is_extern: todo!(), [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 1128 | is_operator: modifiers.contains(&Modifier::Operator), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/parsing.rs:1233:9 [INFO] [stderr] | [INFO] [stderr] 1231 | let is_extern = todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 1232 | [INFO] [stderr] 1233 | let value = self.parse_expression()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] [INFO] [stderr] warning: unused variable: `modifiers` [INFO] [stderr] --> src/parsing.rs:1095:13 [INFO] [stderr] | [INFO] [stderr] 1095 | let modifiers = self.parse_modifiers(&self.modifier_sets.function.clone())?; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/parsing.rs:1096:13 [INFO] [stderr] | [INFO] [stderr] 1096 | let name = self.parse_identifier()?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `type_parameters` [INFO] [stderr] --> src/parsing.rs:1098:13 [INFO] [stderr] | [INFO] [stderr] 1098 | let type_parameters = if self.next_is(&Token::Grouping(Grouping::OpenSquareBracket)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_parameters` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value_parameters` [INFO] [stderr] --> src/parsing.rs:1104:13 [INFO] [stderr] | [INFO] [stderr] 1104 | let value_parameters = self.parse_fun_value_parameter_list()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_parameters` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `return_type` [INFO] [stderr] --> src/parsing.rs:1112:13 [INFO] [stderr] | [INFO] [stderr] 1112 | let return_type = todo!(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block` [INFO] [stderr] --> src/parsing.rs:1114:13 [INFO] [stderr] | [INFO] [stderr] 1114 | let block = self.parse_block()?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `modifiers` [INFO] [stderr] --> src/parsing.rs:1125:13 [INFO] [stderr] | [INFO] [stderr] 1125 | let modifiers = FunModifiers { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `declaration_modifiers` [INFO] [stderr] --> src/parsing.rs:1190:13 [INFO] [stderr] | [INFO] [stderr] 1190 | let declaration_modifiers = self.parse_modifiers(&self.modifier_sets.binding.clone())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_declaration_modifiers` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `accessibility` [INFO] [stderr] --> src/parsing.rs:1213:13 [INFO] [stderr] | [INFO] [stderr] 1213 | let accessibility = self [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accessibility` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pattern` [INFO] [stderr] --> src/parsing.rs:1222:13 [INFO] [stderr] | [INFO] [stderr] 1222 | let pattern = self.parse_pattern()?; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `explicit_type_annotation` [INFO] [stderr] --> src/parsing.rs:1224:13 [INFO] [stderr] | [INFO] [stderr] 1224 | let explicit_type_annotation = if self.next_is(&Token::Binding(Binding::Assign)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_explicit_type_annotation` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `is_extern` [INFO] [stderr] --> src/parsing.rs:1231:13 [INFO] [stderr] | [INFO] [stderr] 1231 | let is_extern = todo!(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_extern` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `modifiers` [INFO] [stderr] --> src/parsing.rs:1095:13 [INFO] [stderr] | [INFO] [stderr] 1095 | let modifiers = self.parse_modifiers(&self.modifier_sets.function.clone())?; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/parsing.rs:1096:13 [INFO] [stderr] | [INFO] [stderr] 1096 | let name = self.parse_identifier()?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `type_parameters` [INFO] [stderr] --> src/parsing.rs:1098:13 [INFO] [stderr] | [INFO] [stderr] 1098 | let type_parameters = if self.next_is(&Token::Grouping(Grouping::OpenSquareBracket)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_parameters` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value_parameters` [INFO] [stderr] --> src/parsing.rs:1104:13 [INFO] [stderr] | [INFO] [stderr] 1104 | let value_parameters = self.parse_fun_value_parameter_list()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_parameters` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `return_type` [INFO] [stderr] --> src/parsing.rs:1112:13 [INFO] [stderr] | [INFO] [stderr] 1112 | let return_type = todo!(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block` [INFO] [stderr] --> src/parsing.rs:1114:13 [INFO] [stderr] | [INFO] [stderr] 1114 | let block = self.parse_block()?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `modifiers` [INFO] [stderr] --> src/parsing.rs:1125:13 [INFO] [stderr] | [INFO] [stderr] 1125 | let modifiers = FunModifiers { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `declaration_modifiers` [INFO] [stderr] --> src/parsing.rs:1190:13 [INFO] [stderr] | [INFO] [stderr] 1190 | let declaration_modifiers = self.parse_modifiers(&self.modifier_sets.binding.clone())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_declaration_modifiers` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `accessibility` [INFO] [stderr] --> src/parsing.rs:1213:13 [INFO] [stderr] | [INFO] [stderr] 1213 | let accessibility = self [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accessibility` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pattern` [INFO] [stderr] --> src/parsing.rs:1222:13 [INFO] [stderr] | [INFO] [stderr] 1222 | let pattern = self.parse_pattern()?; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `explicit_type_annotation` [INFO] [stderr] --> src/parsing.rs:1224:13 [INFO] [stderr] | [INFO] [stderr] 1224 | let explicit_type_annotation = if self.next_is(&Token::Binding(Binding::Assign)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_explicit_type_annotation` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `is_extern` [INFO] [stderr] --> src/parsing.rs:1231:13 [INFO] [stderr] | [INFO] [stderr] 1231 | let is_extern = todo!(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_extern` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Unexpected` [INFO] [stderr] --> src/lexing/lexer.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | Unexpected(char), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `unexpected` [INFO] [stderr] --> src/lexing/lexer.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 157 | fn unexpected(&self, unexpected: char) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Item` [INFO] [stderr] --> src/parsing/nodes.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | Item(Item), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Expression` [INFO] [stderr] --> src/parsing/nodes.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | Expression(Expression), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Var` [INFO] [stderr] --> src/parsing/nodes.rs:115:5 [INFO] [stderr] | [INFO] [stderr] 115 | Var(Binding), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Using` [INFO] [stderr] --> src/parsing/nodes.rs:129:5 [INFO] [stderr] | [INFO] [stderr] 129 | Using(Using), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NonDestructiveUpdate` [INFO] [stderr] --> src/parsing/nodes.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 131 | NonDestructiveUpdate(ExpressionCall), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IfVar` [INFO] [stderr] --> src/parsing/nodes.rs:164:5 [INFO] [stderr] | [INFO] [stderr] 164 | IfVar(IfVar), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `While` [INFO] [stderr] --> src/parsing/nodes.rs:167:5 [INFO] [stderr] | [INFO] [stderr] 167 | While(While), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `WhileVar` [INFO] [stderr] --> src/parsing/nodes.rs:168:5 [INFO] [stderr] | [INFO] [stderr] 168 | WhileVar(WhileVar), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Binding` [INFO] [stderr] --> src/parsing/nodes.rs:267:5 [INFO] [stderr] | [INFO] [stderr] 267 | Binding(Binding), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Type` [INFO] [stderr] --> src/parsing/nodes.rs:268:5 [INFO] [stderr] | [INFO] [stderr] 268 | Type(Type), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Package` [INFO] [stderr] --> src/parsing/nodes.rs:269:5 [INFO] [stderr] | [INFO] [stderr] 269 | Package(Package), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Enum` [INFO] [stderr] --> src/parsing/nodes.rs:332:5 [INFO] [stderr] | [INFO] [stderr] 332 | Enum(Enum), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Interface` [INFO] [stderr] --> src/parsing/nodes.rs:333:5 [INFO] [stderr] | [INFO] [stderr] 333 | Interface(Interface), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/parsing/nodes.rs:351:5 [INFO] [stderr] | [INFO] [stderr] 351 | pub fn new(symbol: Symbol) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Abstract` [INFO] [stderr] --> src/parsing/nodes.rs:401:5 [INFO] [stderr] | [INFO] [stderr] 401 | Abstract(AbstractMethod), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Concrete` [INFO] [stderr] --> src/parsing/nodes.rs:402:5 [INFO] [stderr] | [INFO] [stderr] 402 | Concrete(ConcreteMethod), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Bare` [INFO] [stderr] --> src/parsing/nodes.rs:469:5 [INFO] [stderr] | [INFO] [stderr] 469 | Bare(Symbol), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Call` [INFO] [stderr] --> src/parsing/nodes.rs:470:5 [INFO] [stderr] | [INFO] [stderr] 470 | Call(Call), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InferredEnumVariant` [INFO] [stderr] --> src/parsing/nodes.rs:570:5 [INFO] [stderr] | [INFO] [stderr] 570 | InferredEnumVariant(Identifier), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Lexer` [INFO] [stderr] --> src/parsing.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | Lexer(lexer::Error), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `new_void` [INFO] [stderr] --> src/parsing.rs:101:4 [INFO] [stderr] | [INFO] [stderr] 101 | fn new_void() -> TypeReference { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `expect_and_read` [INFO] [stderr] --> src/parsing.rs:164:5 [INFO] [stderr] | [INFO] [stderr] 164 | fn expect_and_read(&mut self, expected: Token) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse_interface_body` [INFO] [stderr] --> src/parsing.rs:919:5 [INFO] [stderr] | [INFO] [stderr] 919 | fn parse_interface_body(&mut self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse_lambda_result_type_annotation` [INFO] [stderr] --> src/parsing.rs:1068:5 [INFO] [stderr] | [INFO] [stderr] 1068 | fn parse_lambda_result_type_annotation(&mut self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse_field` [INFO] [stderr] --> src/parsing.rs:1210:5 [INFO] [stderr] | [INFO] [stderr] 1210 | fn parse_field(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `at_start` [INFO] [stderr] --> src/source/in_memory.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn at_start(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 43 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Unexpected` [INFO] [stderr] --> src/lexing/lexer.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | Unexpected(char), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `unexpected` [INFO] [stderr] --> src/lexing/lexer.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 157 | fn unexpected(&self, unexpected: char) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Item` [INFO] [stderr] --> src/parsing/nodes.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | Item(Item), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Expression` [INFO] [stderr] --> src/parsing/nodes.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | Expression(Expression), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Var` [INFO] [stderr] --> src/parsing/nodes.rs:115:5 [INFO] [stderr] | [INFO] [stderr] 115 | Var(Binding), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Using` [INFO] [stderr] --> src/parsing/nodes.rs:129:5 [INFO] [stderr] | [INFO] [stderr] 129 | Using(Using), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NonDestructiveUpdate` [INFO] [stderr] --> src/parsing/nodes.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 131 | NonDestructiveUpdate(ExpressionCall), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IfVar` [INFO] [stderr] --> src/parsing/nodes.rs:164:5 [INFO] [stderr] | [INFO] [stderr] 164 | IfVar(IfVar), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `While` [INFO] [stderr] --> src/parsing/nodes.rs:167:5 [INFO] [stderr] | [INFO] [stderr] 167 | While(While), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `WhileVar` [INFO] [stderr] --> src/parsing/nodes.rs:168:5 [INFO] [stderr] | [INFO] [stderr] 168 | WhileVar(WhileVar), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Binding` [INFO] [stderr] --> src/parsing/nodes.rs:267:5 [INFO] [stderr] | [INFO] [stderr] 267 | Binding(Binding), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Type` [INFO] [stderr] --> src/parsing/nodes.rs:268:5 [INFO] [stderr] | [INFO] [stderr] 268 | Type(Type), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Package` [INFO] [stderr] --> src/parsing/nodes.rs:269:5 [INFO] [stderr] | [INFO] [stderr] 269 | Package(Package), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Enum` [INFO] [stderr] --> src/parsing/nodes.rs:332:5 [INFO] [stderr] | [INFO] [stderr] 332 | Enum(Enum), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Interface` [INFO] [stderr] --> src/parsing/nodes.rs:333:5 [INFO] [stderr] | [INFO] [stderr] 333 | Interface(Interface), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/parsing/nodes.rs:351:5 [INFO] [stderr] | [INFO] [stderr] 351 | pub fn new(symbol: Symbol) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Abstract` [INFO] [stderr] --> src/parsing/nodes.rs:401:5 [INFO] [stderr] | [INFO] [stderr] 401 | Abstract(AbstractMethod), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Concrete` [INFO] [stderr] --> src/parsing/nodes.rs:402:5 [INFO] [stderr] | [INFO] [stderr] 402 | Concrete(ConcreteMethod), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Bare` [INFO] [stderr] --> src/parsing/nodes.rs:469:5 [INFO] [stderr] | [INFO] [stderr] 469 | Bare(Symbol), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Call` [INFO] [stderr] --> src/parsing/nodes.rs:470:5 [INFO] [stderr] | [INFO] [stderr] 470 | Call(Call), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InferredEnumVariant` [INFO] [stderr] --> src/parsing/nodes.rs:570:5 [INFO] [stderr] | [INFO] [stderr] 570 | InferredEnumVariant(Identifier), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Lexer` [INFO] [stderr] --> src/parsing.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | Lexer(lexer::Error), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `new_void` [INFO] [stderr] --> src/parsing.rs:101:4 [INFO] [stderr] | [INFO] [stderr] 101 | fn new_void() -> TypeReference { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `expect_and_read` [INFO] [stderr] --> src/parsing.rs:164:5 [INFO] [stderr] | [INFO] [stderr] 164 | fn expect_and_read(&mut self, expected: Token) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse_interface_body` [INFO] [stderr] --> src/parsing.rs:919:5 [INFO] [stderr] | [INFO] [stderr] 919 | fn parse_interface_body(&mut self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse_lambda_result_type_annotation` [INFO] [stderr] --> src/parsing.rs:1068:5 [INFO] [stderr] | [INFO] [stderr] 1068 | fn parse_lambda_result_type_annotation(&mut self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse_field` [INFO] [stderr] --> src/parsing.rs:1210:5 [INFO] [stderr] | [INFO] [stderr] 1210 | fn parse_field(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `at_start` [INFO] [stderr] --> src/source/in_memory.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn at_start(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `character_position` [INFO] [stderr] --> src/source.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | fn character_position(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 44 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.68s [INFO] running `"docker" "inspect" "127040d7897bfa8e1958d1ada71336d537d7ba059462d279a811e1fdc7e88e75"` [INFO] running `"docker" "rm" "-f" "127040d7897bfa8e1958d1ada71336d537d7ba059462d279a811e1fdc7e88e75"` [INFO] [stdout] 127040d7897bfa8e1958d1ada71336d537d7ba059462d279a811e1fdc7e88e75