redactedsecret 0.4.1

This is a fork of the official Secrecy crate [https://github.com/iqlusioninc/crates/] Wrapper types and traits for secret management which help ensure they aren't accidentally copied, logged, or otherwise exposed (as much as possible), and also ensure secrets are securely wiped from memory when dropped.
Build #195299 2019-10-31T14:40:26.555155+00:00
# rustc version
rustc 1.40.0-nightly (c553e8e88 2019-10-30)
# docs.rs version
docsrs 0.6.0 (992c7e2 2019-10-30)

# build log
[INFO] running `"docker" "create" "-v" "/home/cratesfyi/workspace/builds/redactedsecret-0.4.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/redactedsecret-0.4.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1001" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=-Z unstable-options --resource-suffix -20191030-1.40.0-nightly-c553e8e88 --static-root-path / --disable-per-crate-search --extern-html-root-url zeroize=https://docs.rs/zeroize/1.0.0" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--lib" "--no-deps" "--target" "x86_64-unknown-linux-gnu" "--all-features"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 91b64ed794a8b998d83aee8fd08d8c4acea3d62be12314e90b04c885e7929ed8
[INFO] running `"docker" "start" "-a" "91b64ed794a8b998d83aee8fd08d8c4acea3d62be12314e90b04c885e7929ed8"`
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling serde v1.0.102
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking zeroize v1.0.0
[INFO] [stderr]  Documenting redactedsecret v0.4.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0277]: the trait bound `bytes::bytes::BytesMut: zeroize::DefaultIsZeroes` is not satisfied
[INFO] [stderr]   --> src/bytes.rs:78:6
[INFO] [stderr]    |
[INFO] [stderr] 78 | impl CloneableSecret for BytesMut {}
[INFO] [stderr]    |      ^^^^^^^^^^^^^^^ the trait `zeroize::DefaultIsZeroes` is not implemented for `bytes::bytes::BytesMut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: required because of the requirements on the impl of `zeroize::Zeroize` for `bytes::bytes::BytesMut`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0277`.
[INFO] [stderr] error: Could not document `redactedsecret`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name redactedsecret src/lib.rs --target x86_64-unknown-linux-gnu -o /opt/rustwide/target/x86_64-unknown-linux-gnu/doc --cfg 'feature="alloc"' --cfg 'feature="bytes"' --cfg 'feature="bytes_crate"' --cfg 'feature="default"' --cfg 'feature="serde"' --error-format=json --json=diagnostic-rendered-ansi -L dependency=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bytes_crate=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libbytes-1450d6e8cb13e2cc.rmeta --extern serde=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libserde-529d48780322fe91.rmeta --extern zeroize=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libzeroize-046600a7a12f11f3.rmeta -Z unstable-options --resource-suffix -20191030-1.40.0-nightly-c553e8e88 --static-root-path / --disable-per-crate-search --extern-html-root-url 'zeroize=https://docs.rs/zeroize/1.0.0'` (exit code: 1)
[INFO] running `"docker" "inspect" "91b64ed794a8b998d83aee8fd08d8c4acea3d62be12314e90b04c885e7929ed8"`
[INFO] running `"docker" "rm" "-f" "91b64ed794a8b998d83aee8fd08d8c4acea3d62be12314e90b04c885e7929ed8"`
[INFO] [stdout] 91b64ed794a8b998d83aee8fd08d8c4acea3d62be12314e90b04c885e7929ed8