[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 master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiskyd%2Flox" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iskyd/lox on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "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-tc1/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" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d85c959b4250359621d36e2fa46b9813619bac8c8e0f93a84c451a6ef1f600a [INFO] running `Command { std: "docker" "start" "-a" "4d85c959b4250359621d36e2fa46b9813619bac8c8e0f93a84c451a6ef1f600a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d85c959b4250359621d36e2fa46b9813619bac8c8e0f93a84c451a6ef1f600a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d85c959b4250359621d36e2fa46b9813619bac8c8e0f93a84c451a6ef1f600a", kill_on_drop: false }` [INFO] [stdout] 4d85c959b4250359621d36e2fa46b9813619bac8c8e0f93a84c451a6ef1f600a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f57d25444e4f503a6d717e0fec5322f97cefd04adb99b4a26490d6b8c6df1f65 [INFO] running `Command { std: "docker" "start" "-a" "f57d25444e4f503a6d717e0fec5322f97cefd04adb99b4a26490d6b8c6df1f65", 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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcWegpFD/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcWegpFD/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/lox-b76a21e5de1978aa" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. [INFO] [stdout] collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lox` (bin "lox") due to 1 previous error; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f57d25444e4f503a6d717e0fec5322f97cefd04adb99b4a26490d6b8c6df1f65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f57d25444e4f503a6d717e0fec5322f97cefd04adb99b4a26490d6b8c6df1f65", kill_on_drop: false }` [INFO] [stdout] f57d25444e4f503a6d717e0fec5322f97cefd04adb99b4a26490d6b8c6df1f65