[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] [stderr] From https://github.com/LouisJackman/sylan [INFO] [stderr] dd135c3..12aa589 master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 12aa5897234fe9f040acf3f8070b4a74248a9ca3 [INFO] checking LouisJackman/sylan against try#89c05fd3cc6404a13e1bd71450c6132a2755fa4b for pr-69741 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLouisJackman%2Fsylan" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LouisJackman/sylan on toolchain 89c05fd3cc6404a13e1bd71450c6132a2755fa4b [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "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-5/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" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "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] 7194d358fdb8082bf010569d8c518904119bcefecd629afd3c4a3d6e71c2955e [INFO] running `"docker" "start" "-a" "7194d358fdb8082bf010569d8c518904119bcefecd629afd3c4a3d6e71c2955e"` [INFO] [stderr] Checking sylan v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused imports: `BranchingAndJumping`, `DeclarationHead`, `Modifier`, `ModuleDefinitions` [INFO] [stderr] --> src/lexing/lexer.rs:15:14 [INFO] [stderr] | [INFO] [stderr] 15 | Binding, BranchingAndJumping, DeclarationHead, Grouping, Literal, Modifier, ModuleDefinitions, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `PostfixOperator` [INFO] [stderr] --> src/parsing/mod.rs:53:65 [INFO] [stderr] | [INFO] [stderr] 53 | self, Accessibility, Identifier, OverloadableInfixOperator, PostfixOperator, PseudoIdentifier, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Class`, `Fun`, `Node`, `Operator`, `Type` [INFO] [stderr] --> src/parsing/mod.rs:64:22 [INFO] [stderr] | [INFO] [stderr] 64 | Case, CaseMatch, Class, Code, CompositePattern, Cond, CondCase, Expression, Extension, For, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 65 | Fun, FunModifiers, If, Item, Lambda, LambdaSignature, MainPackage, Method, Node, Operator, [INFO] [stderr] | ^^^ ^^^^ ^^^^^^^^ [INFO] [stderr] 66 | Package, PackageFile, Pattern, PatternGetter, PatternItem, Scope, Select, Switch, Throw, [INFO] [stderr] 67 | Timeout, Type, TypeParameter, TypeSymbolLookup, ValueParameter, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Token` [INFO] [stderr] --> src/parsing/modifier_sets.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | Token, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `PseudoIdentifier` [INFO] [stderr] --> src/parsing/nodes.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | PseudoIdentifier, Shebang, SyDoc, SylanString, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `PostfixOperator` [INFO] [stderr] --> src/parsing/mod.rs:53:65 [INFO] [stderr] | [INFO] [stderr] 53 | self, Accessibility, Identifier, OverloadableInfixOperator, PostfixOperator, PseudoIdentifier, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Class`, `Fun`, `Node`, `Operator`, `Type` [INFO] [stderr] --> src/parsing/mod.rs:64:22 [INFO] [stderr] | [INFO] [stderr] 64 | Case, CaseMatch, Class, Code, CompositePattern, Cond, CondCase, Expression, Extension, For, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 65 | Fun, FunModifiers, If, Item, Lambda, LambdaSignature, MainPackage, Method, Node, Operator, [INFO] [stderr] | ^^^ ^^^^ ^^^^^^^^ [INFO] [stderr] 66 | Package, PackageFile, Pattern, PatternGetter, PatternItem, Scope, Select, Switch, Throw, [INFO] [stderr] 67 | Timeout, Type, TypeParameter, TypeSymbolLookup, ValueParameter, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Token` [INFO] [stderr] --> src/parsing/modifier_sets.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | Token, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `PseudoIdentifier` [INFO] [stderr] --> src/parsing/nodes.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | PseudoIdentifier, Shebang, SyDoc, SylanString, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `OpenParentheses` found for enum `lexing::tokens::Token` in the current scope [INFO] [stderr] --> src/lexing/mod.rs:218:24 [INFO] [stderr] | [INFO] [stderr] 218 | Token::OpenParentheses, [INFO] [stderr] | ^^^^^^^^^^^^^^^ variant or associated item not found in `lexing::tokens::Token` [INFO] [stderr] | [INFO] [stderr] ::: src/lexing/tokens.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | pub enum Token { [INFO] [stderr] | -------------- variant or associated item `OpenParentheses` not found here [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Number` found for enum `lexing::tokens::Token` in the current scope [INFO] [stderr] --> src/lexing/mod.rs:219:24 [INFO] [stderr] | [INFO] [stderr] 219 | Token::Number(1, 0), [INFO] [stderr] | ^^^^^^ variant or associated item not found in `lexing::tokens::Token` [INFO] [stderr] | [INFO] [stderr] ::: src/lexing/tokens.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | pub enum Token { [INFO] [stderr] | -------------- variant or associated item `Number` not found here [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Number` found for enum `lexing::tokens::Token` in the current scope [INFO] [stderr] --> src/lexing/mod.rs:245:21 [INFO] [stderr] | [INFO] [stderr] 245 | &Token::Number(1, 0), [INFO] [stderr] | ^^^^^^ variant or associated item not found in `lexing::tokens::Token` [INFO] [stderr] | [INFO] [stderr] ::: src/lexing/tokens.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | pub enum Token { [INFO] [stderr] | -------------- variant or associated item `Number` not found here [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `OpenParentheses` found for enum `lexing::tokens::Token` in the current scope [INFO] [stderr] --> src/lexing/mod.rs:262:24 [INFO] [stderr] | [INFO] [stderr] 262 | Token::OpenParentheses, [INFO] [stderr] | ^^^^^^^^^^^^^^^ variant or associated item not found in `lexing::tokens::Token` [INFO] [stderr] | [INFO] [stderr] ::: src/lexing/tokens.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | pub enum Token { [INFO] [stderr] | -------------- variant or associated item `OpenParentheses` not found here [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Number` found for enum `lexing::tokens::Token` in the current scope [INFO] [stderr] --> src/lexing/mod.rs:277:21 [INFO] [stderr] | [INFO] [stderr] 277 | &Token::Number(2, 0), [INFO] [stderr] | ^^^^^^ variant or associated item not found in `lexing::tokens::Token` [INFO] [stderr] | [INFO] [stderr] ::: src/lexing/tokens.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | pub enum Token { [INFO] [stderr] | -------------- variant or associated item `Number` not found here [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Number` found for enum `lexing::tokens::Token` in the current scope [INFO] [stderr] --> src/lexing/mod.rs:294:81 [INFO] [stderr] | [INFO] [stderr] 294 | test(|tokens| assert!(tokens.match_nth(3, |lexed| lexed.token == Token::Number(1, 0),))) [INFO] [stderr] | ^^^^^^ variant or associated item not found in `lexing::tokens::Token` [INFO] [stderr] | [INFO] [stderr] ::: src/lexing/tokens.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | pub enum Token { [INFO] [stderr] | -------------- variant or associated item `Number` not found here [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `String` found for enum `lexing::tokens::Token` in the current scope [INFO] [stderr] --> src/lexing/lexer.rs:1246:41 [INFO] [stderr] | [INFO] [stderr] 1246 | assert_next(&mut lexer, &Token::String(SylanString::from("abc\ndef"))); [INFO] [stderr] | ^^^^^^ variant or associated item not found in `lexing::tokens::Token` [INFO] [stderr] | [INFO] [stderr] ::: src/lexing/tokens.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | pub enum Token { [INFO] [stderr] | -------------- variant or associated item `String` not found here [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `String` found for enum `lexing::tokens::Token` in the current scope [INFO] [stderr] --> src/lexing/lexer.rs:1247:41 [INFO] [stderr] | [INFO] [stderr] 1247 | assert_next(&mut lexer, &Token::String(SylanString::from("'123'"))); [INFO] [stderr] | ^^^^^^ variant or associated item not found in `lexing::tokens::Token` [INFO] [stderr] | [INFO] [stderr] ::: src/lexing/tokens.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | pub enum Token { [INFO] [stderr] | -------------- variant or associated item `String` not found here [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `String` found for enum `lexing::tokens::Token` in the current scope [INFO] [stderr] --> src/lexing/lexer.rs:1253:41 [INFO] [stderr] | [INFO] [stderr] 1253 | assert_next(&mut lexer, &Token::String(SylanString::from("abc\\ndef"))); [INFO] [stderr] | ^^^^^^ variant or associated item not found in `lexing::tokens::Token` [INFO] [stderr] | [INFO] [stderr] ::: src/lexing/tokens.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | pub enum Token { [INFO] [stderr] | -------------- variant or associated item `String` not found here [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `String` found for enum `lexing::tokens::Token` in the current scope [INFO] [stderr] --> src/lexing/lexer.rs:1254:41 [INFO] [stderr] | [INFO] [stderr] 1254 | assert_next(&mut lexer, &Token::String(SylanString::from("'123'"))); [INFO] [stderr] | ^^^^^^ variant or associated item not found in `lexing::tokens::Token` [INFO] [stderr] | [INFO] [stderr] ::: src/lexing/tokens.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | pub enum Token { [INFO] [stderr] | -------------- variant or associated item `String` not found here [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `InterpolatedString` found for enum `lexing::tokens::Token` in the current scope [INFO] [stderr] --> src/lexing/lexer.rs:1265:21 [INFO] [stderr] | [INFO] [stderr] 1265 | &Token::InterpolatedString(InterpolatedString { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ variant or associated item not found in `lexing::tokens::Token` [INFO] [stderr] | [INFO] [stderr] ::: src/lexing/tokens.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | pub enum Token { [INFO] [stderr] | -------------- variant or associated item `InterpolatedString` not found here [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `InterpolatedString` found for enum `lexing::tokens::Token` in the current scope [INFO] [stderr] --> src/lexing/lexer.rs:1273:21 [INFO] [stderr] | [INFO] [stderr] 1273 | &Token::InterpolatedString(InterpolatedString { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ variant or associated item not found in `lexing::tokens::Token` [INFO] [stderr] | [INFO] [stderr] ::: src/lexing/tokens.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | pub enum Token { [INFO] [stderr] | -------------- variant or associated item `InterpolatedString` not found here [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `OpenSquareBracket` found for enum `lexing::tokens::Token` in the current scope [INFO] [stderr] --> src/lexing/lexer.rs:1307:41 [INFO] [stderr] | [INFO] [stderr] 1307 | assert_next(&mut lexer, &Token::OpenSquareBracket); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ variant or associated item not found in `lexing::tokens::Token` [INFO] [stderr] | [INFO] [stderr] ::: src/lexing/tokens.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | pub enum Token { [INFO] [stderr] | -------------- variant or associated item `OpenSquareBracket` not found here [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `InvocableHandle` found for enum `lexing::tokens::Token` in the current scope [INFO] [stderr] --> src/lexing/lexer.rs:1316:41 [INFO] [stderr] | [INFO] [stderr] 1316 | assert_next(&mut lexer, &Token::InvocableHandle); [INFO] [stderr] | ^^^^^^^^^^^^^^^ variant or associated item not found in `lexing::tokens::Token` [INFO] [stderr] | [INFO] [stderr] ::: src/lexing/tokens.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | pub enum Token { [INFO] [stderr] | -------------- variant or associated item `InvocableHandle` not found here [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Boolean` found for enum `lexing::tokens::Token` in the current scope [INFO] [stderr] --> src/lexing/lexer.rs:1385:42 [INFO] [stderr] | [INFO] [stderr] 1385 | assert_next(&mut lexer2, &Token::Boolean(true)); [INFO] [stderr] | ^^^^^^^ variant or associated item not found in `lexing::tokens::Token` [INFO] [stderr] | [INFO] [stderr] ::: src/lexing/tokens.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | pub enum Token { [INFO] [stderr] | -------------- variant or associated item `Boolean` not found here [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Number` found for enum `lexing::tokens::Token` in the current scope [INFO] [stderr] --> src/lexing/lexer.rs:1390:42 [INFO] [stderr] | [INFO] [stderr] 1390 | assert_next(&mut lexer3, &Token::Number(123, 0)); [INFO] [stderr] | ^^^^^^ variant or associated item not found in `lexing::tokens::Token` [INFO] [stderr] | [INFO] [stderr] ::: src/lexing/tokens.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | pub enum Token { [INFO] [stderr] | -------------- variant or associated item `Number` not found here [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] error: could not compile `sylan`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: variant is never constructed: `Apply` [INFO] [stderr] --> src/common/multiphase.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | Apply, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RightSignedShift` [INFO] [stderr] --> src/common/multiphase.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | RightSignedShift, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Bind` [INFO] [stderr] --> src/common/multiphase.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | Bind, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `confirmed_identifier` [INFO] [stderr] --> src/lexing/lexer.rs:90:4 [INFO] [stderr] | [INFO] [stderr] 90 | fn confirmed_identifier(word: String) -> Token { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `Node` [INFO] [stderr] --> src/parsing/nodes.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | pub enum Node { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SyDoc` [INFO] [stderr] --> src/parsing/nodes.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | SyDoc(SyDoc), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SymbolLookup` [INFO] [stderr] --> src/parsing/nodes.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | SymbolLookup(SymbolLookup), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Using` [INFO] [stderr] --> src/parsing/nodes.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | Using(Using), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InfixOperator` [INFO] [stderr] --> src/parsing/nodes.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | InfixOperator(OverloadableInfixOperator, Box, Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Call` [INFO] [stderr] --> src/parsing/nodes.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | Call(Call), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IfLet` [INFO] [stderr] --> src/parsing/nodes.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | IfLet(IfLet), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `While` [INFO] [stderr] --> src/parsing/nodes.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | While(While), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `WhileLet` [INFO] [stderr] --> src/parsing/nodes.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | WhileLet(WhileLet), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Dependency` [INFO] [stderr] --> src/parsing/nodes.rs:96:5 [INFO] [stderr] | [INFO] [stderr] 96 | Dependency(Package), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `DeclarationItem` [INFO] [stderr] --> src/parsing/nodes.rs:121:10 [INFO] [stderr] | [INFO] [stderr] 121 | pub enum DeclarationItem { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Declaration` [INFO] [stderr] --> src/parsing/nodes.rs:127:12 [INFO] [stderr] | [INFO] [stderr] 127 | pub struct Declaration { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `ClassModifiers` [INFO] [stderr] --> src/parsing/nodes.rs:132:12 [INFO] [stderr] | [INFO] [stderr] 132 | pub struct ClassModifiers { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Class` [INFO] [stderr] --> src/parsing/nodes.rs:170:5 [INFO] [stderr] | [INFO] [stderr] 170 | Class(Class), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Enum` [INFO] [stderr] --> src/parsing/nodes.rs:171:5 [INFO] [stderr] | [INFO] [stderr] 171 | Enum(Enum), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Interface` [INFO] [stderr] --> src/parsing/nodes.rs:172:5 [INFO] [stderr] | [INFO] [stderr] 172 | Interface(Interface), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `fun_modifiers` [INFO] [stderr] --> src/parsing/nodes.rs:198:5 [INFO] [stderr] | [INFO] [stderr] 198 | fun_modifiers: FunModifiers, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `is_virtual` [INFO] [stderr] --> src/parsing/nodes.rs:199:5 [INFO] [stderr] | [INFO] [stderr] 199 | is_virtual: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `overrides` [INFO] [stderr] --> src/parsing/nodes.rs:200:5 [INFO] [stderr] | [INFO] [stderr] 200 | overrides: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `has_a_default` [INFO] [stderr] --> src/parsing/nodes.rs:201:5 [INFO] [stderr] | [INFO] [stderr] 201 | has_a_default: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `ValueArgument` [INFO] [stderr] --> src/parsing/nodes.rs:248:1 [INFO] [stderr] | [INFO] [stderr] 248 | type ValueArgument = Argument; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Normal` [INFO] [stderr] --> src/parsing/nodes.rs:398:5 [INFO] [stderr] | [INFO] [stderr] 398 | Normal(Argument), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Entry` [INFO] [stderr] --> src/parsing/nodes.rs:399:5 [INFO] [stderr] | [INFO] [stderr] 399 | Entry(Box, Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Lexer` [INFO] [stderr] --> src/parsing/mod.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | Lexer(lexer::Error), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `expect_and_read` [INFO] [stderr] --> src/parsing/mod.rs:152:5 [INFO] [stderr] | [INFO] [stderr] 152 | fn expect_and_read(&mut self, expected: Token) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `parse_class_body` [INFO] [stderr] --> src/parsing/mod.rs:244:5 [INFO] [stderr] | [INFO] [stderr] 244 | fn parse_class_body(&mut self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `parse_type_argument_list` [INFO] [stderr] --> src/parsing/mod.rs:431:5 [INFO] [stderr] | [INFO] [stderr] 431 | fn parse_type_argument_list(&mut self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `parse_binary_operator` [INFO] [stderr] --> src/parsing/mod.rs:435:5 [INFO] [stderr] | [INFO] [stderr] 435 | fn parse_binary_operator(&mut self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `parse_interface_body` [INFO] [stderr] --> src/parsing/mod.rs:446:5 [INFO] [stderr] | [INFO] [stderr] 446 | fn parse_interface_body(&mut self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `parse_field` [INFO] [stderr] --> src/parsing/mod.rs:709:5 [INFO] [stderr] | [INFO] [stderr] 709 | fn parse_field(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method 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: method is never used: `character_position` [INFO] [stderr] --> src/source/mod.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | fn character_position(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "7194d358fdb8082bf010569d8c518904119bcefecd629afd3c4a3d6e71c2955e"` [INFO] running `"docker" "rm" "-f" "7194d358fdb8082bf010569d8c518904119bcefecd629afd3c4a3d6e71c2955e"` [INFO] [stdout] 7194d358fdb8082bf010569d8c518904119bcefecd629afd3c4a3d6e71c2955e