[INFO] fetching crate bvm_filter 1.0.0... [INFO] testing bvm_filter-1.0.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate bvm_filter 1.0.0 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bvm_filter 1.0.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 129 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.42) [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" "+b83b707f97d809763b7861afa7638871f3339a33" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5471be178ac61b1dbbcc3f9e6190a54544749a5a1ecac934e99d183849514821 [INFO] running `Command { std: "docker" "start" "-a" "5471be178ac61b1dbbcc3f9e6190a54544749a5a1ecac934e99d183849514821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5471be178ac61b1dbbcc3f9e6190a54544749a5a1ecac934e99d183849514821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5471be178ac61b1dbbcc3f9e6190a54544749a5a1ecac934e99d183849514821", kill_on_drop: false }` [INFO] [stdout] 5471be178ac61b1dbbcc3f9e6190a54544749a5a1ecac934e99d183849514821 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd79c92c6516b0ab888c45ebeb95698c143444b4dbfe3bcf00789186b62192bd [INFO] running `Command { std: "docker" "start" "-a" "cd79c92c6516b0ab888c45ebeb95698c143444b4dbfe3bcf00789186b62192bd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling generic-array v0.9.1 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling ar v0.6.2 [INFO] [stderr] Compiling ascii v0.7.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling combine v2.5.2 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling bloom v0.3.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling enum-primitive-derive v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling pretty_env_logger v0.2.5 [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, unreadable... [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 20.40s [INFO] running `Command { std: "docker" "inspect" "cd79c92c6516b0ab888c45ebeb95698c143444b4dbfe3bcf00789186b62192bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd79c92c6516b0ab888c45ebeb95698c143444b4dbfe3bcf00789186b62192bd", kill_on_drop: false }` [INFO] [stdout] cd79c92c6516b0ab888c45ebeb95698c143444b4dbfe3bcf00789186b62192bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 959e5aab6273f7a0b23fa5f6cb150fadba38105820df09d47cdcf4ee81cf5298 [INFO] running `Command { std: "docker" "start" "-a" "959e5aab6273f7a0b23fa5f6cb150fadba38105820df09d47cdcf4ee81cf5298", 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, unreadable... [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] --> 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_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] --> 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/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] --> 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, unreadable... [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 5.23s [INFO] running `Command { std: "docker" "inspect" "959e5aab6273f7a0b23fa5f6cb150fadba38105820df09d47cdcf4ee81cf5298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "959e5aab6273f7a0b23fa5f6cb150fadba38105820df09d47cdcf4ee81cf5298", kill_on_drop: false }` [INFO] [stdout] 959e5aab6273f7a0b23fa5f6cb150fadba38105820df09d47cdcf4ee81cf5298 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1cf470443d72519e490d47bfacc0889b775b374181cbac65ba387d51a2298295 [INFO] running `Command { std: "docker" "start" "-a" "1cf470443d72519e490d47bfacc0889b775b374181cbac65ba387d51a2298295", 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, unreadable... [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: 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 "misc") generated 2 warnings (run `cargo fix --test "misc"` to apply 1 suggestion) [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: `bvm_filter` (example "load_elf") generated 1 warning [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: `bvm_filter` (test "ubpf_vm") generated 1 warning [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: `bvm_filter` (test "assembler") generated 2 warnings [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: `bvm_filter` (test "ubpf_jit_x86_64") generated 1 warning [INFO] [stderr] warning: `bvm_filter` (lib test) generated 47 warnings (47 duplicates) [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-61dc7cb99b709604) [INFO] [stdout] [INFO] [stdout] running 128 tests [INFO] [stdout] test asm_parser::tests::test_empty ... ok [INFO] [stdout] test asm_parser::tests::test_error_unexpected_character ... ok [INFO] [stdout] test asm_parser::tests::test_instruction ... ok [INFO] [stdout] test asm_parser::tests::test_initial_whitespace ... ok [INFO] [stdout] test asm_parser::tests::test_ident ... ok [INFO] [stdout] test asm_parser::tests::test_ja ... 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_exit ... 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_fixup_relative_calls_forward ... ok [INFO] [stdout] test insn_builder::tests::byte_swap_instructions::convert_host_to_big_endian_32bits ... 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_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 asm_parser::tests::test_tcp_sack ... ok [INFO] [stdout] test insn_builder::tests::byte_swap_instructions::convert_host_to_big_endian_64bit ... ok [INFO] [stdout] test insn_builder::tests::byte_swap_instructions::convert_host_to_little_endian_32bits ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_on_dst_equals_const ... ok [INFO] [stdout] test insn_builder::tests::byte_swap_instructions::convert_host_to_big_endian_16bits ... ok [INFO] [stdout] test elf::test::test_relocate ... 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::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 ... 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_lower_than_const ... ok [INFO] [stdout] test asm_parser::tests::test_register ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_on_dst_not_equals_const ... ok [INFO] [stdout] test elf::test::test_entrypoint ... 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::register::jump_on_dst_greater_or_equals_to_src ... ok [INFO] [stdout] test insn_builder::tests::byte_swap_instructions::convert_host_to_little_endian_16bits ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::register::jump_on_dst_equals_src ... ok [INFO] [stdout] test elf::test::test_validate ... 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_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::register::jump_on_dst_greater_or_equals_src_signed ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::immediate::load_abs_double_word ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_to_label ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::immediate::load_abs_byte ... 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_greater_than_src_signed ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::register::jump_on_dst_lower_or_equals_src_signed ... ok [INFO] [stdout] test asm_parser::tests::test_error_eof ... 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::jump_instructions::register::jump_on_dst_lower_than_src ... 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_half_word ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::register::load_word_from_set_src_with_offset ... 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::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::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::immediate::load_abs_word ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::immediate::load_indirect_byte ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::immediate::load_double_word ... 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_xor_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_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_and_from_register_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_bit_or_const_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::immediate::move_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::register::move_mod_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::register::move_from_register_to_another_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_left_shift_from_register_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_x64::immediate::move_bit_and_const_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_x64::immediate::move_bit_or_const_to_register ... 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::moves_instructions::arch_x32::immediate::move_logical_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::register::move_div_from_register_to_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_x64::immediate::move_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_x64::immediate::move_mul_const_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_sub_const_to_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_and_add_from_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::register::move_bit_and_from_register_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::register::move_bit_or_from_register_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_div_from_register_to_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_mul_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_sub_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::programs::example_from_assembler ... 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::store_instructions::store_double_word_from_dst_into_src_address ... ok [INFO] [stdout] test insn_builder::tests::special::call_immediate ... 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::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::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::store_instructions::store_word_from_dst_into_immediate_address ... ok [INFO] [stdout] test insn_builder::tests::store_instructions::store_double_word_from_dst_into_immediate_address ... 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::special::exit_operation ... 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_half_word_from_dst_into_src_address ... ok [INFO] [stdout] test tests::test_frames ... ok [INFO] [stdout] test insn_builder::tests::store_instructions::store_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] [INFO] [stdout] test result: ok. 128 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/assembler.rs (/opt/rustwide/target/debug/deps/assembler-cb3b2ecf96351df7) [INFO] [stdout] [INFO] [stdout] running 33 tests [INFO] [stdout] test test_add64 ... ok [INFO] [stdout] test test_be32 ... ok [INFO] [stdout] test test_call_imm ... ok [INFO] [stdout] test test_empty ... ok [INFO] [stdout] test test_error_invalid_instruction ... ok [INFO] [stdout] test test_error_too_many_operands ... ok [INFO] [stdout] test test_error_unexpected_operands ... ok [INFO] [stdout] test test_call_reg ... ok [INFO] [stdout] test test_error_operands_out_of_range ... ok [INFO] [stdout] test test_ja ... ok [INFO] [stdout] test test_ldabsw ... ok [INFO] [stdout] test test_ldindw ... ok [INFO] [stdout] test test_jump_conditional ... ok [INFO] [stdout] test test_jeq ... ok [INFO] [stdout] test test_load_reg ... ok [INFO] [stdout] test test_alu_binary ... ok [INFO] [stdout] test test_exit ... ok [INFO] [stdout] test test_endian ... ok [INFO] [stdout] test test_store_reg ... ok [INFO] [stdout] test test_ldxw ... ok [INFO] [stdout] test test_large_immediate ... ok [INFO] [stdout] test test_neg64 ... ok [INFO] [stdout] test test_lddw ... ok [INFO] [stdout] test test_store_imm ... ok [INFO] [stdout] test test_stw ... ok [INFO] [stdout] test test_stxw ... ok [INFO] [stdout] test test_sth ... ok [INFO] [stdout] test test_stxh ... ok [INFO] [stdout] test test_tcp_sack ... ok [INFO] [stdout] test test_load_abs ... ok [INFO] [stdout] test test_ldxdw ... ok [INFO] [stdout] test test_alu_unary ... ok [INFO] [stdout] test test_load_ind ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Running tests/common.rs (/opt/rustwide/target/debug/deps/common-16a8332ad23bf026) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/disassembler.rs (/opt/rustwide/target/debug/deps/disassembler-4a73351670c88718) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test test_alu_unary ... ok [INFO] [stdout] test test_add64 ... ok [INFO] [stdout] test test_be32 ... ok [INFO] [stdout] test test_empty ... ok [INFO] [stdout] test test_call ... ok [INFO] [stdout] test test_exit ... ok [INFO] [stdout] test test_alu_binary ... ok [INFO] [stdout] test test_jeq ... ok [INFO] [stdout] test test_jump_conditional ... ok [INFO] [stdout] test test_large_immediate ... ok [INFO] [stdout] test test_ldabsw ... ok [INFO] [stdout] test test_lddw ... ok [INFO] [stdout] test test_load_abs ... ok [INFO] [stdout] test test_load_ind ... ok [INFO] [stdout] test test_neg64 ... ok [INFO] [stdout] test test_load_reg ... ok [INFO] [stdout] test test_ldxdw ... ok [INFO] [stdout] test test_ldxw ... ok [INFO] [stdout] test test_sth ... ok [INFO] [stdout] test test_ldindw ... 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_stxw ... ok [INFO] [stdout] test test_stxh ... ok [INFO] [stdout] test test_ja ... ok [INFO] [stdout] test test_endian ... 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-01f7ac65adbd5ed8) [INFO] [stdout] [INFO] [stdout] running 40 tests [INFO] [stderr] [INFO] [stderr] thread 'test_bpf_to_bpf_pass_stack_reference' (217) panicked at src/lib.rs:684:21: [INFO] [stderr] misaligned pointer dereference: address must be a multiple of 0x8 but is 0x79663000a32f [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5d56270173e2 - std::backtrace_rs::backtrace::libunwind::trace::h589a96ef7638b383 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5d56270173e2 - std::backtrace_rs::backtrace::trace_unsynchronized::h23a30a7548c40de4 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5d56270173e2 - std::sys::backtrace::_print_fmt::h87dabd6535c8c07a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5d56270173e2 - ::fmt::hffd20ad4e5eca8ab [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5d562702793f - core::fmt::rt::Argument::fmt::h75c83e3fd5ce2419 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5d562702793f - core::fmt::write::h6d9d3a7cfd7b84f5 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x5d5626fe4b43 - std::io::default_write_fmt::ha7130bf70117e1da [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5d5626fe4b43 - std::io::Write::write_fmt::h22459ad26fe60c51 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5d5626ff0b62 - std::sys::backtrace::BacktraceLock::print::hb28797143397220e [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5d5626ff555f - std::panicking::default_hook::{{closure}}::h7555113b62983743 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x5d5626ff53b9 - std::panicking::default_hook::h2714b564abe8d914 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x5d5626f2cdce - as core::ops::function::Fn>::call::h0e9de8cceb22406e [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stderr] 12: 0x5d5626f2cdce - test::test_main_with_exit_callback::{{closure}}::h8125bd66cf4739d0 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:145:21 [INFO] [stderr] 13: 0x5d5626ff5bfe - as core::ops::function::Fn>::call::h1fd0a0802eaec16b [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stderr] 14: 0x5d5626ff5bfe - std::panicking::panic_with_hook::h190dc82263685ec5 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:842:13 [INFO] [stderr] 15: 0x5d5626ff59ca - std::panicking::panic_handler::{{closure}}::h8b036a1b366643ac [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:707:13 [INFO] [stderr] 16: 0x5d5626ff0c99 - std::sys::backtrace::__rust_end_short_backtrace::h45affcfc0c830da8 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 17: 0x5d5626fd900d - __rustc[9b67c8562bba447b]::rust_begin_unwind [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:698:5 [INFO] [stderr] 18: 0x5d562702f8cd - core::panicking::panic_nounwind_fmt::runtime::h0e9d970dfc029f14 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:117:22 [INFO] [stderr] 19: 0x5d562702f8cd - core::panicking::panic_nounwind_fmt::h120e82628a1ba90a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/intrinsics/mod.rs:2380:9 [INFO] [stderr] 20: 0x5d562702fb11 - core::panicking::panic_misaligned_pointer_dereference::h59c4c5cc5b17a54e [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:284:5 [INFO] [stderr] 21: 0x5d5626f55713 - bvm_filter::EbpfVmMbuff::execute_program::h8c28c583bea71e33 [INFO] [stderr] at /opt/rustwide/workdir/src/lib.rs:684:21 [INFO] [stderr] 22: 0x5d5626f5bf85 - bvm_filter::EbpfVmRaw::execute_program::h4d06ee9874677b5a [INFO] [stderr] at /opt/rustwide/workdir/src/lib.rs:1728:21 [INFO] [stderr] 23: 0x5d5626f5aed7 - bvm_filter::EbpfVmNoData::execute_program::h9611257f55b3db59 [INFO] [stderr] at /opt/rustwide/workdir/src/lib.rs:2102:21 [INFO] [stderr] 24: 0x5d5626f0ba7a - misc::test_bpf_to_bpf_pass_stack_reference::h8c652a293d15891a [INFO] [stderr] at /opt/rustwide/workdir/tests/misc.rs:986:19 [INFO] [stderr] 25: 0x5d5626f0bc37 - misc::test_bpf_to_bpf_pass_stack_reference::{{closure}}::haa711499ce59b13e [INFO] [stderr] at /opt/rustwide/workdir/tests/misc.rs:976:42 [INFO] [stderr] 26: 0x5d5626efcb36 - core::ops::function::FnOnce::call_once::h6d4c7c1d591d2199 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 27: 0x5d5626f2cb8b - core::ops::function::FnOnce::call_once::hdbf42be2a49fb464 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 28: 0x5d5626f2cb8b - test::__rust_begin_short_backtrace::h8ae08814d38cb356 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:663:18 [INFO] [stderr] 29: 0x5d5626f42675 - test::run_test_in_process::{{closure}}::h54574ee4f414d690 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:74 [INFO] [stderr] 30: 0x5d5626f42675 - as core::ops::function::FnOnce<()>>::call_once::h01a0b7e7aad1a501 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 31: 0x5d5626f42675 - std::panicking::catch_unwind::do_call::h23820e817c5612cd [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stderr] 32: 0x5d5626f42675 - std::panicking::catch_unwind::h89c73a1febce5587 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stderr] 33: 0x5d5626f42675 - std::panic::catch_unwind::h6f55caf410861914 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stderr] 34: 0x5d5626f42675 - test::run_test_in_process::h4db851878e5d3983 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:27 [INFO] [stderr] 35: 0x5d5626f42675 - test::run_test::{{closure}}::h57e8c5acaceacd24 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:607:43 [INFO] [stderr] 36: 0x5d5626f19064 - test::run_test::{{closure}}::he775ccc3a9d3b97e [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:637:41 [INFO] [stderr] 37: 0x5d5626f19064 - std::sys::backtrace::__rust_begin_short_backtrace::hcd94d85d7765225a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 38: 0x5d5626f1c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha814de8393f07830 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] 39: 0x5d5626f1c8aa - as core::ops::function::FnOnce<()>>::call_once::h8deb00af0abdeaf1 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 40: 0x5d5626f1c8aa - std::panicking::catch_unwind::do_call::h1917979b0c279ea2 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stderr] 41: 0x5d5626f1c8aa - std::panicking::catch_unwind::h791ad91fee6ce34e [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stderr] 42: 0x5d5626f1c8aa - std::panic::catch_unwind::h982b8f40ed9c3cce [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stderr] 43: 0x5d5626f1c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::h545e54700c945db4 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] 44: 0x5d5626f1c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb427481a5227d78a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 45: 0x5d5626feaf1f - as core::ops::function::FnOnce>::call_once::h1d452951a81e9d0a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1985:9 [INFO] [stderr] 46: 0x5d5626feaf1f - std::sys::pal::unix::thread::Thread::new::thread_start::h29c84e109630689a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stderr] 47: 0x796635f66aa4 - [INFO] [stderr] 48: 0x796635ff3a34 - clone [INFO] [stderr] 49: 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-01f7ac65adbd5ed8` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "1cf470443d72519e490d47bfacc0889b775b374181cbac65ba387d51a2298295", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cf470443d72519e490d47bfacc0889b775b374181cbac65ba387d51a2298295", kill_on_drop: false }` [INFO] [stdout] 1cf470443d72519e490d47bfacc0889b775b374181cbac65ba387d51a2298295