[INFO] cloning repository https://github.com/StoJ57/compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/StoJ57/compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStoJ57%2Fcompiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStoJ57%2Fcompiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d488ce719b5b1f0cb696d1c8c6452583fa9de76 [INFO] checking StoJ57/compiler/7d488ce719b5b1f0cb696d1c8c6452583fa9de76 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStoJ57%2Fcompiler" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/StoJ57/compiler on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/StoJ57/compiler [INFO] finished tweaking git repo https://github.com/StoJ57/compiler [INFO] tweaked toml for git repo https://github.com/StoJ57/compiler written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/StoJ57/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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded match_cast v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec244279e517951c497ce914ba221cd6577e9f8dcdf063e93ba4f5f5937cacba [INFO] running `Command { std: "docker" "start" "-a" "ec244279e517951c497ce914ba221cd6577e9f8dcdf063e93ba4f5f5937cacba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec244279e517951c497ce914ba221cd6577e9f8dcdf063e93ba4f5f5937cacba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec244279e517951c497ce914ba221cd6577e9f8dcdf063e93ba4f5f5937cacba", kill_on_drop: false }` [INFO] [stdout] ec244279e517951c497ce914ba221cd6577e9f8dcdf063e93ba4f5f5937cacba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfcb07ccb7caef1b76f8130a6094fd2b73f2d873f71222f7971072fcda751952 [INFO] running `Command { std: "docker" "start" "-a" "dfcb07ccb7caef1b76f8130a6094fd2b73f2d873f71222f7971072fcda751952", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking match_cast v0.1.2 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/parser/ast.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | scope: &mut tac::Scope, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/parser/ast.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | target: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `strict_target` [INFO] [stdout] --> src/parser/ast.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | strict_target: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strict_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/parser/ast.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | scope: &mut tac::Scope, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/parser/ast.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | target: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `strict_target` [INFO] [stdout] --> src/parser/ast.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | strict_target: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strict_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/parser/ast.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | scope: &mut tac::Scope, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/parser/ast.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | target: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `strict_target` [INFO] [stdout] --> src/parser/ast.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | strict_target: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strict_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/parser/ast.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | scope: &mut tac::Scope, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/parser/ast.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | target: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `strict_target` [INFO] [stdout] --> src/parser/ast.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | strict_target: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strict_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/compiler/asm.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Register { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Register` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `free_register` is never used [INFO] [stdout] --> src/compiler/asm.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl RegisterSet { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn free_register(&mut self, i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compile_address` is never used [INFO] [stdout] --> src/compiler/asm.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait Dialect { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 43 | fn compile_address(&mut self, addr: &tac::Address) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Subtract` is never constructed [INFO] [stdout] --> src/compiler/tac.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Line { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 21 | Add(Address, Address), // A += B [INFO] [stdout] 22 | Subtract(Address, Address), // A -= B [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Line` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `jump_counter` is never read [INFO] [stdout] --> src/compiler/tac.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 39 | var_counter: u64, [INFO] [stdout] 40 | jump_counter: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `jump_label` is never used [INFO] [stdout] --> src/compiler/tac.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Scope { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn jump_label(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DECLARE` and `EXPRESSION` are never constructed [INFO] [stdout] --> src/parser/ast.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 230 | pub enum Statement { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 231 | DECLARE, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 232 | RETURN(Box), [INFO] [stdout] 233 | EXPRESSION, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/compiler/asm.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Register { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Register` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `free_register` is never used [INFO] [stdout] --> src/compiler/asm.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl RegisterSet { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn free_register(&mut self, i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compile_address` is never used [INFO] [stdout] --> src/compiler/asm.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait Dialect { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 43 | fn compile_address(&mut self, addr: &tac::Address) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Subtract` is never constructed [INFO] [stdout] --> src/compiler/tac.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Line { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 21 | Add(Address, Address), // A += B [INFO] [stdout] 22 | Subtract(Address, Address), // A -= B [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Line` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `jump_counter` is never read [INFO] [stdout] --> src/compiler/tac.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 39 | var_counter: u64, [INFO] [stdout] 40 | jump_counter: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `jump_label` is never used [INFO] [stdout] --> src/compiler/tac.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Scope { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn jump_label(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DECLARE` and `EXPRESSION` are never constructed [INFO] [stdout] --> src/parser/ast.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 230 | pub enum Statement { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 231 | DECLARE, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 232 | RETURN(Box), [INFO] [stdout] 233 | EXPRESSION, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.75s [INFO] running `Command { std: "docker" "inspect" "dfcb07ccb7caef1b76f8130a6094fd2b73f2d873f71222f7971072fcda751952", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfcb07ccb7caef1b76f8130a6094fd2b73f2d873f71222f7971072fcda751952", kill_on_drop: false }` [INFO] [stdout] dfcb07ccb7caef1b76f8130a6094fd2b73f2d873f71222f7971072fcda751952