[INFO] fetching crate bitcoin-crc32c 0.1.12-alpha.0... [INFO] building bitcoin-crc32c-0.1.12-alpha.0 against try#f41a2ab7b0d9462073425dd6c04abbeb4805cb77 for pr-97334-2 [INFO] extracting crate bitcoin-crc32c 0.1.12-alpha.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate bitcoin-crc32c 0.1.12-alpha.0 on toolchain f41a2ab7b0d9462073425dd6c04abbeb4805cb77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoin-crc32c 0.1.12-alpha.0 [INFO] finished tweaking crates.io crate bitcoin-crc32c 0.1.12-alpha.0 [INFO] tweaked toml for crates.io crate bitcoin-crc32c 0.1.12-alpha.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff83961c76d7c7f276f2affdc6d262fedd8ba3221bb2904d920979dcc6ffcbd5 [INFO] running `Command { std: "docker" "start" "-a" "ff83961c76d7c7f276f2affdc6d262fedd8ba3221bb2904d920979dcc6ffcbd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff83961c76d7c7f276f2affdc6d262fedd8ba3221bb2904d920979dcc6ffcbd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff83961c76d7c7f276f2affdc6d262fedd8ba3221bb2904d920979dcc6ffcbd5", kill_on_drop: false }` [INFO] [stdout] ff83961c76d7c7f276f2affdc6d262fedd8ba3221bb2904d920979dcc6ffcbd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c80e9bf9cc6d2c06970a029c74484a6841686b0374d71ca01b4afc312a4c9c10 [INFO] running `Command { std: "docker" "start" "-a" "c80e9bf9cc6d2c06970a029c74484a6841686b0374d71ca01b4afc312a4c9c10", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling dunce v1.0.3 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling clang-sys v1.4.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling priority-queue v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling raw-cpuid v10.6.0 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling atomic-take v1.0.0 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling indoc v1.0.8 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling cpp_common v0.5.7 [INFO] [stderr] Compiling cpp_build v0.5.7 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling qttypes v0.2.8 [INFO] [stderr] Compiling cpp_macros v0.5.7 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling qmetaobject v0.2.7 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling qmetaobject_impl v0.2.7 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling cpp v0.5.7 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling libevent-sys v0.2.5 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde-big-array v0.4.1 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling libevent v0.1.0 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling ritual_build v0.4.0 [INFO] [stderr] Compiling qt_ritual_common v0.4.0 [INFO] [stderr] Compiling qt_ritual_build v0.5.0 [INFO] [stderr] Compiling qt_core v0.5.0 [INFO] [stderr] Compiling qt_gui v0.5.0 [INFO] [stderr] Compiling bitcoin-imports v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-cfg v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-crc32c v0.1.12-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/benchmark.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set_up(&mut self, state: &BenchmarkState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/benchmark.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | argc: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src/benchmark.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | argv: *mut *mut u8) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc` [INFO] [stdout] --> src/interface.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | crc: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/interface.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/interface.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | count: usize) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/interface.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/interface.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | count: usize) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/interface.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/interface.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | count: usize) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/interface.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | #[inline] pub fn crc32c_with_str(string: &str) -> u32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc` [INFO] [stdout] --> src/interface.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | crc: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/interface.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/interface.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | count: usize) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc` [INFO] [stdout] --> src/portable.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | crc: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/portable.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/portable.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | size: usize) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/prefetch.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | #[inline] pub fn request_prefetch(address: *const u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/read_le.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | #[inline] pub fn read_uint32le(buffer: *const u8) -> u32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/read_le.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | #[inline] pub fn read_uint64le(buffer: *const u8) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pointer` [INFO] [stdout] --> src/round_up.rs:15:58 [INFO] [stdout] | [INFO] [stdout] 15 | #[inline] pub fn round_up_with_uintptr(pointer: libc::uintptr_t) -> libc::uintptr_t { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pointer` [INFO] [stdout] --> src/round_up.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | #[inline] pub fn round_up(pointer: *const u8) -> *const u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/test_main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | argc: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src/test_main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | argv: *mut *mut u8) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc` [INFO] [stdout] --> src/unittest.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | crc: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/unittest.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/unittest.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | count: usize) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base`, `block_data`, `block_buffer`, and `block_size` are never read [INFO] [stdout] --> src/benchmark.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CRC32CBenchmark { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 6 | base: BenchmarkFixture, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | block_data: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | block_buffer: *const u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | block_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PortableTestTraits` is never constructed [INFO] [stdout] --> src/portable.rs:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct PortableTestTraits { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CRC32XOR` is never used [INFO] [stdout] --> src/portable.rs:263:15 [INFO] [stdout] | [INFO] [stdout] 263 | pub const CRC32XOR: u32 = 0xffffffff as u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extend_portable` is never used [INFO] [stdout] --> src/portable.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn extend_portable( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `extend` is never used [INFO] [stdout] --> src/portable.rs:250:16 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn extend( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request_prefetch` is never used [INFO] [stdout] --> src/prefetch.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | #[inline] pub fn request_prefetch(address: *const u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_uint32le` is never used [INFO] [stdout] --> src/read_le.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | #[inline] pub fn read_uint32le(buffer: *const u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_uint64le` is never used [INFO] [stdout] --> src/read_le.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | #[inline] pub fn read_uint64le(buffer: *const u8) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_up_with_uintptr` is never used [INFO] [stdout] --> src/round_up.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | #[inline] pub fn round_up_with_uintptr(pointer: libc::uintptr_t) -> libc::uintptr_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_up` is never used [INFO] [stdout] --> src/round_up.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | #[inline] pub fn round_up(pointer: *const u8) -> *const u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApiTestTraits` is never constructed [INFO] [stdout] --> src/unittest.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct ApiTestTraits { } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `extend` is never used [INFO] [stdout] --> src/unittest.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn extend( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 12s [INFO] running `Command { std: "docker" "inspect" "c80e9bf9cc6d2c06970a029c74484a6841686b0374d71ca01b4afc312a4c9c10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c80e9bf9cc6d2c06970a029c74484a6841686b0374d71ca01b4afc312a4c9c10", kill_on_drop: false }` [INFO] [stdout] c80e9bf9cc6d2c06970a029c74484a6841686b0374d71ca01b4afc312a4c9c10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fda840fcde9ab860f9c8a8082feae62263d29eb2c727d107635402a759b3b3f7 [INFO] running `Command { std: "docker" "start" "-a" "fda840fcde9ab860f9c8a8082feae62263d29eb2c727d107635402a759b3b3f7", kill_on_drop: false }` [INFO] [stderr] Compiling bitcoin-crc32c v0.1.12-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/benchmark.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set_up(&mut self, state: &BenchmarkState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/benchmark.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | argc: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src/benchmark.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | argv: *mut *mut u8) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc` [INFO] [stdout] --> src/interface.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | crc: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/interface.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/interface.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | count: usize) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/interface.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/interface.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | count: usize) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/interface.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/interface.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | count: usize) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/interface.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | #[inline] pub fn crc32c_with_str(string: &str) -> u32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc` [INFO] [stdout] --> src/interface.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | crc: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/interface.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/interface.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | count: usize) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc` [INFO] [stdout] --> src/portable.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | crc: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/portable.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/portable.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | size: usize) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/prefetch.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | #[inline] pub fn request_prefetch(address: *const u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/read_le.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | #[inline] pub fn read_uint32le(buffer: *const u8) -> u32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/read_le.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | #[inline] pub fn read_uint64le(buffer: *const u8) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pointer` [INFO] [stdout] --> src/round_up.rs:15:58 [INFO] [stdout] | [INFO] [stdout] 15 | #[inline] pub fn round_up_with_uintptr(pointer: libc::uintptr_t) -> libc::uintptr_t { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pointer` [INFO] [stdout] --> src/round_up.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | #[inline] pub fn round_up(pointer: *const u8) -> *const u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/test_main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | argc: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src/test_main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | argv: *mut *mut u8) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc` [INFO] [stdout] --> src/unittest.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | crc: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/unittest.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/unittest.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | count: usize) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base`, `block_data`, `block_buffer`, and `block_size` are never read [INFO] [stdout] --> src/benchmark.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CRC32CBenchmark { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 6 | base: BenchmarkFixture, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | block_data: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | block_buffer: *const u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | block_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PortableTestTraits` is never constructed [INFO] [stdout] --> src/portable.rs:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct PortableTestTraits { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CRC32XOR` is never used [INFO] [stdout] --> src/portable.rs:263:15 [INFO] [stdout] | [INFO] [stdout] 263 | pub const CRC32XOR: u32 = 0xffffffff as u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extend_portable` is never used [INFO] [stdout] --> src/portable.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn extend_portable( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `extend` is never used [INFO] [stdout] --> src/portable.rs:250:16 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn extend( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request_prefetch` is never used [INFO] [stdout] --> src/prefetch.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | #[inline] pub fn request_prefetch(address: *const u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_uint32le` is never used [INFO] [stdout] --> src/read_le.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | #[inline] pub fn read_uint32le(buffer: *const u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_uint64le` is never used [INFO] [stdout] --> src/read_le.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | #[inline] pub fn read_uint64le(buffer: *const u8) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_up_with_uintptr` is never used [INFO] [stdout] --> src/round_up.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | #[inline] pub fn round_up_with_uintptr(pointer: libc::uintptr_t) -> libc::uintptr_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_up` is never used [INFO] [stdout] --> src/round_up.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | #[inline] pub fn round_up(pointer: *const u8) -> *const u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApiTestTraits` is never constructed [INFO] [stdout] --> src/unittest.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct ApiTestTraits { } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `extend` is never used [INFO] [stdout] --> src/unittest.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn extend( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/benchmark.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set_up(&mut self, state: &BenchmarkState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/benchmark.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | argc: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src/benchmark.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | argv: *mut *mut u8) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc` [INFO] [stdout] --> src/interface.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | crc: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/interface.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/interface.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | count: usize) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/interface.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/interface.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | count: usize) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/interface.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/interface.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | count: usize) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/interface.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | #[inline] pub fn crc32c_with_str(string: &str) -> u32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc` [INFO] [stdout] --> src/interface.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | crc: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/interface.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/interface.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | count: usize) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc` [INFO] [stdout] --> src/portable.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | crc: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/portable.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/portable.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | size: usize) -> u32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/prefetch.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | #[inline] pub fn request_prefetch(address: *const u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/read_le.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | #[inline] pub fn read_uint32le(buffer: *const u8) -> u32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/read_le.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | #[inline] pub fn read_uint64le(buffer: *const u8) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pointer` [INFO] [stdout] --> src/round_up.rs:15:58 [INFO] [stdout] | [INFO] [stdout] 15 | #[inline] pub fn round_up_with_uintptr(pointer: libc::uintptr_t) -> libc::uintptr_t { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pointer` [INFO] [stdout] --> src/round_up.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | #[inline] pub fn round_up(pointer: *const u8) -> *const u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/test_main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | argc: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src/test_main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | argv: *mut *mut u8) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc` [INFO] [stdout] --> src/unittest.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | crc: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/unittest.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/unittest.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | count: usize) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base`, `block_data`, `block_buffer`, and `block_size` are never read [INFO] [stdout] --> src/benchmark.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CRC32CBenchmark { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 6 | base: BenchmarkFixture, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | block_data: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | block_buffer: *const u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | block_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PortableTestTraits` is never constructed [INFO] [stdout] --> src/portable.rs:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct PortableTestTraits { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CRC32XOR` is never used [INFO] [stdout] --> src/portable.rs:263:15 [INFO] [stdout] | [INFO] [stdout] 263 | pub const CRC32XOR: u32 = 0xffffffff as u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extend_portable` is never used [INFO] [stdout] --> src/portable.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn extend_portable( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `extend` is never used [INFO] [stdout] --> src/portable.rs:250:16 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn extend( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request_prefetch` is never used [INFO] [stdout] --> src/prefetch.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | #[inline] pub fn request_prefetch(address: *const u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_uint32le` is never used [INFO] [stdout] --> src/read_le.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | #[inline] pub fn read_uint32le(buffer: *const u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_uint64le` is never used [INFO] [stdout] --> src/read_le.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | #[inline] pub fn read_uint64le(buffer: *const u8) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_up_with_uintptr` is never used [INFO] [stdout] --> src/round_up.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | #[inline] pub fn round_up_with_uintptr(pointer: libc::uintptr_t) -> libc::uintptr_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_up` is never used [INFO] [stdout] --> src/round_up.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | #[inline] pub fn round_up(pointer: *const u8) -> *const u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApiTestTraits` is never constructed [INFO] [stdout] --> src/unittest.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct ApiTestTraits { } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `extend` is never used [INFO] [stdout] --> src/unittest.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn extend( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.70s [INFO] running `Command { std: "docker" "inspect" "fda840fcde9ab860f9c8a8082feae62263d29eb2c727d107635402a759b3b3f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fda840fcde9ab860f9c8a8082feae62263d29eb2c727d107635402a759b3b3f7", kill_on_drop: false }` [INFO] [stdout] fda840fcde9ab860f9c8a8082feae62263d29eb2c727d107635402a759b3b3f7