[INFO] cloning repository https://github.com/zhangyushao0/seu9cc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhangyushao0/seu9cc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangyushao0%2Fseu9cc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangyushao0%2Fseu9cc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9578f4fe0693cbdb3db55351950e3b1d5a3751b4 [INFO] building zhangyushao0/seu9cc against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangyushao0%2Fseu9cc" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhangyushao0/seu9cc on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhangyushao0/seu9cc [INFO] finished tweaking git repo https://github.com/zhangyushao0/seu9cc [INFO] tweaked toml for git repo https://github.com/zhangyushao0/seu9cc written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zhangyushao0/seu9cc already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7da35b144189b1bef891cb4a32bb95ece4ecd97eb420ffabee68bd894df4b77a [INFO] running `Command { std: "docker" "start" "-a" "7da35b144189b1bef891cb4a32bb95ece4ecd97eb420ffabee68bd894df4b77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7da35b144189b1bef891cb4a32bb95ece4ecd97eb420ffabee68bd894df4b77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7da35b144189b1bef891cb4a32bb95ece4ecd97eb420ffabee68bd894df4b77a", kill_on_drop: false }` [INFO] [stdout] 7da35b144189b1bef891cb4a32bb95ece4ecd97eb420ffabee68bd894df4b77a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34def82aca984225a82b21ade7d6425ee1574aaf67cd626ad6c61e321eaaad3d [INFO] running `Command { std: "docker" "start" "-a" "34def82aca984225a82b21ade7d6425ee1574aaf67cd626ad6c61e321eaaad3d", kill_on_drop: false }` [INFO] [stderr] Compiling seu9cc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/common.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: unused import: `cell::RefCell` [INFO] [stdout] --> src/lexer/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{cell::RefCell, iter::Peekable, str::Chars}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/parser/mod.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer::{self, Token}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `parser` should have an upper camel case name [INFO] [stdout] --> src/parser/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct parser<'a> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Parser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> src/parser/mod.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let ident = self.ident(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/mod.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut token = self.input_tokens_next().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/parser/mod.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let ty = self.decl_specifiers(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/common.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Type { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | kind: TypeKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Ptr(Box), [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | Ptr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/common.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | Array(Box, u32), [INFO] [stdout] | ----- ^^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 17 | Array((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/common.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | Func(Box, Vec), [INFO] [stdout] | ---- ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 19 | Func((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty`, `name`, and `kind` are never read [INFO] [stdout] --> src/common.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Var { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 82 | ty: Type, [INFO] [stdout] | ^^ [INFO] [stdout] 83 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 84 | kind: VarKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Var` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Local` and `Global` are never constructed [INFO] [stdout] --> src/common.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 88 | enum VarKind { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 89 | Local(u32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | Global(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind`, `ty`, and `name` are never read [INFO] [stdout] --> src/common.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 95 | kind: NodeKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | ty: Type, [INFO] [stdout] | ^^ [INFO] [stdout] 97 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input` is never read [INFO] [stdout] --> src/lexer/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Lexer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 8 | input: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `parser` is never constructed [INFO] [stdout] --> src/parser/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct parser<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl parser<'_> { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 10 | fn new<'a>(tokens: Vec>) -> parser<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn parse(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn input_tokens_next(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn input_tokens_consume(&mut self, kind: lexer::TokenKind) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn toplevel(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn decl_specifiers(&mut self) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn ident(&mut self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn params(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn params_decl(&mut self) -> Var { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "34def82aca984225a82b21ade7d6425ee1574aaf67cd626ad6c61e321eaaad3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34def82aca984225a82b21ade7d6425ee1574aaf67cd626ad6c61e321eaaad3d", kill_on_drop: false }` [INFO] [stdout] 34def82aca984225a82b21ade7d6425ee1574aaf67cd626ad6c61e321eaaad3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f3b13acaf0744f4a43df4fd667bf1b260fd3e66a0c0bdf2beec843f9fee39f1 [INFO] running `Command { std: "docker" "start" "-a" "6f3b13acaf0744f4a43df4fd667bf1b260fd3e66a0c0bdf2beec843f9fee39f1", kill_on_drop: false }` [INFO] [stderr] Compiling seu9cc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/common.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: unused import: `cell::RefCell` [INFO] [stdout] --> src/lexer/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{cell::RefCell, iter::Peekable, str::Chars}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/parser/mod.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer::{self, Token}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `parser` should have an upper camel case name [INFO] [stdout] --> src/parser/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct parser<'a> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Parser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> src/parser/mod.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let ident = self.ident(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/mod.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut token = self.input_tokens_next().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/parser/mod.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let ty = self.decl_specifiers(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/common.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Type { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | kind: TypeKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Ptr(Box), [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | Ptr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/common.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | Array(Box, u32), [INFO] [stdout] | ----- ^^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 17 | Array((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/common.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | Func(Box, Vec), [INFO] [stdout] | ---- ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 19 | Func((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty`, `name`, and `kind` are never read [INFO] [stdout] --> src/common.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Var { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 82 | ty: Type, [INFO] [stdout] | ^^ [INFO] [stdout] 83 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 84 | kind: VarKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Var` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Local` and `Global` are never constructed [INFO] [stdout] --> src/common.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 88 | enum VarKind { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 89 | Local(u32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | Global(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind`, `ty`, and `name` are never read [INFO] [stdout] --> src/common.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 95 | kind: NodeKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | ty: Type, [INFO] [stdout] | ^^ [INFO] [stdout] 97 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input` is never read [INFO] [stdout] --> src/lexer/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Lexer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 8 | input: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `params` and `params_decl` are never used [INFO] [stdout] --> src/parser/mod.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl parser<'_> { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn params(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn params_decl(&mut self) -> Var { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "6f3b13acaf0744f4a43df4fd667bf1b260fd3e66a0c0bdf2beec843f9fee39f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f3b13acaf0744f4a43df4fd667bf1b260fd3e66a0c0bdf2beec843f9fee39f1", kill_on_drop: false }` [INFO] [stdout] 6f3b13acaf0744f4a43df4fd667bf1b260fd3e66a0c0bdf2beec843f9fee39f1