[INFO] cloning repository https://github.com/melvinw/rust-bpf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/melvinw/rust-bpf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelvinw%2Frust-bpf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelvinw%2Frust-bpf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 673b26301563759f232e9665febd00ee3db75089 [INFO] building melvinw/rust-bpf against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelvinw%2Frust-bpf" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/melvinw/rust-bpf on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/melvinw/rust-bpf [INFO] finished tweaking git repo https://github.com/melvinw/rust-bpf [INFO] tweaked toml for git repo https://github.com/melvinw/rust-bpf written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/melvinw/rust-bpf 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a3612c72806370a49810a60252d0d6b0d586508cab3e83374ce790a1c87ca6e [INFO] running `Command { std: "docker" "start" "-a" "6a3612c72806370a49810a60252d0d6b0d586508cab3e83374ce790a1c87ca6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a3612c72806370a49810a60252d0d6b0d586508cab3e83374ce790a1c87ca6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a3612c72806370a49810a60252d0d6b0d586508cab3e83374ce790a1c87ca6e", kill_on_drop: false }` [INFO] [stdout] 6a3612c72806370a49810a60252d0d6b0d586508cab3e83374ce790a1c87ca6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd623ec59250962ed92eb78e69fa1ba798425840fcd901d86cb95490b9854d37 [INFO] running `Command { std: "docker" "start" "-a" "cd623ec59250962ed92eb78e69fa1ba798425840fcd901d86cb95490b9854d37", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling libc v0.2.32 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling byteorder v1.1.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling rust_bpf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `NativeEndian` [INFO] [stdout] --> src/vm/machine.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use self::byteorder::{BigEndian, NativeEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/assembler/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | static ref INSTR_RE: Regex = Regex::new(INSTR_REGEX).unwrap(); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/assembler/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | static ref INSTR_RE: Regex = Regex::new(INSTR_REGEX).unwrap(); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/assembler/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / lazy_static! { [INFO] [stdout] 95 | | static ref MODE_RE_OFFSET: Regex = Regex::new(r"(M)?\[\s*(x\s*\+)?\s*(\d+)\s*\]").unwrap(); [INFO] [stdout] 96 | | static ref MODE_RE_IMM: Regex = Regex::new(r"#(0x)?(\-?\d+)").unwrap(); [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/assembler/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / lazy_static! { [INFO] [stdout] 95 | | static ref MODE_RE_OFFSET: Regex = Regex::new(r"(M)?\[\s*(x\s*\+)?\s*(\d+)\s*\]").unwrap(); [INFO] [stdout] 96 | | static ref MODE_RE_IMM: Regex = Regex::new(r"#(0x)?(\-?\d+)").unwrap(); [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/assembler/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / lazy_static! { [INFO] [stdout] 95 | | static ref MODE_RE_OFFSET: Regex = Regex::new(r"(M)?\[\s*(x\s*\+)?\s*(\d+)\s*\]").unwrap(); [INFO] [stdout] 96 | | static ref MODE_RE_IMM: Regex = Regex::new(r"#(0x)?(\-?\d+)").unwrap(); [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/assembler/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / lazy_static! { [INFO] [stdout] 95 | | static ref MODE_RE_OFFSET: Regex = Regex::new(r"(M)?\[\s*(x\s*\+)?\s*(\d+)\s*\]").unwrap(); [INFO] [stdout] 96 | | static ref MODE_RE_IMM: Regex = Regex::new(r"#(0x)?(\-?\d+)").unwrap(); [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instructions` [INFO] [stdout] --> src/assembler/main.rs:146:11 [INFO] [stdout] | [INFO] [stdout] 146 | let mut instructions: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/assembler/main.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let op = instr.op.unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/assembler/main.rs:146:7 [INFO] [stdout] | [INFO] [stdout] 146 | let mut instructions: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lt` and `lf` are never read [INFO] [stdout] --> src/assembler/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 17 | struct AsmInstr<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub lt: Option<&'a str>, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | pub lf: Option<&'a str>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AsmInstr` has derived impls for the traits `Default`, `Debug`, and `Clone`, 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: field `0` is never read [INFO] [stdout] --> src/assembler/main.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | Packet(u32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AddrMode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 81 | Packet(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/assembler/main.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | PacketIndirect(u32), [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AddrMode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 82 | PacketIndirect(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/assembler/main.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | ScratchMem(u32), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AddrMode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 83 | ScratchMem(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/assembler/main.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | Literal(i32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AddrMode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 84 | Literal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PacketNibble`, `JumpLabel`, `TwoBranch`, and `OneBranch` are never constructed [INFO] [stdout] --> src/assembler/main.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 79 | enum AddrMode<'a> { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 85 | PacketNibble(u32), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 86 | JumpLabel(&'a str), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 87 | TwoBranch(&'a str, &'a str), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 88 | OneBranch(&'a str), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddrMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.15s [INFO] running `Command { std: "docker" "inspect" "cd623ec59250962ed92eb78e69fa1ba798425840fcd901d86cb95490b9854d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd623ec59250962ed92eb78e69fa1ba798425840fcd901d86cb95490b9854d37", kill_on_drop: false }` [INFO] [stdout] cd623ec59250962ed92eb78e69fa1ba798425840fcd901d86cb95490b9854d37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83c643bdee5c49bd787c91e92ab99dccc34729d6564b5dd632efaffaf96ba478 [INFO] running `Command { std: "docker" "start" "-a" "83c643bdee5c49bd787c91e92ab99dccc34729d6564b5dd632efaffaf96ba478", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rust_bpf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/assembler/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | static ref INSTR_RE: Regex = Regex::new(INSTR_REGEX).unwrap(); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/assembler/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | static ref INSTR_RE: Regex = Regex::new(INSTR_REGEX).unwrap(); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/assembler/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / lazy_static! { [INFO] [stdout] 95 | | static ref MODE_RE_OFFSET: Regex = Regex::new(r"(M)?\[\s*(x\s*\+)?\s*(\d+)\s*\]").unwrap(); [INFO] [stdout] 96 | | static ref MODE_RE_IMM: Regex = Regex::new(r"#(0x)?(\-?\d+)").unwrap(); [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/assembler/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / lazy_static! { [INFO] [stdout] 95 | | static ref MODE_RE_OFFSET: Regex = Regex::new(r"(M)?\[\s*(x\s*\+)?\s*(\d+)\s*\]").unwrap(); [INFO] [stdout] 96 | | static ref MODE_RE_IMM: Regex = Regex::new(r"#(0x)?(\-?\d+)").unwrap(); [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/assembler/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / lazy_static! { [INFO] [stdout] 95 | | static ref MODE_RE_OFFSET: Regex = Regex::new(r"(M)?\[\s*(x\s*\+)?\s*(\d+)\s*\]").unwrap(); [INFO] [stdout] 96 | | static ref MODE_RE_IMM: Regex = Regex::new(r"#(0x)?(\-?\d+)").unwrap(); [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/assembler/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / lazy_static! { [INFO] [stdout] 95 | | static ref MODE_RE_OFFSET: Regex = Regex::new(r"(M)?\[\s*(x\s*\+)?\s*(\d+)\s*\]").unwrap(); [INFO] [stdout] 96 | | static ref MODE_RE_IMM: Regex = Regex::new(r"#(0x)?(\-?\d+)").unwrap(); [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NativeEndian` [INFO] [stdout] --> src/vm/machine.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use self::byteorder::{BigEndian, NativeEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instructions` [INFO] [stdout] --> src/assembler/main.rs:146:11 [INFO] [stdout] | [INFO] [stdout] 146 | let mut instructions: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/assembler/main.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let op = instr.op.unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/assembler/main.rs:146:7 [INFO] [stdout] | [INFO] [stdout] 146 | let mut instructions: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lt` and `lf` are never read [INFO] [stdout] --> src/assembler/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 17 | struct AsmInstr<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub lt: Option<&'a str>, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | pub lf: Option<&'a str>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AsmInstr` has derived impls for the traits `Default`, `Debug`, and `Clone`, 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: field `0` is never read [INFO] [stdout] --> src/assembler/main.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | Packet(u32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AddrMode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 81 | Packet(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/assembler/main.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | PacketIndirect(u32), [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AddrMode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 82 | PacketIndirect(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/assembler/main.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | ScratchMem(u32), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AddrMode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 83 | ScratchMem(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/assembler/main.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | Literal(i32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AddrMode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 84 | Literal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PacketNibble`, `JumpLabel`, `TwoBranch`, and `OneBranch` are never constructed [INFO] [stdout] --> src/assembler/main.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 79 | enum AddrMode<'a> { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 85 | PacketNibble(u32), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 86 | JumpLabel(&'a str), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 87 | TwoBranch(&'a str, &'a str), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 88 | OneBranch(&'a str), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddrMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "83c643bdee5c49bd787c91e92ab99dccc34729d6564b5dd632efaffaf96ba478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c643bdee5c49bd787c91e92ab99dccc34729d6564b5dd632efaffaf96ba478", kill_on_drop: false }` [INFO] [stdout] 83c643bdee5c49bd787c91e92ab99dccc34729d6564b5dd632efaffaf96ba478