[INFO] cloning repository https://github.com/cazoo-theo-breuer-weil/muli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cazoo-theo-breuer-weil/muli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcazoo-theo-breuer-weil%2Fmuli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcazoo-theo-breuer-weil%2Fmuli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e944227ec770ce73aaec283313900e46bc190d49 [INFO] testing cazoo-theo-breuer-weil/muli against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcazoo-theo-breuer-weil%2Fmuli" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cazoo-theo-breuer-weil/muli on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cazoo-theo-breuer-weil/muli [INFO] finished tweaking git repo https://github.com/cazoo-theo-breuer-weil/muli [INFO] tweaked toml for git repo https://github.com/cazoo-theo-breuer-weil/muli written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/cazoo-theo-breuer-weil/muli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98aad67d1469acba1493dcb1ab6b95d73cd30929af2a7d9836aabfb7c8ec89b8 [INFO] running `Command { std: "docker" "start" "-a" "98aad67d1469acba1493dcb1ab6b95d73cd30929af2a7d9836aabfb7c8ec89b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98aad67d1469acba1493dcb1ab6b95d73cd30929af2a7d9836aabfb7c8ec89b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98aad67d1469acba1493dcb1ab6b95d73cd30929af2a7d9836aabfb7c8ec89b8", kill_on_drop: false }` [INFO] [stdout] 98aad67d1469acba1493dcb1ab6b95d73cd30929af2a7d9836aabfb7c8ec89b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a53133fef6f9a6f3a9fba3fd3e6c176d2ac171e75e21bea3bd3bfc2cac51ab5 [INFO] running `Command { std: "docker" "start" "-a" "2a53133fef6f9a6f3a9fba3fd3e6c176d2ac171e75e21bea3bd3bfc2cac51ab5", kill_on_drop: false }` [INFO] [stderr] Compiling muli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Cursor` [INFO] [stdout] --> src/lexer/lexer.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Cursor, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Assignment` [INFO] [stdout] --> src/lexer/lexer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Assignment, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `LexerState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/lexer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Blank` [INFO] [stdout] --> src/lexer/lexer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Blank, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LexerState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/lexer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (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/lexer/lexer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LexerState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/lexer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LeftBracket` [INFO] [stdout] --> src/lexer/lexer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | LeftBracket, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LexerState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/lexer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Lexeme` [INFO] [stdout] --> src/lexer/lexer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Lexeme, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LexerState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/lexer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/lexer/lexer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Integer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LexerState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/lexer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PropertyAccess` [INFO] [stdout] --> src/lexer/lexer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | PropertyAccess, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LexerState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/lexer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RightBracket` [INFO] [stdout] --> src/lexer/lexer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | RightBracket, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LexerState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/lexer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (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/lexer/lexer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LexerState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/lexer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StartFunctionBody` [INFO] [stdout] --> src/lexer/lexer.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | StartFunctionBody, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LexerState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/lexer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FunctionBody` [INFO] [stdout] --> src/lexer/lexer.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | FunctionBody, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LexerState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/lexer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Whitespace` [INFO] [stdout] --> src/lexer/lexer.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Whitespace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LexerState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/lexer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Lexer` [INFO] [stdout] --> src/lexer/lexer.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Lexer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lexer/lexer.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn new() -> Lexer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lex` [INFO] [stdout] --> src/lexer/lexer.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn lex(&mut self, stream: &mut (impl Read + Seek)) -> Result, &'static str> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transition` [INFO] [stdout] --> src/lexer/lexer.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn transition(&mut self, next_char: char) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/lexer/lexer.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `accept` [INFO] [stdout] --> src/lexer/lexer.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn accept(&mut self, state: LexerState, next_char: char) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_next_state` [INFO] [stdout] --> src/lexer/lexer.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn get_next_state(&self, c: char) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_token` [INFO] [stdout] --> src/lexer/lexer.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn get_token(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lexer/token.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(line: u8, column: u8) -> FilePosition { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start` [INFO] [stdout] --> src/lexer/token.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn start() -> FilePosition { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_char` [INFO] [stdout] --> src/lexer/token.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn next_char(&self) -> FilePosition { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_line` [INFO] [stdout] --> src/lexer/token.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn next_line(&self) -> FilePosition { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lexer/token.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(from: FilePosition, to: FilePosition) -> Span { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start` [INFO] [stdout] --> src/lexer/token.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn start() -> Span { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Assignment` [INFO] [stdout] --> src/lexer/token.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | Assignment, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/token.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (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/lexer/token.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/token.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FunctionBody` [INFO] [stdout] --> src/lexer/token.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | FunctionBody, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/token.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FunctionParameters` [INFO] [stdout] --> src/lexer/token.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | FunctionParameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/token.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/lexer/token.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/token.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/lexer/token.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Integer(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/token.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LeftBracket` [INFO] [stdout] --> src/lexer/token.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | LeftBracket, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/token.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PropertyAccess` [INFO] [stdout] --> src/lexer/token.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | PropertyAccess, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/token.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RightBracket` [INFO] [stdout] --> src/lexer/token.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | RightBracket, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/token.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (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/lexer/token.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/token.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TypeDeclaration` [INFO] [stdout] --> src/lexer/token.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | TypeDeclaration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/token.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VariableDeclaration` [INFO] [stdout] --> src/lexer/token.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | VariableDeclaration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/token.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Whitespace` [INFO] [stdout] --> src/lexer/token.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | Whitespace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer/token.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (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/lexer/token.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(span: Span, of_type: TokenType) -> Token { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "2a53133fef6f9a6f3a9fba3fd3e6c176d2ac171e75e21bea3bd3bfc2cac51ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a53133fef6f9a6f3a9fba3fd3e6c176d2ac171e75e21bea3bd3bfc2cac51ab5", kill_on_drop: false }` [INFO] [stdout] 2a53133fef6f9a6f3a9fba3fd3e6c176d2ac171e75e21bea3bd3bfc2cac51ab5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea6db2383f5eb0b8169c4ed8b25cffe7ad20a9b38d6e0781b627d704a2f6c235 [INFO] running `Command { std: "docker" "start" "-a" "ea6db2383f5eb0b8169c4ed8b25cffe7ad20a9b38d6e0781b627d704a2f6c235", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling muli v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.51s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/muli-5ab53975b9b40c45) [INFO] running `Command { std: "docker" "inspect" "ea6db2383f5eb0b8169c4ed8b25cffe7ad20a9b38d6e0781b627d704a2f6c235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea6db2383f5eb0b8169c4ed8b25cffe7ad20a9b38d6e0781b627d704a2f6c235", kill_on_drop: false }` [INFO] [stdout] ea6db2383f5eb0b8169c4ed8b25cffe7ad20a9b38d6e0781b627d704a2f6c235 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ca9880d2a294c1ca39f40fa98fa34bd5178e315e83899b74ba25740e0bf1f40a [INFO] running `Command { std: "docker" "start" "-a" "ca9880d2a294c1ca39f40fa98fa34bd5178e315e83899b74ba25740e0bf1f40a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/muli-5ab53975b9b40c45) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test lexer::lexer::test::function_declaration ... ok [INFO] [stdout] test lexer::lexer::test::property_access ... ok [INFO] [stdout] test lexer::lexer::test::leading_underscore ... ok [INFO] [stdout] test lexer::lexer::test::simple_assignment ... ok [INFO] [stdout] test lexer::lexer::test::interpolated_underscore ... ok [INFO] [stdout] test lexer::lexer::test::small_program ... ok [INFO] [stdout] test lexer::lexer::test::type_declaration ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ca9880d2a294c1ca39f40fa98fa34bd5178e315e83899b74ba25740e0bf1f40a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca9880d2a294c1ca39f40fa98fa34bd5178e315e83899b74ba25740e0bf1f40a", kill_on_drop: false }` [INFO] [stdout] ca9880d2a294c1ca39f40fa98fa34bd5178e315e83899b74ba25740e0bf1f40a