[INFO] cloning repository https://github.com/pawalt/bpfeval [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pawalt/bpfeval" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpawalt%2Fbpfeval", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpawalt%2Fbpfeval'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 568a7ea4320e4b79237448bd4d8a3575f0e6a5e2 [INFO] checking pawalt/bpfeval against master#cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpawalt%2Fbpfeval" "/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/pawalt/bpfeval on toolchain cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pawalt/bpfeval [INFO] finished tweaking git repo https://github.com/pawalt/bpfeval [INFO] tweaked toml for git repo https://github.com/pawalt/bpfeval written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pawalt/bpfeval 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" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "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-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37b18f53ced25c067577999bc291d73da050ee7149084e8370d8e084876b8d3d [INFO] running `Command { std: "docker" "start" "-a" "37b18f53ced25c067577999bc291d73da050ee7149084e8370d8e084876b8d3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37b18f53ced25c067577999bc291d73da050ee7149084e8370d8e084876b8d3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37b18f53ced25c067577999bc291d73da050ee7149084e8370d8e084876b8d3d", kill_on_drop: false }` [INFO] [stdout] 37b18f53ced25c067577999bc291d73da050ee7149084e8370d8e084876b8d3d [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bbdae8b0a79e3f48a90bea28f47dba964d85280429cf4b915510f3f5cf5b3e1 [INFO] running `Command { std: "docker" "start" "-a" "8bbdae8b0a79e3f48a90bea28f47dba964d85280429cf4b915510f3f5cf5b3e1", kill_on_drop: false }` [INFO] [stderr] Checking bpfeval v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/interp.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | LabeledTapeEntry::Lbl(s) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/interp.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | LabeledTapeEntry::Lbl(s) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bpfeval::types` [INFO] [stdout] --> tests/fun_programs.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bpfeval::types; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bpfeval::types` [INFO] [stdout] --> tests/label.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bpfeval::types; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/interp.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | LabeledTapeEntry::Lbl(s) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MEM_SIZE` is never used [INFO] [stdout] --> src/types.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const MEM_SIZE : usize = 8000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Machine` is never constructed [INFO] [stdout] --> src/types.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Machine { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LabeledTapeEntry` is never used [INFO] [stdout] --> src/types.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum LabeledTapeEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/types.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Register { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 29 | R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Register` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Immediate` is never used [INFO] [stdout] --> src/types.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Immediate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Immediate` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operand` is never used [INFO] [stdout] --> src/types.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum Operand { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operand` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Insn` is never used [INFO] [stdout] --> src/types.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum Insn { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Insn` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/interp.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Machine { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 10 | pub fn new(tape: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new_labeled(labeled_tape: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn val_of_op(&self, op: Operand) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn val_of_imm(&self, imm: Immediate) -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn val_of_reg(&self, reg: Register) -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn put_reg(&mut self, reg: Register, val: i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn val_of_binop(&self, insn: Insn, r: Register, o: Operand) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn exec_ld(&mut self, r: Register, o: Operand, size: i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn exec_str(&mut self, loc: Operand, val: Operand, size: i64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn exec_cnd_unsigned(&mut self, dst: Register, src: Operand, imm_offset: Immediate, cnd: impl Fn(u64, u64) -> bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn exec_cnd_signed(&mut self, dst: Register, src: Operand, imm_offset: Immediate, cnd: impl Fn(i64, i64) -> bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delabel_tape` is never used [INFO] [stdout] --> src/interp.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn delabel_tape(labeled_tape: Vec) -> (HashMap<&'static str, usize>, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_tape` is never used [INFO] [stdout] --> src/interp.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn run_tape(mach: &mut Machine) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/interp.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | LabeledTapeEntry::Lbl(s) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MEM_SIZE` is never used [INFO] [stdout] --> src/types.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const MEM_SIZE : usize = 8000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Machine` is never constructed [INFO] [stdout] --> src/types.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Machine { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LabeledTapeEntry` is never used [INFO] [stdout] --> src/types.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum LabeledTapeEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/types.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Register { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 29 | R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Register` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Immediate` is never used [INFO] [stdout] --> src/types.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Immediate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Immediate` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operand` is never used [INFO] [stdout] --> src/types.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum Operand { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operand` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Insn` is never used [INFO] [stdout] --> src/types.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum Insn { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Insn` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/interp.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Machine { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 10 | pub fn new(tape: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new_labeled(labeled_tape: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn val_of_op(&self, op: Operand) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn val_of_imm(&self, imm: Immediate) -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn val_of_reg(&self, reg: Register) -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn put_reg(&mut self, reg: Register, val: i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn val_of_binop(&self, insn: Insn, r: Register, o: Operand) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn exec_ld(&mut self, r: Register, o: Operand, size: i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn exec_str(&mut self, loc: Operand, val: Operand, size: i64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn exec_cnd_unsigned(&mut self, dst: Register, src: Operand, imm_offset: Immediate, cnd: impl Fn(u64, u64) -> bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn exec_cnd_signed(&mut self, dst: Register, src: Operand, imm_offset: Immediate, cnd: impl Fn(i64, i64) -> bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delabel_tape` is never used [INFO] [stdout] --> src/interp.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn delabel_tape(labeled_tape: Vec) -> (HashMap<&'static str, usize>, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_tape` is never used [INFO] [stdout] --> src/interp.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn run_tape(mach: &mut Machine) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "8bbdae8b0a79e3f48a90bea28f47dba964d85280429cf4b915510f3f5cf5b3e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bbdae8b0a79e3f48a90bea28f47dba964d85280429cf4b915510f3f5cf5b3e1", kill_on_drop: false }` [INFO] [stdout] 8bbdae8b0a79e3f48a90bea28f47dba964d85280429cf4b915510f3f5cf5b3e1