[INFO] cloning repository https://github.com/rust-analyzer/minirust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rust-analyzer/minirust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-analyzer%2Fminirust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-analyzer%2Fminirust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38536b72e673dcb2d5696f3aac24a9a6139a2748 [INFO] checking rust-analyzer/minirust against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-analyzer%2Fminirust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rust-analyzer/minirust on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rust-analyzer/minirust [INFO] finished tweaking git repo https://github.com/rust-analyzer/minirust [INFO] tweaked toml for git repo https://github.com/rust-analyzer/minirust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/rust-analyzer/minirust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb4a59235a9231561e3ab9a40585c303c0e04cac62ad144504e8f587ad235b8c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fb4a59235a9231561e3ab9a40585c303c0e04cac62ad144504e8f587ad235b8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb4a59235a9231561e3ab9a40585c303c0e04cac62ad144504e8f587ad235b8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb4a59235a9231561e3ab9a40585c303c0e04cac62ad144504e8f587ad235b8c", kill_on_drop: false }` [INFO] [stdout] fb4a59235a9231561e3ab9a40585c303c0e04cac62ad144504e8f587ad235b8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49e1c625e388834a573f532dd677f6e5bbb9851777ee226b9442a5d4762d6e00 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "49e1c625e388834a573f532dd677f6e5bbb9851777ee226b9442a5d4762d6e00", kill_on_drop: false }` [INFO] [stderr] Checking ungrammar v1.1.4 [INFO] [stderr] Checking minirust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/ast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `L_CURLY` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | L_CURLY, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `LCurly` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `R_CURLY` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | R_CURLY, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `RCurly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/ast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `L_CURLY` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | L_CURLY, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `LCurly` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `R_CURLY` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | R_CURLY, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `RCurly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/parser.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | fn at(&self, kind: TokenKind) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/parser.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | fn eat(&mut self, kind: TokenKind) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/parser.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | fn at(&self, kind: TokenKind) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kw` [INFO] [stdout] --> src/parser.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | fn expect_keyword(&mut self, kw: &str) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/parser.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | fn eat(&mut self, kind: TokenKind) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/parser.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | fn expect(&mut self, kind: TokenKind) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kw` [INFO] [stdout] --> src/parser.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | fn expect_keyword(&mut self, kw: &str) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/parser.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | fn expect(&mut self, kind: TokenKind) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Token` in public interface (error E0446) [INFO] [stdout] --> src/guild.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn struct_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Token` in public interface (error E0446) [INFO] [stdout] --> src/guild.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn name(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Token` in public interface (error E0446) [INFO] [stdout] --> src/guild.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn l_curly_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Token` in public interface (error E0446) [INFO] [stdout] --> src/guild.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn r_curly_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Token` in public interface (error E0446) [INFO] [stdout] --> src/guild.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn name(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Token` in public interface (error E0446) [INFO] [stdout] --> src/guild.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn colon_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Token` in public interface (error E0446) [INFO] [stdout] --> src/guild.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn ty(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Token` in public interface (error E0446) [INFO] [stdout] --> src/guild.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn comma_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `File` [INFO] [stdout] --> src/guild.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct File; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `strukt` [INFO] [stdout] --> src/guild.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn strukt(&mut self) -> Struct { todo!() } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Struct` [INFO] [stdout] --> src/guild.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Struct; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `struct_token` [INFO] [stdout] --> src/guild.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn struct_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/guild.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn name(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `l_curly_token` [INFO] [stdout] --> src/guild.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn l_curly_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `field` [INFO] [stdout] --> src/guild.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn field(&mut self) -> Field { todo!() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `r_curly_token` [INFO] [stdout] --> src/guild.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn r_curly_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Field` [INFO] [stdout] --> src/guild.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Field; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/guild.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn name(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `colon_token` [INFO] [stdout] --> src/guild.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn colon_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ty` [INFO] [stdout] --> src/guild.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn ty(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `comma_token` [INFO] [stdout] --> src/guild.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn comma_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `file` [INFO] [stdout] --> src/parser.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn file(p: &mut Parser, node: &mut File) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `strukt` [INFO] [stdout] --> src/parser.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn strukt(p: &mut Parser, strukt: &mut Struct) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `field` [INFO] [stdout] --> src/parser.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn field(p: &mut Parser, field: &mut Field) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/parser.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct Parser {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_eof` [INFO] [stdout] --> src/parser.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn is_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `at` [INFO] [stdout] --> src/parser.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn at(&self, kind: TokenKind) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eat` [INFO] [stdout] --> src/parser.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn eat(&mut self, kind: TokenKind) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect_keyword` [INFO] [stdout] --> src/parser.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn expect_keyword(&mut self, kw: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect` [INFO] [stdout] --> src/parser.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn expect(&mut self, kind: TokenKind) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Name` [INFO] [stdout] --> src/ast.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Name(u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `File` [INFO] [stdout] --> src/ast.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Struct` [INFO] [stdout] --> src/ast.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Struct { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Field` [INFO] [stdout] --> src/ast.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `TokenKind` [INFO] [stdout] --> src/lib.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum TokenKind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Token` [INFO] [stdout] --> src/lib.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Token` in public interface (error E0446) [INFO] [stdout] --> src/guild.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn struct_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Token` in public interface (error E0446) [INFO] [stdout] --> src/guild.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn name(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Token` in public interface (error E0446) [INFO] [stdout] --> src/guild.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn l_curly_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Token` in public interface (error E0446) [INFO] [stdout] --> src/guild.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn r_curly_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Token` in public interface (error E0446) [INFO] [stdout] --> src/guild.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn name(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Token` in public interface (error E0446) [INFO] [stdout] --> src/guild.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn colon_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Token` in public interface (error E0446) [INFO] [stdout] --> src/guild.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn ty(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Token` in public interface (error E0446) [INFO] [stdout] --> src/guild.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn comma_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `File` [INFO] [stdout] --> src/guild.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct File; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `strukt` [INFO] [stdout] --> src/guild.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn strukt(&mut self) -> Struct { todo!() } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Struct` [INFO] [stdout] --> src/guild.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Struct; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `struct_token` [INFO] [stdout] --> src/guild.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn struct_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/guild.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn name(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `l_curly_token` [INFO] [stdout] --> src/guild.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn l_curly_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `field` [INFO] [stdout] --> src/guild.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn field(&mut self) -> Field { todo!() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `r_curly_token` [INFO] [stdout] --> src/guild.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn r_curly_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Field` [INFO] [stdout] --> src/guild.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Field; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/guild.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn name(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `colon_token` [INFO] [stdout] --> src/guild.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn colon_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ty` [INFO] [stdout] --> src/guild.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn ty(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `comma_token` [INFO] [stdout] --> src/guild.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn comma_token(&mut self, _token: Option) { todo!() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `file` [INFO] [stdout] --> src/parser.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn file(p: &mut Parser, node: &mut File) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `strukt` [INFO] [stdout] --> src/parser.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn strukt(p: &mut Parser, strukt: &mut Struct) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `field` [INFO] [stdout] --> src/parser.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn field(p: &mut Parser, field: &mut Field) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/parser.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct Parser {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_eof` [INFO] [stdout] --> src/parser.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn is_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `at` [INFO] [stdout] --> src/parser.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn at(&self, kind: TokenKind) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eat` [INFO] [stdout] --> src/parser.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn eat(&mut self, kind: TokenKind) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect_keyword` [INFO] [stdout] --> src/parser.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn expect_keyword(&mut self, kw: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect` [INFO] [stdout] --> src/parser.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn expect(&mut self, kind: TokenKind) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Name` [INFO] [stdout] --> src/ast.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Name(u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `File` [INFO] [stdout] --> src/ast.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Struct` [INFO] [stdout] --> src/ast.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Struct { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Field` [INFO] [stdout] --> src/ast.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `TokenKind` [INFO] [stdout] --> src/lib.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum TokenKind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Token` [INFO] [stdout] --> src/lib.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rule` [INFO] [stdout] --> src/bin/gen.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | Rule::Labeled { label, rule } => label.clone(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `rule: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rule` [INFO] [stdout] --> src/bin/gen.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | Rule::Labeled { label, rule } => label.clone(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `rule: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "49e1c625e388834a573f532dd677f6e5bbb9851777ee226b9442a5d4762d6e00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49e1c625e388834a573f532dd677f6e5bbb9851777ee226b9442a5d4762d6e00", kill_on_drop: false }` [INFO] [stdout] 49e1c625e388834a573f532dd677f6e5bbb9851777ee226b9442a5d4762d6e00