[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] testing melvinw/rust-bpf against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelvinw%2Frust-bpf" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/melvinw/rust-bpf on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-2/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d49384674cddd44f7c453f7f064816068cee692882a44bb86f2f7630b6533d9 [INFO] running `Command { std: "docker" "start" "-a" "4d49384674cddd44f7c453f7f064816068cee692882a44bb86f2f7630b6533d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d49384674cddd44f7c453f7f064816068cee692882a44bb86f2f7630b6533d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d49384674cddd44f7c453f7f064816068cee692882a44bb86f2f7630b6533d9", kill_on_drop: false }` [INFO] [stdout] 4d49384674cddd44f7c453f7f064816068cee692882a44bb86f2f7630b6533d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee441ce5a00336014ddfd2635aa3894b9c358374c4df46a8e1f1d4330a0f7284 [INFO] running `Command { std: "docker" "start" "-a" "ee441ce5a00336014ddfd2635aa3894b9c358374c4df46a8e1f1d4330a0f7284", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.32 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.4.1 [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: use of deprecated constant `std::sync::ONCE_INIT`: the `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (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: field is never read: `lt` [INFO] [stdout] --> src/assembler/main.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | pub lt: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `AsmInstr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/assembler/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lf` [INFO] [stdout] --> src/assembler/main.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | pub lf: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AsmInstr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/assembler/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PacketNibble` [INFO] [stdout] --> src/assembler/main.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 85 | PacketNibble(u32), [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] --> src/assembler/main.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JumpLabel` [INFO] [stdout] --> src/assembler/main.rs:86:3 [INFO] [stdout] | [INFO] [stdout] 86 | JumpLabel(&'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] --> src/assembler/main.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TwoBranch` [INFO] [stdout] --> src/assembler/main.rs:87:3 [INFO] [stdout] | [INFO] [stdout] 87 | TwoBranch(&'a str, &'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] --> src/assembler/main.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OneBranch` [INFO] [stdout] --> src/assembler/main.rs:88:3 [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] --> src/assembler/main.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.91s [INFO] running `Command { std: "docker" "inspect" "ee441ce5a00336014ddfd2635aa3894b9c358374c4df46a8e1f1d4330a0f7284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee441ce5a00336014ddfd2635aa3894b9c358374c4df46a8e1f1d4330a0f7284", kill_on_drop: false }` [INFO] [stdout] ee441ce5a00336014ddfd2635aa3894b9c358374c4df46a8e1f1d4330a0f7284 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd10d9db2555e43b67660aa35f37e958a20122e80e060f44a01c9d39e80fb6f7 [INFO] running `Command { std: "docker" "start" "-a" "bd10d9db2555e43b67660aa35f37e958a20122e80e060f44a01c9d39e80fb6f7", kill_on_drop: false }` [INFO] [stderr] Compiling rust_bpf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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` (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: use of deprecated constant `std::sync::ONCE_INIT`: the `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` (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 `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` (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 `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` (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 `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` (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 `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` (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: field is never read: `lt` [INFO] [stdout] --> src/assembler/main.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | pub lt: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `AsmInstr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/assembler/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lf` [INFO] [stdout] --> src/assembler/main.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | pub lf: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AsmInstr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/assembler/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PacketNibble` [INFO] [stdout] --> src/assembler/main.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 85 | PacketNibble(u32), [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] --> src/assembler/main.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JumpLabel` [INFO] [stdout] --> src/assembler/main.rs:86:3 [INFO] [stdout] | [INFO] [stdout] 86 | JumpLabel(&'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] --> src/assembler/main.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TwoBranch` [INFO] [stdout] --> src/assembler/main.rs:87:3 [INFO] [stdout] | [INFO] [stdout] 87 | TwoBranch(&'a str, &'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] --> src/assembler/main.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OneBranch` [INFO] [stdout] --> src/assembler/main.rs:88:3 [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] --> src/assembler/main.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "bd10d9db2555e43b67660aa35f37e958a20122e80e060f44a01c9d39e80fb6f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd10d9db2555e43b67660aa35f37e958a20122e80e060f44a01c9d39e80fb6f7", kill_on_drop: false }` [INFO] [stdout] bd10d9db2555e43b67660aa35f37e958a20122e80e060f44a01c9d39e80fb6f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 16e346528b604d54d434e90ef12f416e4b2d5d8ca2f566b03c191d1f2a06fc16 [INFO] running `Command { std: "docker" "start" "-a" "16e346528b604d54d434e90ef12f416e4b2d5d8ca2f566b03c191d1f2a06fc16", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `NativeEndian` [INFO] [stderr] --> src/vm/machine.rs:8:34 [INFO] [stderr] | [INFO] [stderr] 8 | use self::byteorder::{BigEndian, NativeEndian, ReadBytesExt}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/assembler/main.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / lazy_static! { [INFO] [stderr] 29 | | static ref INSTR_RE: Regex = Regex::new(INSTR_REGEX).unwrap(); [INFO] [stderr] 30 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/assembler/main.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / lazy_static! { [INFO] [stderr] 29 | | static ref INSTR_RE: Regex = Regex::new(INSTR_REGEX).unwrap(); [INFO] [stderr] 30 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/assembler/main.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | / lazy_static! { [INFO] [stderr] 95 | | static ref MODE_RE_OFFSET: Regex = Regex::new(r"(M)?\[\s*(x\s*\+)?\s*(\d+)\s*\]").unwrap(); [INFO] [stderr] 96 | | static ref MODE_RE_IMM: Regex = Regex::new(r"#(0x)?(\-?\d+)").unwrap(); [INFO] [stderr] 97 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `instructions` [INFO] [stderr] --> src/assembler/main.rs:146:11 [INFO] [stderr] | [INFO] [stderr] 146 | let mut instructions: Vec = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `op` [INFO] [stderr] --> src/assembler/main.rs:158:9 [INFO] [stderr] | [INFO] [stderr] 158 | let op = instr.op.unwrap(); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/assembler/main.rs:146:7 [INFO] [stderr] | [INFO] [stderr] 146 | let mut instructions: Vec = Vec::new(); [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `lt` [INFO] [stderr] --> src/assembler/main.rs:21:3 [INFO] [stderr] | [INFO] [stderr] 21 | pub lt: Option<&'a str>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `AsmInstr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/assembler/main.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `lf` [INFO] [stderr] --> src/assembler/main.rs:22:3 [INFO] [stderr] | [INFO] [stderr] 22 | pub lf: Option<&'a str>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AsmInstr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/assembler/main.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PacketNibble` [INFO] [stderr] --> src/assembler/main.rs:85:3 [INFO] [stderr] | [INFO] [stderr] 85 | PacketNibble(u32), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AddrMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/assembler/main.rs:78:10 [INFO] [stderr] | [INFO] [stderr] 78 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `JumpLabel` [INFO] [stderr] --> src/assembler/main.rs:86:3 [INFO] [stderr] | [INFO] [stderr] 86 | JumpLabel(&'a str), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AddrMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/assembler/main.rs:78:10 [INFO] [stderr] | [INFO] [stderr] 78 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TwoBranch` [INFO] [stderr] --> src/assembler/main.rs:87:3 [INFO] [stderr] | [INFO] [stderr] 87 | TwoBranch(&'a str, &'a str), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AddrMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/assembler/main.rs:78:10 [INFO] [stderr] | [INFO] [stderr] 78 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `OneBranch` [INFO] [stderr] --> src/assembler/main.rs:88:3 [INFO] [stderr] | [INFO] [stderr] 88 | OneBranch(&'a str), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AddrMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/assembler/main.rs:78:10 [INFO] [stderr] | [INFO] [stderr] 78 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rust_bpf` (bin "vm" test) generated 1 warning [INFO] [stderr] warning: `rust_bpf` (bin "asm" test) generated 15 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.62s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_bpf-b56286708c9ccba3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/asm-684d899785cae936) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/vm-e59b8e1af06e439c) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test machine::tests::alu_imm ... ok [INFO] [stdout] test machine::tests::jump ... ok [INFO] [stdout] test machine::tests::alu_index ... ok [INFO] [stdout] test machine::tests::ldb ... ok [INFO] [stdout] test machine::tests::ldbm ... ok [INFO] [stdout] test machine::tests::ldh ... ok [INFO] [stdout] test machine::tests::ldbi ... ok [INFO] [stdout] test machine::tests::ldhi ... ok [INFO] [stdout] test machine::tests::ldhm ... ok [INFO] [stdout] test machine::tests::ldi ... ok [INFO] [stdout] test machine::tests::ldw ... ok [INFO] [stdout] test machine::tests::ldwm ... ok [INFO] [stdout] test machine::tests::ldxi ... ok [INFO] [stdout] test machine::tests::ldxl ... ok [INFO] [stdout] test machine::tests::ldwi ... ok [INFO] [stdout] test machine::tests::reta ... ok [INFO] [stdout] test machine::tests::retk ... ok [INFO] [stdout] test machine::tests::st ... ok [INFO] [stdout] test machine::tests::run_bytecode ... ok [INFO] [stdout] test machine::tests::stx ... ok [INFO] [stdout] test machine::tests::tax ... ok [INFO] [stdout] test machine::tests::txa ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rust_bpf [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "16e346528b604d54d434e90ef12f416e4b2d5d8ca2f566b03c191d1f2a06fc16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16e346528b604d54d434e90ef12f416e4b2d5d8ca2f566b03c191d1f2a06fc16", kill_on_drop: false }` [INFO] [stdout] 16e346528b604d54d434e90ef12f416e4b2d5d8ca2f566b03c191d1f2a06fc16