[INFO] fetching crate bitcoin-imports 0.1.12-alpha.0... [INFO] building bitcoin-imports-0.1.12-alpha.0 against try#0179c3cb935eb588d407cb784f436ae84d99db5c for pr-107620-1 [INFO] extracting crate bitcoin-imports 0.1.12-alpha.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate bitcoin-imports 0.1.12-alpha.0 on toolchain 0179c3cb935eb588d407cb784f436ae84d99db5c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoin-imports 0.1.12-alpha.0 [INFO] finished tweaking crates.io crate bitcoin-imports 0.1.12-alpha.0 [INFO] tweaked toml for crates.io crate bitcoin-imports 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" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "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" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "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" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c50118fdf84a371145e653d48dac615edb9da2f0bdc7501172e05391e1d4879 [INFO] running `Command { std: "docker" "start" "-a" "1c50118fdf84a371145e653d48dac615edb9da2f0bdc7501172e05391e1d4879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c50118fdf84a371145e653d48dac615edb9da2f0bdc7501172e05391e1d4879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c50118fdf84a371145e653d48dac615edb9da2f0bdc7501172e05391e1d4879", kill_on_drop: false }` [INFO] [stdout] 1c50118fdf84a371145e653d48dac615edb9da2f0bdc7501172e05391e1d4879 [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" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40f43b325d18dc3960b97560608b93cc1b6cac3b2cd952aa544cbfae0ebb0d65 [INFO] running `Command { std: "docker" "start" "-a" "40f43b325d18dc3960b97560608b93cc1b6cac3b2cd952aa544cbfae0ebb0d65", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling gimli v0.27.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling dunce v1.0.3 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling clang-sys v1.4.0 [INFO] [stderr] Compiling which v4.4.0 [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 shlex v1.1.0 [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 clap v3.2.23 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling priority-queue v1.3.0 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [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 parking_lot v0.12.1 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling nix v0.24.3 [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 fs2 v0.4.3 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling quanta v0.9.3 [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 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 phf_macros v0.10.0 [INFO] [stderr] Compiling qmetaobject_impl v0.2.7 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling delegate v0.7.0 [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 serde_json v1.0.91 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde-big-array v0.4.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling libevent v0.1.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 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / /** [INFO] [stdout] 69 | | | Like assert(), but when VERIFY is defined, [INFO] [stdout] 70 | | | and side-effect safe. [INFO] [stdout] 71 | | | [INFO] [stdout] 72 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / /** [INFO] [stdout] 89 | | | Define `VG_UNDEF` and `VG_CHECK` when [INFO] [stdout] 90 | | | VALGRIND is defined [INFO] [stdout] 91 | | | [INFO] [stdout] 92 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | / /** [INFO] [stdout] 223 | | | Macro for restrict, when available [INFO] [stdout] 224 | | | and not in a VERIFY build. [INFO] [stdout] 225 | | | [INFO] [stdout] 226 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:259:1 [INFO] [stdout] | [INFO] [stdout] 259 | / /** [INFO] [stdout] 260 | | | If {LITTLE,BIG}_ENDIAN is not explicitly [INFO] [stdout] 261 | | | provided, infer from various other [INFO] [stdout] 262 | | | system macros. [INFO] [stdout] 263 | | | [INFO] [stdout] 264 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:374:1 [INFO] [stdout] | [INFO] [stdout] 374 | / /** [INFO] [stdout] 375 | | | If USE_FORCE_WIDEMUL_{INT128,INT64} [INFO] [stdout] 376 | | | is set, use that wide multiplication [INFO] [stdout] 377 | | | implementation. [INFO] [stdout] ... | [INFO] [stdout] 381 | | | [INFO] [stdout] 382 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `test_failure` [INFO] [stdout] --> src/util.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | macro_rules! test_failure { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `check` [INFO] [stdout] --> src/util.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | macro_rules! check { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `vg_check_verify` [INFO] [stdout] --> src/util.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | macro_rules! vg_check_verify { ($x:ident, $y:ident) => { } } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | #[macro_use] extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:253:1 [INFO] [stdout] | [INFO] [stdout] 253 | #[macro_use] extern crate static_assertions; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | #[macro_use] extern crate bitflags; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:255:1 [INFO] [stdout] | [INFO] [stdout] 255 | #[macro_use] extern crate phf; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | #[macro_use] extern crate maplit; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | #[macro_use] extern crate serde_big_array; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb` [INFO] [stdout] --> src/util.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | cb: *const Callback, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/util.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | text: *const u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb` [INFO] [stdout] --> src/util.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | cb: *const Callback, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/util.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | size: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb` [INFO] [stdout] --> src/util.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | cb: *const Callback, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/util.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | ptr: *mut libc::c_void, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/util.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | size: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prealloc_ptr` [INFO] [stdout] --> src/util.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | prealloc_ptr: *mut *mut libc::c_void, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prealloc_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alloc_size` [INFO] [stdout] --> src/util.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | alloc_size: usize, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alloc_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/util.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | base: *mut libc::c_void, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_size` [INFO] [stdout] --> src/util.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | max_size: usize) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/util.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | s: *mut libc::c_void, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/util.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | len: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flag` [INFO] [stdout] --> src/util.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | flag: i32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/util.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | s1: *const libc::c_void, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/util.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | s2: *const libc::c_void, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/util.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | n: usize) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/util.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | r: *mut i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/util.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | a: *const i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flag` [INFO] [stdout] --> src/util.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | flag: i32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:421:37 [INFO] [stdout] | [INFO] [stdout] 421 | #[inline] pub fn ctz32_var_debruijn(x: u32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:443:37 [INFO] [stdout] | [INFO] [stdout] 443 | #[inline] pub fn ctz64_var_debruijn(x: u64) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:462:28 [INFO] [stdout] | [INFO] [stdout] 462 | #[inline] pub fn ctz32_var(x: u32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:488:28 [INFO] [stdout] | [INFO] [stdout] 488 | #[inline] pub fn ctz64_var(x: u64) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deserializer` [INFO] [stdout] --> src/lib.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | fn deserialize(deserializer: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deserializer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/lib.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn load(&self, inner: Option) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/lib.rs:197:27 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn replace(&self, inner: &T) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let mut guard = self.0.read(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | let mut guard = self.0.write(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `what` is never read [INFO] [stdout] --> src/stdexcept.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BadOptionalAccess { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 13 | what: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadOptionalAccess` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `what` is never read [INFO] [stdout] --> src/stdexcept.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BadTypeid { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 49 | what: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadTypeid` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `what` is never read [INFO] [stdout] --> src/stdexcept.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct BadWeakPtr { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 60 | what: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadWeakPtr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `what` is never read [INFO] [stdout] --> src/stdexcept.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct BadFunctionCall { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 65 | what: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadFunctionCall` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `what` is never read [INFO] [stdout] --> src/stdexcept.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct BadException { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 76 | what: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadException` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `what` is never read [INFO] [stdout] --> src/stdexcept.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct BadVariantAccess { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 81 | what: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadVariantAccess` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 16s [INFO] running `Command { std: "docker" "inspect" "40f43b325d18dc3960b97560608b93cc1b6cac3b2cd952aa544cbfae0ebb0d65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40f43b325d18dc3960b97560608b93cc1b6cac3b2cd952aa544cbfae0ebb0d65", kill_on_drop: false }` [INFO] [stdout] 40f43b325d18dc3960b97560608b93cc1b6cac3b2cd952aa544cbfae0ebb0d65 [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" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a4ff854c492a1d5ee47bbfff406c1e4eca714b06cb6ff1fdad925b16fcce295 [INFO] running `Command { std: "docker" "start" "-a" "1a4ff854c492a1d5ee47bbfff406c1e4eca714b06cb6ff1fdad925b16fcce295", kill_on_drop: false }` [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / /** [INFO] [stdout] 69 | | | Like assert(), but when VERIFY is defined, [INFO] [stdout] 70 | | | and side-effect safe. [INFO] [stdout] 71 | | | [INFO] [stdout] 72 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / /** [INFO] [stdout] 89 | | | Define `VG_UNDEF` and `VG_CHECK` when [INFO] [stdout] 90 | | | VALGRIND is defined [INFO] [stdout] 91 | | | [INFO] [stdout] 92 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | / /** [INFO] [stdout] 223 | | | Macro for restrict, when available [INFO] [stdout] 224 | | | and not in a VERIFY build. [INFO] [stdout] 225 | | | [INFO] [stdout] 226 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:259:1 [INFO] [stdout] | [INFO] [stdout] 259 | / /** [INFO] [stdout] 260 | | | If {LITTLE,BIG}_ENDIAN is not explicitly [INFO] [stdout] 261 | | | provided, infer from various other [INFO] [stdout] 262 | | | system macros. [INFO] [stdout] 263 | | | [INFO] [stdout] 264 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:374:1 [INFO] [stdout] | [INFO] [stdout] 374 | / /** [INFO] [stdout] 375 | | | If USE_FORCE_WIDEMUL_{INT128,INT64} [INFO] [stdout] 376 | | | is set, use that wide multiplication [INFO] [stdout] 377 | | | implementation. [INFO] [stdout] ... | [INFO] [stdout] 381 | | | [INFO] [stdout] 382 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `test_failure` [INFO] [stdout] --> src/util.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | macro_rules! test_failure { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `check` [INFO] [stdout] --> src/util.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | macro_rules! check { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `vg_check_verify` [INFO] [stdout] --> src/util.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | macro_rules! vg_check_verify { ($x:ident, $y:ident) => { } } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | #[macro_use] extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:253:1 [INFO] [stdout] | [INFO] [stdout] 253 | #[macro_use] extern crate static_assertions; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | #[macro_use] extern crate bitflags; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:255:1 [INFO] [stdout] | [INFO] [stdout] 255 | #[macro_use] extern crate phf; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | #[macro_use] extern crate maplit; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | #[macro_use] extern crate serde_big_array; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb` [INFO] [stdout] --> src/util.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | cb: *const Callback, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/util.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | text: *const u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb` [INFO] [stdout] --> src/util.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | cb: *const Callback, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/util.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | size: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb` [INFO] [stdout] --> src/util.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | cb: *const Callback, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/util.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | ptr: *mut libc::c_void, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/util.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | size: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prealloc_ptr` [INFO] [stdout] --> src/util.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | prealloc_ptr: *mut *mut libc::c_void, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prealloc_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alloc_size` [INFO] [stdout] --> src/util.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | alloc_size: usize, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alloc_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/util.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | base: *mut libc::c_void, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_size` [INFO] [stdout] --> src/util.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | max_size: usize) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitcoin-imports v0.1.12-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/util.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | s: *mut libc::c_void, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/util.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | len: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flag` [INFO] [stdout] --> src/util.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | flag: i32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/util.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | s1: *const libc::c_void, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/util.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | s2: *const libc::c_void, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/util.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | n: usize) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/util.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | r: *mut i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/util.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | a: *const i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flag` [INFO] [stdout] --> src/util.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | flag: i32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:421:37 [INFO] [stdout] | [INFO] [stdout] 421 | #[inline] pub fn ctz32_var_debruijn(x: u32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:443:37 [INFO] [stdout] | [INFO] [stdout] 443 | #[inline] pub fn ctz64_var_debruijn(x: u64) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:462:28 [INFO] [stdout] | [INFO] [stdout] 462 | #[inline] pub fn ctz32_var(x: u32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:488:28 [INFO] [stdout] | [INFO] [stdout] 488 | #[inline] pub fn ctz64_var(x: u64) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deserializer` [INFO] [stdout] --> src/lib.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | fn deserialize(deserializer: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deserializer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/lib.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn load(&self, inner: Option) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/lib.rs:197:27 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn replace(&self, inner: &T) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let mut guard = self.0.read(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | let mut guard = self.0.write(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `what` is never read [INFO] [stdout] --> src/stdexcept.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BadOptionalAccess { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 13 | what: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadOptionalAccess` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `what` is never read [INFO] [stdout] --> src/stdexcept.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BadTypeid { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 49 | what: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadTypeid` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `what` is never read [INFO] [stdout] --> src/stdexcept.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct BadWeakPtr { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 60 | what: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadWeakPtr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `what` is never read [INFO] [stdout] --> src/stdexcept.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct BadFunctionCall { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 65 | what: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadFunctionCall` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `what` is never read [INFO] [stdout] --> src/stdexcept.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct BadException { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 76 | what: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadException` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `what` is never read [INFO] [stdout] --> src/stdexcept.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct BadVariantAccess { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 81 | what: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadVariantAccess` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / /** [INFO] [stdout] 69 | | | Like assert(), but when VERIFY is defined, [INFO] [stdout] 70 | | | and side-effect safe. [INFO] [stdout] 71 | | | [INFO] [stdout] 72 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / /** [INFO] [stdout] 89 | | | Define `VG_UNDEF` and `VG_CHECK` when [INFO] [stdout] 90 | | | VALGRIND is defined [INFO] [stdout] 91 | | | [INFO] [stdout] 92 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | / /** [INFO] [stdout] 223 | | | Macro for restrict, when available [INFO] [stdout] 224 | | | and not in a VERIFY build. [INFO] [stdout] 225 | | | [INFO] [stdout] 226 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:259:1 [INFO] [stdout] | [INFO] [stdout] 259 | / /** [INFO] [stdout] 260 | | | If {LITTLE,BIG}_ENDIAN is not explicitly [INFO] [stdout] 261 | | | provided, infer from various other [INFO] [stdout] 262 | | | system macros. [INFO] [stdout] 263 | | | [INFO] [stdout] 264 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:374:1 [INFO] [stdout] | [INFO] [stdout] 374 | / /** [INFO] [stdout] 375 | | | If USE_FORCE_WIDEMUL_{INT128,INT64} [INFO] [stdout] 376 | | | is set, use that wide multiplication [INFO] [stdout] 377 | | | implementation. [INFO] [stdout] ... | [INFO] [stdout] 381 | | | [INFO] [stdout] 382 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `test_failure` [INFO] [stdout] --> src/util.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | macro_rules! test_failure { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `check` [INFO] [stdout] --> src/util.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | macro_rules! check { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `vg_check_verify` [INFO] [stdout] --> src/util.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | macro_rules! vg_check_verify { ($x:ident, $y:ident) => { } } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | #[macro_use] extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:253:1 [INFO] [stdout] | [INFO] [stdout] 253 | #[macro_use] extern crate static_assertions; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | #[macro_use] extern crate bitflags; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:255:1 [INFO] [stdout] | [INFO] [stdout] 255 | #[macro_use] extern crate phf; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | #[macro_use] extern crate maplit; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | #[macro_use] extern crate serde_big_array; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb` [INFO] [stdout] --> src/util.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | cb: *const Callback, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/util.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | text: *const u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb` [INFO] [stdout] --> src/util.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | cb: *const Callback, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/util.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | size: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb` [INFO] [stdout] --> src/util.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | cb: *const Callback, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/util.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | ptr: *mut libc::c_void, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/util.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | size: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prealloc_ptr` [INFO] [stdout] --> src/util.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | prealloc_ptr: *mut *mut libc::c_void, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prealloc_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alloc_size` [INFO] [stdout] --> src/util.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | alloc_size: usize, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alloc_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/util.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | base: *mut libc::c_void, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_size` [INFO] [stdout] --> src/util.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | max_size: usize) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/util.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | s: *mut libc::c_void, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/util.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | len: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flag` [INFO] [stdout] --> src/util.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | flag: i32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/util.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | s1: *const libc::c_void, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/util.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | s2: *const libc::c_void, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/util.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | n: usize) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/util.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | r: *mut i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/util.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | a: *const i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flag` [INFO] [stdout] --> src/util.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | flag: i32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:421:37 [INFO] [stdout] | [INFO] [stdout] 421 | #[inline] pub fn ctz32_var_debruijn(x: u32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:443:37 [INFO] [stdout] | [INFO] [stdout] 443 | #[inline] pub fn ctz64_var_debruijn(x: u64) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:462:28 [INFO] [stdout] | [INFO] [stdout] 462 | #[inline] pub fn ctz32_var(x: u32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/util.rs:488:28 [INFO] [stdout] | [INFO] [stdout] 488 | #[inline] pub fn ctz64_var(x: u64) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deserializer` [INFO] [stdout] --> src/lib.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | fn deserialize(deserializer: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deserializer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/lib.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn load(&self, inner: Option) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/lib.rs:197:27 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn replace(&self, inner: &T) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let mut guard = self.0.read(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | let mut guard = self.0.write(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `what` is never read [INFO] [stdout] --> src/stdexcept.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BadOptionalAccess { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 13 | what: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadOptionalAccess` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `what` is never read [INFO] [stdout] --> src/stdexcept.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BadTypeid { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 49 | what: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadTypeid` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `what` is never read [INFO] [stdout] --> src/stdexcept.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct BadWeakPtr { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 60 | what: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadWeakPtr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `what` is never read [INFO] [stdout] --> src/stdexcept.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct BadFunctionCall { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 65 | what: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadFunctionCall` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `what` is never read [INFO] [stdout] --> src/stdexcept.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct BadException { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 76 | what: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadException` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `what` is never read [INFO] [stdout] --> src/stdexcept.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct BadVariantAccess { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 81 | what: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadVariantAccess` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.01s [INFO] running `Command { std: "docker" "inspect" "1a4ff854c492a1d5ee47bbfff406c1e4eca714b06cb6ff1fdad925b16fcce295", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a4ff854c492a1d5ee47bbfff406c1e4eca714b06cb6ff1fdad925b16fcce295", kill_on_drop: false }` [INFO] [stdout] 1a4ff854c492a1d5ee47bbfff406c1e4eca714b06cb6ff1fdad925b16fcce295