[INFO] cloning repository https://github.com/iskyd/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iskyd/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/iskyd/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iskyd/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-commit.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox/hooks/pre-commit.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/iskyd/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iskyd/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-push.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox/hooks/pre-push.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/iskyd/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iskyd/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/iskyd/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iskyd/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/iskyd/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iskyd/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/iskyd/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iskyd/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/iskyd/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iskyd/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/iskyd/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iskyd/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/iskyd/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iskyd/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/iskyd/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iskyd/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/iskyd/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iskyd/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/iskyd/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iskyd/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/iskyd/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iskyd/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/iskyd/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iskyd/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 325b044ed3e789692020dbb926ca10673b3ea2e8 [INFO] testing iskyd/lox against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iskyd/lox on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iskyd/lox [INFO] finished tweaking git repo https://github.com/iskyd/lox [INFO] tweaked toml for git repo https://github.com/iskyd/lox written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/iskyd/lox 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f01c2755858240d95e35556348ee25743897abec9ae0d527ddd7acabdc95b36c [INFO] running `Command { std: "docker" "start" "-a" "f01c2755858240d95e35556348ee25743897abec9ae0d527ddd7acabdc95b36c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f01c2755858240d95e35556348ee25743897abec9ae0d527ddd7acabdc95b36c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f01c2755858240d95e35556348ee25743897abec9ae0d527ddd7acabdc95b36c", kill_on_drop: false }` [INFO] [stdout] f01c2755858240d95e35556348ee25743897abec9ae0d527ddd7acabdc95b36c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3da21aa7c3840fe4094234ed8c2375653f583abcab6bccadc7a1bb213036cb0d [INFO] running `Command { std: "docker" "start" "-a" "3da21aa7c3840fe4094234ed8c2375653f583abcab6bccadc7a1bb213036cb0d", kill_on_drop: false }` [INFO] [stderr] Compiling lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::tokens::Literal` [INFO] [stdout] --> src/ast.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tokens::Literal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AstPrinter` is never constructed [INFO] [stdout] --> src/ast.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct AstPrinter {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `print` is never used [INFO] [stdout] --> src/ast.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl AstPrinter { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 7 | pub fn print(e: Expr) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/errors.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl LexicalError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 24 | pub fn new(message: String, line: usize, position: usize) -> LexicalError { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> src/expr.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scanner` is never constructed [INFO] [stdout] --> src/token_scanner.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Scanner<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `scan` are never used [INFO] [stdout] --> src/token_scanner.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> Scanner<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(source: &'a [u8]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn scan(mut self) -> Result, LexicalError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Literal` is never used [INFO] [stdout] --> src/tokens.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Literal { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_str` is never used [INFO] [stdout] --> src/tokens.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Literal { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 7 | pub fn to_str(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/tokens.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 21 | // Single character token [INFO] [stdout] 22 | LeftParen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | RightParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | LeftBrace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | RightBrace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | Dot, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | [INFO] [stdout] 34 | Bang, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | BangEq, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 37 | EqEq, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | Gt, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | Gte, [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | Lt, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | Lte, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | Identifier, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 45 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | Number, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | Class, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | Fun, [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | For, [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 56 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 58 | Print, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 59 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | Super, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | This, [INFO] [stdout] | ^^^^ [INFO] [stdout] 62 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | Var, [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | While, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 65 | [INFO] [stdout] 66 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_type_by_reserved_keyword` is never used [INFO] [stdout] --> src/tokens.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl TokenType { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 70 | pub fn get_type_by_reserved_keyword(k: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> src/tokens.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tokens.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl Token { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 103 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_alpha` is never used [INFO] [stdout] --> src/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn is_alpha(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_alphanumeric` is never used [INFO] [stdout] --> src/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn is_alphanumeric(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "3da21aa7c3840fe4094234ed8c2375653f583abcab6bccadc7a1bb213036cb0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3da21aa7c3840fe4094234ed8c2375653f583abcab6bccadc7a1bb213036cb0d", kill_on_drop: false }` [INFO] [stdout] 3da21aa7c3840fe4094234ed8c2375653f583abcab6bccadc7a1bb213036cb0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f0ecf7f21397ed5b2ae46b2b0b21768da4b253f5a75ac12cb54342533c1b09e [INFO] running `Command { std: "docker" "start" "-a" "5f0ecf7f21397ed5b2ae46b2b0b21768da4b253f5a75ac12cb54342533c1b09e", kill_on_drop: false }` [INFO] [stderr] Compiling lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::tokens::Literal` [INFO] [stdout] --> src/ast.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tokens::Literal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Comma`, `Dot`, `Plus`, `Semicolon`, and `Eof` are never constructed [INFO] [stdout] --> src/tokens.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | Dot, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | Minus, [INFO] [stdout] 29 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line`, `position_start`, `position_end`, and `literal` are never read [INFO] [stdout] --> src/tokens.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 96 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | pub position_start: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 98 | pub position_end: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 99 | pub literal: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] running `Command { std: "docker" "inspect" "5f0ecf7f21397ed5b2ae46b2b0b21768da4b253f5a75ac12cb54342533c1b09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f0ecf7f21397ed5b2ae46b2b0b21768da4b253f5a75ac12cb54342533c1b09e", kill_on_drop: false }` [INFO] [stdout] 5f0ecf7f21397ed5b2ae46b2b0b21768da4b253f5a75ac12cb54342533c1b09e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f1c0fd0788581c88b09375162e50a7aadf2d35d2ecd2bb7353f848b5778155bd [INFO] running `Command { std: "docker" "start" "-a" "f1c0fd0788581c88b09375162e50a7aadf2d35d2ecd2bb7353f848b5778155bd", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::tokens::Literal` [INFO] [stderr] --> src/ast.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::tokens::Literal; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `Comma`, `Dot`, `Plus`, `Semicolon`, and `Eof` are never constructed [INFO] [stderr] --> src/tokens.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub enum TokenType { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 26 | Comma, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 27 | Dot, [INFO] [stderr] | ^^^ [INFO] [stderr] 28 | Minus, [INFO] [stderr] 29 | Plus, [INFO] [stderr] | ^^^^ [INFO] [stderr] 30 | Semicolon, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 66 | Eof, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `line`, `position_start`, `position_end`, and `literal` are never read [INFO] [stderr] --> src/tokens.rs:96:9 [INFO] [stderr] | [INFO] [stderr] 93 | pub struct Token { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 96 | pub line: usize, [INFO] [stderr] | ^^^^ [INFO] [stderr] 97 | pub position_start: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 98 | pub position_end: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 99 | pub literal: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `lox` (bin "lox" test) generated 3 warnings (run `cargo fix --bin "lox" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lox-f3b2ecb40138b411) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test ast::tests::test_print ... ok [INFO] [stdout] test token_scanner::tests::test_reserved_keyword ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f1c0fd0788581c88b09375162e50a7aadf2d35d2ecd2bb7353f848b5778155bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1c0fd0788581c88b09375162e50a7aadf2d35d2ecd2bb7353f848b5778155bd", kill_on_drop: false }` [INFO] [stdout] f1c0fd0788581c88b09375162e50a7aadf2d35d2ecd2bb7353f848b5778155bd