[INFO] fetching crate serde-encrypt 0.7.0... [INFO] testing serde-encrypt-0.7.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate serde-encrypt 0.7.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate serde-encrypt 0.7.0 [INFO] finished tweaking crates.io crate serde-encrypt 0.7.0 [INFO] tweaked toml for crates.io crate serde-encrypt 0.7.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate serde-encrypt 0.7.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 55 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding postcard v0.7.3 (available: v1.1.3) [INFO] [stderr] Adding rand_chacha v0.3.1 (available: v0.9.0) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] [stderr] Adding spin v0.9.8 (available: v0.10.0) [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc64f37bba1c34eac6796fc337a62519f2b89e4057153bbb9736cf164148e6ad [INFO] running `Command { std: "docker" "start" "-a" "bc64f37bba1c34eac6796fc337a62519f2b89e4057153bbb9736cf164148e6ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc64f37bba1c34eac6796fc337a62519f2b89e4057153bbb9736cf164148e6ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc64f37bba1c34eac6796fc337a62519f2b89e4057153bbb9736cf164148e6ad", kill_on_drop: false }` [INFO] [stdout] bc64f37bba1c34eac6796fc337a62519f2b89e4057153bbb9736cf164148e6ad [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bcc671987342cf6d81db1fc6e22b0ba476cfd6d9f7f317d52f61e4c70c3c686 [INFO] running `Command { std: "docker" "start" "-a" "9bcc671987342cf6d81db1fc6e22b0ba476cfd6d9f7f317d52f61e4c70c3c686", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling postcard-cobs v0.1.5-pre [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling poly1305 v0.7.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling chacha20 v0.7.3 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling salsa20 v0.8.1 [INFO] [stderr] Compiling xsalsa20poly1305 v0.7.2 [INFO] [stderr] Compiling chacha20poly1305 v0.8.2 [INFO] [stderr] Compiling x25519-dalek v1.2.0 [INFO] [stderr] Compiling crypto_box v0.6.1 [INFO] [stderr] Compiling serde-encrypt-core v0.7.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling postcard v0.7.3 [INFO] [stderr] Compiling serde-encrypt v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.62s [INFO] running `Command { std: "docker" "inspect" "9bcc671987342cf6d81db1fc6e22b0ba476cfd6d9f7f317d52f61e4c70c3c686", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bcc671987342cf6d81db1fc6e22b0ba476cfd6d9f7f317d52f61e4c70c3c686", kill_on_drop: false }` [INFO] [stdout] 9bcc671987342cf6d81db1fc6e22b0ba476cfd6d9f7f317d52f61e4c70c3c686 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c56102780a0927982c664de1f2a1a9d990ed045d5014c0c8cc4cf8226028ede [INFO] running `Command { std: "docker" "start" "-a" "8c56102780a0927982c664de1f2a1a9d990ed045d5014c0c8cc4cf8226028ede", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling serde-encrypt v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde_encrypt_shared_key::*` [INFO] [stdout] --> tests/test_util/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use serde_encrypt_shared_key::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_encrypt_public_key::*` [INFO] [stdout] --> tests/test_util/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use serde_encrypt_public_key::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_encrypt_shared_key::*` [INFO] [stdout] --> tests/test_util/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use serde_encrypt_shared_key::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_encrypt_public_key::*` [INFO] [stdout] --> tests/test_util/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use serde_encrypt_public_key::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_encrypt_shared_key::*` [INFO] [stdout] --> tests/test_util/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use serde_encrypt_shared_key::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/feat_same_cipher_from_same_plain.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn test_serde_encrypt_shared_key_deterministic() { [INFO] [stdout] | ------------------------------------------------ move the `impl` block outside of this function `test_serde_encrypt_shared_key_deterministic` [INFO] [stdout] ... [INFO] [stdout] 22 | impl SerdeEncryptSharedKeyDeterministic for Message { [INFO] [stdout] | ^^^^^----------------------------------^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | `Message` is not local [INFO] [stdout] | `SerdeEncryptSharedKeyDeterministic` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/feat_large_message.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | fn test_serde_encrypt_public_key_large_message() { [INFO] [stdout] | ------------------------------------------------ move the `impl` block outside of this function `test_serde_encrypt_public_key_large_message` [INFO] [stdout] ... [INFO] [stdout] 26 | impl SerdeEncryptPublicKey for Message { [INFO] [stdout] | ^^^^^---------------------^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | `Message` is not local [INFO] [stdout] | `SerdeEncryptPublicKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/feat_large_message.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 35 | fn test_serde_encrypt_shared_key_large_message() { [INFO] [stdout] | ------------------------------------------------ move the `impl` block outside of this function `test_serde_encrypt_shared_key_large_message` [INFO] [stdout] ... [INFO] [stdout] 38 | impl SerdeEncryptSharedKey for Message { [INFO] [stdout] | ^^^^^---------------------^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | `Message` is not local [INFO] [stdout] | `SerdeEncryptSharedKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_encrypt_public_key::*` [INFO] [stdout] --> tests/test_util/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use serde_encrypt_public_key::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_encrypt_shared_key::*` [INFO] [stdout] --> tests/test_util/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use serde_encrypt_shared_key::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/feat_nostd.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 41 | fn test_serde_encrypt_public_key_nostd() -> Result<(), Error> { [INFO] [stdout] | ------------------------------------------------------------- move the `impl` block outside of this function `test_serde_encrypt_public_key_nostd` [INFO] [stdout] ... [INFO] [stdout] 44 | impl SerdeEncryptPublicKey for Users { [INFO] [stdout] | ^^^^^---------------------^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | `Users` is not local [INFO] [stdout] | `SerdeEncryptPublicKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/feat_nostd.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 70 | fn test_serde_encrypt_shared_key_nostd() -> Result<(), Error> { [INFO] [stdout] | ------------------------------------------------------------- move the `impl` block outside of this function `test_serde_encrypt_shared_key_nostd` [INFO] [stdout] ... [INFO] [stdout] 73 | impl SerdeEncryptSharedKey for Users { [INFO] [stdout] | ^^^^^---------------------^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | `Users` is not local [INFO] [stdout] | `SerdeEncryptSharedKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/feat_different_cipher_from_same_plain.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | fn test_serde_encrypt_public_key_in_a_process() { [INFO] [stdout] | ----------------------------------------------- move the `impl` block outside of this function `test_serde_encrypt_public_key_in_a_process` [INFO] [stdout] ... [INFO] [stdout] 26 | impl SerdeEncryptPublicKey for Message { [INFO] [stdout] | ^^^^^---------------------^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | `Message` is not local [INFO] [stdout] | `SerdeEncryptPublicKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/feat_different_cipher_from_same_plain.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 40 | fn test_serde_encrypt_shared_key_in_a_process() { [INFO] [stdout] | ----------------------------------------------- move the `impl` block outside of this function `test_serde_encrypt_shared_key_in_a_process` [INFO] [stdout] ... [INFO] [stdout] 43 | impl SerdeEncryptSharedKey for Message { [INFO] [stdout] | ^^^^^---------------------^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | `Message` is not local [INFO] [stdout] | `SerdeEncryptSharedKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.38s [INFO] running `Command { std: "docker" "inspect" "8c56102780a0927982c664de1f2a1a9d990ed045d5014c0c8cc4cf8226028ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c56102780a0927982c664de1f2a1a9d990ed045d5014c0c8cc4cf8226028ede", kill_on_drop: false }` [INFO] [stdout] 8c56102780a0927982c664de1f2a1a9d990ed045d5014c0c8cc4cf8226028ede [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 583bade0d09f676b6313cb9cf47f974bd63639b30530c837817e2256c5a21a7d [INFO] running `Command { std: "docker" "start" "-a" "583bade0d09f676b6313cb9cf47f974bd63639b30530c837817e2256c5a21a7d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `serde_encrypt_public_key::*` [INFO] [stderr] --> tests/test_util/mod.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub use serde_encrypt_public_key::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_encrypt_shared_key::*` [INFO] [stderr] --> tests/test_util/mod.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub use serde_encrypt_shared_key::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/feat_same_cipher_from_same_plain.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 19 | fn test_serde_encrypt_shared_key_deterministic() { [INFO] [stderr] | ------------------------------------------------ move the `impl` block outside of this function `test_serde_encrypt_shared_key_deterministic` [INFO] [stderr] ... [INFO] [stderr] 22 | impl SerdeEncryptSharedKeyDeterministic for Message { [INFO] [stderr] | ^^^^^----------------------------------^^^^^------- [INFO] [stderr] | | | [INFO] [stderr] | | `Message` is not local [INFO] [stderr] | `SerdeEncryptSharedKeyDeterministic` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/feat_nostd.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 41 | fn test_serde_encrypt_public_key_nostd() -> Result<(), Error> { [INFO] [stderr] | ------------------------------------------------------------- move the `impl` block outside of this function `test_serde_encrypt_public_key_nostd` [INFO] [stderr] ... [INFO] [stderr] 44 | impl SerdeEncryptPublicKey for Users { [INFO] [stderr] | ^^^^^---------------------^^^^^----- [INFO] [stderr] | | | [INFO] [stderr] | | `Users` is not local [INFO] [stderr] | `SerdeEncryptPublicKey` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/feat_nostd.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 70 | fn test_serde_encrypt_shared_key_nostd() -> Result<(), Error> { [INFO] [stderr] | ------------------------------------------------------------- move the `impl` block outside of this function `test_serde_encrypt_shared_key_nostd` [INFO] [stderr] ... [INFO] [stderr] 73 | impl SerdeEncryptSharedKey for Users { [INFO] [stderr] | ^^^^^---------------------^^^^^----- [INFO] [stderr] | | | [INFO] [stderr] | | `Users` is not local [INFO] [stderr] | `SerdeEncryptSharedKey` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/feat_different_cipher_from_same_plain.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 23 | fn test_serde_encrypt_public_key_in_a_process() { [INFO] [stderr] | ----------------------------------------------- move the `impl` block outside of this function `test_serde_encrypt_public_key_in_a_process` [INFO] [stderr] ... [INFO] [stderr] 26 | impl SerdeEncryptPublicKey for Message { [INFO] [stderr] | ^^^^^---------------------^^^^^------- [INFO] [stderr] | | | [INFO] [stderr] | | `Message` is not local [INFO] [stderr] | `SerdeEncryptPublicKey` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/feat_different_cipher_from_same_plain.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 40 | fn test_serde_encrypt_shared_key_in_a_process() { [INFO] [stderr] | ----------------------------------------------- move the `impl` block outside of this function `test_serde_encrypt_shared_key_in_a_process` [INFO] [stderr] ... [INFO] [stderr] 43 | impl SerdeEncryptSharedKey for Message { [INFO] [stderr] | ^^^^^---------------------^^^^^------- [INFO] [stderr] | | | [INFO] [stderr] | | `Message` is not local [INFO] [stderr] | `SerdeEncryptSharedKey` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_encrypt_shared_key::*` [INFO] [stderr] --> tests/test_util/mod.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub use serde_encrypt_shared_key::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/feat_large_message.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 23 | fn test_serde_encrypt_public_key_large_message() { [INFO] [stderr] | ------------------------------------------------ move the `impl` block outside of this function `test_serde_encrypt_public_key_large_message` [INFO] [stderr] ... [INFO] [stderr] 26 | impl SerdeEncryptPublicKey for Message { [INFO] [stderr] | ^^^^^---------------------^^^^^------- [INFO] [stderr] | | | [INFO] [stderr] | | `Message` is not local [INFO] [stderr] | `SerdeEncryptPublicKey` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/feat_large_message.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 35 | fn test_serde_encrypt_shared_key_large_message() { [INFO] [stderr] | ------------------------------------------------ move the `impl` block outside of this function `test_serde_encrypt_shared_key_large_message` [INFO] [stderr] ... [INFO] [stderr] 38 | impl SerdeEncryptSharedKey for Message { [INFO] [stderr] | ^^^^^---------------------^^^^^------- [INFO] [stderr] | | | [INFO] [stderr] | | `Message` is not local [INFO] [stderr] | `SerdeEncryptSharedKey` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] [INFO] [stderr] warning: `serde-encrypt` (test "feat_same_cipher_from_same_plain") generated 3 warnings (run `cargo fix --test "feat_same_cipher_from_same_plain"` to apply 2 suggestions) [INFO] [stderr] warning: `serde-encrypt` (test "feat_nostd") generated 4 warnings (2 duplicates) [INFO] [stderr] warning: `serde-encrypt` (test "feat_different_cipher_from_same_plain") generated 4 warnings (2 duplicates) [INFO] [stderr] warning: `serde-encrypt` (test "unit_plain_message_xxx_key") generated 1 warning (run `cargo fix --test "unit_plain_message_xxx_key"` to apply 1 suggestion) [INFO] [stderr] warning: `serde-encrypt` (test "feat_large_message") generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/serde_encrypt-53fe30a34736924f) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test serialize::impls::cbor_serializer::tests::test_cbor_serializer ... ok [INFO] [stdout] test serialize::impls::postcard_serializer::tests::test_postcard_serializer ... ok [INFO] [stdout] test serialize::impls::bincode_serializer::tests::test_bincode_serializer ... ok [INFO] [stdout] test shared_key::test::build_sharedkey_from_array ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stderr] Running tests/example_serde_encrypt_public_key_owned_data.rs (/opt/rustwide/target/debug/deps/example_serde_encrypt_public_key_owned_data-ae357ac6eb9d085e) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_serde_encrypt_public_key ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/example_serde_encrypt_public_key_struct_with_reference.rs (/opt/rustwide/target/debug/deps/example_serde_encrypt_public_key_struct_with_reference-92939b3631ec2783) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_serde_encrypt_public_key ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/example_serde_encrypt_shared_key_encryption_with_key_exchange.rs (/opt/rustwide/target/debug/deps/example_serde_encrypt_shared_key_encryption_with_key_exchange-b7509d3f96d0f347) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_serde_encrypt_public_key ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/example_serde_encrypt_shared_key_owned_data.rs (/opt/rustwide/target/debug/deps/example_serde_encrypt_shared_key_owned_data-cda4042e65713cec) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_serde_encrypt_shared_key ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/feat_different_cipher_from_same_plain.rs (/opt/rustwide/target/debug/deps/feat_different_cipher_from_same_plain-28a98ccabe662487) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_serde_encrypt_shared_key_in_a_process ... ok [INFO] [stdout] test test_serde_encrypt_public_key_in_a_process ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Running tests/feat_large_message.rs (/opt/rustwide/target/debug/deps/feat_large_message-b16572b331feb5f4) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_serde_encrypt_public_key_large_message ... ok [INFO] [stdout] test test_serde_encrypt_shared_key_large_message ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.79s [INFO] [stdout] [INFO] [stderr] Running tests/feat_nostd.rs (/opt/rustwide/target/debug/deps/feat_nostd-41c5297544597e40) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_serde_encrypt_shared_key_nostd ... ok [INFO] [stdout] test test_serde_encrypt_public_key_nostd ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/feat_same_cipher_from_same_plain.rs (/opt/rustwide/target/debug/deps/feat_same_cipher_from_same_plain-7114e918db772597) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_serde_encrypt_shared_key_deterministic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/feat_serde_types.rs (/opt/rustwide/target/debug/deps/feat_serde_types-3edfdd8d4a231827) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test test_convert_error_types ... ok [INFO] [stdout] test test_enum_untagged ... ok [INFO] [stdout] test test_skip_serializing_without_default ... ok [INFO] [stdout] test test_struct_with_reference_public_key ... ok [INFO] [stdout] test test_struct_with_reference_shared_key ... ok [INFO] [stdout] test test_enum_adjacently_tagged ... ok [INFO] [stdout] test test_serialize_enum_as_number ... ok [INFO] [stdout] test test_serialize_field_as_camel_case ... ok [INFO] [stdout] test test_primitive_type_fixed_len ... ok [INFO] [stdout] test test_enum ... ok [INFO] [stdout] test test_flatten ... ok [INFO] [stdout] test test_remote_crate_with_priv_fields ... ok [INFO] [stdout] test test_primitive_type_unbound_len ... ok [INFO] [stdout] test test_remote_crate ... ok [INFO] [stdout] test test_tuple_struct ... ok [INFO] [stdout] test test_skip_deserializing ... ok [INFO] [stdout] test test_skip_deserializing_and_custom_default ... ok [INFO] [stdout] test test_enum_tagged ... ok [INFO] [stdout] test test_string_or_struct ... ok [INFO] [stdout] test test_unit_struct ... ok [INFO] [stdout] test test_remote_crate_with_helper ... ok [INFO] [stdout] test test_skip_serializing_if ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running tests/feat_serializers.rs (/opt/rustwide/target/debug/deps/feat_serializers-f0d994fff3df612f) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_cbor_serializer ... ok [INFO] [stdout] test test_bincode_serializer ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/unit_plain_message_xxx_key.rs (/opt/rustwide/target/debug/deps/unit_plain_message_xxx_key-b81130fac17b1a68) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_decrypt_with_wrong_shared_key ... ok [INFO] [stdout] test test_decrypt_with_wrong_public_key ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests serde_encrypt [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "583bade0d09f676b6313cb9cf47f974bd63639b30530c837817e2256c5a21a7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "583bade0d09f676b6313cb9cf47f974bd63639b30530c837817e2256c5a21a7d", kill_on_drop: false }` [INFO] [stdout] 583bade0d09f676b6313cb9cf47f974bd63639b30530c837817e2256c5a21a7d