[INFO] cloning repository https://github.com/montyaxn/lung [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/montyaxn/lung" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmontyaxn%2Flung", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmontyaxn%2Flung'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04154c919e3bb0aa7863dd63f21dd439e1feefa6 [INFO] testing montyaxn/lung against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmontyaxn%2Flung" "/workspace/builds/worker-76/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-76/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 46% (173/374) Updating files: 47% (176/374) Updating files: 48% (180/374) Updating files: 49% (184/374) Updating files: 50% (187/374) Updating files: 51% (191/374) Updating files: 52% (195/374) Updating files: 53% (199/374) Updating files: 54% (202/374) Updating files: 55% (206/374) Updating files: 56% (210/374) Updating files: 57% (214/374) Updating files: 58% (217/374) Updating files: 59% (221/374) Updating files: 60% (225/374) Updating files: 61% (229/374) Updating files: 62% (232/374) Updating files: 63% (236/374) Updating files: 64% (240/374) Updating files: 65% (244/374) Updating files: 66% (247/374) Updating files: 66% (248/374) Updating files: 67% (251/374) Updating files: 68% (255/374) Updating files: 69% (259/374) Updating files: 70% (262/374) Updating files: 71% (266/374) Updating files: 72% (270/374) Updating files: 73% (274/374) Updating files: 74% (277/374) Updating files: 75% (281/374) Updating files: 76% (285/374) Updating files: 77% (288/374) Updating files: 78% (292/374) Updating files: 79% (296/374) Updating files: 80% (300/374) Updating files: 81% (303/374) Updating files: 82% (307/374) Updating files: 83% (311/374) Updating files: 84% (315/374) Updating files: 85% (318/374) Updating files: 86% (322/374) Updating files: 87% (326/374) Updating files: 88% (330/374) Updating files: 89% (333/374) Updating files: 90% (337/374) Updating files: 91% (341/374) Updating files: 92% (345/374) Updating files: 93% (348/374) Updating files: 94% (352/374) Updating files: 95% (356/374) Updating files: 96% (360/374) Updating files: 97% (363/374) Updating files: 98% (367/374) Updating files: 98% (368/374) Updating files: 99% (371/374) Updating files: 100% (374/374) Updating files: 100% (374/374), done. [INFO] validating manifest of git repo https://github.com/montyaxn/lung on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/montyaxn/lung [INFO] finished tweaking git repo https://github.com/montyaxn/lung [INFO] tweaked toml for git repo https://github.com/montyaxn/lung written to /workspace/builds/worker-76/source/Cargo.toml [INFO] crate git repo https://github.com/montyaxn/lung already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10311b409a7256a04efac5ae17affd1d3c8b69e2cb342b3944f86879bcbe4ac2 [INFO] running `Command { std: "docker" "start" "-a" "10311b409a7256a04efac5ae17affd1d3c8b69e2cb342b3944f86879bcbe4ac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10311b409a7256a04efac5ae17affd1d3c8b69e2cb342b3944f86879bcbe4ac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10311b409a7256a04efac5ae17affd1d3c8b69e2cb342b3944f86879bcbe4ac2", kill_on_drop: false }` [INFO] [stdout] 10311b409a7256a04efac5ae17affd1d3c8b69e2cb342b3944f86879bcbe4ac2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c07580e0108610c4b91dedcb9ca6bf2d80eac4dd26c9becd7f7a89f11159d826 [INFO] running `Command { std: "docker" "start" "-a" "c07580e0108610c4b91dedcb9ca6bf2d80eac4dd26c9becd7f7a89f11159d826", kill_on_drop: false }` [INFO] [stderr] Compiling lung v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::lexer::*` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::*` [INFO] [stdout] --> src/typing.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::*` [INFO] [stdout] --> src/typing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lexer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lexer` [INFO] [stdout] --> src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let lexer = lexer::Lexer::from_file("test.txt"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Eater` [INFO] [stdout] --> src/lexer.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct Eater<'a> { [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: `from_str` [INFO] [stdout] --> src/lexer.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn from_str(input: &str) -> Eater { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_char` [INFO] [stdout] --> src/lexer.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn next_char(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skip_white` [INFO] [stdout] --> src/lexer.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn skip_white(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eat_alnum_dump` [INFO] [stdout] --> src/lexer.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn eat_alnum_dump(&mut self) -> (String, usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eat_num_dump` [INFO] [stdout] --> src/lexer.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn eat_num_dump(&mut self) -> (String, usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eat_token_dump` [INFO] [stdout] --> src/lexer.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn eat_token_dump(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buffer` [INFO] [stdout] --> src/lexer.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | buffer: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lex` [INFO] [stdout] --> src/lexer.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn lex(&mut self) -> Result, &str> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/parser.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(tokens: Vec) -> Parser { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_error` [INFO] [stdout] --> src/parser.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn make_error(&mut self, expectation: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_program` [INFO] [stdout] --> src/parser.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn parse_program(&mut self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_token` [INFO] [stdout] --> src/parser.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn next_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ct_check` [INFO] [stdout] --> src/parser.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn ct_check(&mut self, token: TokenKind) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_args` [INFO] [stdout] --> src/parser.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | fn read_args(&mut self) -> Result>, String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_block` [INFO] [stdout] --> src/parser.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | fn read_block(&mut self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_args_decl` [INFO] [stdout] --> src/parser.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | fn read_args_decl(&mut self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_type_args` [INFO] [stdout] --> src/parser.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | fn read_type_args(&mut self) -> Result>, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_type` [INFO] [stdout] --> src/parser.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | fn read_type(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_ret_decl` [INFO] [stdout] --> src/parser.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | fn read_ret_decl(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_anon_func` [INFO] [stdout] --> src/parser.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | fn read_anon_func(&mut self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lead_expr` [INFO] [stdout] --> src/parser.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | fn lead_expr(token: TokenKind) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_expr` [INFO] [stdout] --> src/parser.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | fn read_expr(&mut self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lead_simple_expr` [INFO] [stdout] --> src/parser.rs:280:8 [INFO] [stdout] | [INFO] [stdout] 280 | fn lead_simple_expr(token: TokenKind) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_simple_expr` [INFO] [stdout] --> src/parser.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 293 | fn read_simple_expr(&mut self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Func` [INFO] [stdout] --> src/syntax.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Func, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FuncAnon` [INFO] [stdout] --> src/syntax.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | FuncAnon, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RParen` [INFO] [stdout] --> src/syntax.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | RParen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LParen` [INFO] [stdout] --> src/syntax.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | LParen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RBrace` [INFO] [stdout] --> src/syntax.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | RBrace, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LBrace` [INFO] [stdout] --> src/syntax.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | LBrace, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Comma` [INFO] [stdout] --> src/syntax.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Colon` [INFO] [stdout] --> src/syntax.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Colon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SemiColon` [INFO] [stdout] --> src/syntax.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | SemiColon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Arrow` [INFO] [stdout] --> src/syntax.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Arrow, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Num` [INFO] [stdout] --> src/syntax.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | Num(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ident` [INFO] [stdout] --> src/syntax.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | Ident(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnitVal` [INFO] [stdout] --> src/syntax.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | UnitVal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `I32` [INFO] [stdout] --> src/syntax.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | I32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnitType` [INFO] [stdout] --> src/syntax.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | UnitType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FuncType` [INFO] [stdout] --> src/syntax.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | FuncType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EOF` [INFO] [stdout] --> src/syntax.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | EOF, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `I32` [INFO] [stdout] --> src/syntax.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / I32 { [INFO] [stdout] 60 | | val: i32, [INFO] [stdout] 61 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NamedFunc` [INFO] [stdout] --> src/syntax.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / NamedFunc { [INFO] [stdout] 63 | | name: String, [INFO] [stdout] 64 | | args_def: Vec, [INFO] [stdout] 65 | | ret_decl: Type, [INFO] [stdout] 66 | | block: Box, [INFO] [stdout] 67 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unit` [INFO] [stdout] --> src/syntax.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AnonFunc` [INFO] [stdout] --> src/syntax.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / AnonFunc { [INFO] [stdout] 70 | | args_decl: Vec, [INFO] [stdout] 71 | | ret_decl: Type, [INFO] [stdout] 72 | | block: Box, [INFO] [stdout] 73 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Block` [INFO] [stdout] --> src/syntax.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / Block { [INFO] [stdout] 77 | | exprs: Vec>, [INFO] [stdout] 78 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Var` [INFO] [stdout] --> src/syntax.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / Var { [INFO] [stdout] 82 | | name: String, [INFO] [stdout] 83 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FuncApp` [INFO] [stdout] --> src/syntax.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / FuncApp { [INFO] [stdout] 87 | | callee: Box, [INFO] [stdout] 88 | | args: Vec>, [INFO] [stdout] 89 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_type` [INFO] [stdout] --> src/syntax.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn into_type(self) -> Type { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `I32` [INFO] [stdout] --> src/type_def.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | I32, [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] --> src/type_def.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unit` [INFO] [stdout] --> src/type_def.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Unit, [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] --> src/type_def.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Func` [INFO] [stdout] --> src/type_def.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / Func { [INFO] [stdout] 11 | | args: Vec>, [INFO] [stdout] 12 | | ret: Box, [INFO] [stdout] 13 | | }, [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] --> src/type_def.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UserType` [INFO] [stdout] --> src/type_def.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / UserType { [INFO] [stdout] 17 | | name: String, [INFO] [stdout] 18 | | }, [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] --> src/type_def.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/type_def.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(expr: Box, expr_type: Option) -> TypedExpr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `VarTypeTable` [INFO] [stdout] --> src/typing.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct VarTypeTable { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/typing.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn get(&self, name: &String) -> Option<&Type> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_args_decl` [INFO] [stdout] --> src/typing.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn from_args_decl(decls: Vec) -> VarTypeTable { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Context` [INFO] [stdout] --> src/typing.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/typing.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn get(&mut self, name: String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_table_from_argsdecl` [INFO] [stdout] --> src/typing.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn push_table_from_argsdecl(&mut self, args_decl: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/typing.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new() -> Context { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_typed_expr` [INFO] [stdout] --> src/typing.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn into_typed_expr(self, cxt: &mut Context) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 68 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.43s [INFO] running `Command { std: "docker" "inspect" "c07580e0108610c4b91dedcb9ca6bf2d80eac4dd26c9becd7f7a89f11159d826", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c07580e0108610c4b91dedcb9ca6bf2d80eac4dd26c9becd7f7a89f11159d826", kill_on_drop: false }` [INFO] [stdout] c07580e0108610c4b91dedcb9ca6bf2d80eac4dd26c9becd7f7a89f11159d826 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d40f87bf020637e97a841b6049a3d7c6e61532db8b2857ae985ddc26474da11 [INFO] running `Command { std: "docker" "start" "-a" "1d40f87bf020637e97a841b6049a3d7c6e61532db8b2857ae985ddc26474da11", kill_on_drop: false }` [INFO] [stderr] Compiling lung v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `lexer` [INFO] [stdout] --> src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let lexer = lexer::Lexer::from_file("test.txt"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lexer` [INFO] [stdout] --> src/lexer.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let mut lexer = Lexer::from_file("src/test/test.txt").unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lexer` [INFO] [stdout] --> src/lexer.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let mut lexer = Lexer::from_file("src/test/test_parser.txt").unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut lexer = Lexer::from_file("src/test/test.txt").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: variable does not need to be mutable [INFO] [stdout] --> src/lexer.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut lexer = Lexer::from_file("src/test/test_parser.txt").unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input` [INFO] [stdout] --> src/lexer.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | input: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NamedFunc` [INFO] [stdout] --> src/syntax.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / NamedFunc { [INFO] [stdout] 63 | | name: String, [INFO] [stdout] 64 | | args_def: Vec, [INFO] [stdout] 65 | | ret_decl: Type, [INFO] [stdout] 66 | | block: Box, [INFO] [stdout] 67 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/syntax.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_type` [INFO] [stdout] --> src/syntax.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn into_type(self) -> Type { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dump` [INFO] [stdout] --> src/lexer.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn dump(tokens: Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "1d40f87bf020637e97a841b6049a3d7c6e61532db8b2857ae985ddc26474da11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d40f87bf020637e97a841b6049a3d7c6e61532db8b2857ae985ddc26474da11", kill_on_drop: false }` [INFO] [stdout] 1d40f87bf020637e97a841b6049a3d7c6e61532db8b2857ae985ddc26474da11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a85ff3acec0e7c2dca9a6c1df87d9929f5cf572a434473736937563a15099680 [INFO] running `Command { std: "docker" "start" "-a" "a85ff3acec0e7c2dca9a6c1df87d9929f5cf572a434473736937563a15099680", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `lexer` [INFO] [stderr] --> src/main.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | let lexer = lexer::Lexer::from_file("test.txt"); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lexer` [INFO] [stderr] --> src/lexer.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | let mut lexer = Lexer::from_file("src/test/test.txt").unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lexer` [INFO] [stderr] --> src/lexer.rs:26:17 [INFO] [stderr] | [INFO] [stderr] 26 | let mut lexer = Lexer::from_file("src/test/test_parser.txt").unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lexer.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | let mut lexer = Lexer::from_file("src/test/test.txt").unwrap(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lexer.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | let mut lexer = Lexer::from_file("src/test/test_parser.txt").unwrap(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `input` [INFO] [stderr] --> src/lexer.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | input: &'a str, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NamedFunc` [INFO] [stderr] --> src/syntax.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | / NamedFunc { [INFO] [stderr] 63 | | name: String, [INFO] [stderr] 64 | | args_def: Vec, [INFO] [stderr] 65 | | ret_decl: Type, [INFO] [stderr] 66 | | block: Box, [INFO] [stderr] 67 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/syntax.rs:56:10 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `into_type` [INFO] [stderr] --> src/syntax.rs:99:12 [INFO] [stderr] | [INFO] [stderr] 99 | pub fn into_type(self) -> Type { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `dump` [INFO] [stderr] --> src/lexer.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | fn dump(tokens: Vec) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `lung` (bin "lung" test) generated 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lung-dbd87c54ba04ff86) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test lexer::lexer_test::test1 ... ok [INFO] [stdout] test lexer::lexer_test::test2 ... ok [INFO] [stdout] test parser::parser_test::test ... ok [INFO] [stdout] test typing::test_typing::test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a85ff3acec0e7c2dca9a6c1df87d9929f5cf572a434473736937563a15099680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a85ff3acec0e7c2dca9a6c1df87d9929f5cf572a434473736937563a15099680", kill_on_drop: false }` [INFO] [stdout] a85ff3acec0e7c2dca9a6c1df87d9929f5cf572a434473736937563a15099680