[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] checking melvinw/rust-bpf against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelvinw%2Frust-bpf" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/melvinw/rust-bpf on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2d8c49772d5f781446dfcfcfd8002323d0d1462e5b7110bc90ebf8da697dffc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a2d8c49772d5f781446dfcfcfd8002323d0d1462e5b7110bc90ebf8da697dffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2d8c49772d5f781446dfcfcfd8002323d0d1462e5b7110bc90ebf8da697dffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2d8c49772d5f781446dfcfcfd8002323d0d1462e5b7110bc90ebf8da697dffc", kill_on_drop: false }` [INFO] [stdout] a2d8c49772d5f781446dfcfcfd8002323d0d1462e5b7110bc90ebf8da697dffc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 063637a952f8c5c07575403adf2598d12b66f6c1531eec2f65cad8800bf231af [INFO] running `Command { std: "docker" "start" "-a" "063637a952f8c5c07575403adf2598d12b66f6c1531eec2f65cad8800bf231af", kill_on_drop: false }` [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking libc v0.2.32 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking 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: 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: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (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: 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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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:7 [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: unused variable: `instructions` [INFO] [stdout] --> src/assembler/main.rs:146:7 [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: 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: 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: `#[warn(dead_code)]` on by default [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] [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: `#[warn(dead_code)]` on by default [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] [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] [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] [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] [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] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.70s [INFO] running `Command { std: "docker" "inspect" "063637a952f8c5c07575403adf2598d12b66f6c1531eec2f65cad8800bf231af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "063637a952f8c5c07575403adf2598d12b66f6c1531eec2f65cad8800bf231af", kill_on_drop: false }` [INFO] [stdout] 063637a952f8c5c07575403adf2598d12b66f6c1531eec2f65cad8800bf231af