[INFO] cloning repository https://github.com/saeschdivara/gameboy-compiler-toolchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saeschdivara/gameboy-compiler-toolchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaeschdivara%2Fgameboy-compiler-toolchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaeschdivara%2Fgameboy-compiler-toolchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf44f0a6e135ab29db34a9b7c82ecbd5cb34aeba [INFO] checking saeschdivara/gameboy-compiler-toolchain against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaeschdivara%2Fgameboy-compiler-toolchain" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/saeschdivara/gameboy-compiler-toolchain on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/saeschdivara/gameboy-compiler-toolchain [INFO] finished tweaking git repo https://github.com/saeschdivara/gameboy-compiler-toolchain [INFO] tweaked toml for git repo https://github.com/saeschdivara/gameboy-compiler-toolchain written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/saeschdivara/gameboy-compiler-toolchain 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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d9ad1c23c581ecec344d7f646836ca1c8c3fb2c73e32dcf34eb1df2821de0c0 [INFO] running `Command { std: "docker" "start" "-a" "8d9ad1c23c581ecec344d7f646836ca1c8c3fb2c73e32dcf34eb1df2821de0c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d9ad1c23c581ecec344d7f646836ca1c8c3fb2c73e32dcf34eb1df2821de0c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d9ad1c23c581ecec344d7f646836ca1c8c3fb2c73e32dcf34eb1df2821de0c0", kill_on_drop: false }` [INFO] [stdout] 8d9ad1c23c581ecec344d7f646836ca1c8c3fb2c73e32dcf34eb1df2821de0c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e176fca89d72847a8ce19e8208bdffe0df52da87456ccd161fc24014230799e1 [INFO] running `Command { std: "docker" "start" "-a" "e176fca89d72847a8ce19e8208bdffe0df52da87456ccd161fc24014230799e1", kill_on_drop: false }` [INFO] [stderr] Checking gameboy-compiler-toolchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `CharMap` is never constructed [INFO] [stdout] --> src/ast.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StatementType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | CharMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `my_type` is never used [INFO] [stdout] --> src/ast.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Statement { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 16 | fn my_type(&self) -> StatementType; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `section_type` is never read [INFO] [stdout] --> src/ast.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct SectionStatement { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 35 | pub name: String, [INFO] [stdout] 36 | pub section_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tokens` is never read [INFO] [stdout] --> src/ast.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct MacroStatement { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 121 | pub name: String, [INFO] [stdout] 122 | pub tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EOF` is never constructed [INFO] [stdout] --> src/lexer.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum TokenType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | 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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | dbg!(parsed_ast); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CharMap` is never constructed [INFO] [stdout] --> src/ast.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StatementType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | CharMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `my_type` is never used [INFO] [stdout] --> src/ast.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Statement { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 16 | fn my_type(&self) -> StatementType; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `section_type` is never read [INFO] [stdout] --> src/ast.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct SectionStatement { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 35 | pub name: String, [INFO] [stdout] 36 | pub section_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tokens` is never read [INFO] [stdout] --> src/ast.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct MacroStatement { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 121 | pub name: String, [INFO] [stdout] 122 | pub tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EOF` is never constructed [INFO] [stdout] --> src/lexer.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum TokenType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | 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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | dbg!(parsed_ast); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "e176fca89d72847a8ce19e8208bdffe0df52da87456ccd161fc24014230799e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e176fca89d72847a8ce19e8208bdffe0df52da87456ccd161fc24014230799e1", kill_on_drop: false }` [INFO] [stdout] e176fca89d72847a8ce19e8208bdffe0df52da87456ccd161fc24014230799e1