[INFO] fetching crate bvm_filter 1.0.0... [INFO] testing bvm_filter-1.0.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate bvm_filter 1.0.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate bvm_filter 1.0.0 [INFO] finished tweaking crates.io crate bvm_filter 1.0.0 [INFO] tweaked toml for crates.io crate bvm_filter 1.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bvm_filter 1.0.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 109 packages to latest compatible versions [INFO] [stderr] Adding combine v2.5.2 (available: v4.6.7) [INFO] [stderr] Adding elf v0.0.10 (available: v0.8.0) [INFO] [stderr] Adding elfkit v0.0.6 (available: v0.0.7) [INFO] [stderr] Adding hash32 v0.1.1 (available: v1.0.0) [INFO] [stderr] Adding json v0.11.15 (available: v0.12.4) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.44) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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] Downloading crates ... [INFO] [stderr] Downloaded json v0.11.15 [INFO] [stderr] Downloaded block-buffer v0.3.3 [INFO] [stderr] Downloaded pretty_env_logger v0.2.5 [INFO] [stderr] Downloaded hash32 v0.1.1 [INFO] [stderr] Downloaded digest v0.7.6 [INFO] [stderr] Downloaded bloom v0.3.2 [INFO] [stderr] Downloaded ar v0.6.2 [INFO] [stderr] Downloaded elf v0.0.10 [INFO] [stderr] Downloaded ascii v0.7.1 [INFO] [stderr] Downloaded bit-vec v0.5.1 [INFO] [stderr] Downloaded combine v2.5.2 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded colored v1.9.4 [INFO] [stderr] Downloaded generic-array v0.9.1 [INFO] [stderr] Downloaded byte-tools v0.2.0 [INFO] [stderr] Downloaded sha2 v0.7.1 [INFO] [stderr] Downloaded elfkit v0.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 361aeebfc629a4546596a2629085e3d7e2131339daa7a7b60f10c77661da8f0e [INFO] running `Command { std: "docker" "start" "-a" "361aeebfc629a4546596a2629085e3d7e2131339daa7a7b60f10c77661da8f0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "361aeebfc629a4546596a2629085e3d7e2131339daa7a7b60f10c77661da8f0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "361aeebfc629a4546596a2629085e3d7e2131339daa7a7b60f10c77661da8f0e", kill_on_drop: false }` [INFO] [stdout] 361aeebfc629a4546596a2629085e3d7e2131339daa7a7b60f10c77661da8f0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff90c097eaa3c29bdd7b1f604271fc7b15cd6b41ddab3eb11da13d0b82e08c8d [INFO] running `Command { std: "docker" "start" "-a" "ff90c097eaa3c29bdd7b1f604271fc7b15cd6b41ddab3eb11da13d0b82e08c8d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling generic-array v0.9.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling ar v0.6.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling enum-primitive-derive v0.1.2 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling ascii v0.7.1 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling bloom v0.3.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling combine v2.5.2 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling pretty_env_logger v0.2.5 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling elfkit v0.0.6 [INFO] [stderr] Compiling bvm_filter v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | #![cfg_attr(feature = "cargo-clippy", allow(redundant_field_names, single_match, cast_lossless, doc_markdown, match_same_arms, unrea... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/assembler.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | let (a, b, c) = try!(operands_tuple(operands)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/assembler.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | let parsed = try!(parse(src)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/assembler.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let insns = try!(assemble_internal(&parsed)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ebpf.rs:405:100 [INFO] [stdout] | [INFO] [stdout] 405 | pub type HelperVerifier = fn (u64, u64, u64, u64, u64, &[MemoryRegion], &[MemoryRegion]) -> Result<(()), Error>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 405 - pub type HelperVerifier = fn (u64, u64, u64, u64, u64, &[MemoryRegion], &[MemoryRegion]) -> Result<(()), Error>; [INFO] [stdout] 405 + pub type HelperVerifier = fn (u64, u64, u64, u64, u64, &[MemoryRegion], &[MemoryRegion]) -> Result<(), Error>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/elf.rs:94:45 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn load(elf_bytes: &[u8]) -> Result<(EBpfElf), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 94 - pub fn load(elf_bytes: &[u8]) -> Result<(EBpfElf), Error> { [INFO] [stdout] 94 + pub fn load(elf_bytes: &[u8]) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/elf.rs:205:49 [INFO] [stdout] | [INFO] [stdout] 205 | fn get_section(&self, name: &str) -> Result<(&elfkit::Section), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 205 - fn get_section(&self, name: &str) -> Result<(&elfkit::Section), Error> { [INFO] [stdout] 205 + fn get_section(&self, name: &str) -> Result<&elfkit::Section, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/elf.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 334 | ) -> Result<(&'a mut elfkit::Section), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 334 - ) -> Result<(&'a mut elfkit::Section), Error> { [INFO] [stdout] 334 + ) -> Result<&'a mut elfkit::Section, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/elf.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | ) -> Result<(Vec>), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 352 - ) -> Result<(Vec>), Error> { [INFO] [stdout] 352 + ) -> Result>, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_ptr_alignment` [INFO] [stdout] --> src/jit.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | #[allow(cast_ptr_alignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | emit_bytes!(jit, data, u8); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] = note: this warning originates in the macro `emit_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_ptr_alignment` [INFO] [stdout] --> src/jit.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | #[allow(cast_ptr_alignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | emit_bytes!(jit, data, u16); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `emit_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_ptr_alignment` [INFO] [stdout] --> src/jit.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | #[allow(cast_ptr_alignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | emit_bytes!(jit, data, u32); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `emit_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_ptr_alignment` [INFO] [stdout] --> src/jit.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | #[allow(cast_ptr_alignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | emit_bytes!(jit, data, u64); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `emit_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/jit.rs:846:10 [INFO] [stdout] | [INFO] [stdout] 846 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/jit.rs:911:15 [INFO] [stdout] | [INFO] [stdout] 911 | -> Result<(JitProgram), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 911 - -> Result<(JitProgram), Error> { [INFO] [stdout] 911 + -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/verifier.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | (0 ... 9, _) | (10, true) => Ok(()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:2101:49 [INFO] [stdout] | [INFO] [stdout] 2101 | pub fn execute_program(&mut self) -> Result<(u64), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2101 - pub fn execute_program(&mut self) -> Result<(u64), Error> { [INFO] [stdout] 2101 + pub fn execute_program(&mut self) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:2137:56 [INFO] [stdout] | [INFO] [stdout] 2137 | pub unsafe fn execute_program_jit(&self) -> Result<(u64), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2137 - pub unsafe fn execute_program_jit(&self) -> Result<(u64), Error> { [INFO] [stdout] 2137 + pub unsafe fn execute_program_jit(&self) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/jit.rs:444:51 [INFO] [stdout] | [INFO] [stdout] 444 | let mut raw: *mut libc::c_void = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn add(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 114 | pub fn add(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn sub(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | pub fn sub(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn mul(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | pub fn mul(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn div(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 129 | pub fn div(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn bit_or(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn bit_or(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn bit_and(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn bit_and(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn left_shift(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | pub fn left_shift(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn right_shift(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn right_shift(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn negate(&mut self, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | pub fn negate(&mut self, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn modulo(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn modulo(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn bit_xor(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 164 | pub fn bit_xor(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:169:16 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn mov(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn mov(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:174:31 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn signed_right_shift(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | pub fn signed_right_shift(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | fn mov_internal(&mut self, source: Source, arch_bits: Arch, op_bits: OpBits) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 179 | fn mov_internal(&mut self, source: Source, arch_bits: Arch, op_bits: OpBits) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:196:23 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn swap_bytes(&mut self, endian: Endian) -> SwapBytes { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 196 | pub fn swap_bytes(&mut self, endian: Endian) -> SwapBytes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn load(&mut self, mem_size: MemSize) -> Load { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 211 | pub fn load(&mut self, mem_size: MemSize) -> Load<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn load_abs(&mut self, mem_size: MemSize) -> Load { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 216 | pub fn load_abs(&mut self, mem_size: MemSize) -> Load<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn load_ind(&mut self, mem_size: MemSize) -> Load { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 221 | pub fn load_ind(&mut self, mem_size: MemSize) -> Load<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:226:19 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn load_x(&mut self, mem_size: MemSize) -> Load { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 226 | pub fn load_x(&mut self, mem_size: MemSize) -> Load<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | fn load_internal(&mut self, mem_size: MemSize, addressing: Addressing, source: u8) -> Load { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 231 | fn load_internal(&mut self, mem_size: MemSize, addressing: Addressing, source: u8) -> Load<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn store(&mut self, mem_size: MemSize) -> Store { [INFO] [stdout] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 248 | pub fn store(&mut self, mem_size: MemSize) -> Store<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:253:20 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn store_x(&mut self, mem_size: MemSize) -> Store { [INFO] [stdout] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 253 | pub fn store_x(&mut self, mem_size: MemSize) -> Store<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:258:23 [INFO] [stdout] | [INFO] [stdout] 258 | fn store_internal(&mut self, mem_size: MemSize, source: u8) -> Store { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 258 | fn store_internal(&mut self, mem_size: MemSize, source: u8) -> Store<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:274:31 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn jump_unconditional(&mut self) -> Jump { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 274 | pub fn jump_unconditional(&mut self) -> Jump<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:279:29 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn jump_conditional(&mut self, cond: Cond, src_bit: Source) -> Jump { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 279 | pub fn jump_conditional(&mut self, cond: Cond, src_bit: Source) -> Jump<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn call(&mut self) -> FunctionCall { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 295 | pub fn call(&mut self) -> FunctionCall<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn exit(&mut self) -> Exit { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 309 | pub fn exit(&mut self) -> Exit<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut c_void` does not permit being left uninitialized [INFO] [stdout] --> src/jit.rs:444:46 [INFO] [stdout] | [INFO] [stdout] 444 | let mut raw: *mut libc::c_void = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.32s [INFO] running `Command { std: "docker" "inspect" "ff90c097eaa3c29bdd7b1f604271fc7b15cd6b41ddab3eb11da13d0b82e08c8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff90c097eaa3c29bdd7b1f604271fc7b15cd6b41ddab3eb11da13d0b82e08c8d", kill_on_drop: false }` [INFO] [stdout] ff90c097eaa3c29bdd7b1f604271fc7b15cd6b41ddab3eb11da13d0b82e08c8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6f5e0f9c9786577a60fb5eae897c07b5b91d02795804578607e8729fb1e55f4 [INFO] running `Command { std: "docker" "start" "-a" "e6f5e0f9c9786577a60fb5eae897c07b5b91d02795804578607e8729fb1e55f4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling json v0.11.15 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | #![cfg_attr(feature = "cargo-clippy", allow(redundant_field_names, single_match, cast_lossless, doc_markdown, match_same_arms, unrea... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/assembler.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | let (a, b, c) = try!(operands_tuple(operands)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/assembler.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | let parsed = try!(parse(src)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/assembler.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let insns = try!(assemble_internal(&parsed)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ebpf.rs:405:100 [INFO] [stdout] | [INFO] [stdout] 405 | pub type HelperVerifier = fn (u64, u64, u64, u64, u64, &[MemoryRegion], &[MemoryRegion]) -> Result<(()), Error>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 405 - pub type HelperVerifier = fn (u64, u64, u64, u64, u64, &[MemoryRegion], &[MemoryRegion]) -> Result<(()), Error>; [INFO] [stdout] 405 + pub type HelperVerifier = fn (u64, u64, u64, u64, u64, &[MemoryRegion], &[MemoryRegion]) -> Result<(), Error>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/elf.rs:94:45 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn load(elf_bytes: &[u8]) -> Result<(EBpfElf), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 94 - pub fn load(elf_bytes: &[u8]) -> Result<(EBpfElf), Error> { [INFO] [stdout] 94 + pub fn load(elf_bytes: &[u8]) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/elf.rs:205:49 [INFO] [stdout] | [INFO] [stdout] 205 | fn get_section(&self, name: &str) -> Result<(&elfkit::Section), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 205 - fn get_section(&self, name: &str) -> Result<(&elfkit::Section), Error> { [INFO] [stdout] 205 + fn get_section(&self, name: &str) -> Result<&elfkit::Section, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/elf.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 334 | ) -> Result<(&'a mut elfkit::Section), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 334 - ) -> Result<(&'a mut elfkit::Section), Error> { [INFO] [stdout] 334 + ) -> Result<&'a mut elfkit::Section, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/elf.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | ) -> Result<(Vec>), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 352 - ) -> Result<(Vec>), Error> { [INFO] [stdout] 352 + ) -> Result>, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_ptr_alignment` [INFO] [stdout] --> src/jit.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | #[allow(cast_ptr_alignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | emit_bytes!(jit, data, u8); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] = note: this warning originates in the macro `emit_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_ptr_alignment` [INFO] [stdout] --> src/jit.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | #[allow(cast_ptr_alignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | emit_bytes!(jit, data, u16); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `emit_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_ptr_alignment` [INFO] [stdout] --> src/jit.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | #[allow(cast_ptr_alignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | emit_bytes!(jit, data, u32); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `emit_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_ptr_alignment` [INFO] [stdout] --> src/jit.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | #[allow(cast_ptr_alignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | emit_bytes!(jit, data, u64); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `emit_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/jit.rs:846:10 [INFO] [stdout] | [INFO] [stdout] 846 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/jit.rs:911:15 [INFO] [stdout] | [INFO] [stdout] 911 | -> Result<(JitProgram), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 911 - -> Result<(JitProgram), Error> { [INFO] [stdout] 911 + -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/verifier.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | (0 ... 9, _) | (10, true) => Ok(()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:2101:49 [INFO] [stdout] | [INFO] [stdout] 2101 | pub fn execute_program(&mut self) -> Result<(u64), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2101 - pub fn execute_program(&mut self) -> Result<(u64), Error> { [INFO] [stdout] 2101 + pub fn execute_program(&mut self) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:2137:56 [INFO] [stdout] | [INFO] [stdout] 2137 | pub unsafe fn execute_program_jit(&self) -> Result<(u64), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2137 - pub unsafe fn execute_program_jit(&self) -> Result<(u64), Error> { [INFO] [stdout] 2137 + pub unsafe fn execute_program_jit(&self) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/jit.rs:444:51 [INFO] [stdout] | [INFO] [stdout] 444 | let mut raw: *mut libc::c_void = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn add(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 114 | pub fn add(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn sub(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | pub fn sub(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn mul(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | pub fn mul(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn div(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 129 | pub fn div(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn bit_or(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn bit_or(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn bit_and(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn bit_and(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn left_shift(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | pub fn left_shift(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn right_shift(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn right_shift(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn negate(&mut self, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | pub fn negate(&mut self, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn modulo(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn modulo(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn bit_xor(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 164 | pub fn bit_xor(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:169:16 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn mov(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn mov(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:174:31 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn signed_right_shift(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | pub fn signed_right_shift(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | fn mov_internal(&mut self, source: Source, arch_bits: Arch, op_bits: OpBits) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 179 | fn mov_internal(&mut self, source: Source, arch_bits: Arch, op_bits: OpBits) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:196:23 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn swap_bytes(&mut self, endian: Endian) -> SwapBytes { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 196 | pub fn swap_bytes(&mut self, endian: Endian) -> SwapBytes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn load(&mut self, mem_size: MemSize) -> Load { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 211 | pub fn load(&mut self, mem_size: MemSize) -> Load<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn load_abs(&mut self, mem_size: MemSize) -> Load { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 216 | pub fn load_abs(&mut self, mem_size: MemSize) -> Load<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn load_ind(&mut self, mem_size: MemSize) -> Load { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 221 | pub fn load_ind(&mut self, mem_size: MemSize) -> Load<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:226:19 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn load_x(&mut self, mem_size: MemSize) -> Load { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 226 | pub fn load_x(&mut self, mem_size: MemSize) -> Load<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | fn load_internal(&mut self, mem_size: MemSize, addressing: Addressing, source: u8) -> Load { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 231 | fn load_internal(&mut self, mem_size: MemSize, addressing: Addressing, source: u8) -> Load<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn store(&mut self, mem_size: MemSize) -> Store { [INFO] [stdout] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 248 | pub fn store(&mut self, mem_size: MemSize) -> Store<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:253:20 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn store_x(&mut self, mem_size: MemSize) -> Store { [INFO] [stdout] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 253 | pub fn store_x(&mut self, mem_size: MemSize) -> Store<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:258:23 [INFO] [stdout] | [INFO] [stdout] 258 | fn store_internal(&mut self, mem_size: MemSize, source: u8) -> Store { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 258 | fn store_internal(&mut self, mem_size: MemSize, source: u8) -> Store<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:274:31 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn jump_unconditional(&mut self) -> Jump { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 274 | pub fn jump_unconditional(&mut self) -> Jump<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:279:29 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn jump_conditional(&mut self, cond: Cond, src_bit: Source) -> Jump { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 279 | pub fn jump_conditional(&mut self, cond: Cond, src_bit: Source) -> Jump<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn call(&mut self) -> FunctionCall { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 295 | pub fn call(&mut self) -> FunctionCall<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn exit(&mut self) -> Exit { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 309 | pub fn exit(&mut self) -> Exit<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut c_void` does not permit being left uninitialized [INFO] [stdout] --> src/jit.rs:444:46 [INFO] [stdout] | [INFO] [stdout] 444 | let mut raw: *mut libc::c_void = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling elf v0.0.10 [INFO] [stderr] Compiling bvm_filter v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> examples/load_elf.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/misc.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/misc.rs:709:112 [INFO] [stdout] | [INFO] [stdout] 709 | ... unused5: u64, ro_regions: &[MemoryRegion], unused7: &[MemoryRegion]) -> Result<(()), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 709 - unused5: u64, ro_regions: &[MemoryRegion], unused7: &[MemoryRegion]) -> Result<(()), Error> { [INFO] [stdout] 709 + unused5: u64, ro_regions: &[MemoryRegion], unused7: &[MemoryRegion]) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/assembler.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/assembler.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(ebpf::to_insn_vec(&try!(assemble(src)))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/ubpf_jit_x86_64.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/ubpf_vm.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | #![cfg_attr(feature = "cargo-clippy", allow(redundant_field_names, single_match, cast_lossless, doc_markdown, match_same_arms, unrea... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/assembler.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | let (a, b, c) = try!(operands_tuple(operands)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/assembler.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | let parsed = try!(parse(src)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/assembler.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let insns = try!(assemble_internal(&parsed)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ebpf.rs:405:100 [INFO] [stdout] | [INFO] [stdout] 405 | pub type HelperVerifier = fn (u64, u64, u64, u64, u64, &[MemoryRegion], &[MemoryRegion]) -> Result<(()), Error>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 405 - pub type HelperVerifier = fn (u64, u64, u64, u64, u64, &[MemoryRegion], &[MemoryRegion]) -> Result<(()), Error>; [INFO] [stdout] 405 + pub type HelperVerifier = fn (u64, u64, u64, u64, u64, &[MemoryRegion], &[MemoryRegion]) -> Result<(), Error>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/elf.rs:94:45 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn load(elf_bytes: &[u8]) -> Result<(EBpfElf), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 94 - pub fn load(elf_bytes: &[u8]) -> Result<(EBpfElf), Error> { [INFO] [stdout] 94 + pub fn load(elf_bytes: &[u8]) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/elf.rs:205:49 [INFO] [stdout] | [INFO] [stdout] 205 | fn get_section(&self, name: &str) -> Result<(&elfkit::Section), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 205 - fn get_section(&self, name: &str) -> Result<(&elfkit::Section), Error> { [INFO] [stdout] 205 + fn get_section(&self, name: &str) -> Result<&elfkit::Section, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/elf.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 334 | ) -> Result<(&'a mut elfkit::Section), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 334 - ) -> Result<(&'a mut elfkit::Section), Error> { [INFO] [stdout] 334 + ) -> Result<&'a mut elfkit::Section, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/elf.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | ) -> Result<(Vec>), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 352 - ) -> Result<(Vec>), Error> { [INFO] [stdout] 352 + ) -> Result>, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_ptr_alignment` [INFO] [stdout] --> src/jit.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | #[allow(cast_ptr_alignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | emit_bytes!(jit, data, u8); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] = note: this warning originates in the macro `emit_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_ptr_alignment` [INFO] [stdout] --> src/jit.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | #[allow(cast_ptr_alignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | emit_bytes!(jit, data, u16); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `emit_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_ptr_alignment` [INFO] [stdout] --> src/jit.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | #[allow(cast_ptr_alignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | emit_bytes!(jit, data, u32); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `emit_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_ptr_alignment` [INFO] [stdout] --> src/jit.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | #[allow(cast_ptr_alignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | emit_bytes!(jit, data, u64); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `emit_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/jit.rs:846:10 [INFO] [stdout] | [INFO] [stdout] 846 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/jit.rs:911:15 [INFO] [stdout] | [INFO] [stdout] 911 | -> Result<(JitProgram), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 911 - -> Result<(JitProgram), Error> { [INFO] [stdout] 911 + -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/verifier.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | (0 ... 9, _) | (10, true) => Ok(()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:2101:49 [INFO] [stdout] | [INFO] [stdout] 2101 | pub fn execute_program(&mut self) -> Result<(u64), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2101 - pub fn execute_program(&mut self) -> Result<(u64), Error> { [INFO] [stdout] 2101 + pub fn execute_program(&mut self) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:2137:56 [INFO] [stdout] | [INFO] [stdout] 2137 | pub unsafe fn execute_program_jit(&self) -> Result<(u64), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2137 - pub unsafe fn execute_program_jit(&self) -> Result<(u64), Error> { [INFO] [stdout] 2137 + pub unsafe fn execute_program_jit(&self) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/jit.rs:444:51 [INFO] [stdout] | [INFO] [stdout] 444 | let mut raw: *mut libc::c_void = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn add(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 114 | pub fn add(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn sub(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | pub fn sub(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn mul(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | pub fn mul(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn div(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 129 | pub fn div(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn bit_or(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn bit_or(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn bit_and(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn bit_and(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn left_shift(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | pub fn left_shift(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn right_shift(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn right_shift(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn negate(&mut self, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | pub fn negate(&mut self, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn modulo(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn modulo(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn bit_xor(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 164 | pub fn bit_xor(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:169:16 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn mov(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn mov(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:174:31 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn signed_right_shift(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | pub fn signed_right_shift(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | fn mov_internal(&mut self, source: Source, arch_bits: Arch, op_bits: OpBits) -> Move { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 179 | fn mov_internal(&mut self, source: Source, arch_bits: Arch, op_bits: OpBits) -> Move<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:196:23 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn swap_bytes(&mut self, endian: Endian) -> SwapBytes { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 196 | pub fn swap_bytes(&mut self, endian: Endian) -> SwapBytes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn load(&mut self, mem_size: MemSize) -> Load { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 211 | pub fn load(&mut self, mem_size: MemSize) -> Load<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn load_abs(&mut self, mem_size: MemSize) -> Load { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 216 | pub fn load_abs(&mut self, mem_size: MemSize) -> Load<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn load_ind(&mut self, mem_size: MemSize) -> Load { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 221 | pub fn load_ind(&mut self, mem_size: MemSize) -> Load<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:226:19 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn load_x(&mut self, mem_size: MemSize) -> Load { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 226 | pub fn load_x(&mut self, mem_size: MemSize) -> Load<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | fn load_internal(&mut self, mem_size: MemSize, addressing: Addressing, source: u8) -> Load { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 231 | fn load_internal(&mut self, mem_size: MemSize, addressing: Addressing, source: u8) -> Load<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn store(&mut self, mem_size: MemSize) -> Store { [INFO] [stdout] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 248 | pub fn store(&mut self, mem_size: MemSize) -> Store<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:253:20 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn store_x(&mut self, mem_size: MemSize) -> Store { [INFO] [stdout] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 253 | pub fn store_x(&mut self, mem_size: MemSize) -> Store<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:258:23 [INFO] [stdout] | [INFO] [stdout] 258 | fn store_internal(&mut self, mem_size: MemSize, source: u8) -> Store { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 258 | fn store_internal(&mut self, mem_size: MemSize, source: u8) -> Store<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:274:31 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn jump_unconditional(&mut self) -> Jump { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 274 | pub fn jump_unconditional(&mut self) -> Jump<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:279:29 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn jump_conditional(&mut self, cond: Cond, src_bit: Source) -> Jump { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 279 | pub fn jump_conditional(&mut self, cond: Cond, src_bit: Source) -> Jump<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn call(&mut self) -> FunctionCall { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 295 | pub fn call(&mut self) -> FunctionCall<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/insn_builder.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn exit(&mut self) -> Exit { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 309 | pub fn exit(&mut self) -> Exit<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut c_void` does not permit being left uninitialized [INFO] [stdout] --> src/jit.rs:444:46 [INFO] [stdout] | [INFO] [stdout] 444 | let mut raw: *mut libc::c_void = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.87s [INFO] running `Command { std: "docker" "inspect" "e6f5e0f9c9786577a60fb5eae897c07b5b91d02795804578607e8729fb1e55f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6f5e0f9c9786577a60fb5eae897c07b5b91d02795804578607e8729fb1e55f4", kill_on_drop: false }` [INFO] [stdout] e6f5e0f9c9786577a60fb5eae897c07b5b91d02795804578607e8729fb1e55f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 068eddbda3124ad3591a56fe434bb4cb5fb52cfcc127e273d2468e186d2b34bd [INFO] running `Command { std: "docker" "start" "-a" "068eddbda3124ad3591a56fe434bb4cb5fb52cfcc127e273d2468e186d2b34bd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | #![cfg_attr(feature = "cargo-clippy", allow(redundant_field_names, single_match, cast_lossless, doc_markdown, match_same_arms, unrea... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/assembler.rs:162:21 [INFO] [stderr] | [INFO] [stderr] 162 | let (a, b, c) = try!(operands_tuple(operands)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/assembler.rs:245:18 [INFO] [stderr] | [INFO] [stderr] 245 | let parsed = try!(parse(src)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/assembler.rs:246:17 [INFO] [stderr] | [INFO] [stderr] 246 | let insns = try!(assemble_internal(&parsed)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/ebpf.rs:405:100 [INFO] [stderr] | [INFO] [stderr] 405 | pub type HelperVerifier = fn (u64, u64, u64, u64, u64, &[MemoryRegion], &[MemoryRegion]) -> Result<(()), Error>; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 405 - pub type HelperVerifier = fn (u64, u64, u64, u64, u64, &[MemoryRegion], &[MemoryRegion]) -> Result<(()), Error>; [INFO] [stderr] 405 + pub type HelperVerifier = fn (u64, u64, u64, u64, u64, &[MemoryRegion], &[MemoryRegion]) -> Result<(), Error>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/elf.rs:94:45 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn load(elf_bytes: &[u8]) -> Result<(EBpfElf), Error> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 94 - pub fn load(elf_bytes: &[u8]) -> Result<(EBpfElf), Error> { [INFO] [stderr] 94 + pub fn load(elf_bytes: &[u8]) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/elf.rs:205:49 [INFO] [stderr] | [INFO] [stderr] 205 | fn get_section(&self, name: &str) -> Result<(&elfkit::Section), Error> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 205 - fn get_section(&self, name: &str) -> Result<(&elfkit::Section), Error> { [INFO] [stderr] 205 + fn get_section(&self, name: &str) -> Result<&elfkit::Section, Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/elf.rs:334:17 [INFO] [stderr] | [INFO] [stderr] 334 | ) -> Result<(&'a mut elfkit::Section), Error> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 334 - ) -> Result<(&'a mut elfkit::Section), Error> { [INFO] [stderr] 334 + ) -> Result<&'a mut elfkit::Section, Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/elf.rs:352:17 [INFO] [stderr] | [INFO] [stderr] 352 | ) -> Result<(Vec>), Error> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 352 - ) -> Result<(Vec>), Error> { [INFO] [stderr] 352 + ) -> Result>, Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unknown lint: `cast_ptr_alignment` [INFO] [stderr] --> src/jit.rs:88:21 [INFO] [stderr] | [INFO] [stderr] 88 | #[allow(cast_ptr_alignment)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 98 | emit_bytes!(jit, data, u8); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] = note: this warning originates in the macro `emit_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unknown lint: `cast_ptr_alignment` [INFO] [stderr] --> src/jit.rs:88:21 [INFO] [stderr] | [INFO] [stderr] 88 | #[allow(cast_ptr_alignment)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 103 | emit_bytes!(jit, data, u16); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `emit_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unknown lint: `cast_ptr_alignment` [INFO] [stderr] --> src/jit.rs:88:21 [INFO] [stderr] | [INFO] [stderr] 88 | #[allow(cast_ptr_alignment)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 108 | emit_bytes!(jit, data, u32); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `emit_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unknown lint: `cast_ptr_alignment` [INFO] [stderr] --> src/jit.rs:88:21 [INFO] [stderr] | [INFO] [stderr] 88 | #[allow(cast_ptr_alignment)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 113 | emit_bytes!(jit, data, u64); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `emit_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/jit.rs:846:10 [INFO] [stderr] | [INFO] [stderr] 846 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/jit.rs:911:15 [INFO] [stderr] | [INFO] [stderr] 911 | -> Result<(JitProgram), Error> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 911 - -> Result<(JitProgram), Error> { [INFO] [stderr] 911 + -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/verifier.rs:108:12 [INFO] [stderr] | [INFO] [stderr] 108 | (0 ... 9, _) | (10, true) => Ok(()), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:2101:49 [INFO] [stderr] | [INFO] [stderr] 2101 | pub fn execute_program(&mut self) -> Result<(u64), Error> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 2101 - pub fn execute_program(&mut self) -> Result<(u64), Error> { [INFO] [stderr] 2101 + pub fn execute_program(&mut self) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:2137:56 [INFO] [stderr] | [INFO] [stderr] 2137 | pub unsafe fn execute_program_jit(&self) -> Result<(u64), Error> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 2137 - pub unsafe fn execute_program_jit(&self) -> Result<(u64), Error> { [INFO] [stderr] 2137 + pub unsafe fn execute_program_jit(&self) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/jit.rs:444:51 [INFO] [stderr] | [INFO] [stderr] 444 | let mut raw: *mut libc::c_void = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:114:16 [INFO] [stderr] | [INFO] [stderr] 114 | pub fn add(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 114 | pub fn add(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:119:16 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn sub(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 119 | pub fn sub(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:124:16 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn mul(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 124 | pub fn mul(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:129:16 [INFO] [stderr] | [INFO] [stderr] 129 | pub fn div(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 129 | pub fn div(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:134:19 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn bit_or(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 134 | pub fn bit_or(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:139:20 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn bit_and(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 139 | pub fn bit_and(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:144:23 [INFO] [stderr] | [INFO] [stderr] 144 | pub fn left_shift(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 144 | pub fn left_shift(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:149:24 [INFO] [stderr] | [INFO] [stderr] 149 | pub fn right_shift(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 149 | pub fn right_shift(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:154:19 [INFO] [stderr] | [INFO] [stderr] 154 | pub fn negate(&mut self, arch: Arch) -> Move { [INFO] [stderr] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 154 | pub fn negate(&mut self, arch: Arch) -> Move<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:159:19 [INFO] [stderr] | [INFO] [stderr] 159 | pub fn modulo(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 159 | pub fn modulo(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:164:20 [INFO] [stderr] | [INFO] [stderr] 164 | pub fn bit_xor(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 164 | pub fn bit_xor(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:169:16 [INFO] [stderr] | [INFO] [stderr] 169 | pub fn mov(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 169 | pub fn mov(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:174:31 [INFO] [stderr] | [INFO] [stderr] 174 | pub fn signed_right_shift(&mut self, source: Source, arch: Arch) -> Move { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 174 | pub fn signed_right_shift(&mut self, source: Source, arch: Arch) -> Move<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:179:21 [INFO] [stderr] | [INFO] [stderr] 179 | fn mov_internal(&mut self, source: Source, arch_bits: Arch, op_bits: OpBits) -> Move { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 179 | fn mov_internal(&mut self, source: Source, arch_bits: Arch, op_bits: OpBits) -> Move<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:196:23 [INFO] [stderr] | [INFO] [stderr] 196 | pub fn swap_bytes(&mut self, endian: Endian) -> SwapBytes { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 196 | pub fn swap_bytes(&mut self, endian: Endian) -> SwapBytes<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:211:17 [INFO] [stderr] | [INFO] [stderr] 211 | pub fn load(&mut self, mem_size: MemSize) -> Load { [INFO] [stderr] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 211 | pub fn load(&mut self, mem_size: MemSize) -> Load<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:216:21 [INFO] [stderr] | [INFO] [stderr] 216 | pub fn load_abs(&mut self, mem_size: MemSize) -> Load { [INFO] [stderr] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 216 | pub fn load_abs(&mut self, mem_size: MemSize) -> Load<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:221:21 [INFO] [stderr] | [INFO] [stderr] 221 | pub fn load_ind(&mut self, mem_size: MemSize) -> Load { [INFO] [stderr] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 221 | pub fn load_ind(&mut self, mem_size: MemSize) -> Load<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:226:19 [INFO] [stderr] | [INFO] [stderr] 226 | pub fn load_x(&mut self, mem_size: MemSize) -> Load { [INFO] [stderr] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 226 | pub fn load_x(&mut self, mem_size: MemSize) -> Load<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:231:22 [INFO] [stderr] | [INFO] [stderr] 231 | fn load_internal(&mut self, mem_size: MemSize, addressing: Addressing, source: u8) -> Load { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 231 | fn load_internal(&mut self, mem_size: MemSize, addressing: Addressing, source: u8) -> Load<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:248:18 [INFO] [stderr] | [INFO] [stderr] 248 | pub fn store(&mut self, mem_size: MemSize) -> Store { [INFO] [stderr] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 248 | pub fn store(&mut self, mem_size: MemSize) -> Store<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:253:20 [INFO] [stderr] | [INFO] [stderr] 253 | pub fn store_x(&mut self, mem_size: MemSize) -> Store { [INFO] [stderr] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 253 | pub fn store_x(&mut self, mem_size: MemSize) -> Store<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:258:23 [INFO] [stderr] | [INFO] [stderr] 258 | fn store_internal(&mut self, mem_size: MemSize, source: u8) -> Store { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 258 | fn store_internal(&mut self, mem_size: MemSize, source: u8) -> Store<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:274:31 [INFO] [stderr] | [INFO] [stderr] 274 | pub fn jump_unconditional(&mut self) -> Jump { [INFO] [stderr] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 274 | pub fn jump_unconditional(&mut self) -> Jump<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:279:29 [INFO] [stderr] | [INFO] [stderr] 279 | pub fn jump_conditional(&mut self, cond: Cond, src_bit: Source) -> Jump { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 279 | pub fn jump_conditional(&mut self, cond: Cond, src_bit: Source) -> Jump<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:295:17 [INFO] [stderr] | [INFO] [stderr] 295 | pub fn call(&mut self) -> FunctionCall { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 295 | pub fn call(&mut self) -> FunctionCall<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/insn_builder.rs:309:17 [INFO] [stderr] | [INFO] [stderr] 309 | pub fn exit(&mut self) -> Exit { [INFO] [stderr] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 309 | pub fn exit(&mut self) -> Exit<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: the type `*mut c_void` does not permit being left uninitialized [INFO] [stderr] --> src/jit.rs:444:46 [INFO] [stderr] | [INFO] [stderr] 444 | let mut raw: *mut libc::c_void = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: raw pointers must be initialized [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `bvm_filter` (lib) generated 47 warnings (run `cargo fix --lib -p bvm_filter` to apply 36 suggestions) [INFO] [stderr] warning: `bvm_filter` (lib test) generated 47 warnings (47 duplicates) [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/ubpf_jit_x86_64.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/ubpf_vm.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/assembler.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> tests/assembler.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | Ok(ebpf::to_insn_vec(&try!(assemble(src)))) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> examples/load_elf.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/misc.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> tests/misc.rs:709:112 [INFO] [stderr] | [INFO] [stderr] 709 | ... unused5: u64, ro_regions: &[MemoryRegion], unused7: &[MemoryRegion]) -> Result<(()), Error> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 709 - unused5: u64, ro_regions: &[MemoryRegion], unused7: &[MemoryRegion]) -> Result<(()), Error> { [INFO] [stderr] 709 + unused5: u64, ro_regions: &[MemoryRegion], unused7: &[MemoryRegion]) -> Result<(), Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `bvm_filter` (test "ubpf_jit_x86_64") generated 1 warning [INFO] [stderr] warning: `bvm_filter` (test "ubpf_vm") generated 1 warning [INFO] [stderr] warning: `bvm_filter` (test "assembler") generated 2 warnings [INFO] [stderr] warning: `bvm_filter` (example "load_elf") generated 1 warning [INFO] [stderr] warning: `bvm_filter` (test "misc") generated 2 warnings (run `cargo fix --test "misc" -p bvm_filter` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bvm_filter-6615c700fcd06330) [INFO] [stdout] [INFO] [stdout] running 128 tests [INFO] [stdout] test asm_parser::tests::test_error_eof ... ok [INFO] [stdout] test asm_parser::tests::test_empty ... ok [INFO] [stdout] test asm_parser::tests::test_ident ... ok [INFO] [stdout] test asm_parser::tests::test_initial_whitespace ... ok [INFO] [stdout] test asm_parser::tests::test_exit ... ok [INFO] [stdout] test asm_parser::tests::test_instruction ... ok [INFO] [stdout] test asm_parser::tests::test_ja ... ok [INFO] [stdout] test asm_parser::tests::test_error_unexpected_character ... ok [INFO] [stdout] test asm_parser::tests::test_ldxh ... ok [INFO] [stdout] test asm_parser::tests::test_lsh ... ok [INFO] [stdout] test asm_parser::tests::test_integer ... ok [INFO] [stdout] test asm_parser::tests::test_operand ... ok [INFO] [stdout] test elf::test::test_entrypoint ... ok [INFO] [stdout] test asm_parser::tests::test_tcp_sack ... ok [INFO] [stdout] test elf::test::test_fixup_relative_calls_back ... ok [INFO] [stdout] test insn_builder::tests::byte_swap_instructions::convert_host_to_little_endian_32bits ... ok [INFO] [stdout] test elf::test::test_fixup_relative_calls_forward ... ok [INFO] [stdout] test elf::test::test_relocate ... ok [INFO] [stdout] test insn_builder::tests::byte_swap_instructions::convert_host_to_big_endian_32bits ... ok [INFO] [stdout] test asm_parser::tests::test_register ... ok [INFO] [stdout] test insn_builder::tests::byte_swap_instructions::convert_host_to_little_endian_16bits ... ok [INFO] [stdout] test insn_builder::tests::byte_swap_instructions::convert_host_to_big_endian_64bit ... ok [INFO] [stdout] test elf::test::test_validate ... ok [INFO] [stdout] test insn_builder::tests::byte_swap_instructions::convert_host_to_little_endian_64bit ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_on_dst_bit_and_with_const_not_equal_zero ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_on_dst_equals_const ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_on_dst_greater_or_equals_to_const ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_on_dst_greater_than_const_signed ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_on_dst_greater_than_const ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_on_dst_lower_or_equals_src_signed ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_on_dst_lower_or_equals_to_const ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_on_dst_lower_than_const ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_on_dst_lower_than_const_signed ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_on_dst_not_equals_const ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::register::jump_on_dst_equals_src ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::register::jump_on_dst_greater_or_equals_to_src ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::register::jump_on_dst_greater_than_src_signed ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::register::jump_on_dst_greater_than_src ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::register::jump_on_dst_lower_or_equals_src_signed ... ok [INFO] [stdout] test insn_builder::tests::byte_swap_instructions::convert_host_to_big_endian_16bits ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::register::jump_on_dst_greater_or_equals_src_signed ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_on_dst_greater_or_equals_src_signed ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::register::jump_on_dst_bit_and_with_src_not_equal_zero ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_to_label ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::immediate::load_double_word ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::register::jump_on_dst_lower_or_equals_to_src ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::immediate::load_indirect_byte ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::immediate::load_indirect_double_word ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::immediate::load_indirect_half_word ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::register::jump_on_dst_lower_than_src ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::immediate::load_indirect_word ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::register::load_byte_from_set_src_with_offset ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::register::jump_on_dst_lower_than_src_signed ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::register::jump_on_dst_not_equals_src ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::immediate::load_abs_byte ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::immediate::load_abs_double_word ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::immediate::load_abs_half_word ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::immediate::move_left_shift_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::immediate::load_abs_word ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::register::load_double_word_from_set_src_with_offset ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::register::load_half_word_from_set_src_with_offset ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::register::load_word_from_set_src_with_offset ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::immediate::move_and_add_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::immediate::move_bit_or_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::immediate::move_bit_xor_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::immediate::move_bit_and_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::immediate::move_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::immediate::move_div_constant_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::immediate::move_mod_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::immediate::move_mul_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::immediate::move_signed_right_shift_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::immediate::move_sub_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::immediate::move_negate_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::register::move_and_add_from_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::register::move_bit_or_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::register::move_bit_xor_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::register::move_bit_and_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::register::move_mul_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::register::move_signed_right_shift_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::register::move_sub_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_and_add_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::register::move_logical_right_shift_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::register::move_left_shift_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::register::move_div_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_bit_and_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_bit_or_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_bit_xor_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_div_constant_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_left_shift_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_logical_right_shift_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_mul_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_signed_right_shift_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_sub_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::register::move_and_add_from_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::register::move_bit_and_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::register::move_div_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::register::move_bit_or_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_negate_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_mod_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::register::move_from_register_to_another_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::register::move_left_shift_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::register::move_mod_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::register::move_logical_right_shift_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::register::move_signed_right_shift_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::register::move_bit_xor_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::register::move_mul_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::register::move_sub_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::programs::example_from_assembler ... ok [INFO] [stdout] test insn_builder::tests::special::call_immediate ... ok [INFO] [stdout] test insn_builder::tests::special::exit_operation ... ok [INFO] [stdout] test insn_builder::tests::store_instructions::store_byte_from_dst_into_immediate_address ... ok [INFO] [stdout] test insn_builder::tests::store_instructions::store_byte_from_dst_into_src_address ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::register::move_mod_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::store_instructions::store_double_word_from_dst_into_immediate_address ... ok [INFO] [stdout] test insn_builder::tests::store_instructions::store_half_word_from_dst_into_immediate_address ... ok [INFO] [stdout] test insn_builder::tests::store_instructions::store_word_from_dst_into_immediate_address ... ok [INFO] [stdout] test insn_builder::tests::store_instructions::store_word_from_dst_into_src_address ... ok [INFO] [stdout] test tests::test_frames ... ok [INFO] [stdout] test insn_builder::tests::store_instructions::store_double_word_from_dst_into_src_address ... ok [INFO] [stdout] test insn_builder::tests::store_instructions::store_half_word_from_dst_into_src_address ... ok [INFO] [stdout] test elf::test::test_entrypoint_after_text - should panic ... ok [INFO] [stdout] test elf::test::test_fixup_relative_calls_out_of_bounds_back - should panic ... ok [INFO] [stdout] test elf::test::test_entrypoint_before_text - should panic ... ok [INFO] [stdout] test elf::test::test_fixup_relative_calls_out_of_bounds_forward - should panic ... ok [INFO] [stdout] test elf::test::test_entrypoint_not_multiple_of_instruction_size - should panic ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::immediate::move_logical_right_shift_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::register::move_from_register_to_another_register ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 128 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/assembler.rs (/opt/rustwide/target/debug/deps/assembler-5b769a52886206a3) [INFO] [stdout] [INFO] [stderr] Running tests/common.rs (/opt/rustwide/target/debug/deps/common-248d0bb55773f869) [INFO] [stdout] running 33 tests [INFO] [stderr] Running tests/disassembler.rs (/opt/rustwide/target/debug/deps/disassembler-edfb885707be73be) [INFO] [stdout] test test_empty ... ok [INFO] [stdout] test test_call_reg ... ok [INFO] [stdout] test test_ja ... ok [INFO] [stdout] test test_error_operands_out_of_range ... ok [INFO] [stdout] test test_error_too_many_operands ... ok [INFO] [stdout] test test_error_unexpected_operands ... ok [INFO] [stdout] test test_ldindw ... ok [INFO] [stdout] test test_large_immediate ... ok [INFO] [stdout] test test_ldabsw ... ok [INFO] [stdout] test test_ldxdw ... ok [INFO] [stdout] test test_ldxw ... ok [INFO] [stdout] test test_lddw ... ok [INFO] [stdout] test test_alu_unary ... ok [INFO] [stdout] test test_load_abs ... ok [INFO] [stdout] test test_endian ... ok [INFO] [stdout] test test_jeq ... ok [INFO] [stdout] test test_be32 ... ok [INFO] [stdout] test test_error_invalid_instruction ... ok [INFO] [stdout] test test_call_imm ... ok [INFO] [stdout] test test_alu_binary ... ok [INFO] [stdout] test test_exit ... ok [INFO] [stdout] test test_load_ind ... ok [INFO] [stdout] test test_sth ... ok [INFO] [stdout] test test_add64 ... ok [INFO] [stdout] test test_load_reg ... ok [INFO] [stdout] test test_stxw ... ok [INFO] [stdout] test test_store_imm ... ok [INFO] [stdout] test test_jump_conditional ... ok [INFO] [stdout] test test_neg64 ... ok [INFO] [stdout] test test_store_reg ... ok [INFO] [stdout] test test_stw ... ok [INFO] [stdout] test test_tcp_sack ... ok [INFO] [stdout] test test_stxh ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test test_be32 ... ok [INFO] [stdout] test test_alu_unary ... ok [INFO] [stdout] test test_add64 ... ok [INFO] [stdout] test test_alu_binary ... ok [INFO] [stdout] test test_empty ... ok [INFO] [stdout] test test_ja ... ok [INFO] [stdout] test test_exit ... ok [INFO] [stdout] test test_jeq ... ok [INFO] [stdout] test test_endian ... ok [INFO] [stdout] test test_call ... ok [INFO] [stdout] test test_load_ind ... ok [INFO] [stdout] test test_lddw ... ok [INFO] [stdout] test test_ldabsw ... ok [INFO] [stdout] test test_jump_conditional ... ok [INFO] [stdout] test test_load_reg ... ok [INFO] [stdout] test test_neg64 ... ok [INFO] [stdout] test test_large_immediate ... ok [INFO] [stdout] test test_ldindw ... ok [INFO] [stdout] test test_sth ... ok [INFO] [stdout] test test_ldxw ... ok [INFO] [stdout] test test_load_abs ... ok [INFO] [stdout] test test_ldxdw ... ok [INFO] [stdout] test test_store_imm ... ok [INFO] [stdout] test test_store_reg ... ok [INFO] [stdout] test test_stw ... ok [INFO] [stdout] test test_stxh ... ok [INFO] [stdout] test test_stxw ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/misc.rs (/opt/rustwide/target/debug/deps/misc-0945737f2b2224a2) [INFO] [stdout] [INFO] [stdout] running 40 tests [INFO] [stderr] [INFO] [stderr] thread 'test_jit_mbuff' (226) panicked at src/jit.rs:108:5: [INFO] [stderr] misaligned pointer dereference: address must be a multiple of 0x4 but is 0x766a98001011 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x62aa01855be2 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x62aa01855be2 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x62aa01855be2 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x62aa01855be2 - ::fmt::hde21067283f7e82e [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x62aa01865eff - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x62aa01865eff - core::fmt::write::h24186904251c31cb [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stderr] 6: 0x62aa01823583 - std::io::default_write_fmt::hdc5d19b6df666f61 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x62aa01823583 - std::io::Write::write_fmt::h3ab9f1f4d8d19b72 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x62aa0182f452 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x62aa01833f2f - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x62aa01833d89 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x62aa01771e6e - as core::ops::function::Fn>::call::h202f496763929329 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stderr] 12: 0x62aa01771e6e - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:145:21 [INFO] [stderr] 13: 0x62aa0183453f - as core::ops::function::Fn>::call::h2883c9d2dbd4e81c [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stderr] 14: 0x62aa0183453f - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:842:13 [INFO] [stderr] 15: 0x62aa0183439a - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stderr] 16: 0x62aa0182f589 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 17: 0x62aa01817e7d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stderr] 18: 0x62aa0186de1d - core::panicking::panic_nounwind_fmt::runtime::hd682c7f4ebed7044 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:122:22 [INFO] [stderr] 19: 0x62aa0186de1d - core::panicking::panic_nounwind_fmt::he05c47de4e511442 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/intrinsics/mod.rs:2439:9 [INFO] [stderr] 20: 0x62aa0186e061 - core::panicking::panic_misaligned_pointer_dereference::he6584924b7134a31 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:289:5 [INFO] [stderr] 21: 0x62aa017ee8c5 - bvm_filter::jit::emit4::h85d3f276af70f4bc [INFO] [stderr] at /opt/rustwide/workdir/src/jit.rs:85:35 [INFO] [stderr] 22: 0x62aa017ee337 - bvm_filter::jit::emit_alu64_imm32::h1f49d6a071b52d64 [INFO] [stderr] at /opt/rustwide/workdir/src/jit.rs:219:5 [INFO] [stderr] 23: 0x62aa017ef178 - bvm_filter::jit::JitMemory::jit_compile::h1873c588a29baa8d [INFO] [stderr] at /opt/rustwide/workdir/src/jit.rs:513:9 [INFO] [stderr] 24: 0x62aa017eeae2 - bvm_filter::jit::compile::h5b14709d4ad95ddc [INFO] [stderr] at /opt/rustwide/workdir/src/jit.rs:916:9 [INFO] [stderr] 25: 0x62aa01793668 - bvm_filter::EbpfVmMbuff::jit_compile::h083104b9466082d0 [INFO] [stderr] at /opt/rustwide/workdir/src/lib.rs:919:25 [INFO] [stderr] 26: 0x62aa017441f1 - misc::test_jit_mbuff::h24114f59136a2cf0 [INFO] [stderr] at /opt/rustwide/workdir/tests/misc.rs:352:12 [INFO] [stderr] 27: 0x62aa017444d7 - misc::test_jit_mbuff::{{closure}}::h44e6226bb30bebfc [INFO] [stderr] at /opt/rustwide/workdir/tests/misc.rs:330:20 [INFO] [stderr] 28: 0x62aa01741e96 - core::ops::function::FnOnce::call_once::h1cdff31d6759ad41 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 29: 0x62aa01771cdb - core::ops::function::FnOnce::call_once::h3a2d82edd1a9b770 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 30: 0x62aa01771cdb - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:663:18 [INFO] [stderr] 31: 0x62aa01785ccd - test::run_test_in_process::{{closure}}::h67b48a81b9c9d7b6 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:74 [INFO] [stderr] 32: 0x62aa01785ccd - as core::ops::function::FnOnce<()>>::call_once::h7680585480377cb5 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 33: 0x62aa01785ccd - std::panicking::catch_unwind::do_call::hf71351b2657d4002 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stderr] 34: 0x62aa01785ccd - std::panicking::catch_unwind::h7fcb5c0312d9e172 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stderr] 35: 0x62aa01785ccd - std::panic::catch_unwind::h5cf3c9bdee894ebe [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stderr] 36: 0x62aa01785ccd - test::run_test_in_process::h1469cb85193a3a25 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:27 [INFO] [stderr] 37: 0x62aa01785ccd - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:607:43 [INFO] [stderr] 38: 0x62aa0175f214 - test::run_test::{{closure}}::h9baa0c3d443f28c9 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:637:41 [INFO] [stderr] 39: 0x62aa0175f214 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 40: 0x62aa01762a6a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5d7539d5f78cee61 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:562:17 [INFO] [stderr] 41: 0x62aa01762a6a - as core::ops::function::FnOnce<()>>::call_once::he4c551e23c5e9b22 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 42: 0x62aa01762a6a - std::panicking::catch_unwind::do_call::h522b41a6c157aaba [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stderr] 43: 0x62aa01762a6a - std::panicking::catch_unwind::h0efbf72006b8e365 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stderr] 44: 0x62aa01762a6a - std::panic::catch_unwind::h3b081041e6c97066 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stderr] 45: 0x62aa01762a6a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha751309815d5d8cf [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:560:30 [INFO] [stderr] 46: 0x62aa01762a6a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 47: 0x62aa0182a98f - as core::ops::function::FnOnce>::call_once::h3adbd6ccf5f737af [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2085:9 [INFO] [stderr] 48: 0x62aa0182a98f - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stderr] 49: 0x766ab63c0aa4 - [INFO] [stderr] 50: 0x766ab644da64 - clone [INFO] [stderr] 51: 0x0 - [INFO] [stderr] thread caused non-unwinding panic. aborting. [INFO] [stderr] error: test failed, to rerun pass `--test misc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/misc-0945737f2b2224a2` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "068eddbda3124ad3591a56fe434bb4cb5fb52cfcc127e273d2468e186d2b34bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "068eddbda3124ad3591a56fe434bb4cb5fb52cfcc127e273d2468e186d2b34bd", kill_on_drop: false }` [INFO] [stdout] 068eddbda3124ad3591a56fe434bb4cb5fb52cfcc127e273d2468e186d2b34bd