[INFO] cloning repository https://github.com/lucklyisgood/lm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucklyisgood/lm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucklyisgood%2Flm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucklyisgood%2Flm'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucklyisgood%2Flm: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/lucklyisgood/lm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucklyisgood/lm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucklyisgood%2Flm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucklyisgood%2Flm'... [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%2Flucklyisgood%2Flm/hooks/pre-commit.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/lucklyisgood/lm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucklyisgood/lm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucklyisgood%2Flm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucklyisgood%2Flm'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/update.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucklyisgood%2Flm/hooks/update.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/lucklyisgood/lm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucklyisgood/lm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucklyisgood%2Flm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucklyisgood%2Flm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cba829b698093764c9c2c89345455c58f63f053c [INFO] checking lucklyisgood/lm against master#613bdd49978298648ed05ace086bd1ecad54b44a for pr-136458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucklyisgood%2Flm" "/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/lucklyisgood/lm on toolchain 613bdd49978298648ed05ace086bd1ecad54b44a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lucklyisgood/lm [INFO] finished tweaking git repo https://github.com/lucklyisgood/lm [INFO] tweaked toml for git repo https://github.com/lucklyisgood/lm written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lucklyisgood/lm 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" "+613bdd49978298648ed05ace086bd1ecad54b44a" "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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35eef4077ba2dddff11a8399632153578299f9399ed967098d28cce7c98450f3 [INFO] running `Command { std: "docker" "start" "-a" "35eef4077ba2dddff11a8399632153578299f9399ed967098d28cce7c98450f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35eef4077ba2dddff11a8399632153578299f9399ed967098d28cce7c98450f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35eef4077ba2dddff11a8399632153578299f9399ed967098d28cce7c98450f3", kill_on_drop: false }` [INFO] [stdout] 35eef4077ba2dddff11a8399632153578299f9399ed967098d28cce7c98450f3 [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70ae4618d2d3dc76a1caa1ae7f82e8c76b5a6f54ee9c95c6ad909311d1aab343 [INFO] running `Command { std: "docker" "start" "-a" "70ae4618d2d3dc76a1caa1ae7f82e8c76b5a6f54ee9c95c6ad909311d1aab343", kill_on_drop: false }` [INFO] [stderr] Checking lm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `get_keywords` is never used [INFO] [stdout] --> src/scanner.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_keywords() -> HashMap<&'static str, TokenType> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scanner` is never constructed [INFO] [stdout] --> src/scanner.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Scanner { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/scanner.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Scanner { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 23 | pub fn new(source: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn scan_tokens(&mut self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn is_at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn scan_token(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn next_char(&mut self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn add_token(self: &mut Self, token_type: TokenType) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn add_token_lit(self: &mut Self, token_type: TokenType, literal: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn peek_next(&self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn peek(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn char_match(&mut self, ch: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn string(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn number(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn identifier(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/token_type.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 5 | // 单一字符 [INFO] [stdout] 6 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | LeftParen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | RightParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | EqEq, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | Identifier, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | StringLit, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | Number, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | Println, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | Let, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | [INFO] [stdout] 23 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NumberValue` and `StringValue` are never constructed [INFO] [stdout] --> src/token_type.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum LiteralValue { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 34 | NumberValue(f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | StringValue(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiteralValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line_nu` is never read [INFO] [stdout] --> src/token_type.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | pub line_nu: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_keywords` is never used [INFO] [stdout] --> src/scanner.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_keywords() -> HashMap<&'static str, TokenType> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scanner` is never constructed [INFO] [stdout] --> src/scanner.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Scanner { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/scanner.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Scanner { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 23 | pub fn new(source: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn scan_tokens(&mut self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn is_at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn scan_token(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn next_char(&mut self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn add_token(self: &mut Self, token_type: TokenType) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn add_token_lit(self: &mut Self, token_type: TokenType, literal: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn peek_next(&self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn peek(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn char_match(&mut self, ch: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn string(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn number(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn identifier(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/token_type.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 5 | // 单一字符 [INFO] [stdout] 6 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | LeftParen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | RightParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | EqEq, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | Identifier, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | StringLit, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | Number, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | Println, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | Let, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | [INFO] [stdout] 23 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NumberValue` and `StringValue` are never constructed [INFO] [stdout] --> src/token_type.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum LiteralValue { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 34 | NumberValue(f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | StringValue(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiteralValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line_nu` is never read [INFO] [stdout] --> src/token_type.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | pub line_nu: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "70ae4618d2d3dc76a1caa1ae7f82e8c76b5a6f54ee9c95c6ad909311d1aab343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70ae4618d2d3dc76a1caa1ae7f82e8c76b5a6f54ee9c95c6ad909311d1aab343", kill_on_drop: false }` [INFO] [stdout] 70ae4618d2d3dc76a1caa1ae7f82e8c76b5a6f54ee9c95c6ad909311d1aab343