[INFO] fetching crate bitcoinleveldb-posix 0.1.16-alpha.0... [INFO] testing bitcoinleveldb-posix-0.1.16-alpha.0 against master#d7bd9cd469ff6871420007f091ef52fc32d2ca99 for pr-121417 [INFO] extracting crate bitcoinleveldb-posix 0.1.16-alpha.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate bitcoinleveldb-posix 0.1.16-alpha.0 on toolchain d7bd9cd469ff6871420007f091ef52fc32d2ca99 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitcoinleveldb-limiter v0.1.16-alpha.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f60c89c1035e4134a72617ebdad2f84318526678b7d49e0adeb643b39b5fbdf [INFO] running `Command { std: "docker" "start" "-a" "4f60c89c1035e4134a72617ebdad2f84318526678b7d49e0adeb643b39b5fbdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f60c89c1035e4134a72617ebdad2f84318526678b7d49e0adeb643b39b5fbdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f60c89c1035e4134a72617ebdad2f84318526678b7d49e0adeb643b39b5fbdf", kill_on_drop: false }` [INFO] [stdout] 4f60c89c1035e4134a72617ebdad2f84318526678b7d49e0adeb643b39b5fbdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26323a0274340cdd2595513605d1f10292d0574f4c991f752f4e23ef73b27e4b [INFO] running `Command { std: "docker" "start" "-a" "26323a0274340cdd2595513605d1f10292d0574f4c991f752f4e23ef73b27e4b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling backtrace v0.3.69 [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 term v0.4.6 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling libloading v0.8.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [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/d7bd9cd469ff6871420007f091ef52fc32d2ca99/bin/rustc --crate-name syn --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.52/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=5073a236928ffd19 -C extra-filename=-5073a236928ffd19 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-9675dab333a2ba88.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-9a3c6f2abd5cb631.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] running `Command { std: "docker" "inspect" "26323a0274340cdd2595513605d1f10292d0574f4c991f752f4e23ef73b27e4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26323a0274340cdd2595513605d1f10292d0574f4c991f752f4e23ef73b27e4b", kill_on_drop: false }` [INFO] [stdout] 26323a0274340cdd2595513605d1f10292d0574f4c991f752f4e23ef73b27e4b [INFO] testing bitcoinleveldb-posix-0.1.16-alpha.0 against try#393ef12c970fbc7f294cd96c35cb76f9591bc1d6 for pr-121417 [INFO] extracting crate bitcoinleveldb-posix 0.1.16-alpha.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate bitcoinleveldb-posix 0.1.16-alpha.0 on toolchain 393ef12c970fbc7f294cd96c35cb76f9591bc1d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "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-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "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" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26aa6eb077a42828e9abe2ac8ec3ab26b19ba166d8ec8520a21c4d398d593a6f [INFO] running `Command { std: "docker" "start" "-a" "26aa6eb077a42828e9abe2ac8ec3ab26b19ba166d8ec8520a21c4d398d593a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26aa6eb077a42828e9abe2ac8ec3ab26b19ba166d8ec8520a21c4d398d593a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26aa6eb077a42828e9abe2ac8ec3ab26b19ba166d8ec8520a21c4d398d593a6f", kill_on_drop: false }` [INFO] [stdout] 26aa6eb077a42828e9abe2ac8ec3ab26b19ba166d8ec8520a21c4d398d593a6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b471753faa3c3b7f315e91d1f6f76857724cc9b21fc948f8c375ef2e36d2e48 [INFO] running `Command { std: "docker" "start" "-a" "1b471753faa3c3b7f315e91d1f6f76857724cc9b21fc948f8c375ef2e36d2e48", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling libloading v0.8.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-complex v0.4.5 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling cpp_build v0.5.9 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling qttypes v0.2.11 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Compiling qmetaobject v0.2.10 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [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 delegate v0.7.0 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling cpp v0.5.9 [INFO] [stderr] Compiling thiserror v1.0.57 [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 toml v0.4.10 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling deranged v0.3.11 [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 time v0.3.34 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling qt_ritual_common v0.4.0 [INFO] [stderr] Compiling ritual_build 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 libevent v0.1.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-comparator v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-filter 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-env v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-limiter 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` profile [unoptimized + debuginfo] target(s) in 1m 35s [INFO] running `Command { std: "docker" "inspect" "1b471753faa3c3b7f315e91d1f6f76857724cc9b21fc948f8c375ef2e36d2e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b471753faa3c3b7f315e91d1f6f76857724cc9b21fc948f8c375ef2e36d2e48", kill_on_drop: false }` [INFO] [stdout] 1b471753faa3c3b7f315e91d1f6f76857724cc9b21fc948f8c375ef2e36d2e48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea1c384c7ce77eba03486ea2815f474ac3acff33367ab2109f014a3f2b72acd9 [INFO] running `Command { std: "docker" "start" "-a" "ea1c384c7ce77eba03486ea2815f474ac3acff33367ab2109f014a3f2b72acd9", 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] [stderr] Compiling bitcoinleveldb-posix v0.1.16-alpha.0 (/opt/rustwide/workdir) [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] [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` profile [unoptimized + debuginfo] target(s) in 4.64s [INFO] running `Command { std: "docker" "inspect" "ea1c384c7ce77eba03486ea2815f474ac3acff33367ab2109f014a3f2b72acd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea1c384c7ce77eba03486ea2815f474ac3acff33367ab2109f014a3f2b72acd9", kill_on_drop: false }` [INFO] [stdout] ea1c384c7ce77eba03486ea2815f474ac3acff33367ab2109f014a3f2b72acd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 90a3973171f5abc95e48380188a16eb6cf288535e6beeee2cc80d627a4a9762c [INFO] running `Command { std: "docker" "start" "-a" "90a3973171f5abc95e48380188a16eb6cf288535e6beeee2cc80d627a4a9762c", 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 [INFO] [stderr] warning: `bitcoinleveldb-posix` (lib test) generated 97 warnings (97 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bitcoinleveldb_posix-d57fc3c42a0a5cd8) [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: 0x55e5ec4944e6 - std::backtrace_rs::backtrace::libunwind::trace::h5c10df0b519d962f [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x55e5ec4944e6 - std::backtrace_rs::backtrace::trace_unsynchronized::h56122ec150da225d [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e5ec4944e6 - std::sys_common::backtrace::_print_fmt::h8e5f02953967e039 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x55e5ec4944e6 - ::fmt::h736f584a9f3f7d78 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x55e5ec4bbd6c - core::fmt::rt::Argument::fmt::h0eca9e37bebd875b [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x55e5ec4bbd6c - core::fmt::write::h57172937379ae112 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x55e5ec491d0f - std::io::Write::write_fmt::h48e0063b56f825c3 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/io/mod.rs:1846:15 [INFO] [stdout] 7: 0x55e5ec494294 - std::sys_common::backtrace::_print::ha0fb9ef3018dd67f [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x55e5ec494294 - std::sys_common::backtrace::print::h97bc00c4f471ee58 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x55e5ec495f8b - std::panicking::default_hook::{{closure}}::had669b8c5eb766ef [INFO] [stdout] 10: 0x55e5ec495c5d - std::panicking::default_hook::hee79edbbfe503541 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x55e5ec465bf7 - as core::ops::function::Fn>::call::hbce7bcf7a5291663 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 12: 0x55e5ec465bf7 - test::test_main::{{closure}}::hbf7bf4b112234627 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x55e5ec4965c0 - as core::ops::function::Fn>::call::h283d0ebbebe64c72 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 14: 0x55e5ec4965c0 - std::panicking::rust_panic_with_hook::ha824647abef1aff2 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panicking.rs:786:13 [INFO] [stdout] 15: 0x55e5ec4962c9 - std::panicking::begin_panic_handler::{{closure}}::h34c7493359eae8d6 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panicking.rs:652:13 [INFO] [stdout] 16: 0x55e5ec4949c6 - std::sys_common::backtrace::__rust_end_short_backtrace::h8f5a11b92972236f [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x55e5ec496034 - rust_begin_unwind [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panicking.rs:648:5 [INFO] [stdout] 18: 0x55e5ec430865 - core::panicking::panic_fmt::h4f7dd4ba7fa8b3c9 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x55e5ec430923 - core::panicking::panic::h0d310bf121597424 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/core/src/panicking.rs:144:5 [INFO] [stdout] 20: 0x55e5ec4313dd - bitcoinleveldb_posix::env_posix_test::env_posix_test_open_on_read::h393acb787b84e2e5 [INFO] [stdout] at /opt/rustwide/workdir/src/env_posix_test.rs:253:5 [INFO] [stdout] 21: 0x55e5ec4313a7 - bitcoinleveldb_posix::env_posix_test::env_posix_test_open_on_read::{{closure}}::h6771a2ecd6aec800 [INFO] [stdout] at /opt/rustwide/workdir/src/env_posix_test.rs:252:41 [INFO] [stdout] 22: 0x55e5ec431076 - core::ops::function::FnOnce::call_once::hf0b2ba2ad4223042 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x55e5ec46b3ff - core::ops::function::FnOnce::call_once::h263d60e66e97ae21 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x55e5ec46b3ff - test::__rust_begin_short_backtrace::hfd27401b46e2c35b [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/test/src/lib.rs:620:18 [INFO] [stdout] 25: 0x55e5ec469f70 - test::run_test_in_process::{{closure}}::h6f15adc4862466a2 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/test/src/lib.rs:643:60 [INFO] [stdout] 26: 0x55e5ec469f70 - as core::ops::function::FnOnce<()>>::call_once::haaf085868eec590b [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x55e5ec469f70 - std::panicking::try::do_call::he863b9ffdd9dccd8 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panicking.rs:555:40 [INFO] [stdout] 28: 0x55e5ec469f70 - std::panicking::try::h00518ddc92157d69 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panicking.rs:519:19 [INFO] [stdout] 29: 0x55e5ec469f70 - std::panic::catch_unwind::ha54d881a3136a844 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panic.rs:142:14 [INFO] [stdout] 30: 0x55e5ec469f70 - test::run_test_in_process::he6969e4cdcd00ab9 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/test/src/lib.rs:643:27 [INFO] [stdout] 31: 0x55e5ec469f70 - test::run_test::{{closure}}::ha7bd2350e4208460 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/test/src/lib.rs:566:43 [INFO] [stdout] 32: 0x55e5ec432303 - test::run_test::{{closure}}::h7e4f6d8c61dc1fc5 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/test/src/lib.rs:594:41 [INFO] [stdout] 33: 0x55e5ec432303 - std::sys_common::backtrace::__rust_begin_short_backtrace::h7971b3168cdfe030 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 34: 0x55e5ec436f9f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h940fea02fa91722e [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/thread/mod.rs:528:17 [INFO] [stdout] 35: 0x55e5ec436f9f - as core::ops::function::FnOnce<()>>::call_once::hc9108612b0b55d6f [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x55e5ec436f9f - std::panicking::try::do_call::h088487cc7181ed41 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panicking.rs:555:40 [INFO] [stdout] 37: 0x55e5ec436f9f - std::panicking::try::hbe658ba86d10aeac [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panicking.rs:519:19 [INFO] [stdout] 38: 0x55e5ec436f9f - std::panic::catch_unwind::hbcfe75becdd3312a [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/panic.rs:142:14 [INFO] [stdout] 39: 0x55e5ec436f9f - std::thread::Builder::spawn_unchecked_::{{closure}}::h5da9b0997b04a0b6 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/thread/mod.rs:527:30 [INFO] [stdout] 40: 0x55e5ec436f9f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h282e25baa8bce548 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x55e5ec49a825 - as core::ops::function::FnOnce>::call_once::h7b00d7973698e306 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 42: 0x55e5ec49a825 - as core::ops::function::FnOnce>::call_once::ha210a4482bc8347c [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 43: 0x55e5ec49a825 - std::sys::pal::unix::thread::Thread::new::thread_start::h2e04f672130bcc99 [INFO] [stdout] at /rustc/393ef12c970fbc7f294cd96c35cb76f9591bc1d6/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 44: 0x7f86246efac3 - [INFO] [stdout] 45: 0x7f8624780bf4 - __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.01s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "90a3973171f5abc95e48380188a16eb6cf288535e6beeee2cc80d627a4a9762c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90a3973171f5abc95e48380188a16eb6cf288535e6beeee2cc80d627a4a9762c", kill_on_drop: false }` [INFO] [stdout] 90a3973171f5abc95e48380188a16eb6cf288535e6beeee2cc80d627a4a9762c