[INFO] fetching crate bvm_filter 1.0.0... [INFO] testing bvm_filter-1.0.0 against 1.64.0 for beta-1.65-1 [INFO] extracting crate bvm_filter 1.0.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate bvm_filter 1.0.0 on toolchain 1.64.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.64.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.64.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.64.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum-primitive-derive v0.1.2 [INFO] [stderr] Downloaded bloom v0.3.2 [INFO] [stderr] Downloaded synom v0.11.3 [INFO] [stderr] Downloaded glob v0.2.11 [INFO] [stderr] Downloaded syn v0.11.11 [INFO] [stderr] Downloaded itertools v0.7.11 [INFO] [stderr] Downloaded combine v2.5.2 [INFO] [stderr] Downloaded elf v0.0.10 [INFO] [stderr] Downloaded bit-vec v0.4.4 [INFO] [stderr] Downloaded json v0.11.15 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded ascii v0.7.1 [INFO] [stderr] Downloaded ar v0.6.2 [INFO] [stderr] Downloaded pretty_env_logger v0.2.5 [INFO] [stderr] Downloaded elfkit v0.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+1.64.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08024975cc2d58708b33a9eede0b14d91b8ef3d457bf811a06098ed033c2ae72 [INFO] running `Command { std: "docker" "start" "-a" "08024975cc2d58708b33a9eede0b14d91b8ef3d457bf811a06098ed033c2ae72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08024975cc2d58708b33a9eede0b14d91b8ef3d457bf811a06098ed033c2ae72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08024975cc2d58708b33a9eede0b14d91b8ef3d457bf811a06098ed033c2ae72", kill_on_drop: false }` [INFO] [stdout] 08024975cc2d58708b33a9eede0b14d91b8ef3d457bf811a06098ed033c2ae72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+1.64.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ccc50b36ce6e84e01dc1eeed0ea023130bdad4b6aa538143ac0df979cc827ee [INFO] running `Command { std: "docker" "start" "-a" "2ccc50b36ce6e84e01dc1eeed0ea023130bdad4b6aa538143ac0df979cc827ee", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling ascii v0.7.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.11 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling ar v0.6.2 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling bloom v0.3.2 [INFO] [stderr] Compiling combine v2.5.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling generic-array v0.9.1 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling enum-primitive-derive v0.1.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: 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)]` 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)]` 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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] [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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.86s [INFO] running `Command { std: "docker" "inspect" "2ccc50b36ce6e84e01dc1eeed0ea023130bdad4b6aa538143ac0df979cc827ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ccc50b36ce6e84e01dc1eeed0ea023130bdad4b6aa538143ac0df979cc827ee", kill_on_drop: false }` [INFO] [stdout] 2ccc50b36ce6e84e01dc1eeed0ea023130bdad4b6aa538143ac0df979cc827ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+1.64.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c6f868acda945f79ae7f607bda98706557191be85c048fdb6522b938d508734 [INFO] running `Command { std: "docker" "start" "-a" "5c6f868acda945f79ae7f607bda98706557191be85c048fdb6522b938d508734", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling json v0.11.15 [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)]` 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)]` 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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] [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: 18 warnings emitted [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: 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: 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)]` 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: 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)]` 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)]` 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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] [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] [stderr] error: could not compile `bvm_filter`; 18 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name bvm_filter src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test -C metadata=f02d6fd9afb8c09f -C extra-filename=-f02d6fd9afb8c09f --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-55e6c2d34285e0c3.rlib --extern combine=/opt/rustwide/target/debug/deps/libcombine-fbfe12dc3cfcef5d.rlib --extern elf=/opt/rustwide/target/debug/deps/libelf-a3ba4e1454450469.rlib --extern elfkit=/opt/rustwide/target/debug/deps/libelfkit-9e8869fa3081bd2e.rlib --extern hash32=/opt/rustwide/target/debug/deps/libhash32-1963ab7f5453652d.rlib --extern json=/opt/rustwide/target/debug/deps/libjson-b1fa05cef2d24d82.rlib --extern libc=/opt/rustwide/target/debug/deps/liblibc-6267468579859e6d.rlib --extern num_traits=/opt/rustwide/target/debug/deps/libnum_traits-102918eb383a9fdc.rlib --extern time=/opt/rustwide/target/debug/deps/libtime-a72409d869e1bfe4.rlib --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5c6f868acda945f79ae7f607bda98706557191be85c048fdb6522b938d508734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c6f868acda945f79ae7f607bda98706557191be85c048fdb6522b938d508734", kill_on_drop: false }` [INFO] [stdout] 5c6f868acda945f79ae7f607bda98706557191be85c048fdb6522b938d508734