[INFO] cloning repository https://github.com/QlowB/zombie [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/QlowB/zombie" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQlowB%2Fzombie", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQlowB%2Fzombie'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 207403c291b4b12dfcf048205e1883517ec56616 [INFO] checking QlowB/zombie against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQlowB%2Fzombie" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/QlowB/zombie [INFO] finished tweaking git repo https://github.com/QlowB/zombie [INFO] tweaked toml for git repo https://github.com/QlowB/zombie written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/QlowB/zombie on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/QlowB/zombie 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdd68c661bc8ce5d275b907cefd01cdf3da7d09fb93a2ed094df859b9940eb9c [INFO] running `Command { std: "docker" "start" "-a" "cdd68c661bc8ce5d275b907cefd01cdf3da7d09fb93a2ed094df859b9940eb9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdd68c661bc8ce5d275b907cefd01cdf3da7d09fb93a2ed094df859b9940eb9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdd68c661bc8ce5d275b907cefd01cdf3da7d09fb93a2ed094df859b9940eb9c", kill_on_drop: false }` [INFO] [stdout] cdd68c661bc8ce5d275b907cefd01cdf3da7d09fb93a2ed094df859b9940eb9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e47a67f6f6b593b7764e7cb5bf667db0b53a4c5de1b2d2e90c50e2fda065c8b1 [INFO] running `Command { std: "docker" "start" "-a" "e47a67f6f6b593b7764e7cb5bf667db0b53a4c5de1b2d2e90c50e2fda065c8b1", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking typed-arena v1.4.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.2.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling dynasm v1.0.1 [INFO] [stderr] Checking dynasmrt v1.0.1 [INFO] [stderr] Checking zombie v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Add`, `Mul`, and `Sub` [INFO] [stdout] --> src/interpret.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::{Add, Mul, Sub}; [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: `CellSize` [INFO] [stdout] --> src/compile.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use super::options::{Options, CellLayout, CellSize}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/options.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | Err(e) => match s { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/compile.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn compile_cfg<'a>(cfg: Vec>) -> Box ()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_creator` [INFO] [stdout] --> src/trans/c.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let offset_creator = |o: i64| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset_creator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nop` [INFO] [stdout] --> src/trans/c.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | fn visit_nop(&mut self, nop: &Instruction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_nop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `BasicBlock` is never constructed [INFO] [stdout] --> src/optimize.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct BasicBlock<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arena` is never read [INFO] [stdout] --> src/optimize.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct BasicBlock<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 20 | arena: &'a Arena>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryState` is never constructed [INFO] [stdout] --> src/optimize.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | struct MemoryState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CellState` is never used [INFO] [stdout] --> src/optimize.rs:167:6 [INFO] [stdout] | [INFO] [stdout] 167 | enum CellState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opts` is never read [INFO] [stdout] --> src/compile.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct CodeGenerator<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 65 | pub buffer: dynasmrt::x64::Assembler, [INFO] [stdout] 66 | opts: &'a Options [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/compile.rs:272:43 [INFO] [stdout] | [INFO] [stdout] 272 | ; mov rax, QWORD readbyte as _ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 272 | ; mov rax, QWORD readbyte as *const () as _ [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/compile.rs:290:42 [INFO] [stdout] | [INFO] [stdout] 290 | ; mov rax, QWORD putbyte as _ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 290 | ; mov rax, QWORD putbyte as *const () as _ [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zombie` (bin "zombie" test) due to 1 previous error; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused imports: `Add`, `Mul`, and `Sub` [INFO] [stdout] --> src/interpret.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::{Add, Mul, Sub}; [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: `CellSize` [INFO] [stdout] --> src/compile.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use super::options::{Options, CellLayout, CellSize}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/options.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | Err(e) => match s { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/compile.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn compile_cfg<'a>(cfg: Vec>) -> Box ()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_creator` [INFO] [stdout] --> src/trans/c.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let offset_creator = |o: i64| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset_creator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nop` [INFO] [stdout] --> src/trans/c.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | fn visit_nop(&mut self, nop: &Instruction) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_nop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `BasicBlock` is never constructed [INFO] [stdout] --> src/optimize.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct BasicBlock<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arena` is never read [INFO] [stdout] --> src/optimize.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct BasicBlock<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 20 | arena: &'a Arena>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryState` is never constructed [INFO] [stdout] --> src/optimize.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | struct MemoryState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CellState` is never used [INFO] [stdout] --> src/optimize.rs:167:6 [INFO] [stdout] | [INFO] [stdout] 167 | enum CellState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opts` is never read [INFO] [stdout] --> src/compile.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct CodeGenerator<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 65 | pub buffer: dynasmrt::x64::Assembler, [INFO] [stdout] 66 | opts: &'a Options [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/compile.rs:272:43 [INFO] [stdout] | [INFO] [stdout] 272 | ; mov rax, QWORD readbyte as _ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 272 | ; mov rax, QWORD readbyte as *const () as _ [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/compile.rs:290:42 [INFO] [stdout] | [INFO] [stdout] 290 | ; mov rax, QWORD putbyte as _ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 290 | ; mov rax, QWORD putbyte as *const () as _ [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zombie` (bin "zombie") due to 1 previous error; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e47a67f6f6b593b7764e7cb5bf667db0b53a4c5de1b2d2e90c50e2fda065c8b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e47a67f6f6b593b7764e7cb5bf667db0b53a4c5de1b2d2e90c50e2fda065c8b1", kill_on_drop: false }` [INFO] [stdout] e47a67f6f6b593b7764e7cb5bf667db0b53a4c5de1b2d2e90c50e2fda065c8b1