[INFO] fetching crate bvm_filter 1.0.0... [INFO] testing bvm_filter-1.0.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate bvm_filter 1.0.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate bvm_filter 1.0.0 [INFO] finished tweaking crates.io crate bvm_filter 1.0.0 [INFO] tweaked toml for crates.io crate bvm_filter 1.0.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bvm_filter 1.0.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum-primitive-derive v0.1.2 [INFO] [stderr] Downloaded ar v0.6.2 [INFO] [stderr] Downloaded bloom v0.3.2 [INFO] [stderr] Downloaded elf v0.0.10 [INFO] [stderr] Downloaded colored v1.9.4 [INFO] [stderr] Downloaded generic-array v0.9.1 [INFO] [stderr] Downloaded itertools v0.7.11 [INFO] [stderr] Downloaded elfkit v0.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe35fb573fa785a79008ca9e34685b8d9de177a0ad0a2c342b4501f842c7a53c [INFO] running `Command { std: "docker" "start" "-a" "fe35fb573fa785a79008ca9e34685b8d9de177a0ad0a2c342b4501f842c7a53c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe35fb573fa785a79008ca9e34685b8d9de177a0ad0a2c342b4501f842c7a53c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe35fb573fa785a79008ca9e34685b8d9de177a0ad0a2c342b4501f842c7a53c", kill_on_drop: false }` [INFO] [stdout] fe35fb573fa785a79008ca9e34685b8d9de177a0ad0a2c342b4501f842c7a53c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db652486848608d681fff4c34b30278a2e6730b55ab79bfe1f0e629e3d7ed36a [INFO] running `Command { std: "docker" "start" "-a" "db652486848608d681fff4c34b30278a2e6730b55ab79bfe1f0e629e3d7ed36a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling generic-array v0.9.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling bloom v0.3.2 [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 bit-vec v0.5.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling combine v2.5.2 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling 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 17.46s [INFO] running `Command { std: "docker" "inspect" "db652486848608d681fff4c34b30278a2e6730b55ab79bfe1f0e629e3d7ed36a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db652486848608d681fff4c34b30278a2e6730b55ab79bfe1f0e629e3d7ed36a", kill_on_drop: false }` [INFO] [stdout] db652486848608d681fff4c34b30278a2e6730b55ab79bfe1f0e629e3d7ed36a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ad1be9f9a237c98e6402bdba30df134e4ca21a574604167c4ba8941a9d3e956 [INFO] running `Command { std: "docker" "start" "-a" "2ad1be9f9a237c98e6402bdba30df134e4ca21a574604167c4ba8941a9d3e956", 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/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] --> 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] --> examples/load_elf.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/misc.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> tests/misc.rs:709:112 [INFO] [stdout] | [INFO] [stdout] 709 | ... unused5: u64, ro_regions: &[MemoryRegion], unused7: &[MemoryRegion]) -> Result<(()), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 709 - unused5: u64, ro_regions: &[MemoryRegion], unused7: &[MemoryRegion]) -> Result<(()), Error> { [INFO] [stdout] 709 + unused5: u64, ro_regions: &[MemoryRegion], unused7: &[MemoryRegion]) -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/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 4.06s [INFO] running `Command { std: "docker" "inspect" "2ad1be9f9a237c98e6402bdba30df134e4ca21a574604167c4ba8941a9d3e956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ad1be9f9a237c98e6402bdba30df134e4ca21a574604167c4ba8941a9d3e956", kill_on_drop: false }` [INFO] [stdout] 2ad1be9f9a237c98e6402bdba30df134e4ca21a574604167c4ba8941a9d3e956 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6dd8eb565534796020b81144452290ff06963b7986407372e24ffa2e6d4f22c2 [INFO] running `Command { std: "docker" "start" "-a" "6dd8eb565534796020b81144452290ff06963b7986407372e24ffa2e6d4f22c2", 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: `bvm_filter` (lib test) generated 47 warnings (47 duplicates) [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/assembler.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> tests/assembler.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | Ok(ebpf::to_insn_vec(&try!(assemble(src)))) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/ubpf_jit_x86_64.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> tests/ubpf_vm.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> 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` (test "assembler") generated 2 warnings [INFO] [stderr] warning: `bvm_filter` (test "misc") generated 2 warnings (run `cargo fix --test "misc"` to apply 1 suggestion) [INFO] [stderr] warning: `bvm_filter` (test "ubpf_jit_x86_64") generated 1 warning [INFO] [stderr] warning: `bvm_filter` (test "ubpf_vm") generated 1 warning [INFO] [stderr] warning: `bvm_filter` (example "load_elf") generated 1 warning [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_exit ... ok [INFO] [stdout] test asm_parser::tests::test_ident ... ok [INFO] [stdout] test asm_parser::tests::test_initial_whitespace ... ok [INFO] [stdout] test asm_parser::tests::test_instruction ... ok [INFO] [stdout] test asm_parser::tests::test_integer ... 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_operand ... ok [INFO] [stdout] test asm_parser::tests::test_error_eof ... ok [INFO] [stdout] test elf::test::test_fixup_relative_calls_back ... ok [INFO] [stdout] test insn_builder::tests::byte_swap_instructions::convert_host_to_little_endian_32bits ... ok [INFO] [stdout] test asm_parser::tests::test_tcp_sack ... ok [INFO] [stdout] test insn_builder::tests::byte_swap_instructions::convert_host_to_big_endian_32bits ... ok [INFO] [stdout] test elf::test::test_entrypoint ... ok [INFO] [stdout] test insn_builder::tests::byte_swap_instructions::convert_host_to_little_endian_64bit ... ok [INFO] [stdout] test elf::test::test_relocate ... ok [INFO] [stdout] test insn_builder::tests::byte_swap_instructions::convert_host_to_big_endian_16bits ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_on_dst_bit_and_with_const_not_equal_zero ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_on_dst_equals_const ... ok [INFO] [stdout] test insn_builder::tests::byte_swap_instructions::convert_host_to_big_endian_64bit ... ok [INFO] [stdout] test elf::test::test_fixup_relative_calls_forward ... 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::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_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::immediate::jump_on_dst_lower_than_const ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_on_dst_lower_than_const_signed ... ok [INFO] [stdout] test elf::test::test_validate ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_to_label ... 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_equals_src ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::register::jump_on_dst_greater_or_equals_src_signed ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::register::jump_on_dst_greater_or_equals_to_src ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::register::jump_on_dst_greater_than_src ... 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 insn_builder::tests::jump_instructions::register::jump_on_dst_lower_or_equals_to_src ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::immediate::jump_on_dst_not_equals_const ... ok [INFO] [stdout] test insn_builder::tests::jump_instructions::register::jump_on_dst_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_byte ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::immediate::load_abs_double_word ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::immediate::load_abs_half_word ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::immediate::load_abs_word ... ok [INFO] [stdout] test insn_builder::tests::load_instructions::immediate::load_double_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_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::register::load_word_from_set_src_with_offset ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::immediate::move_and_add_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::immediate::move_bit_and_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_left_shift_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_logical_right_shift_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::immediate::move_mul_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::immediate::move_signed_right_shift_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::register::move_and_add_from_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_bit_and_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_x32::register::move_div_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_bit_xor_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::immediate::move_bit_or_const_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_x32::immediate::move_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::register::move_logical_right_shift_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_and_add_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_x64::immediate::move_bit_or_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_bit_and_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_bit_xor_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_div_constant_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_signed_right_shift_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_left_shift_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_sub_const_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::immediate::move_logical_right_shift_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::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::register::move_and_add_from_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::register::move_bit_and_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::register::move_bit_or_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::register::move_div_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::register::move_from_register_to_another_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::register::move_left_shift_from_register_to_register ... ok [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x64::register::move_bit_xor_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_mod_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_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::special::call_immediate ... 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_double_word_from_dst_into_immediate_address ... ok [INFO] [stdout] test insn_builder::tests::store_instructions::store_double_word_from_dst_into_src_address ... ok [INFO] [stdout] test insn_builder::tests::store_instructions::store_half_word_from_dst_into_immediate_address ... ok [INFO] [stdout] test insn_builder::tests::store_instructions::store_half_word_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_word_from_dst_into_src_address ... ok [INFO] [stdout] test tests::test_frames ... ok [INFO] [stdout] test insn_builder::tests::special::exit_operation ... ok [INFO] [stdout] test elf::test::test_entrypoint_after_text - should panic ... ok [INFO] [stdout] test elf::test::test_entrypoint_not_multiple_of_instruction_size - 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 insn_builder::tests::moves_instructions::arch_x32::immediate::move_mod_const_to_register ... ok [INFO] [stdout] test asm_parser::tests::test_register ... ok [INFO] [stderr] Running tests/assembler.rs (/opt/rustwide/target/debug/deps/assembler-cb3b2ecf96351df7) [INFO] [stdout] test insn_builder::tests::moves_instructions::arch_x32::register::move_signed_right_shift_from_register_to_register ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 128 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 33 tests [INFO] [stdout] test test_alu_unary ... ok [INFO] [stdout] test test_add64 ... ok [INFO] [stdout] test test_alu_binary ... ok [INFO] [stdout] test test_be32 ... ok [INFO] [stdout] test test_call_imm ... ok [INFO] [stdout] test test_call_reg ... 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_exit ... ok [INFO] [stdout] test test_jeq ... ok [INFO] [stdout] test test_large_immediate ... ok [INFO] [stdout] test test_error_operands_out_of_range ... ok [INFO] [stdout] test test_ja ... ok [INFO] [stdout] test test_load_abs ... ok [INFO] [stdout] test test_jump_conditional ... ok [INFO] [stdout] test test_load_ind ... ok [INFO] [stdout] test test_sth ... ok [INFO] [stdout] test test_load_reg ... ok [INFO] [stdout] test test_lddw ... ok [INFO] [stdout] test test_store_reg ... ok [INFO] [stdout] test test_ldxdw ... ok [INFO] [stdout] test test_stxw ... ok [INFO] [stdout] test test_neg64 ... ok [INFO] [stdout] test test_ldabsw ... ok [INFO] [stdout] test test_ldxw ... ok [INFO] [stdout] test test_tcp_sack ... ok [INFO] [stdout] test test_stxh ... ok [INFO] [stdout] test test_store_imm ... ok [INFO] [stdout] test test_stw ... ok [INFO] [stdout] test test_endian ... ok [INFO] [stdout] test test_ldindw ... ok [INFO] [stderr] Running tests/common.rs (/opt/rustwide/target/debug/deps/common-16a8332ad23bf026) [INFO] [stdout] [INFO] [stdout] test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/disassembler.rs (/opt/rustwide/target/debug/deps/disassembler-4a73351670c88718) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test test_add64 ... ok [INFO] [stdout] test test_alu_unary ... ok [INFO] [stdout] test test_be32 ... ok [INFO] [stdout] test test_alu_binary ... ok [INFO] [stdout] test test_empty ... ok [INFO] [stdout] test test_endian ... ok [INFO] [stdout] test test_exit ... ok [INFO] [stdout] test test_jeq ... ok [INFO] [stdout] test test_call ... ok [INFO] [stdout] test test_ja ... ok [INFO] [stdout] test test_ldabsw ... ok [INFO] [stdout] test test_large_immediate ... ok [INFO] [stdout] test test_jump_conditional ... ok [INFO] [stdout] test test_ldxw ... ok [INFO] [stdout] test test_load_abs ... ok [INFO] [stdout] test test_load_ind ... ok [INFO] [stdout] test test_ldindw ... ok [INFO] [stdout] test test_load_reg ... ok [INFO] [stdout] test test_lddw ... ok [INFO] [stdout] test test_stxw ... ok [INFO] [stdout] test test_stxh ... ok [INFO] [stdout] test test_store_imm ... ok [INFO] [stdout] test test_stw ... ok [INFO] [stdout] test test_neg64 ... ok [INFO] [stdout] test test_store_reg ... ok [INFO] [stdout] test test_sth ... ok [INFO] [stdout] test test_ldxdw ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [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' (218) panicked at src/lib.rs:684:21: [INFO] [stderr] misaligned pointer dereference: address must be a multiple of 0x8 but is 0x761eec00706f [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x648c1badb2d2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x648c1badb2d2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x648c1badb2d2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x648c1badb2d2 - ::fmt::h5bb8a979ba5db788 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x648c1baeb82f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x648c1baeb82f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x648c1baa8b63 - std::io::default_write_fmt::hb0810a37865e52a5 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x648c1baa8b63 - std::io::Write::write_fmt::h12c8908aaac7ca22 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x648c1bab4a52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x648c1bab944f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x648c1bab92a9 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x648c1b9f180e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stderr] 12: 0x648c1b9f180e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stderr] 13: 0x648c1bab9aee - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stderr] 14: 0x648c1bab9aee - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stderr] 15: 0x648c1bab98ba - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stderr] 16: 0x648c1bab4b89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 17: 0x648c1ba9cefd - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stderr] 18: 0x648c1baf37bd - core::panicking::panic_nounwind_fmt::runtime::hac4f6b13dba0e83c [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:117:22 [INFO] [stderr] 19: 0x648c1baf37bd - core::panicking::panic_nounwind_fmt::h6abdf93d58efc633 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/intrinsics/mod.rs:2380:9 [INFO] [stderr] 20: 0x648c1baf3a01 - core::panicking::panic_misaligned_pointer_dereference::h155a3077fffe1a5d [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:284:5 [INFO] [stderr] 21: 0x648c1ba1a153 - bvm_filter::EbpfVmMbuff::execute_program::h11ba7852664b321f [INFO] [stderr] at /opt/rustwide/workdir/src/lib.rs:684:21 [INFO] [stderr] 22: 0x648c1ba209c5 - bvm_filter::EbpfVmRaw::execute_program::h28ce5fdc2d888511 [INFO] [stderr] at /opt/rustwide/workdir/src/lib.rs:1728:21 [INFO] [stderr] 23: 0x648c1ba1f917 - bvm_filter::EbpfVmNoData::execute_program::hf5368456a999104d [INFO] [stderr] at /opt/rustwide/workdir/src/lib.rs:2102:21 [INFO] [stderr] 24: 0x648c1b9d04ba - misc::test_bpf_to_bpf_pass_stack_reference::h39dace849c0aefb5 [INFO] [stderr] at /opt/rustwide/workdir/tests/misc.rs:986:19 [INFO] [stderr] 25: 0x648c1b9d0677 - misc::test_bpf_to_bpf_pass_stack_reference::{{closure}}::hf6e613e894e490b0 [INFO] [stderr] at /opt/rustwide/workdir/tests/misc.rs:976:42 [INFO] [stderr] 26: 0x648c1b9c15a6 - core::ops::function::FnOnce::call_once::h7dfb0a4069559a80 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 27: 0x648c1b9f160b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 28: 0x648c1b9f160b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stderr] 29: 0x648c1ba070b5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stderr] 30: 0x648c1ba070b5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 31: 0x648c1ba070b5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stderr] 32: 0x648c1ba070b5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stderr] 33: 0x648c1ba070b5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stderr] 34: 0x648c1ba070b5 - test::run_test_in_process::had0273166695a036 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stderr] 35: 0x648c1ba070b5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stderr] 36: 0x648c1b9ddad4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stderr] 37: 0x648c1b9ddad4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 38: 0x648c1b9e13ba - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] 39: 0x648c1b9e13ba - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 40: 0x648c1b9e13ba - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stderr] 41: 0x648c1b9e13ba - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stderr] 42: 0x648c1b9e13ba - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stderr] 43: 0x648c1b9e13ba - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] 44: 0x648c1b9e13ba - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 45: 0x648c1baaee0f - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stderr] 46: 0x648c1baaee0f - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stderr] 47: 0x761efc15daa4 - [INFO] [stderr] 48: 0x761efc1eaa34 - 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" "6dd8eb565534796020b81144452290ff06963b7986407372e24ffa2e6d4f22c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dd8eb565534796020b81144452290ff06963b7986407372e24ffa2e6d4f22c2", kill_on_drop: false }` [INFO] [stdout] 6dd8eb565534796020b81144452290ff06963b7986407372e24ffa2e6d4f22c2