[INFO] fetching crate bitcoinleveldb-posix 0.1.16-alpha.0... [INFO] testing bitcoinleveldb-posix-0.1.16-alpha.0 against master#ff2c56344c764af598ad33027e9c7a48881808ef for pr-118825 [INFO] extracting crate bitcoinleveldb-posix 0.1.16-alpha.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate bitcoinleveldb-posix 0.1.16-alpha.0 on toolchain ff2c56344c764af598ad33027e9c7a48881808ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoinleveldb-posix 0.1.16-alpha.0 [INFO] finished tweaking crates.io crate bitcoinleveldb-posix 0.1.16-alpha.0 [INFO] tweaked toml for crates.io crate bitcoinleveldb-posix 0.1.16-alpha.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "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" "+ff2c56344c764af598ad33027e9c7a48881808ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitcoinleveldb-slice v0.1.16-alpha.0 [INFO] [stderr] Downloaded bitcoinleveldb-key v0.1.16-alpha.0 [INFO] [stderr] Downloaded bitcoinleveldb-rand v0.1.16-alpha.0 [INFO] [stderr] Downloaded bitcoinleveldb-file v0.1.16-alpha.0 [INFO] [stderr] Downloaded bitcoinleveldb-comparator v0.1.16-alpha.0 [INFO] [stderr] Downloaded bitcoinleveldb-env v0.1.16-alpha.0 [INFO] [stderr] Downloaded bitcoinleveldb-limiter v0.1.16-alpha.0 [INFO] [stderr] Downloaded bitcoinleveldb-filter v0.1.16-alpha.0 [INFO] [stderr] Downloaded bitcoinleveldb-log v0.1.16-alpha.0 [INFO] [stderr] Downloaded bitcoinleveldb-status v0.1.16-alpha.0 [INFO] [stderr] Downloaded bitcoinleveldb-util v0.1.16-alpha.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92b76af9fc8c34a4a01f62d65e3dbd8aa28fcd977271350a4b25d06ee54c7dd4 [INFO] running `Command { std: "docker" "start" "-a" "92b76af9fc8c34a4a01f62d65e3dbd8aa28fcd977271350a4b25d06ee54c7dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92b76af9fc8c34a4a01f62d65e3dbd8aa28fcd977271350a4b25d06ee54c7dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92b76af9fc8c34a4a01f62d65e3dbd8aa28fcd977271350a4b25d06ee54c7dd4", kill_on_drop: false }` [INFO] [stdout] 92b76af9fc8c34a4a01f62d65e3dbd8aa28fcd977271350a4b25d06ee54c7dd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44b2934d634b8cf2dc74e2e98dcee5cd22624ec78026255d4874b846a840acd0 [INFO] running `Command { std: "docker" "start" "-a" "44b2934d634b8cf2dc74e2e98dcee5cd22624ec78026255d4874b846a840acd0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [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 lock_api v0.4.11 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ff2c56344c764af598ad33027e9c7a48881808ef/bin/rustc --crate-name syn --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' --cfg 'feature="visit-mut"' -C metadata=f72ee7a85a530b77 -C extra-filename=-f72ee7a85a530b77 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-90f63ccd04acb0cd.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-e42a5656a0600e1d.rmeta --extern unicode_ident=/opt/rustwide/target/debug/deps/libunicode_ident-f8d62a079c79a15a.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ff2c56344c764af598ad33027e9c7a48881808ef/bin/rustc --crate-name syn --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.41/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' -C metadata=19fe06c6c78a94e8 -C extra-filename=-19fe06c6c78a94e8 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-90f63ccd04acb0cd.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-e42a5656a0600e1d.rmeta --extern unicode_ident=/opt/rustwide/target/debug/deps/libunicode_ident-f8d62a079c79a15a.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "44b2934d634b8cf2dc74e2e98dcee5cd22624ec78026255d4874b846a840acd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44b2934d634b8cf2dc74e2e98dcee5cd22624ec78026255d4874b846a840acd0", kill_on_drop: false }` [INFO] [stdout] 44b2934d634b8cf2dc74e2e98dcee5cd22624ec78026255d4874b846a840acd0 [INFO] testing bitcoinleveldb-posix-0.1.16-alpha.0 against try#5e4273472e1b2f223618a9b3def795f6224f241d for pr-118825 [INFO] extracting crate bitcoinleveldb-posix 0.1.16-alpha.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate bitcoinleveldb-posix 0.1.16-alpha.0 on toolchain 5e4273472e1b2f223618a9b3def795f6224f241d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoinleveldb-posix 0.1.16-alpha.0 [INFO] finished tweaking crates.io crate bitcoinleveldb-posix 0.1.16-alpha.0 [INFO] tweaked toml for crates.io crate bitcoinleveldb-posix 0.1.16-alpha.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+5e4273472e1b2f223618a9b3def795f6224f241d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a55a4ca3ab821e77eef780112f16d8aef4f6a6f91aa654c222f97705920dcc2 [INFO] running `Command { std: "docker" "start" "-a" "3a55a4ca3ab821e77eef780112f16d8aef4f6a6f91aa654c222f97705920dcc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a55a4ca3ab821e77eef780112f16d8aef4f6a6f91aa654c222f97705920dcc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a55a4ca3ab821e77eef780112f16d8aef4f6a6f91aa654c222f97705920dcc2", kill_on_drop: false }` [INFO] [stdout] 3a55a4ca3ab821e77eef780112f16d8aef4f6a6f91aa654c222f97705920dcc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2ba28c839667e950a141e606bbd8c2d36b76454bb3a460eba73d16ea1afeb73 [INFO] running `Command { std: "docker" "start" "-a" "a2ba28c839667e950a141e606bbd8c2d36b76454bb3a460eba73d16ea1afeb73", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling cpp_build v0.5.9 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling qttypes v0.2.11 [INFO] [stderr] Compiling qmetaobject v0.2.10 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling qmetaobject_impl v0.2.10 [INFO] [stderr] Compiling phf_macros v0.10.0 [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 cpp v0.5.9 [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] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling deranged v0.3.10 [INFO] [stderr] Compiling serde-big-array v0.4.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling time v0.3.30 [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.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 bitcoinleveldb-slice v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-status v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-util v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-filter v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-comparator v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-key v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-file v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-rand v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-log v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-limiter v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-env v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-posix v0.1.16-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/env_posix.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /** [INFO] [stdout] 6 | | | Set by [INFO] [stdout] 7 | | | [INFO] [stdout] 8 | | | EnvPosixTestHelper::SetReadOnlyMMapLimit() [INFO] [stdout] ... | [INFO] [stdout] 12 | | | [INFO] [stdout] 13 | | */ [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/env_posix.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / /** [INFO] [stdout] 28 | | | Can be set using [INFO] [stdout] 29 | | | [INFO] [stdout] 30 | | | EnvPosixTestHelper::SetReadOnlyMMapLimit(). [INFO] [stdout] 31 | | | [INFO] [stdout] 32 | | */ [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 variable: `context` [INFO] [stdout] --> src/env_posix.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | context: &String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_number` [INFO] [stdout] --> src/env_posix.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | error_number: i32) -> crate::Status { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/env_posix.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | n: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | result: *mut Slice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scratch` [INFO] [stdout] --> src/env_posix.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | scratch: *mut u8) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/env_posix.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | fn skip(&mut self, n: u64) -> crate::Status { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | filename: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/env_posix.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | fd: i32) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/env_posix.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | offset: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/env_posix.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | n: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | result: *mut Slice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scratch` [INFO] [stdout] --> src/env_posix.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | scratch: *mut u8) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | filename: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/env_posix.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | fd: i32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd_limiter` [INFO] [stdout] --> src/env_posix.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | fd_limiter: *mut Limiter) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fd_limiter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/env_posix.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | offset: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/env_posix.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | n: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | result: *mut Slice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scratch` [INFO] [stdout] --> src/env_posix.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | scratch: *mut u8) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | filename: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmap_base` [INFO] [stdout] --> src/env_posix.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | mmap_base: *mut u8, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mmap_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/env_posix.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | length: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmap_limiter` [INFO] [stdout] --> src/env_posix.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | mmap_limiter: *mut Limiter) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mmap_limiter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/env_posix.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | fn append(&mut self, data: &Slice) -> crate::Status { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/env_posix.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/env_posix.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | size: usize) -> crate::Status { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/env_posix.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 577 | fd: i32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd_path` [INFO] [stdout] --> src/env_posix.rs:578:9 [INFO] [stdout] | [INFO] [stdout] 578 | fd_path: &String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fd_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `syncing_dir` [INFO] [stdout] --> src/env_posix.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 579 | syncing_dir: bool) -> crate::Status { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_syncing_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:618:20 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn dirname(filename: &String) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:642:21 [INFO] [stdout] | [INFO] [stdout] 642 | pub fn basename(filename: &String) -> Slice { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:663:24 [INFO] [stdout] | [INFO] [stdout] 663 | pub fn is_manifest(filename: &String) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:672:9 [INFO] [stdout] | [INFO] [stdout] 672 | filename: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/env_posix.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | fd: i32) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/env_posix.rs:687:9 [INFO] [stdout] | [INFO] [stdout] 687 | fd: i32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> src/env_posix.rs:688:9 [INFO] [stdout] | [INFO] [stdout] 688 | lock: bool) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/env_posix.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | fd: i32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:721:9 [INFO] [stdout] | [INFO] [stdout] 721 | filename: String) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/env_posix.rs:774:30 [INFO] [stdout] | [INFO] [stdout] 774 | pub fn insert(&mut self, fname: &String) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/env_posix.rs:786:30 [INFO] [stdout] | [INFO] [stdout] 786 | pub fn remove(&mut self, fname: &String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:827:31 [INFO] [stdout] | [INFO] [stdout] 827 | fn delete_file(&mut self, filename: &String) -> crate::Status { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirname` [INFO] [stdout] --> src/env_posix.rs:841:30 [INFO] [stdout] | [INFO] [stdout] 841 | fn create_dir(&mut self, dirname: &String) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dirname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirname` [INFO] [stdout] --> src/env_posix.rs:855:30 [INFO] [stdout] | [INFO] [stdout] 855 | fn delete_dir(&mut self, dirname: &String) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dirname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:870:9 [INFO] [stdout] | [INFO] [stdout] 870 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/env_posix.rs:871:9 [INFO] [stdout] | [INFO] [stdout] 871 | size: *mut u64) -> crate::Status { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/env_posix.rs:888:9 [INFO] [stdout] | [INFO] [stdout] 888 | from: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/env_posix.rs:889:9 [INFO] [stdout] | [INFO] [stdout] 889 | to: &String) -> crate::Status { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:904:9 [INFO] [stdout] | [INFO] [stdout] 904 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> src/env_posix.rs:905:9 [INFO] [stdout] | [INFO] [stdout] 905 | lock: *mut *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread_main` [INFO] [stdout] --> src/env_posix.rs:937:9 [INFO] [stdout] | [INFO] [stdout] 937 | thread_main: fn(thread_main_arg: *mut c_void) -> c_void, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_main` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread_main_arg` [INFO] [stdout] --> src/env_posix.rs:938:9 [INFO] [stdout] | [INFO] [stdout] 938 | thread_main_arg: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_main_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:950:38 [INFO] [stdout] | [INFO] [stdout] 950 | fn get_test_directory(&mut self, result: *mut String) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:975:9 [INFO] [stdout] | [INFO] [stdout] 975 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:976:9 [INFO] [stdout] | [INFO] [stdout] 976 | result: *mut *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `micros` [INFO] [stdout] --> src/env_posix.rs:1016:42 [INFO] [stdout] | [INFO] [stdout] 1016 | fn sleep_for_microseconds(&mut self, micros: i32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_micros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> src/env_posix.rs:1027:31 [INFO] [stdout] | [INFO] [stdout] 1027 | fn unlock_file(&mut self, lock: *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `directory_path` [INFO] [stdout] --> src/env_posix.rs:1046:9 [INFO] [stdout] | [INFO] [stdout] 1046 | directory_path: &String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_directory_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:1047:9 [INFO] [stdout] | [INFO] [stdout] 1047 | result: *mut Vec) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:1068:31 [INFO] [stdout] | [INFO] [stdout] 1068 | fn file_exists(&mut self, filename: &String) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:1080:9 [INFO] [stdout] | [INFO] [stdout] 1080 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:1081:9 [INFO] [stdout] | [INFO] [stdout] 1081 | result: *mut *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:1101:9 [INFO] [stdout] | [INFO] [stdout] 1101 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:1102:9 [INFO] [stdout] | [INFO] [stdout] 1102 | result: *mut *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:1122:9 [INFO] [stdout] | [INFO] [stdout] 1122 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:1123:9 [INFO] [stdout] | [INFO] [stdout] 1123 | result: *mut *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:1163:9 [INFO] [stdout] | [INFO] [stdout] 1163 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:1164:9 [INFO] [stdout] | [INFO] [stdout] 1164 | result: *mut *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/env_posix.rs:1209:13 [INFO] [stdout] | [INFO] [stdout] 1209 | function: fn(arg: *mut c_void) -> c_void, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/env_posix.rs:1210:13 [INFO] [stdout] | [INFO] [stdout] 1210 | arg: *mut c_void) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/env_posix.rs:1237:42 [INFO] [stdout] | [INFO] [stdout] 1237 | pub fn background_thread_entry_point(env: *mut PosixEnv) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `background_work_function` [INFO] [stdout] --> src/env_posix.rs:1288:9 [INFO] [stdout] | [INFO] [stdout] 1288 | background_work_function: fn(background_work_arg: *mut c_void) -> c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_background_work_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `background_work_arg` [INFO] [stdout] --> src/env_posix.rs:1289:9 [INFO] [stdout] | [INFO] [stdout] 1289 | background_work_arg: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_background_work_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_only_file_limit` [INFO] [stdout] --> src/env_posix_test.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | read_only_file_limit: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_only_file_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmap_limit` [INFO] [stdout] --> src/env_posix_test.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | mmap_limit: i32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mmap_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/env_posix_test.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | argc: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src/env_posix_test.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | argv: *mut *mut u8) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/env_posix_test.rs:480:46 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn set_read_only_fd_limit(&mut self, limit: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/env_posix_test.rs:495:48 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn set_read_only_mmap_limit(&mut self, limit: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fd` and `filename` are never read [INFO] [stdout] --> src/env_posix.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct PosixSequentialFile { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 75 | fd: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 76 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `has_permanent_fd`, `fd`, `fd_limiter`, and `filename` are never read [INFO] [stdout] --> src/env_posix.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct PosixRandomAccessFile { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 174 | has_permanent_fd: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | fd: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 181 | [INFO] [stdout] 182 | fd_limiter: *const Limiter, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 183 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mmap_base`, `length`, `mmap_limiter`, and `filename` are never read [INFO] [stdout] --> src/env_posix.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct PosixMmapReadableFile { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 289 | mmap_base: *const u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 290 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 291 | mmap_limiter: *const Limiter, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 292 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `buf`, `pos`, `fd`, `is_manifest`, `filename`, and `dirname` are never read [INFO] [stdout] --> src/env_posix.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 371 | pub struct PosixWritableFile { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 378 | buf: [u8; WRITABLE_FILE_BUFFER_SIZE], [INFO] [stdout] | ^^^ [INFO] [stdout] 379 | [INFO] [stdout] 380 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 381 | fd: i32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 388 | is_manifest: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 389 | [INFO] [stdout] 390 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | dirname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fd` and `filename` are never read [INFO] [stdout] --> src/env_posix.rs:709:5 [INFO] [stdout] | [INFO] [stdout] 708 | pub struct PosixFileLock { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 709 | fd: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 710 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mu` is never read [INFO] [stdout] --> src/env_posix.rs:760:5 [INFO] [stdout] | [INFO] [stdout] 759 | pub struct PosixLockTable { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 760 | mu: Mutex, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `background_work_mutex`, `locks`, `mmap_limiter`, and `fd_limiter` are never read [INFO] [stdout] --> src/env_posix.rs:800:5 [INFO] [stdout] | [INFO] [stdout] 798 | pub struct PosixEnv { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 799 | [INFO] [stdout] 800 | background_work_mutex: Mutex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 806 | locks: PosixLockTable, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 812 | mmap_limiter: Limiter, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 818 | fd_limiter: Limiter, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `locked_files` is never read [INFO] [stdout] --> src/env_posix.rs:767:9 [INFO] [stdout] | [INFO] [stdout] 766 | pub struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 767 | locked_files: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `background_work_cv`, `started_background_thread`, and `background_work_queue` are never read [INFO] [stdout] --> src/env_posix.rs:1185:9 [INFO] [stdout] | [INFO] [stdout] 1184 | pub struct BackgroundWork { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 1185 | background_work_cv: Condvar, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1186 | started_background_thread: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1187 | background_work_queue: SegQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function` and `arg` are never read [INFO] [stdout] --> src/env_posix.rs:1202:9 [INFO] [stdout] | [INFO] [stdout] 1201 | pub struct BackgroundWorkItem { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 1202 | function: fn(_0: *mut c_void) -> c_void, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1203 | arg: *const c_void, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `READ_ONLY_FILE_LIMIT` is never used [INFO] [stdout] --> src/env_posix_test.rs:219:7 [INFO] [stdout] | [INFO] [stdout] 219 | const READ_ONLY_FILE_LIMIT: i32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MMAP_LIMIT` is never used [INFO] [stdout] --> src/env_posix_test.rs:220:7 [INFO] [stdout] | [INFO] [stdout] 220 | const MMAP_LIMIT: i32 = 4; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `env` is never read [INFO] [stdout] --> src/env_posix_test.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 222 | struct EnvPosixTest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 223 | env: Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_file_limits` is never used [INFO] [stdout] --> src/env_posix_test.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 238 | impl EnvPosixTest { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 239 | [INFO] [stdout] 240 | fn set_file_limits( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `testenv_posix_test_main` is never used [INFO] [stdout] --> src/env_posix_test.rs:437:4 [INFO] [stdout] | [INFO] [stdout] 437 | fn testenv_posix_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvPosixTestHelper` is never constructed [INFO] [stdout] --> src/env_posix_test.rs:468:8 [INFO] [stdout] | [INFO] [stdout] 468 | struct EnvPosixTestHelper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_read_only_fd_limit` and `set_read_only_mmap_limit` are never used [INFO] [stdout] --> src/env_posix_test.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 472 | impl EnvPosixTestHelper { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn set_read_only_fd_limit(&mut self, limit: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | pub fn set_read_only_mmap_limit(&mut self, limit: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 97 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "a2ba28c839667e950a141e606bbd8c2d36b76454bb3a460eba73d16ea1afeb73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2ba28c839667e950a141e606bbd8c2d36b76454bb3a460eba73d16ea1afeb73", kill_on_drop: false }` [INFO] [stdout] a2ba28c839667e950a141e606bbd8c2d36b76454bb3a460eba73d16ea1afeb73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20c6bb82bdef3b594a9471f25842a57139fd1c8026776c046432c3bb29069f04 [INFO] running `Command { std: "docker" "start" "-a" "20c6bb82bdef3b594a9471f25842a57139fd1c8026776c046432c3bb29069f04", kill_on_drop: false }` [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/env_posix.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /** [INFO] [stdout] 6 | | | Set by [INFO] [stdout] 7 | | | [INFO] [stdout] 8 | | | EnvPosixTestHelper::SetReadOnlyMMapLimit() [INFO] [stdout] ... | [INFO] [stdout] 12 | | | [INFO] [stdout] 13 | | */ [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/env_posix.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / /** [INFO] [stdout] 28 | | | Can be set using [INFO] [stdout] 29 | | | [INFO] [stdout] 30 | | | EnvPosixTestHelper::SetReadOnlyMMapLimit(). [INFO] [stdout] 31 | | | [INFO] [stdout] 32 | | */ [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 variable: `context` [INFO] [stdout] --> src/env_posix.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | context: &String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_number` [INFO] [stdout] --> src/env_posix.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | error_number: i32) -> crate::Status { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/env_posix.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | n: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | result: *mut Slice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scratch` [INFO] [stdout] --> src/env_posix.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | scratch: *mut u8) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/env_posix.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | fn skip(&mut self, n: u64) -> crate::Status { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | filename: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/env_posix.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | fd: i32) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/env_posix.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | offset: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/env_posix.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | n: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | result: *mut Slice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scratch` [INFO] [stdout] --> src/env_posix.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | scratch: *mut u8) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | filename: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/env_posix.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | fd: i32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd_limiter` [INFO] [stdout] --> src/env_posix.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | fd_limiter: *mut Limiter) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fd_limiter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/env_posix.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | offset: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/env_posix.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | n: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | result: *mut Slice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scratch` [INFO] [stdout] --> src/env_posix.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | scratch: *mut u8) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | filename: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmap_base` [INFO] [stdout] --> src/env_posix.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | mmap_base: *mut u8, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mmap_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/env_posix.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | length: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmap_limiter` [INFO] [stdout] --> src/env_posix.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | mmap_limiter: *mut Limiter) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mmap_limiter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/env_posix.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | fn append(&mut self, data: &Slice) -> crate::Status { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/env_posix.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/env_posix.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | size: usize) -> crate::Status { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/env_posix.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 577 | fd: i32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd_path` [INFO] [stdout] --> src/env_posix.rs:578:9 [INFO] [stdout] | [INFO] [stdout] 578 | fd_path: &String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fd_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `syncing_dir` [INFO] [stdout] --> src/env_posix.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 579 | syncing_dir: bool) -> crate::Status { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_syncing_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:618:20 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn dirname(filename: &String) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:642:21 [INFO] [stdout] | [INFO] [stdout] 642 | pub fn basename(filename: &String) -> Slice { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:663:24 [INFO] [stdout] | [INFO] [stdout] 663 | pub fn is_manifest(filename: &String) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:672:9 [INFO] [stdout] | [INFO] [stdout] 672 | filename: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/env_posix.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | fd: i32) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/env_posix.rs:687:9 [INFO] [stdout] | [INFO] [stdout] 687 | fd: i32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> src/env_posix.rs:688:9 [INFO] [stdout] | [INFO] [stdout] 688 | lock: bool) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/env_posix.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | fd: i32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:721:9 [INFO] [stdout] | [INFO] [stdout] 721 | filename: String) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/env_posix.rs:774:30 [INFO] [stdout] | [INFO] [stdout] 774 | pub fn insert(&mut self, fname: &String) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/env_posix.rs:786:30 [INFO] [stdout] | [INFO] [stdout] 786 | pub fn remove(&mut self, fname: &String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:827:31 [INFO] [stdout] | [INFO] [stdout] 827 | fn delete_file(&mut self, filename: &String) -> crate::Status { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirname` [INFO] [stdout] --> src/env_posix.rs:841:30 [INFO] [stdout] | [INFO] [stdout] 841 | fn create_dir(&mut self, dirname: &String) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dirname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirname` [INFO] [stdout] --> src/env_posix.rs:855:30 [INFO] [stdout] | [INFO] [stdout] 855 | fn delete_dir(&mut self, dirname: &String) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dirname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:870:9 [INFO] [stdout] | [INFO] [stdout] 870 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/env_posix.rs:871:9 [INFO] [stdout] | [INFO] [stdout] 871 | size: *mut u64) -> crate::Status { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/env_posix.rs:888:9 [INFO] [stdout] | [INFO] [stdout] 888 | from: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/env_posix.rs:889:9 [INFO] [stdout] | [INFO] [stdout] 889 | to: &String) -> crate::Status { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:904:9 [INFO] [stdout] | [INFO] [stdout] 904 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> src/env_posix.rs:905:9 [INFO] [stdout] | [INFO] [stdout] 905 | lock: *mut *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread_main` [INFO] [stdout] --> src/env_posix.rs:937:9 [INFO] [stdout] | [INFO] [stdout] 937 | thread_main: fn(thread_main_arg: *mut c_void) -> c_void, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_main` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread_main_arg` [INFO] [stdout] --> src/env_posix.rs:938:9 [INFO] [stdout] | [INFO] [stdout] 938 | thread_main_arg: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_main_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:950:38 [INFO] [stdout] | [INFO] [stdout] 950 | fn get_test_directory(&mut self, result: *mut String) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:975:9 [INFO] [stdout] | [INFO] [stdout] 975 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:976:9 [INFO] [stdout] | [INFO] [stdout] 976 | result: *mut *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `micros` [INFO] [stdout] --> src/env_posix.rs:1016:42 [INFO] [stdout] | [INFO] [stdout] 1016 | fn sleep_for_microseconds(&mut self, micros: i32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_micros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> src/env_posix.rs:1027:31 [INFO] [stdout] | [INFO] [stdout] 1027 | fn unlock_file(&mut self, lock: *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `directory_path` [INFO] [stdout] --> src/env_posix.rs:1046:9 [INFO] [stdout] | [INFO] [stdout] 1046 | directory_path: &String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_directory_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:1047:9 [INFO] [stdout] | [INFO] [stdout] 1047 | result: *mut Vec) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:1068:31 [INFO] [stdout] | [INFO] [stdout] 1068 | fn file_exists(&mut self, filename: &String) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:1080:9 [INFO] [stdout] | [INFO] [stdout] 1080 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:1081:9 [INFO] [stdout] | [INFO] [stdout] 1081 | result: *mut *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:1101:9 [INFO] [stdout] | [INFO] [stdout] 1101 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:1102:9 [INFO] [stdout] | [INFO] [stdout] 1102 | result: *mut *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:1122:9 [INFO] [stdout] | [INFO] [stdout] 1122 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:1123:9 [INFO] [stdout] | [INFO] [stdout] 1123 | result: *mut *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:1163:9 [INFO] [stdout] | [INFO] [stdout] 1163 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:1164:9 [INFO] [stdout] | [INFO] [stdout] 1164 | result: *mut *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/env_posix.rs:1209:13 [INFO] [stdout] | [INFO] [stdout] 1209 | function: fn(arg: *mut c_void) -> c_void, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/env_posix.rs:1210:13 [INFO] [stdout] | [INFO] [stdout] 1210 | arg: *mut c_void) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/env_posix.rs:1237:42 [INFO] [stdout] | [INFO] [stdout] 1237 | pub fn background_thread_entry_point(env: *mut PosixEnv) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `background_work_function` [INFO] [stdout] --> src/env_posix.rs:1288:9 [INFO] [stdout] | [INFO] [stdout] 1288 | background_work_function: fn(background_work_arg: *mut c_void) -> c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_background_work_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `background_work_arg` [INFO] [stdout] --> src/env_posix.rs:1289:9 [INFO] [stdout] | [INFO] [stdout] 1289 | background_work_arg: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_background_work_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_only_file_limit` [INFO] [stdout] --> src/env_posix_test.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | read_only_file_limit: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_only_file_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmap_limit` [INFO] [stdout] --> src/env_posix_test.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | mmap_limit: i32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mmap_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/env_posix_test.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | argc: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src/env_posix_test.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | argv: *mut *mut u8) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/env_posix_test.rs:480:46 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn set_read_only_fd_limit(&mut self, limit: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/env_posix_test.rs:495:48 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn set_read_only_mmap_limit(&mut self, limit: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fd` and `filename` are never read [INFO] [stdout] --> src/env_posix.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct PosixSequentialFile { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 75 | fd: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 76 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `has_permanent_fd`, `fd`, `fd_limiter`, and `filename` are never read [INFO] [stdout] --> src/env_posix.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct PosixRandomAccessFile { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 174 | has_permanent_fd: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | fd: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 181 | [INFO] [stdout] 182 | fd_limiter: *const Limiter, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 183 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mmap_base`, `length`, `mmap_limiter`, and `filename` are never read [INFO] [stdout] --> src/env_posix.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct PosixMmapReadableFile { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 289 | mmap_base: *const u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 290 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 291 | mmap_limiter: *const Limiter, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 292 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `buf`, `pos`, `fd`, `is_manifest`, `filename`, and `dirname` are never read [INFO] [stdout] --> src/env_posix.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 371 | pub struct PosixWritableFile { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 378 | buf: [u8; WRITABLE_FILE_BUFFER_SIZE], [INFO] [stdout] | ^^^ [INFO] [stdout] 379 | [INFO] [stdout] 380 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 381 | fd: i32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 388 | is_manifest: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 389 | [INFO] [stdout] 390 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | dirname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fd` and `filename` are never read [INFO] [stdout] --> src/env_posix.rs:709:5 [INFO] [stdout] | [INFO] [stdout] 708 | pub struct PosixFileLock { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 709 | fd: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 710 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mu` is never read [INFO] [stdout] --> src/env_posix.rs:760:5 [INFO] [stdout] | [INFO] [stdout] 759 | pub struct PosixLockTable { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 760 | mu: Mutex, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `background_work_mutex`, `locks`, `mmap_limiter`, and `fd_limiter` are never read [INFO] [stdout] --> src/env_posix.rs:800:5 [INFO] [stdout] | [INFO] [stdout] 798 | pub struct PosixEnv { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 799 | [INFO] [stdout] 800 | background_work_mutex: Mutex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 806 | locks: PosixLockTable, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 812 | mmap_limiter: Limiter, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 818 | fd_limiter: Limiter, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `locked_files` is never read [INFO] [stdout] --> src/env_posix.rs:767:9 [INFO] [stdout] | [INFO] [stdout] 766 | pub struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 767 | locked_files: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `background_work_cv`, `started_background_thread`, and `background_work_queue` are never read [INFO] [stdout] --> src/env_posix.rs:1185:9 [INFO] [stdout] | [INFO] [stdout] 1184 | pub struct BackgroundWork { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 1185 | background_work_cv: Condvar, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1186 | started_background_thread: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1187 | background_work_queue: SegQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function` and `arg` are never read [INFO] [stdout] --> src/env_posix.rs:1202:9 [INFO] [stdout] | [INFO] [stdout] 1201 | pub struct BackgroundWorkItem { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 1202 | function: fn(_0: *mut c_void) -> c_void, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1203 | arg: *const c_void, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `READ_ONLY_FILE_LIMIT` is never used [INFO] [stdout] --> src/env_posix_test.rs:219:7 [INFO] [stdout] | [INFO] [stdout] 219 | const READ_ONLY_FILE_LIMIT: i32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MMAP_LIMIT` is never used [INFO] [stdout] --> src/env_posix_test.rs:220:7 [INFO] [stdout] | [INFO] [stdout] 220 | const MMAP_LIMIT: i32 = 4; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `env` is never read [INFO] [stdout] --> src/env_posix_test.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 222 | struct EnvPosixTest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 223 | env: Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_file_limits` is never used [INFO] [stdout] --> src/env_posix_test.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 238 | impl EnvPosixTest { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 239 | [INFO] [stdout] 240 | fn set_file_limits( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `testenv_posix_test_main` is never used [INFO] [stdout] --> src/env_posix_test.rs:437:4 [INFO] [stdout] | [INFO] [stdout] 437 | fn testenv_posix_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvPosixTestHelper` is never constructed [INFO] [stdout] --> src/env_posix_test.rs:468:8 [INFO] [stdout] | [INFO] [stdout] 468 | struct EnvPosixTestHelper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_read_only_fd_limit` and `set_read_only_mmap_limit` are never used [INFO] [stdout] --> src/env_posix_test.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 472 | impl EnvPosixTestHelper { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn set_read_only_fd_limit(&mut self, limit: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | pub fn set_read_only_mmap_limit(&mut self, limit: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 97 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitcoinleveldb-posix v0.1.16-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/env_posix.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /** [INFO] [stdout] 6 | | | Set by [INFO] [stdout] 7 | | | [INFO] [stdout] 8 | | | EnvPosixTestHelper::SetReadOnlyMMapLimit() [INFO] [stdout] ... | [INFO] [stdout] 12 | | | [INFO] [stdout] 13 | | */ [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/env_posix.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / /** [INFO] [stdout] 28 | | | Can be set using [INFO] [stdout] 29 | | | [INFO] [stdout] 30 | | | EnvPosixTestHelper::SetReadOnlyMMapLimit(). [INFO] [stdout] 31 | | | [INFO] [stdout] 32 | | */ [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 variable: `context` [INFO] [stdout] --> src/env_posix.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | context: &String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_number` [INFO] [stdout] --> src/env_posix.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | error_number: i32) -> crate::Status { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/env_posix.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | n: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | result: *mut Slice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scratch` [INFO] [stdout] --> src/env_posix.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | scratch: *mut u8) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/env_posix.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | fn skip(&mut self, n: u64) -> crate::Status { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | filename: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/env_posix.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | fd: i32) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/env_posix.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | offset: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/env_posix.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | n: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | result: *mut Slice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scratch` [INFO] [stdout] --> src/env_posix.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | scratch: *mut u8) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | filename: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/env_posix.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | fd: i32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd_limiter` [INFO] [stdout] --> src/env_posix.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | fd_limiter: *mut Limiter) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fd_limiter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/env_posix.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | offset: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/env_posix.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | n: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | result: *mut Slice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scratch` [INFO] [stdout] --> src/env_posix.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | scratch: *mut u8) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | filename: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmap_base` [INFO] [stdout] --> src/env_posix.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | mmap_base: *mut u8, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mmap_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/env_posix.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | length: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmap_limiter` [INFO] [stdout] --> src/env_posix.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | mmap_limiter: *mut Limiter) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mmap_limiter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/env_posix.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | fn append(&mut self, data: &Slice) -> crate::Status { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/env_posix.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | data: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/env_posix.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | size: usize) -> crate::Status { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/env_posix.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 577 | fd: i32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd_path` [INFO] [stdout] --> src/env_posix.rs:578:9 [INFO] [stdout] | [INFO] [stdout] 578 | fd_path: &String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fd_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `syncing_dir` [INFO] [stdout] --> src/env_posix.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 579 | syncing_dir: bool) -> crate::Status { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_syncing_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:618:20 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn dirname(filename: &String) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:642:21 [INFO] [stdout] | [INFO] [stdout] 642 | pub fn basename(filename: &String) -> Slice { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:663:24 [INFO] [stdout] | [INFO] [stdout] 663 | pub fn is_manifest(filename: &String) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:672:9 [INFO] [stdout] | [INFO] [stdout] 672 | filename: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/env_posix.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | fd: i32) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/env_posix.rs:687:9 [INFO] [stdout] | [INFO] [stdout] 687 | fd: i32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> src/env_posix.rs:688:9 [INFO] [stdout] | [INFO] [stdout] 688 | lock: bool) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/env_posix.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | fd: i32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:721:9 [INFO] [stdout] | [INFO] [stdout] 721 | filename: String) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/env_posix.rs:774:30 [INFO] [stdout] | [INFO] [stdout] 774 | pub fn insert(&mut self, fname: &String) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/env_posix.rs:786:30 [INFO] [stdout] | [INFO] [stdout] 786 | pub fn remove(&mut self, fname: &String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:827:31 [INFO] [stdout] | [INFO] [stdout] 827 | fn delete_file(&mut self, filename: &String) -> crate::Status { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirname` [INFO] [stdout] --> src/env_posix.rs:841:30 [INFO] [stdout] | [INFO] [stdout] 841 | fn create_dir(&mut self, dirname: &String) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dirname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirname` [INFO] [stdout] --> src/env_posix.rs:855:30 [INFO] [stdout] | [INFO] [stdout] 855 | fn delete_dir(&mut self, dirname: &String) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dirname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:870:9 [INFO] [stdout] | [INFO] [stdout] 870 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/env_posix.rs:871:9 [INFO] [stdout] | [INFO] [stdout] 871 | size: *mut u64) -> crate::Status { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/env_posix.rs:888:9 [INFO] [stdout] | [INFO] [stdout] 888 | from: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/env_posix.rs:889:9 [INFO] [stdout] | [INFO] [stdout] 889 | to: &String) -> crate::Status { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:904:9 [INFO] [stdout] | [INFO] [stdout] 904 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> src/env_posix.rs:905:9 [INFO] [stdout] | [INFO] [stdout] 905 | lock: *mut *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread_main` [INFO] [stdout] --> src/env_posix.rs:937:9 [INFO] [stdout] | [INFO] [stdout] 937 | thread_main: fn(thread_main_arg: *mut c_void) -> c_void, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_main` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread_main_arg` [INFO] [stdout] --> src/env_posix.rs:938:9 [INFO] [stdout] | [INFO] [stdout] 938 | thread_main_arg: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_main_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:950:38 [INFO] [stdout] | [INFO] [stdout] 950 | fn get_test_directory(&mut self, result: *mut String) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:975:9 [INFO] [stdout] | [INFO] [stdout] 975 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:976:9 [INFO] [stdout] | [INFO] [stdout] 976 | result: *mut *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `micros` [INFO] [stdout] --> src/env_posix.rs:1016:42 [INFO] [stdout] | [INFO] [stdout] 1016 | fn sleep_for_microseconds(&mut self, micros: i32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_micros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> src/env_posix.rs:1027:31 [INFO] [stdout] | [INFO] [stdout] 1027 | fn unlock_file(&mut self, lock: *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `directory_path` [INFO] [stdout] --> src/env_posix.rs:1046:9 [INFO] [stdout] | [INFO] [stdout] 1046 | directory_path: &String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_directory_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:1047:9 [INFO] [stdout] | [INFO] [stdout] 1047 | result: *mut Vec) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:1068:31 [INFO] [stdout] | [INFO] [stdout] 1068 | fn file_exists(&mut self, filename: &String) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:1080:9 [INFO] [stdout] | [INFO] [stdout] 1080 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:1081:9 [INFO] [stdout] | [INFO] [stdout] 1081 | result: *mut *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:1101:9 [INFO] [stdout] | [INFO] [stdout] 1101 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:1102:9 [INFO] [stdout] | [INFO] [stdout] 1102 | result: *mut *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:1122:9 [INFO] [stdout] | [INFO] [stdout] 1122 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:1123:9 [INFO] [stdout] | [INFO] [stdout] 1123 | result: *mut *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/env_posix.rs:1163:9 [INFO] [stdout] | [INFO] [stdout] 1163 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/env_posix.rs:1164:9 [INFO] [stdout] | [INFO] [stdout] 1164 | result: *mut *mut Box) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/env_posix.rs:1209:13 [INFO] [stdout] | [INFO] [stdout] 1209 | function: fn(arg: *mut c_void) -> c_void, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/env_posix.rs:1210:13 [INFO] [stdout] | [INFO] [stdout] 1210 | arg: *mut c_void) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/env_posix.rs:1237:42 [INFO] [stdout] | [INFO] [stdout] 1237 | pub fn background_thread_entry_point(env: *mut PosixEnv) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `background_work_function` [INFO] [stdout] --> src/env_posix.rs:1288:9 [INFO] [stdout] | [INFO] [stdout] 1288 | background_work_function: fn(background_work_arg: *mut c_void) -> c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_background_work_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `background_work_arg` [INFO] [stdout] --> src/env_posix.rs:1289:9 [INFO] [stdout] | [INFO] [stdout] 1289 | background_work_arg: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_background_work_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_only_file_limit` [INFO] [stdout] --> src/env_posix_test.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | read_only_file_limit: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_only_file_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmap_limit` [INFO] [stdout] --> src/env_posix_test.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | mmap_limit: i32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mmap_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/env_posix_test.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | argc: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src/env_posix_test.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | argv: *mut *mut u8) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/env_posix_test.rs:480:46 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn set_read_only_fd_limit(&mut self, limit: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/env_posix_test.rs:495:48 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn set_read_only_mmap_limit(&mut self, limit: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fd` and `filename` are never read [INFO] [stdout] --> src/env_posix.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct PosixSequentialFile { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 75 | fd: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 76 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `has_permanent_fd`, `fd`, `fd_limiter`, and `filename` are never read [INFO] [stdout] --> src/env_posix.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct PosixRandomAccessFile { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 174 | has_permanent_fd: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | fd: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 181 | [INFO] [stdout] 182 | fd_limiter: *const Limiter, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 183 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mmap_base`, `length`, `mmap_limiter`, and `filename` are never read [INFO] [stdout] --> src/env_posix.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct PosixMmapReadableFile { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 289 | mmap_base: *const u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 290 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 291 | mmap_limiter: *const Limiter, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 292 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `buf`, `pos`, `fd`, `is_manifest`, `filename`, and `dirname` are never read [INFO] [stdout] --> src/env_posix.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 371 | pub struct PosixWritableFile { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 378 | buf: [u8; WRITABLE_FILE_BUFFER_SIZE], [INFO] [stdout] | ^^^ [INFO] [stdout] 379 | [INFO] [stdout] 380 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 381 | fd: i32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 388 | is_manifest: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 389 | [INFO] [stdout] 390 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | dirname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fd` and `filename` are never read [INFO] [stdout] --> src/env_posix.rs:709:5 [INFO] [stdout] | [INFO] [stdout] 708 | pub struct PosixFileLock { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 709 | fd: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 710 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mu` is never read [INFO] [stdout] --> src/env_posix.rs:760:5 [INFO] [stdout] | [INFO] [stdout] 759 | pub struct PosixLockTable { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 760 | mu: Mutex, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `background_work_mutex`, `locks`, `mmap_limiter`, and `fd_limiter` are never read [INFO] [stdout] --> src/env_posix.rs:800:5 [INFO] [stdout] | [INFO] [stdout] 798 | pub struct PosixEnv { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 799 | [INFO] [stdout] 800 | background_work_mutex: Mutex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 806 | locks: PosixLockTable, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 812 | mmap_limiter: Limiter, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 818 | fd_limiter: Limiter, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `locked_files` is never read [INFO] [stdout] --> src/env_posix.rs:767:9 [INFO] [stdout] | [INFO] [stdout] 766 | pub struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 767 | locked_files: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `background_work_cv`, `started_background_thread`, and `background_work_queue` are never read [INFO] [stdout] --> src/env_posix.rs:1185:9 [INFO] [stdout] | [INFO] [stdout] 1184 | pub struct BackgroundWork { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 1185 | background_work_cv: Condvar, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1186 | started_background_thread: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1187 | background_work_queue: SegQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function` and `arg` are never read [INFO] [stdout] --> src/env_posix.rs:1202:9 [INFO] [stdout] | [INFO] [stdout] 1201 | pub struct BackgroundWorkItem { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 1202 | function: fn(_0: *mut c_void) -> c_void, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1203 | arg: *const c_void, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `READ_ONLY_FILE_LIMIT` is never used [INFO] [stdout] --> src/env_posix_test.rs:219:7 [INFO] [stdout] | [INFO] [stdout] 219 | const READ_ONLY_FILE_LIMIT: i32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MMAP_LIMIT` is never used [INFO] [stdout] --> src/env_posix_test.rs:220:7 [INFO] [stdout] | [INFO] [stdout] 220 | const MMAP_LIMIT: i32 = 4; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `env` is never read [INFO] [stdout] --> src/env_posix_test.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 222 | struct EnvPosixTest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 223 | env: Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_file_limits` is never used [INFO] [stdout] --> src/env_posix_test.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 238 | impl EnvPosixTest { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 239 | [INFO] [stdout] 240 | fn set_file_limits( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `testenv_posix_test_main` is never used [INFO] [stdout] --> src/env_posix_test.rs:437:4 [INFO] [stdout] | [INFO] [stdout] 437 | fn testenv_posix_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvPosixTestHelper` is never constructed [INFO] [stdout] --> src/env_posix_test.rs:468:8 [INFO] [stdout] | [INFO] [stdout] 468 | struct EnvPosixTestHelper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_read_only_fd_limit` and `set_read_only_mmap_limit` are never used [INFO] [stdout] --> src/env_posix_test.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 472 | impl EnvPosixTestHelper { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn set_read_only_fd_limit(&mut self, limit: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | pub fn set_read_only_mmap_limit(&mut self, limit: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 97 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.75s [INFO] running `Command { std: "docker" "inspect" "20c6bb82bdef3b594a9471f25842a57139fd1c8026776c046432c3bb29069f04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20c6bb82bdef3b594a9471f25842a57139fd1c8026776c046432c3bb29069f04", kill_on_drop: false }` [INFO] [stdout] 20c6bb82bdef3b594a9471f25842a57139fd1c8026776c046432c3bb29069f04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d66d482539f0ef7b303743b41037ed4dcad4dab9cf86a0f633e4493d72600727 [INFO] running `Command { std: "docker" "start" "-a" "d66d482539f0ef7b303743b41037ed4dcad4dab9cf86a0f633e4493d72600727", kill_on_drop: false }` [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/env_posix.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / /** [INFO] [stderr] 6 | | | Set by [INFO] [stderr] 7 | | | [INFO] [stderr] 8 | | | EnvPosixTestHelper::SetReadOnlyMMapLimit() [INFO] [stderr] ... | [INFO] [stderr] 12 | | | [INFO] [stderr] 13 | | */ [INFO] [stderr] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/env_posix.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | / /** [INFO] [stderr] 28 | | | Can be set using [INFO] [stderr] 29 | | | [INFO] [stderr] 30 | | | EnvPosixTestHelper::SetReadOnlyMMapLimit(). [INFO] [stderr] 31 | | | [INFO] [stderr] 32 | | */ [INFO] [stderr] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/env_posix.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | context: &String, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `error_number` [INFO] [stderr] --> src/env_posix.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | error_number: i32) -> crate::Status { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_number` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/env_posix.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | n: usize, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/env_posix.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | result: *mut Slice, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scratch` [INFO] [stderr] --> src/env_posix.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 86 | scratch: *mut u8) -> crate::Status { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/env_posix.rs:110:24 [INFO] [stderr] | [INFO] [stderr] 110 | fn skip(&mut self, n: u64) -> crate::Status { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/env_posix.rs:145:9 [INFO] [stderr] | [INFO] [stderr] 145 | filename: String, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fd` [INFO] [stderr] --> src/env_posix.rs:146:9 [INFO] [stderr] | [INFO] [stderr] 146 | fd: i32) -> Self { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `offset` [INFO] [stderr] --> src/env_posix.rs:204:9 [INFO] [stderr] | [INFO] [stderr] 204 | offset: u64, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/env_posix.rs:205:9 [INFO] [stderr] | [INFO] [stderr] 205 | n: usize, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/env_posix.rs:206:9 [INFO] [stderr] | [INFO] [stderr] 206 | result: *mut Slice, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scratch` [INFO] [stderr] --> src/env_posix.rs:207:9 [INFO] [stderr] | [INFO] [stderr] 207 | scratch: *mut u8) -> crate::Status { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/env_posix.rs:259:9 [INFO] [stderr] | [INFO] [stderr] 259 | filename: String, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fd` [INFO] [stderr] --> src/env_posix.rs:260:9 [INFO] [stderr] | [INFO] [stderr] 260 | fd: i32, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fd_limiter` [INFO] [stderr] --> src/env_posix.rs:261:9 [INFO] [stderr] | [INFO] [stderr] 261 | fd_limiter: *mut Limiter) -> Self { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fd_limiter` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `offset` [INFO] [stderr] --> src/env_posix.rs:310:9 [INFO] [stderr] | [INFO] [stderr] 310 | offset: u64, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/env_posix.rs:311:9 [INFO] [stderr] | [INFO] [stderr] 311 | n: usize, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/env_posix.rs:312:9 [INFO] [stderr] | [INFO] [stderr] 312 | result: *mut Slice, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scratch` [INFO] [stderr] --> src/env_posix.rs:313:9 [INFO] [stderr] | [INFO] [stderr] 313 | scratch: *mut u8) -> crate::Status { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/env_posix.rs:355:9 [INFO] [stderr] | [INFO] [stderr] 355 | filename: String, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mmap_base` [INFO] [stderr] --> src/env_posix.rs:356:9 [INFO] [stderr] | [INFO] [stderr] 356 | mmap_base: *mut u8, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mmap_base` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `length` [INFO] [stderr] --> src/env_posix.rs:357:9 [INFO] [stderr] | [INFO] [stderr] 357 | length: usize, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mmap_limiter` [INFO] [stderr] --> src/env_posix.rs:358:9 [INFO] [stderr] | [INFO] [stderr] 358 | mmap_limiter: *mut Limiter) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mmap_limiter` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/env_posix.rs:403:26 [INFO] [stderr] | [INFO] [stderr] 403 | fn append(&mut self, data: &Slice) -> crate::Status { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/env_posix.rs:526:9 [INFO] [stderr] | [INFO] [stderr] 526 | data: *const u8, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `size` [INFO] [stderr] --> src/env_posix.rs:527:9 [INFO] [stderr] | [INFO] [stderr] 527 | size: usize) -> crate::Status { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fd` [INFO] [stderr] --> src/env_posix.rs:577:9 [INFO] [stderr] | [INFO] [stderr] 577 | fd: i32, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fd_path` [INFO] [stderr] --> src/env_posix.rs:578:9 [INFO] [stderr] | [INFO] [stderr] 578 | fd_path: &String, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fd_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `syncing_dir` [INFO] [stderr] --> src/env_posix.rs:579:9 [INFO] [stderr] | [INFO] [stderr] 579 | syncing_dir: bool) -> crate::Status { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_syncing_dir` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/env_posix.rs:618:20 [INFO] [stderr] | [INFO] [stderr] 618 | pub fn dirname(filename: &String) -> String { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/env_posix.rs:642:21 [INFO] [stderr] | [INFO] [stderr] 642 | pub fn basename(filename: &String) -> Slice { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/env_posix.rs:663:24 [INFO] [stderr] | [INFO] [stderr] 663 | pub fn is_manifest(filename: &String) -> bool { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/env_posix.rs:672:9 [INFO] [stderr] | [INFO] [stderr] 672 | filename: String, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fd` [INFO] [stderr] --> src/env_posix.rs:673:9 [INFO] [stderr] | [INFO] [stderr] 673 | fd: i32) -> Self { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fd` [INFO] [stderr] --> src/env_posix.rs:687:9 [INFO] [stderr] | [INFO] [stderr] 687 | fd: i32, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lock` [INFO] [stderr] --> src/env_posix.rs:688:9 [INFO] [stderr] | [INFO] [stderr] 688 | lock: bool) -> i32 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fd` [INFO] [stderr] --> src/env_posix.rs:720:9 [INFO] [stderr] | [INFO] [stderr] 720 | fd: i32, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/env_posix.rs:721:9 [INFO] [stderr] | [INFO] [stderr] 721 | filename: String) -> Self { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fname` [INFO] [stderr] --> src/env_posix.rs:774:30 [INFO] [stderr] | [INFO] [stderr] 774 | pub fn insert(&mut self, fname: &String) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fname` [INFO] [stderr] --> src/env_posix.rs:786:30 [INFO] [stderr] | [INFO] [stderr] 786 | pub fn remove(&mut self, fname: &String) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/env_posix.rs:827:31 [INFO] [stderr] | [INFO] [stderr] 827 | fn delete_file(&mut self, filename: &String) -> crate::Status { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dirname` [INFO] [stderr] --> src/env_posix.rs:841:30 [INFO] [stderr] | [INFO] [stderr] 841 | fn create_dir(&mut self, dirname: &String) -> crate::Status { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dirname` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dirname` [INFO] [stderr] --> src/env_posix.rs:855:30 [INFO] [stderr] | [INFO] [stderr] 855 | fn delete_dir(&mut self, dirname: &String) -> crate::Status { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dirname` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/env_posix.rs:870:9 [INFO] [stderr] | [INFO] [stderr] 870 | filename: &String, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `size` [INFO] [stderr] --> src/env_posix.rs:871:9 [INFO] [stderr] | [INFO] [stderr] 871 | size: *mut u64) -> crate::Status { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/env_posix.rs:888:9 [INFO] [stderr] | [INFO] [stderr] 888 | from: &String, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to` [INFO] [stderr] --> src/env_posix.rs:889:9 [INFO] [stderr] | [INFO] [stderr] 889 | to: &String) -> crate::Status { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/env_posix.rs:904:9 [INFO] [stderr] | [INFO] [stderr] 904 | filename: &String, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lock` [INFO] [stderr] --> src/env_posix.rs:905:9 [INFO] [stderr] | [INFO] [stderr] 905 | lock: *mut *mut Box) -> crate::Status { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `thread_main` [INFO] [stderr] --> src/env_posix.rs:937:9 [INFO] [stderr] | [INFO] [stderr] 937 | thread_main: fn(thread_main_arg: *mut c_void) -> c_void, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_main` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `thread_main_arg` [INFO] [stderr] --> src/env_posix.rs:938:9 [INFO] [stderr] | [INFO] [stderr] 938 | thread_main_arg: *mut c_void) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_main_arg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/env_posix.rs:950:38 [INFO] [stderr] | [INFO] [stderr] 950 | fn get_test_directory(&mut self, result: *mut String) -> crate::Status { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/env_posix.rs:975:9 [INFO] [stderr] | [INFO] [stderr] 975 | filename: &String, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/env_posix.rs:976:9 [INFO] [stderr] | [INFO] [stderr] 976 | result: *mut *mut Box) -> crate::Status { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `micros` [INFO] [stderr] --> src/env_posix.rs:1016:42 [INFO] [stderr] | [INFO] [stderr] 1016 | fn sleep_for_microseconds(&mut self, micros: i32) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_micros` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lock` [INFO] [stderr] --> src/env_posix.rs:1027:31 [INFO] [stderr] | [INFO] [stderr] 1027 | fn unlock_file(&mut self, lock: *mut Box) -> crate::Status { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `directory_path` [INFO] [stderr] --> src/env_posix.rs:1046:9 [INFO] [stderr] | [INFO] [stderr] 1046 | directory_path: &String, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_directory_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/env_posix.rs:1047:9 [INFO] [stderr] | [INFO] [stderr] 1047 | result: *mut Vec) -> crate::Status { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/env_posix.rs:1068:31 [INFO] [stderr] | [INFO] [stderr] 1068 | fn file_exists(&mut self, filename: &String) -> bool { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/env_posix.rs:1080:9 [INFO] [stderr] | [INFO] [stderr] 1080 | filename: &String, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/env_posix.rs:1081:9 [INFO] [stderr] | [INFO] [stderr] 1081 | result: *mut *mut Box) -> crate::Status { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/env_posix.rs:1101:9 [INFO] [stderr] | [INFO] [stderr] 1101 | filename: &String, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/env_posix.rs:1102:9 [INFO] [stderr] | [INFO] [stderr] 1102 | result: *mut *mut Box) -> crate::Status { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/env_posix.rs:1122:9 [INFO] [stderr] | [INFO] [stderr] 1122 | filename: &String, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/env_posix.rs:1123:9 [INFO] [stderr] | [INFO] [stderr] 1123 | result: *mut *mut Box) -> crate::Status { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/env_posix.rs:1163:9 [INFO] [stderr] | [INFO] [stderr] 1163 | filename: &String, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/env_posix.rs:1164:9 [INFO] [stderr] | [INFO] [stderr] 1164 | result: *mut *mut Box) -> crate::Status { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `function` [INFO] [stderr] --> src/env_posix.rs:1209:13 [INFO] [stderr] | [INFO] [stderr] 1209 | function: fn(arg: *mut c_void) -> c_void, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arg` [INFO] [stderr] --> src/env_posix.rs:1210:13 [INFO] [stderr] | [INFO] [stderr] 1210 | arg: *mut c_void) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> src/env_posix.rs:1237:42 [INFO] [stderr] | [INFO] [stderr] 1237 | pub fn background_thread_entry_point(env: *mut PosixEnv) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `background_work_function` [INFO] [stderr] --> src/env_posix.rs:1288:9 [INFO] [stderr] | [INFO] [stderr] 1288 | background_work_function: fn(background_work_arg: *mut c_void) -> c_void, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_background_work_function` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `background_work_arg` [INFO] [stderr] --> src/env_posix.rs:1289:9 [INFO] [stderr] | [INFO] [stderr] 1289 | background_work_arg: *mut c_void) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_background_work_arg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `read_only_file_limit` [INFO] [stderr] --> src/env_posix_test.rs:241:9 [INFO] [stderr] | [INFO] [stderr] 241 | read_only_file_limit: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_only_file_limit` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mmap_limit` [INFO] [stderr] --> src/env_posix_test.rs:242:9 [INFO] [stderr] | [INFO] [stderr] 242 | mmap_limit: i32) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mmap_limit` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `argc` [INFO] [stderr] --> src/env_posix_test.rs:438:9 [INFO] [stderr] | [INFO] [stderr] 438 | argc: i32, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `argv` [INFO] [stderr] --> src/env_posix_test.rs:439:9 [INFO] [stderr] | [INFO] [stderr] 439 | argv: *mut *mut u8) -> i32 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `limit` [INFO] [stderr] --> src/env_posix_test.rs:480:46 [INFO] [stderr] | [INFO] [stderr] 480 | pub fn set_read_only_fd_limit(&mut self, limit: i32) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `limit` [INFO] [stderr] --> src/env_posix_test.rs:495:48 [INFO] [stderr] | [INFO] [stderr] 495 | pub fn set_read_only_mmap_limit(&mut self, limit: i32) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stderr] [INFO] [stderr] warning: fields `fd` and `filename` are never read [INFO] [stderr] --> src/env_posix.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 74 | pub struct PosixSequentialFile { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] 75 | fd: i32, [INFO] [stderr] | ^^ [INFO] [stderr] 76 | filename: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `has_permanent_fd`, `fd`, `fd_limiter`, and `filename` are never read [INFO] [stderr] --> src/env_posix.rs:174:5 [INFO] [stderr] | [INFO] [stderr] 167 | pub struct PosixRandomAccessFile { [INFO] [stderr] | --------------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 174 | has_permanent_fd: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 180 | fd: i32, [INFO] [stderr] | ^^ [INFO] [stderr] 181 | [INFO] [stderr] 182 | fd_limiter: *const Limiter, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 183 | filename: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `mmap_base`, `length`, `mmap_limiter`, and `filename` are never read [INFO] [stderr] --> src/env_posix.rs:289:5 [INFO] [stderr] | [INFO] [stderr] 288 | pub struct PosixMmapReadableFile { [INFO] [stderr] | --------------------- fields in this struct [INFO] [stderr] 289 | mmap_base: *const u8, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 290 | length: usize, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 291 | mmap_limiter: *const Limiter, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 292 | filename: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `buf`, `pos`, `fd`, `is_manifest`, `filename`, and `dirname` are never read [INFO] [stderr] --> src/env_posix.rs:378:5 [INFO] [stderr] | [INFO] [stderr] 371 | pub struct PosixWritableFile { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 378 | buf: [u8; WRITABLE_FILE_BUFFER_SIZE], [INFO] [stderr] | ^^^ [INFO] [stderr] 379 | [INFO] [stderr] 380 | pos: usize, [INFO] [stderr] | ^^^ [INFO] [stderr] 381 | fd: i32, [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 388 | is_manifest: bool, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 389 | [INFO] [stderr] 390 | filename: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 396 | dirname: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `fd` and `filename` are never read [INFO] [stderr] --> src/env_posix.rs:709:5 [INFO] [stderr] | [INFO] [stderr] 708 | pub struct PosixFileLock { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 709 | fd: i32, [INFO] [stderr] | ^^ [INFO] [stderr] 710 | filename: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `mu` is never read [INFO] [stderr] --> src/env_posix.rs:760:5 [INFO] [stderr] | [INFO] [stderr] 759 | pub struct PosixLockTable { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 760 | mu: Mutex, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: fields `background_work_mutex`, `locks`, `mmap_limiter`, and `fd_limiter` are never read [INFO] [stderr] --> src/env_posix.rs:800:5 [INFO] [stderr] | [INFO] [stderr] 798 | pub struct PosixEnv { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 799 | [INFO] [stderr] 800 | background_work_mutex: Mutex, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 806 | locks: PosixLockTable, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 812 | mmap_limiter: Limiter, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 818 | fd_limiter: Limiter, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `locked_files` is never read [INFO] [stderr] --> src/env_posix.rs:767:9 [INFO] [stderr] | [INFO] [stderr] 766 | pub struct Inner { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 767 | locked_files: HashSet, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `background_work_cv`, `started_background_thread`, and `background_work_queue` are never read [INFO] [stderr] --> src/env_posix.rs:1185:9 [INFO] [stderr] | [INFO] [stderr] 1184 | pub struct BackgroundWork { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 1185 | background_work_cv: Condvar, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 1186 | started_background_thread: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 1187 | background_work_queue: SegQueue, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `function` and `arg` are never read [INFO] [stderr] --> src/env_posix.rs:1202:9 [INFO] [stderr] | [INFO] [stderr] 1201 | pub struct BackgroundWorkItem { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] 1202 | function: fn(_0: *mut c_void) -> c_void, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 1203 | arg: *const c_void, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `READ_ONLY_FILE_LIMIT` is never used [INFO] [stderr] --> src/env_posix_test.rs:219:7 [INFO] [stderr] | [INFO] [stderr] 219 | const READ_ONLY_FILE_LIMIT: i32 = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MMAP_LIMIT` is never used [INFO] [stderr] --> src/env_posix_test.rs:220:7 [INFO] [stderr] | [INFO] [stderr] 220 | const MMAP_LIMIT: i32 = 4; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `env` is never read [INFO] [stderr] --> src/env_posix_test.rs:223:5 [INFO] [stderr] | [INFO] [stderr] 222 | struct EnvPosixTest { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 223 | env: Rc>, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `set_file_limits` is never used [INFO] [stderr] --> src/env_posix_test.rs:240:8 [INFO] [stderr] | [INFO] [stderr] 238 | impl EnvPosixTest { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 239 | [INFO] [stderr] 240 | fn set_file_limits( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `testenv_posix_test_main` is never used [INFO] [stderr] --> src/env_posix_test.rs:437:4 [INFO] [stderr] | [INFO] [stderr] 437 | fn testenv_posix_test_main ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `EnvPosixTestHelper` is never constructed [INFO] [stderr] --> src/env_posix_test.rs:468:8 [INFO] [stderr] | [INFO] [stderr] 468 | struct EnvPosixTestHelper { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `set_read_only_fd_limit` and `set_read_only_mmap_limit` are never used [INFO] [stderr] --> src/env_posix_test.rs:480:12 [INFO] [stderr] | [INFO] [stderr] 472 | impl EnvPosixTestHelper { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 480 | pub fn set_read_only_fd_limit(&mut self, limit: i32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 495 | pub fn set_read_only_mmap_limit(&mut self, limit: i32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bitcoinleveldb-posix` (lib) generated 97 warnings (run `cargo fix --lib -p bitcoinleveldb-posix` to apply 78 suggestions) [INFO] [stderr] warning: `bitcoinleveldb-posix` (lib test) generated 97 warnings (97 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bitcoinleveldb_posix-4e65cd044bf76ad9) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test env_posix_test::env_posix_test_open_on_read ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- env_posix_test::env_posix_test_open_on_read stdout ---- [INFO] [stdout] thread 'env_posix_test::env_posix_test_open_on_read' panicked at src/env_posix_test.rs:253:5: [INFO] [stdout] not yet implemented [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x555622186d2c - std::backtrace_rs::backtrace::libunwind::trace::he911f9c907837597 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x555622186d2c - std::backtrace_rs::backtrace::trace_unsynchronized::hb30926ceb4a5ace8 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x555622186d2c - std::sys_common::backtrace::_print_fmt::h20b4c3cb4b8e01de [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x555622186d2c - ::fmt::hcb347474accdbb50 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x5556221b0920 - core::fmt::rt::Argument::fmt::h0959df1f48ddd7a2 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x5556221b0920 - core::fmt::write::hb02961b4380cf4e7 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x5556221847ff - std::io::Write::write_fmt::h529bf90db5fd4c64 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/io/mod.rs:1810:15 [INFO] [stdout] 7: 0x555622186b14 - std::sys_common::backtrace::_print::h9f31dc4772e05e46 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x555622186b14 - std::sys_common::backtrace::print::he1974c4a8ca14219 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x555622188847 - std::panicking::default_hook::{{closure}}::h9663c9f0f27e933c [INFO] [stdout] 10: 0x555622188533 - std::panicking::default_hook::h232155e937189ed1 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x555622158f37 - as core::ops::function::Fn>::call::h30a8b128ee88d398 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/alloc/src/boxed.rs:2029:9 [INFO] [stdout] 12: 0x555622158f37 - test::test_main::{{closure}}::hcafb25d50378ac2e [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/test/src/lib.rs:138:21 [INFO] [stdout] 13: 0x555622188e58 - as core::ops::function::Fn>::call::hb0500737c93e9fc8 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/alloc/src/boxed.rs:2029:9 [INFO] [stdout] 14: 0x555622188e58 - std::panicking::rust_panic_with_hook::hc8764d1694e821a7 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panicking.rs:783:13 [INFO] [stdout] 15: 0x555622188b79 - std::panicking::begin_panic_handler::{{closure}}::hf3ed629468815f4d [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panicking.rs:649:13 [INFO] [stdout] 16: 0x5556221871f6 - std::sys_common::backtrace::__rust_end_short_backtrace::h4e08af68b8432e1a [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x555622188912 - rust_begin_unwind [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panicking.rs:645:5 [INFO] [stdout] 18: 0x555622123ce5 - core::panicking::panic_fmt::hd274135c92cc1bf8 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x555622123da3 - core::panicking::panic::hdb514ca351aed0df [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/core/src/panicking.rs:144:5 [INFO] [stdout] 20: 0x5556221249dd - bitcoinleveldb_posix::env_posix_test::env_posix_test_open_on_read::h0263be869f112f7c [INFO] [stdout] at /opt/rustwide/workdir/src/env_posix_test.rs:253:5 [INFO] [stdout] 21: 0x5556221249a7 - bitcoinleveldb_posix::env_posix_test::env_posix_test_open_on_read::{{closure}}::heeb51f9b26aae1fa [INFO] [stdout] at /opt/rustwide/workdir/src/env_posix_test.rs:252:41 [INFO] [stdout] 22: 0x555622124746 - core::ops::function::FnOnce::call_once::h476e18b0d695f0da [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x55562215e62f - core::ops::function::FnOnce::call_once::he101e5838844b848 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x55562215e62f - test::__rust_begin_short_backtrace::hed21417c1aa71a94 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/test/src/lib.rs:627:18 [INFO] [stdout] 25: 0x55562215d5a5 - test::run_test_in_process::{{closure}}::h46df11f5a11dd433 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/test/src/lib.rs:650:60 [INFO] [stdout] 26: 0x55562215d5a5 - as core::ops::function::FnOnce<()>>::call_once::ha2e64525433f53a7 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x55562215d5a5 - std::panicking::try::do_call::hb1d734fe97663a7f [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panicking.rs:552:40 [INFO] [stdout] 28: 0x55562215d5a5 - std::panicking::try::h9d066276df30f924 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panicking.rs:516:19 [INFO] [stdout] 29: 0x55562215d5a5 - std::panic::catch_unwind::heaada02e29cd999e [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panic.rs:142:14 [INFO] [stdout] 30: 0x55562215d5a5 - test::run_test_in_process::hcb05ee14075e628d [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/test/src/lib.rs:650:27 [INFO] [stdout] 31: 0x55562215d5a5 - test::run_test::{{closure}}::hf9413b0f448cd684 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/test/src/lib.rs:573:43 [INFO] [stdout] 32: 0x5556221257e6 - test::run_test::{{closure}}::h1bb15d2e8774a33f [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/test/src/lib.rs:601:41 [INFO] [stdout] 33: 0x5556221257e6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h530f23a50d8639c1 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 34: 0x55562212a9c7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h37b8455d57d25f70 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 35: 0x55562212a9c7 - as core::ops::function::FnOnce<()>>::call_once::h3867791011bf949d [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x55562212a9c7 - std::panicking::try::do_call::h1cac0f1203e6219b [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panicking.rs:552:40 [INFO] [stdout] 37: 0x55562212a9c7 - std::panicking::try::h82de9f14e7a5f0ca [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panicking.rs:516:19 [INFO] [stdout] 38: 0x55562212a9c7 - std::panic::catch_unwind::hcea1081d521eaa80 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/panic.rs:142:14 [INFO] [stdout] 39: 0x55562212a9c7 - std::thread::Builder::spawn_unchecked_::{{closure}}::ha7aa8f4eaae79bb5 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 40: 0x55562212a9c7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h5c1a4829e968af7c [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x55562218d8b5 - as core::ops::function::FnOnce>::call_once::h6cea6bfb156e0019 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 42: 0x55562218d8b5 - as core::ops::function::FnOnce>::call_once::h3c499441c8da3187 [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 43: 0x55562218d8b5 - std::sys::unix::thread::Thread::new::thread_start::h45692980afba103a [INFO] [stdout] at /rustc/5e4273472e1b2f223618a9b3def795f6224f241d/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 44: 0x7f1d86296ac3 - [INFO] [stdout] 45: 0x7f1d86327bf4 - __clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] env_posix_test::env_posix_test_open_on_read [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "d66d482539f0ef7b303743b41037ed4dcad4dab9cf86a0f633e4493d72600727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d66d482539f0ef7b303743b41037ed4dcad4dab9cf86a0f633e4493d72600727", kill_on_drop: false }` [INFO] [stdout] d66d482539f0ef7b303743b41037ed4dcad4dab9cf86a0f633e4493d72600727