[INFO] cloning repository https://github.com/bobby-palmer/lcc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bobby-palmer/lcc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbobby-palmer%2Flcc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbobby-palmer%2Flcc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f05f7d1aa5f39759a88b0089d982a8bedc7dd12a [INFO] checking bobby-palmer/lcc against try#b8ee37b59c6e1f39bae18b85e057975ab0d89308 for pr-139587-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbobby-palmer%2Flcc" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bobby-palmer/lcc on toolchain b8ee37b59c6e1f39bae18b85e057975ab0d89308 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bobby-palmer/lcc [INFO] finished tweaking git repo https://github.com/bobby-palmer/lcc [INFO] tweaked toml for git repo https://github.com/bobby-palmer/lcc written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bobby-palmer/lcc 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" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 393b014634aa59195b91dd07d023169955cea0509bddcdb4d4d6e2da0d9c2669 [INFO] running `Command { std: "docker" "start" "-a" "393b014634aa59195b91dd07d023169955cea0509bddcdb4d4d6e2da0d9c2669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "393b014634aa59195b91dd07d023169955cea0509bddcdb4d4d6e2da0d9c2669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "393b014634aa59195b91dd07d023169955cea0509bddcdb4d4d6e2da0d9c2669", kill_on_drop: false }` [INFO] [stdout] 393b014634aa59195b91dd07d023169955cea0509bddcdb4d4d6e2da0d9c2669 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4640dccd376e7a6bc64f786623d18ff34d3e2bc36f9d0a20199e4eb8f9f6d234 [INFO] running `Command { std: "docker" "start" "-a" "4640dccd376e7a6bc64f786623d18ff34d3e2bc36f9d0a20199e4eb8f9f6d234", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking rusty_parser v1.1.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking lcc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `MEM_SIZE` is never used [INFO] [stdout] --> src/lc2k.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const MEM_SIZE: usize = 65536; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_REG` is never used [INFO] [stdout] --> src/lc2k.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const NUM_REG: usize = 8; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Register` is never constructed [INFO] [stdout] --> src/lc2k.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Register(usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Register` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/lc2k.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Register { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 8 | pub fn from_str(src: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Address` is never used [INFO] [stdout] --> src/lc2k.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Address { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Address` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/lc2k.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Address { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 24 | pub fn from_str(src: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Instruction` is never used [INFO] [stdout] --> src/lc2k.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/lc2k.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn parse(src: &str) -> Vec<(Option, Instruction)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MEM_SIZE` is never used [INFO] [stdout] --> src/lc2k.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const MEM_SIZE: usize = 65536; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lc2k.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Register(usize); [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Register` 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 `0` is never read [INFO] [stdout] --> src/lc2k.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | Literal(i32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Address` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - Literal(i32), [INFO] [stdout] 19 + Literal(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lc2k.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | Symbol(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Address` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 - Symbol(String), [INFO] [stdout] 20 + Symbol(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/lc2k.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Add(Register, Register, Register), [INFO] [stdout] | --- ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 36 - Add(Register, Register, Register), [INFO] [stdout] 36 + Add((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/lc2k.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | Nor(Register, Register, Register), [INFO] [stdout] | --- ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 37 - Nor(Register, Register, Register), [INFO] [stdout] 37 + Nor((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/lc2k.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | Lw(Register, Register, Address), [INFO] [stdout] | -- ^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 39 - Lw(Register, Register, Address), [INFO] [stdout] 39 + Lw((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/lc2k.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | Sw(Register, Register, Address), [INFO] [stdout] | -- ^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 40 - Sw(Register, Register, Address), [INFO] [stdout] 40 + Sw((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/lc2k.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Beq(Register, Register, Address), [INFO] [stdout] | --- ^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 41 - Beq(Register, Register, Address), [INFO] [stdout] 41 + Beq((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lc2k.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | Jalr(Register, Register), [INFO] [stdout] | ---- ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 43 - Jalr(Register, Register), [INFO] [stdout] 43 + Jalr((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lc2k.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | Fill(i32), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 48 - Fill(i32), [INFO] [stdout] 48 + Fill(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.41s [INFO] running `Command { std: "docker" "inspect" "4640dccd376e7a6bc64f786623d18ff34d3e2bc36f9d0a20199e4eb8f9f6d234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4640dccd376e7a6bc64f786623d18ff34d3e2bc36f9d0a20199e4eb8f9f6d234", kill_on_drop: false }` [INFO] [stdout] 4640dccd376e7a6bc64f786623d18ff34d3e2bc36f9d0a20199e4eb8f9f6d234