[INFO] fetching crate privatebox 0.1.1... [INFO] testing privatebox-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate privatebox 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate privatebox 0.1.1 [INFO] finished tweaking crates.io crate privatebox 0.1.1 [INFO] tweaked toml for crates.io crate privatebox 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate privatebox 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 27 packages to latest compatible versions [INFO] [stderr] Adding chacha20poly1305 v0.8.2 (available: v0.10.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8cea3c585e76207103b39cefdc91c374d88e551bde58abc1ebcde3f7e1e5eb97 [INFO] running `Command { std: "docker" "start" "-a" "8cea3c585e76207103b39cefdc91c374d88e551bde58abc1ebcde3f7e1e5eb97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cea3c585e76207103b39cefdc91c374d88e551bde58abc1ebcde3f7e1e5eb97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cea3c585e76207103b39cefdc91c374d88e551bde58abc1ebcde3f7e1e5eb97", kill_on_drop: false }` [INFO] [stdout] 8cea3c585e76207103b39cefdc91c374d88e551bde58abc1ebcde3f7e1e5eb97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2032fa2fc34baa03c560fe784bae2c5a75b97f9ec6e340be481a59f2a294a3cc [INFO] running `Command { std: "docker" "start" "-a" "2032fa2fc34baa03c560fe784bae2c5a75b97f9ec6e340be481a59f2a294a3cc", kill_on_drop: false }` [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling chacha20 v0.7.3 [INFO] [stderr] Compiling poly1305 v0.7.2 [INFO] [stderr] Compiling chacha20poly1305 v0.8.2 [INFO] [stderr] Compiling privatebox v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(docs_rs, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:405:16 [INFO] [stdout] | [INFO] [stdout] 405 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc"))))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:456:16 [INFO] [stdout] | [INFO] [stdout] 456 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc"))))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:512:16 [INFO] [stdout] | [INFO] [stdout] 512 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc"))))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.86s [INFO] running `Command { std: "docker" "inspect" "2032fa2fc34baa03c560fe784bae2c5a75b97f9ec6e340be481a59f2a294a3cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2032fa2fc34baa03c560fe784bae2c5a75b97f9ec6e340be481a59f2a294a3cc", kill_on_drop: false }` [INFO] [stdout] 2032fa2fc34baa03c560fe784bae2c5a75b97f9ec6e340be481a59f2a294a3cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1bcac81a4fd87b95fc01ea10fb56aca750cdd683c9caee608afd20074884fc3 [INFO] running `Command { std: "docker" "start" "-a" "d1bcac81a4fd87b95fc01ea10fb56aca750cdd683c9caee608afd20074884fc3", kill_on_drop: false }` [INFO] [stderr] Compiling privatebox v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(docs_rs, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:405:16 [INFO] [stdout] | [INFO] [stdout] 405 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc"))))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:456:16 [INFO] [stdout] | [INFO] [stdout] 456 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc"))))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:512:16 [INFO] [stdout] | [INFO] [stdout] 512 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc"))))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(docs_rs, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:405:16 [INFO] [stdout] | [INFO] [stdout] 405 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc"))))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:456:16 [INFO] [stdout] | [INFO] [stdout] 456 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc"))))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stdout] --> src/lib.rs:512:16 [INFO] [stdout] | [INFO] [stdout] 512 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc"))))] [INFO] [stdout] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/lib.rs:545:28 [INFO] [stdout] | [INFO] [stdout] 545 | let message_size = std::usize::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_docs, unused_qualifications)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 545 - let message_size = std::usize::MAX; [INFO] [stdout] 545 + let message_size = usize::MAX; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/lib.rs:546:27 [INFO] [stdout] | [INFO] [stdout] 546 | let header_size = std::usize::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 546 - let header_size = std::usize::MAX; [INFO] [stdout] 546 + let header_size = usize::MAX; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "d1bcac81a4fd87b95fc01ea10fb56aca750cdd683c9caee608afd20074884fc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1bcac81a4fd87b95fc01ea10fb56aca750cdd683c9caee608afd20074884fc3", kill_on_drop: false }` [INFO] [stdout] d1bcac81a4fd87b95fc01ea10fb56aca750cdd683c9caee608afd20074884fc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 490b4d77528eff0b70f3b90a59b51773df088827ac9eab7a4ae6860f10bc9429 [INFO] running `Command { std: "docker" "start" "-a" "490b4d77528eff0b70f3b90a59b51773df088827ac9eab7a4ae6860f10bc9429", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stderr] --> src/lib.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | #![cfg_attr(docs_rs, feature(doc_cfg))] [INFO] [stderr] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stderr] --> src/lib.rs:405:16 [INFO] [stderr] | [INFO] [stderr] 405 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc"))))] [INFO] [stderr] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stderr] --> src/lib.rs:456:16 [INFO] [stderr] | [INFO] [stderr] 456 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc"))))] [INFO] [stderr] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `docs_rs` [INFO] [stderr] --> src/lib.rs:512:16 [INFO] [stderr] | [INFO] [stderr] 512 | #[cfg_attr(docs_rs, doc(cfg(any(feature = "alloc"))))] [INFO] [stderr] | ^^^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `privatebox` (lib) generated 4 warnings [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/lib.rs:545:28 [INFO] [stderr] | [INFO] [stderr] 545 | let message_size = std::usize::MAX; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:2:23 [INFO] [stderr] | [INFO] [stderr] 2 | #![warn(missing_docs, unused_qualifications)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 545 - let message_size = std::usize::MAX; [INFO] [stderr] 545 + let message_size = usize::MAX; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/lib.rs:546:27 [INFO] [stderr] | [INFO] [stderr] 546 | let header_size = std::usize::MAX; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 546 - let header_size = std::usize::MAX; [INFO] [stderr] 546 + let header_size = usize::MAX; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `privatebox` (lib test) generated 6 warnings (4 duplicates) (run `cargo fix --lib -p privatebox --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/privatebox-c521bcae34edfc49) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test tests::datasizes_new ... ok [INFO] [stdout] test tests::datasizes_deserialize ... ok [INFO] [stdout] test tests::datasizes_serialize ... ok [INFO] [stdout] test tests::prefix_deserialize ... ok [INFO] [stdout] test tests::prefix_serialize ... ok [INFO] [stdout] test tests::privatebox_decrypt_wrong_sizes ... ok [INFO] [stdout] test tests::privatebox_header ... ok [INFO] [stdout] test tests::privatebox_new ... ok [INFO] [stdout] test tests::privatebox_wrap ... ok [INFO] [stdout] test tests::privatebox_wrap_unwrap ... ok [INFO] [stdout] test tests::privatebox_decrypt_detached ... ok [INFO] [stdout] test tests::privatebox_unwrap_short_bad ... ok [INFO] [stdout] test tests::readme_test ... ok [INFO] [stdout] test tests::privatebox_wrap_unwrap_corrupted ... ok [INFO] [stdout] test tests::prefix_new ... ok [INFO] [stdout] test tests::privatebox_encrypt_decrypt ... ok [INFO] [stdout] test tests::privatebox_encrypt_detached ... ok [INFO] [stdout] test tests::privatebox_unwrap_larger_ok ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Doc-tests privatebox [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - (line 19) ... ok [INFO] [stdout] test src/lib.rs - (line 35) ... ok [INFO] [stdout] test src/lib.rs - PrivateBox (line 230) ... ok [INFO] [stdout] test src/lib.rs - PrivateBox::decrypt (line 435) ... ok [INFO] [stdout] test src/lib.rs - PrivateBox::decrypt_detached (line 348) ... ok [INFO] [stdout] test src/lib.rs - PrivateBox::new (line 274) ... ok [INFO] [stdout] test src/lib.rs - (line 63) ... ok [INFO] [stdout] test src/lib.rs - PrivateBox::encrypt_detached (line 307) ... ok [INFO] [stdout] test src/lib.rs - PrivateBox::encrypt (line 389) ... ok [INFO] [stdout] test src/lib.rs - PrivateBox::parse_insecure_header (line 495) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.11s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "490b4d77528eff0b70f3b90a59b51773df088827ac9eab7a4ae6860f10bc9429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "490b4d77528eff0b70f3b90a59b51773df088827ac9eab7a4ae6860f10bc9429", kill_on_drop: false }` [INFO] [stdout] 490b4d77528eff0b70f3b90a59b51773df088827ac9eab7a4ae6860f10bc9429