[INFO] fetching crate bitcoin-sync 0.1.16-alpha.0...
[INFO] checking bitcoin-sync-0.1.16-alpha.0 against master#18a6d911caba59605eb03db1452848a85d2e5879 for pr-112743
[INFO] extracting crate bitcoin-sync 0.1.16-alpha.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate bitcoin-sync 0.1.16-alpha.0 on toolchain 18a6d911caba59605eb03db1452848a85d2e5879
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate bitcoin-sync 0.1.16-alpha.0
[INFO] finished tweaking crates.io crate bitcoin-sync 0.1.16-alpha.0
[INFO] tweaked toml for crates.io crate bitcoin-sync 0.1.16-alpha.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d6da76ff522a95749845680e87b37deb41d1221eccc64fc1af29e414407194cb
[INFO] running `Command { std: "docker" "start" "-a" "d6da76ff522a95749845680e87b37deb41d1221eccc64fc1af29e414407194cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d6da76ff522a95749845680e87b37deb41d1221eccc64fc1af29e414407194cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6da76ff522a95749845680e87b37deb41d1221eccc64fc1af29e414407194cb", kill_on_drop: false }`
[INFO] [stdout] d6da76ff522a95749845680e87b37deb41d1221eccc64fc1af29e414407194cb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 04790dd8af602bf787f6f4c9e658257b57164227afe7ae396e9f53962bb6b50e
[INFO] running `Command { std: "docker" "start" "-a" "04790dd8af602bf787f6f4c9e658257b57164227afe7ae396e9f53962bb6b50e", kill_on_drop: false }`
[INFO] [stderr] Compiling syn v1.0.109
[INFO] [stderr] Compiling serde v1.0.164
[INFO] [stderr] Compiling log v0.4.19
[INFO] [stderr] Compiling memchr v2.5.0
[INFO] [stderr] Compiling termcolor v1.2.0
[INFO] [stderr] Compiling num-traits v0.2.15
[INFO] [stderr] Compiling gimli v0.27.3
[INFO] [stderr] Compiling adler v1.0.2
[INFO] [stderr] Compiling atty v0.2.14
[INFO] [stderr] Compiling backtrace v0.3.67
[INFO] [stderr] Compiling rustc-demangle v0.1.23
[INFO] [stderr] Compiling syn v2.0.18
[INFO] [stderr] Compiling serde_json v1.0.97
[INFO] [stderr] Compiling term v0.4.6
[INFO] [stderr] Compiling ryu v1.0.13
[INFO] [stderr] Compiling itoa v1.0.6
[INFO] [stderr] Compiling num_cpus v1.15.0
[INFO] [stderr] Compiling itertools v0.8.2
[INFO] [stderr] Compiling miniz_oxide v0.6.2
[INFO] [stderr] Compiling dunce v1.0.4
[INFO] [stderr] Compiling pathdiff v0.1.0
[INFO] [stderr] Compiling shell-words v0.1.0
[INFO] [stderr] Compiling num-integer v0.1.45
[INFO] [stderr] Compiling term-painter v0.2.4
[INFO] [stderr] Compiling quick-error v1.2.3
[INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated
[INFO] [stderr] Compiling humantime v1.3.0
[INFO] [stderr] Compiling indexmap v1.9.3
[INFO] [stderr] Compiling sqlite3-src v0.2.12
[INFO] [stderr] Compiling os_str_bytes v6.5.1
[INFO] [stderr] Compiling textwrap v0.16.0
[INFO] [stderr] Compiling humantime v2.1.0
[INFO] [stderr] Compiling bindgen v0.60.1
[INFO] [stderr] Compiling rand_core v0.6.4
[INFO] [stderr] Compiling num-bigint v0.4.3
[INFO] [stderr] Compiling ppv-lite86 v0.2.17
[INFO] [stderr] Compiling aho-corasick v1.0.2
[INFO] [stderr] Compiling object v0.30.4
[INFO] [stderr] Compiling clap_lex v0.2.4
[INFO] [stderr] Compiling nom v7.1.3
[INFO] [stderr] Compiling aho-corasick v0.7.20
[INFO] [stderr] Compiling byteorder v1.4.3
[INFO] [stderr] Compiling rand_chacha v0.3.1
[INFO] [stderr] Compiling crossbeam-utils v0.8.16
[INFO] [stderr] Compiling clap v3.2.25
[INFO] [stderr] Compiling num-rational v0.4.1
[INFO] [stderr] Compiling rand v0.8.5
[INFO] [stderr] Compiling num-iter v0.1.43
[INFO] [stderr] Compiling siphasher v0.3.10
[INFO] [stderr] Compiling scopeguard v1.1.0
[INFO] [stderr] Compiling libc-stdhandle v0.1.0
[INFO] [stderr] Compiling phf_shared v0.10.0
[INFO] [stderr] Compiling memoffset v0.9.0
[INFO] [stderr] Compiling sqlite3-sys v0.12.0
[INFO] [stderr] Compiling openssl-sys v0.9.88
[INFO] [stderr] Compiling cpp_core v0.6.0
[INFO] [stderr] Compiling crossbeam-epoch v0.9.15
[INFO] [stderr] Compiling smallvec v1.10.0
[INFO] [stderr] Compiling lock_api v0.4.10
[INFO] [stderr] Compiling num-complex v0.4.3
[INFO] [stderr] Compiling parking_lot_core v0.9.8
[INFO] [stderr] Compiling crossbeam-deque v0.8.3
[INFO] [stderr] Compiling memoffset v0.6.5
[INFO] [stderr] Compiling phf_generator v0.10.0
[INFO] [stderr] Compiling crossbeam-queue v0.3.8
[INFO] [stderr] Compiling crossbeam-channel v0.5.8
[INFO] [stderr] Compiling raw-cpuid v10.7.0
[INFO] [stderr] Compiling poison v0.1.0
[INFO] [stderr] Compiling static_assertions v1.1.0
[INFO] [stderr] Compiling parking_lot v0.12.1
[INFO] [stderr] Compiling nix v0.24.3
[INFO] [stderr] Compiling shared-mutex v0.3.1
[INFO] [stderr] Compiling sqlite v0.25.3
[INFO] [stderr] Compiling sqlite3 v0.24.0
[INFO] [stderr] Compiling regex v1.8.4
[INFO] [stderr] Compiling priority-queue v1.3.2
[INFO] [stderr] Compiling crossbeam v0.8.2
[INFO] [stderr] Compiling errno v0.2.8
[INFO] [stderr] Compiling addr2line v0.19.0
[INFO] [stderr] Compiling fs2 v0.4.3
[INFO] [stderr] Compiling socket2 v0.4.9
[INFO] [stderr] Compiling pnet_sys v0.31.0
[INFO] [stderr] Compiling same-file v1.0.6
[INFO] [stderr] Compiling comparator v0.3.0
[INFO] [stderr] Compiling winapi v0.2.8
[INFO] [stderr] Compiling const-default v1.0.0
[INFO] [stderr] Compiling time-point v0.1.1
[INFO] [stderr] Compiling atomic_float v0.1.0
[INFO] [stderr] Compiling float-ord v0.3.2
[INFO] [stderr] Compiling cexpr v0.6.0
[INFO] [stderr] Compiling atomic v0.5.3
[INFO] [stderr] Compiling integer-encoding v3.0.4
[INFO] [stderr] Compiling maplit v1.0.2
[INFO] [stderr] Compiling atomic-take v1.1.0
[INFO] [stderr] Compiling bitset v0.1.2
[INFO] [stderr] Compiling quanta v0.9.3
[INFO] [stderr] Compiling multiset v0.0.5
[INFO] [stderr] Compiling cpp_common v0.5.8
[INFO] [stderr] Compiling num v0.4.0
[INFO] [stderr] Compiling env_logger v0.7.1
[INFO] [stderr] Compiling cpp_build v0.5.8
[INFO] [stderr] Compiling env_logger v0.9.3
[INFO] [stderr] Compiling synstructure v0.12.6
[INFO] [stderr] Compiling serde_derive v1.0.164
[INFO] [stderr] Compiling cpp_macros v0.5.8
[INFO] [stderr] Compiling qttypes v0.2.9
[INFO] [stderr] Compiling qmetaobject v0.2.9
[INFO] [stderr] Compiling thiserror-impl v1.0.40
[INFO] [stderr] Compiling failure_derive v0.1.8
[INFO] [stderr] Compiling qt_macros v0.1.1
[INFO] [stderr] Compiling modular-bitfield-impl v0.11.2
[INFO] [stderr] Compiling phf_macros v0.10.0
[INFO] [stderr] Compiling qmetaobject_impl v0.2.9
[INFO] [stderr] Compiling derivative v2.2.0
[INFO] [stderr] Compiling delegate v0.7.0
[INFO] [stderr] Compiling try-catch v0.2.2
[INFO] [stderr] Compiling cpp v0.5.8
[INFO] [stderr] Compiling thiserror v1.0.40
[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 libevent-sys v0.2.6
[INFO] [stderr] Checking multimap v0.8.3
[INFO] [stderr] Checking time v0.3.22
[INFO] [stderr] Checking serde-big-array v0.4.1
[INFO] [stderr] Checking tinyvec v1.6.0
[INFO] [stderr] Compiling libevent v0.1.0
[INFO] [stderr] Compiling bincode v1.3.3
[INFO] [stderr] Compiling toml v0.4.10
[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] Checking bitcoin-imports v0.1.16-alpha.0
[INFO] [stderr] Compiling bitcoin-cfg v0.1.16-alpha.0
[INFO] [stderr] Compiling bitcoin-derive v0.1.16-alpha.0
[INFO] [stderr] Compiling bitcoin-sync v0.1.16-alpha.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `lock`
[INFO] [stdout] --> src/sync_impl.rs:180:13
[INFO] [stdout] |
[INFO] [stdout] 180 | lock: &mut UniqueLock,
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `guardname`
[INFO] [stdout] --> src/sync_impl.rs:181:13
[INFO] [stdout] |
[INFO] [stdout] 181 | guardname: *const u8,
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guardname`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout] --> src/sync_impl.rs:182:13
[INFO] [stdout] |
[INFO] [stdout] 182 | file: *const u8,
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout] --> src/sync_impl.rs:183:13
[INFO] [stdout] |
[INFO] [stdout] 183 | line: i32) -> Self {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_name`
[INFO] [stdout] --> src/sync_impl.rs:224:9
[INFO] [stdout] |
[INFO] [stdout] 224 | psz_name: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_file`
[INFO] [stdout] --> src/sync_impl.rs:225:9
[INFO] [stdout] |
[INFO] [stdout] 225 | psz_file: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `n_line`
[INFO] [stdout] --> src/sync_impl.rs:226:9
[INFO] [stdout] |
[INFO] [stdout] 226 | n_line: i32) {
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_line`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_name`
[INFO] [stdout] --> src/sync_impl.rs:238:9
[INFO] [stdout] |
[INFO] [stdout] 238 | psz_name: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_file`
[INFO] [stdout] --> src/sync_impl.rs:239:9
[INFO] [stdout] |
[INFO] [stdout] 239 | psz_file: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `n_line`
[INFO] [stdout] --> src/sync_impl.rs:240:9
[INFO] [stdout] |
[INFO] [stdout] 240 | n_line: i32) -> bool {
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_line`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `try_`
[INFO] [stdout] --> src/sync_impl.rs:260:13
[INFO] [stdout] |
[INFO] [stdout] 260 | let try_: bool = try_.unwrap_or(false);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_try_`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `mutex_in`
[INFO] [stdout] --> src/sync_impl.rs:255:9
[INFO] [stdout] |
[INFO] [stdout] 255 | mutex_in: &mut Mutex,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mutex_in`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_name`
[INFO] [stdout] --> src/sync_impl.rs:256:9
[INFO] [stdout] |
[INFO] [stdout] 256 | psz_name: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_file`
[INFO] [stdout] --> src/sync_impl.rs:257:9
[INFO] [stdout] |
[INFO] [stdout] 257 | psz_file: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `n_line`
[INFO] [stdout] --> src/sync_impl.rs:258:9
[INFO] [stdout] |
[INFO] [stdout] 258 | n_line: i32,
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_line`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `init`
[INFO] [stdout] --> src/sync_impl.rs:390:16
[INFO] [stdout] |
[INFO] [stdout] 390 | pub fn new(init: i32) -> Self {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_init`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `grant`
[INFO] [stdout] --> src/sync_impl.rs:511:31
[INFO] [stdout] |
[INFO] [stdout] 511 | pub fn move_to(&mut self, grant: &mut SemaphoreGrant) {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_grant`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `try_`
[INFO] [stdout] --> src/sync_impl.rs:526:13
[INFO] [stdout] |
[INFO] [stdout] 526 | let try_:bool = try_.unwrap_or(false);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_try_`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `lock`
[INFO] [stdout] --> src/sync_impl.rs:180:13
[INFO] [stdout] |
[INFO] [stdout] 180 | lock: &mut UniqueLock,
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `sema`
[INFO] [stdout] --> src/sync_impl.rs:524:9
[INFO] [stdout] |
[INFO] [stdout] 524 | sema: Amo,
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sema`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_name`
[INFO] [stdout] --> src/sync_impl.rs:552:13
[INFO] [stdout] |
[INFO] [stdout] 552 | psz_name: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `guardname`
[INFO] [stdout] --> src/sync_impl.rs:181:13
[INFO] [stdout] |
[INFO] [stdout] 181 | guardname: *const u8,
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guardname`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_file`
[INFO] [stdout] --> src/sync_impl.rs:553:13
[INFO] [stdout] |
[INFO] [stdout] 553 | psz_file: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout] --> src/sync_impl.rs:182:13
[INFO] [stdout] |
[INFO] [stdout] 182 | file: *const u8,
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `n_line`
[INFO] [stdout] --> src/sync_impl.rs:554:13
[INFO] [stdout] |
[INFO] [stdout] 554 | n_line: i32,
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_line`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cs`
[INFO] [stdout] --> src/sync_impl.rs:555:13
[INFO] [stdout] |
[INFO] [stdout] 555 | cs: *mut MutexType,
[INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cs`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout] --> src/sync_impl.rs:183:13
[INFO] [stdout] |
[INFO] [stdout] 183 | line: i32) -> Self {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `try_`
[INFO] [stdout] --> src/sync_impl.rs:556:13
[INFO] [stdout] |
[INFO] [stdout] 556 | try_: bool) { }
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_try_`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cs`
[INFO] [stdout] --> src/sync_impl.rs:561:13
[INFO] [stdout] |
[INFO] [stdout] 561 | cs: *mut c_void,
[INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cs`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `lockname`
[INFO] [stdout] --> src/sync_impl.rs:562:13
[INFO] [stdout] |
[INFO] [stdout] 562 | lockname: &mut String,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lockname`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `guardname`
[INFO] [stdout] --> src/sync_impl.rs:563:13
[INFO] [stdout] |
[INFO] [stdout] 563 | guardname: *const u8,
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guardname`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_name`
[INFO] [stdout] --> src/sync_impl.rs:224:9
[INFO] [stdout] |
[INFO] [stdout] 224 | psz_name: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_file`
[INFO] [stdout] --> src/sync_impl.rs:225:9
[INFO] [stdout] |
[INFO] [stdout] 225 | psz_file: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout] --> src/sync_impl.rs:564:13
[INFO] [stdout] |
[INFO] [stdout] 564 | file: *const u8,
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `n_line`
[INFO] [stdout] --> src/sync_impl.rs:226:9
[INFO] [stdout] |
[INFO] [stdout] 226 | n_line: i32) {
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_line`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout] --> src/sync_impl.rs:565:13
[INFO] [stdout] |
[INFO] [stdout] 565 | line: i32) { }
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_name`
[INFO] [stdout] --> src/sync_impl.rs:238:9
[INFO] [stdout] |
[INFO] [stdout] 238 | psz_name: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_name`
[INFO] [stdout] --> src/sync_impl.rs:569:13
[INFO] [stdout] |
[INFO] [stdout] 569 | psz_name: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_file`
[INFO] [stdout] --> src/sync_impl.rs:239:9
[INFO] [stdout] |
[INFO] [stdout] 239 | psz_file: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_file`
[INFO] [stdout] --> src/sync_impl.rs:570:13
[INFO] [stdout] |
[INFO] [stdout] 570 | psz_file: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `n_line`
[INFO] [stdout] --> src/sync_impl.rs:240:9
[INFO] [stdout] |
[INFO] [stdout] 240 | n_line: i32) -> bool {
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_line`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `n_line`
[INFO] [stdout] --> src/sync_impl.rs:571:13
[INFO] [stdout] |
[INFO] [stdout] 571 | n_line: i32,
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_line`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cs`
[INFO] [stdout] --> src/sync_impl.rs:572:13
[INFO] [stdout] |
[INFO] [stdout] 572 | cs: *mut MutexType) { }
[INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cs`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `try_`
[INFO] [stdout] --> src/sync_impl.rs:260:13
[INFO] [stdout] |
[INFO] [stdout] 260 | let try_: bool = try_.unwrap_or(false);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_try_`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_name`
[INFO] [stdout] --> src/sync_impl.rs:576:13
[INFO] [stdout] |
[INFO] [stdout] 576 | psz_name: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `mutex_in`
[INFO] [stdout] --> src/sync_impl.rs:255:9
[INFO] [stdout] |
[INFO] [stdout] 255 | mutex_in: &mut Mutex,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mutex_in`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_file`
[INFO] [stdout] --> src/sync_impl.rs:577:13
[INFO] [stdout] |
[INFO] [stdout] 577 | psz_file: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_name`
[INFO] [stdout] --> src/sync_impl.rs:256:9
[INFO] [stdout] |
[INFO] [stdout] 256 | psz_name: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `n_line`
[INFO] [stdout] --> src/sync_impl.rs:578:13
[INFO] [stdout] |
[INFO] [stdout] 578 | n_line: i32,
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_line`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_file`
[INFO] [stdout] --> src/sync_impl.rs:257:9
[INFO] [stdout] |
[INFO] [stdout] 257 | psz_file: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cs`
[INFO] [stdout] --> src/sync_impl.rs:579:13
[INFO] [stdout] |
[INFO] [stdout] 579 | cs: *mut MutexType) { }
[INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cs`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `n_line`
[INFO] [stdout] --> src/sync_impl.rs:258:9
[INFO] [stdout] |
[INFO] [stdout] 258 | n_line: i32,
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_line`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cs`
[INFO] [stdout] --> src/sync_impl.rs:581:34
[INFO] [stdout] |
[INFO] [stdout] 581 | #[inline] pub fn delete_lock(cs: *mut c_void) { }
[INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cs`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `init`
[INFO] [stdout] --> src/sync_impl.rs:390:16
[INFO] [stdout] |
[INFO] [stdout] 390 | pub fn new(init: i32) -> Self {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_init`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `rel_time`
[INFO] [stdout] --> src/threadinterrupt.rs:60:33
[INFO] [stdout] |
[INFO] [stdout] 60 | pub fn sleep_for(&mut self, rel_time: Duration) -> bool {
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rel_time`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `thread_name`
[INFO] [stdout] --> src/thread.rs:12:9
[INFO] [stdout] |
[INFO] [stdout] 12 | thread_name: &str,
[INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `thread_func`
[INFO] [stdout] --> src/thread.rs:13:9
[INFO] [stdout] |
[INFO] [stdout] 13 | thread_func: F)
[INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_func`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `grant`
[INFO] [stdout] --> src/sync_impl.rs:511:31
[INFO] [stdout] |
[INFO] [stdout] 511 | pub fn move_to(&mut self, grant: &mut SemaphoreGrant) {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_grant`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `try_`
[INFO] [stdout] --> src/sync_impl.rs:526:13
[INFO] [stdout] |
[INFO] [stdout] 526 | let try_:bool = try_.unwrap_or(false);
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_try_`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `sema`
[INFO] [stdout] --> src/sync_impl.rs:524:9
[INFO] [stdout] |
[INFO] [stdout] 524 | sema: Amo,
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sema`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_name`
[INFO] [stdout] --> src/sync_impl.rs:552:13
[INFO] [stdout] |
[INFO] [stdout] 552 | psz_name: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_file`
[INFO] [stdout] --> src/sync_impl.rs:553:13
[INFO] [stdout] |
[INFO] [stdout] 553 | psz_file: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `n_line`
[INFO] [stdout] --> src/sync_impl.rs:554:13
[INFO] [stdout] |
[INFO] [stdout] 554 | n_line: i32,
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_line`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `base` is never read
[INFO] [stdout] --> src/sync_impl.rs:54:5
[INFO] [stdout] |
[INFO] [stdout] 53 | pub struct AnnotatedMixin {
[INFO] [stdout] | -------------- field in this struct
[INFO] [stdout] 54 | base: PARENT,
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cs`
[INFO] [stdout] --> src/sync_impl.rs:555:13
[INFO] [stdout] |
[INFO] [stdout] 555 | cs: *mut MutexType,
[INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cs`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `base` is never read
[INFO] [stdout] --> src/sync_impl.rs:147:5
[INFO] [stdout] |
[INFO] [stdout] 146 | pub struct UniqueLock {
[INFO] [stdout] | ---------- field in this struct
[INFO] [stdout] 147 | base: Base,
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `try_`
[INFO] [stdout] --> src/sync_impl.rs:556:13
[INFO] [stdout] |
[INFO] [stdout] 556 | try_: bool) { }
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_try_`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `condition`, `mutex`, and `value` are never read
[INFO] [stdout] --> src/sync_impl.rs:383:5
[INFO] [stdout] |
[INFO] [stdout] 382 | pub struct Semaphore {
[INFO] [stdout] | --------- fields in this struct
[INFO] [stdout] 383 | condition: std::sync::Condvar,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] 384 | mutex: parking_lot::RawMutex,
[INFO] [stdout] | ^^^^^
[INFO] [stdout] 385 | value: i32,
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cs`
[INFO] [stdout] --> src/sync_impl.rs:561:13
[INFO] [stdout] |
[INFO] [stdout] 561 | cs: *mut c_void,
[INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cs`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `sem` and `have_grant` are never read
[INFO] [stdout] --> src/sync_impl.rs:441:5
[INFO] [stdout] |
[INFO] [stdout] 440 | pub struct SemaphoreGrant {
[INFO] [stdout] | -------------- fields in this struct
[INFO] [stdout] 441 | sem: Amo,
[INFO] [stdout] | ^^^
[INFO] [stdout] 442 | have_grant: bool,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `SemaphoreGrant` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `lockname`
[INFO] [stdout] --> src/sync_impl.rs:562:13
[INFO] [stdout] |
[INFO] [stdout] 562 | lockname: &mut String,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lockname`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `guardname`
[INFO] [stdout] --> src/sync_impl.rs:563:13
[INFO] [stdout] |
[INFO] [stdout] 563 | guardname: *const u8,
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guardname`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `lock`, `templock`, `lockname`, `file`, and `line` are never read
[INFO] [stdout] --> src/sync_impl.rs:159:9
[INFO] [stdout] |
[INFO] [stdout] 158 | pub struct ReverseLock {
[INFO] [stdout] | ----------- fields in this struct
[INFO] [stdout] 159 | lock: Rc>>,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 160 | templock: UniqueLock,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 161 | lockname: String,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 162 | file: String,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 163 | line: i32,
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout] --> src/sync_impl.rs:564:13
[INFO] [stdout] |
[INFO] [stdout] 564 | file: *const u8,
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout] --> src/sync_impl.rs:565:13
[INFO] [stdout] |
[INFO] [stdout] 565 | line: i32) { }
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `cond`, `mut_`, and `flag` are never read
[INFO] [stdout] --> src/threadinterrupt.rs:15:5
[INFO] [stdout] |
[INFO] [stdout] 14 | pub struct ThreadInterrupt {
[INFO] [stdout] | --------------- fields in this struct
[INFO] [stdout] 15 | cond: std::sync::Condvar,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 16 | mut_: parking_lot::RawMutex,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 17 | flag: AtomicBool,
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_name`
[INFO] [stdout] --> src/sync_impl.rs:569:13
[INFO] [stdout] |
[INFO] [stdout] 569 | psz_name: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_file`
[INFO] [stdout] --> src/sync_impl.rs:570:13
[INFO] [stdout] |
[INFO] [stdout] 570 | psz_file: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `n_line`
[INFO] [stdout] --> src/sync_impl.rs:571:13
[INFO] [stdout] |
[INFO] [stdout] 571 | n_line: i32,
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_line`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cs`
[INFO] [stdout] --> src/sync_impl.rs:572:13
[INFO] [stdout] |
[INFO] [stdout] 572 | cs: *mut MutexType) { }
[INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cs`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_name`
[INFO] [stdout] --> src/sync_impl.rs:576:13
[INFO] [stdout] |
[INFO] [stdout] 576 | psz_name: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `psz_file`
[INFO] [stdout] --> src/sync_impl.rs:577:13
[INFO] [stdout] |
[INFO] [stdout] 577 | psz_file: *const u8,
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_psz_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `n_line`
[INFO] [stdout] --> src/sync_impl.rs:578:13
[INFO] [stdout] |
[INFO] [stdout] 578 | n_line: i32,
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_line`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cs`
[INFO] [stdout] --> src/sync_impl.rs:579:13
[INFO] [stdout] |
[INFO] [stdout] 579 | cs: *mut MutexType) { }
[INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cs`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cs`
[INFO] [stdout] --> src/sync_impl.rs:581:34
[INFO] [stdout] |
[INFO] [stdout] 581 | #[inline] pub fn delete_lock(cs: *mut c_void) { }
[INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cs`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `rel_time`
[INFO] [stdout] --> src/threadinterrupt.rs:60:33
[INFO] [stdout] |
[INFO] [stdout] 60 | pub fn sleep_for(&mut self, rel_time: Duration) -> bool {
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rel_time`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `thread_name`
[INFO] [stdout] --> src/thread.rs:12:9
[INFO] [stdout] |
[INFO] [stdout] 12 | thread_name: &str,
[INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `thread_func`
[INFO] [stdout] --> src/thread.rs:13:9
[INFO] [stdout] |
[INFO] [stdout] 13 | thread_func: F)
[INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_func`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `base` is never read
[INFO] [stdout] --> src/sync_impl.rs:54:5
[INFO] [stdout] |
[INFO] [stdout] 53 | pub struct AnnotatedMixin {
[INFO] [stdout] | -------------- field in this struct
[INFO] [stdout] 54 | base: PARENT,
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `base` is never read
[INFO] [stdout] --> src/sync_impl.rs:147:5
[INFO] [stdout] |
[INFO] [stdout] 146 | pub struct UniqueLock {
[INFO] [stdout] | ---------- field in this struct
[INFO] [stdout] 147 | base: Base,
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `condition`, `mutex`, and `value` are never read
[INFO] [stdout] --> src/sync_impl.rs:383:5
[INFO] [stdout] |
[INFO] [stdout] 382 | pub struct Semaphore {
[INFO] [stdout] | --------- fields in this struct
[INFO] [stdout] 383 | condition: std::sync::Condvar,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] 384 | mutex: parking_lot::RawMutex,
[INFO] [stdout] | ^^^^^
[INFO] [stdout] 385 | value: i32,
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `sem` and `have_grant` are never read
[INFO] [stdout] --> src/sync_impl.rs:441:5
[INFO] [stdout] |
[INFO] [stdout] 440 | pub struct SemaphoreGrant {
[INFO] [stdout] | -------------- fields in this struct
[INFO] [stdout] 441 | sem: Amo,
[INFO] [stdout] | ^^^
[INFO] [stdout] 442 | have_grant: bool,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `SemaphoreGrant` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `lock`, `templock`, `lockname`, `file`, and `line` are never read
[INFO] [stdout] --> src/sync_impl.rs:159:9
[INFO] [stdout] |
[INFO] [stdout] 158 | pub struct ReverseLock {
[INFO] [stdout] | ----------- fields in this struct
[INFO] [stdout] 159 | lock: Rc>>,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 160 | templock: UniqueLock,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 161 | lockname: String,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 162 | file: String,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 163 | line: i32,
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `cond`, `mut_`, and `flag` are never read
[INFO] [stdout] --> src/threadinterrupt.rs:15:5
[INFO] [stdout] |
[INFO] [stdout] 14 | pub struct ThreadInterrupt {
[INFO] [stdout] | --------------- fields in this struct
[INFO] [stdout] 15 | cond: std::sync::Condvar,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 16 | mut_: parking_lot::RawMutex,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 17 | flag: AtomicBool,
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 47 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 47 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 10s
[INFO] running `Command { std: "docker" "inspect" "04790dd8af602bf787f6f4c9e658257b57164227afe7ae396e9f53962bb6b50e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04790dd8af602bf787f6f4c9e658257b57164227afe7ae396e9f53962bb6b50e", kill_on_drop: false }`
[INFO] [stdout] 04790dd8af602bf787f6f4c9e658257b57164227afe7ae396e9f53962bb6b50e