[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 try#9228062c11d321a3ea08123f57e47533a3c88b00 for pr-154781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeshyu%2Fspace-compiler" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Keshyu/space-compiler on toolchain 9228062c11d321a3ea08123f57e47533a3c88b00 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9228062c11d321a3ea08123f57e47533a3c88b00" "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" "+9228062c11d321a3ea08123f57e47533a3c88b00" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/Keshyu/compiler-module` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9228062c11d321a3ea08123f57e47533a3c88b00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 827b510d351480137248e42157b9e230caa517b68ee067ea25fe84385b6aadd9 [INFO] running `Command { std: "docker" "start" "-a" "827b510d351480137248e42157b9e230caa517b68ee067ea25fe84385b6aadd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "827b510d351480137248e42157b9e230caa517b68ee067ea25fe84385b6aadd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "827b510d351480137248e42157b9e230caa517b68ee067ea25fe84385b6aadd9", kill_on_drop: false }` [INFO] [stdout] 827b510d351480137248e42157b9e230caa517b68ee067ea25fe84385b6aadd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9228062c11d321a3ea08123f57e47533a3c88b00" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9c67a0959f9c57b8923f8e327a79aab9b44e570fdf783ae0ad9dcdec4fcdb35 [INFO] running `Command { std: "docker" "start" "-a" "a9c67a0959f9c57b8923f8e327a79aab9b44e570fdf783ae0ad9dcdec4fcdb35", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [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 libc v0.2.65 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [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] [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 2.57s [INFO] running `Command { std: "docker" "inspect" "a9c67a0959f9c57b8923f8e327a79aab9b44e570fdf783ae0ad9dcdec4fcdb35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9c67a0959f9c57b8923f8e327a79aab9b44e570fdf783ae0ad9dcdec4fcdb35", kill_on_drop: false }` [INFO] [stdout] a9c67a0959f9c57b8923f8e327a79aab9b44e570fdf783ae0ad9dcdec4fcdb35