[INFO] cloning repository https://github.com/Keshyu/space-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Keshyu/space-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeshyu%2Fspace-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeshyu%2Fspace-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c472408a4e7a0db61bb6f333a05aea17df5a40be [INFO] checking Keshyu/space-compiler against master#029c9e18dd1f4668e1d42bb187c1c263dfe20093 for pr-157562 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeshyu%2Fspace-compiler" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Keshyu/space-compiler [INFO] finished tweaking git repo https://github.com/Keshyu/space-compiler [INFO] tweaked toml for git repo https://github.com/Keshyu/space-compiler written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Keshyu/space-compiler on toolchain 029c9e18dd1f4668e1d42bb187c1c263dfe20093 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Keshyu/space-compiler 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" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/Keshyu/compiler-module` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded phf_macros v0.7.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 37f3d0ab9183bb8026186ef12152c39823921122830537e11a4a9e8c680c1460 [INFO] running `Command { std: "docker" "start" "37f3d0ab9183bb8026186ef12152c39823921122830537e11a4a9e8c680c1460", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37f3d0ab9183bb8026186ef12152c39823921122830537e11a4a9e8c680c1460" "/opt/rustwide/cargo-home/bin/cargo" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37f3d0ab9183bb8026186ef12152c39823921122830537e11a4a9e8c680c1460", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37f3d0ab9183bb8026186ef12152c39823921122830537e11a4a9e8c680c1460" "/opt/rustwide/cargo-home/bin/cargo" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Checking siphasher v0.2.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking compiler_module v0.1.0 (https://github.com/Keshyu/compiler-module#e0b5d1ae) [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking phf_generator v0.7.24 [INFO] [stderr] Checking phf_codegen v0.7.24 [INFO] [stderr] Compiling phf_macros v0.7.24 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking space-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `lexer::Lexer` [INFO] [stdout] --> src/lexer/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lexer::Lexer` [INFO] [stdout] --> src/lexer/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/lexer/lexer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Lexer<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `name`, `number`, `string`, and `character` are never used [INFO] [stdout] --> src/lexer/lexer.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 98 | pub fn new(source_str: &'a str) -> Lexer<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn name(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn number(&mut self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn string(&mut self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn character(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/lexer/context.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> src/token/token.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `type` is never used [INFO] [stdout] --> src/token/token.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 17 | pub fn r#type(&self) -> TokenType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_alnum` is never used [INFO] [stdout] --> src/util/char.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn is_alnum(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_alpha` is never used [INFO] [stdout] --> src/util/char.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn is_alpha(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_digit` is never used [INFO] [stdout] --> src/util/char.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn is_digit(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `KEYWORDS` is never used [INFO] [stdout] --> src/generated/keywords.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub static KEYWORDS: phf::Map<&'static str, TokenType> =::phf::Map { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ESCAPED_CHARS` is never used [INFO] [stdout] --> src/generated/escaped_chars.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub static ESCAPED_CHARS: phf::Map =::phf::Map { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.33s [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/lexer/lexer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Lexer<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `name`, `number`, `string`, and `character` are never used [INFO] [stdout] --> src/lexer/lexer.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 98 | pub fn new(source_str: &'a str) -> Lexer<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn name(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn number(&mut self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn string(&mut self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn character(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/lexer/context.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> src/token/token.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `type` is never used [INFO] [stdout] --> src/token/token.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 17 | pub fn r#type(&self) -> TokenType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_alnum` is never used [INFO] [stdout] --> src/util/char.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn is_alnum(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_alpha` is never used [INFO] [stdout] --> src/util/char.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn is_alpha(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_digit` is never used [INFO] [stdout] --> src/util/char.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn is_digit(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `KEYWORDS` is never used [INFO] [stdout] --> src/generated/keywords.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub static KEYWORDS: phf::Map<&'static str, TokenType> =::phf::Map { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ESCAPED_CHARS` is never used [INFO] [stdout] --> src/generated/escaped_chars.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub static ESCAPED_CHARS: phf::Map =::phf::Map { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "37f3d0ab9183bb8026186ef12152c39823921122830537e11a4a9e8c680c1460", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37f3d0ab9183bb8026186ef12152c39823921122830537e11a4a9e8c680c1460", kill_on_drop: false }` [INFO] [stdout] 37f3d0ab9183bb8026186ef12152c39823921122830537e11a4a9e8c680c1460