[INFO] fetching crate serde-encrypt 0.7.0... [INFO] checking serde-encrypt-0.7.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate serde-encrypt 0.7.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate serde-encrypt 0.7.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-encrypt-core v0.7.0 [INFO] [stderr] Downloaded salsa20 v0.8.1 [INFO] [stderr] Downloaded crypto_box v0.6.1 [INFO] [stderr] Downloaded xsalsa20poly1305 v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9b20a1aa6dfbdd96c818b5e4a2dee311860c376b71227b7aa9859f41614fb3a [INFO] running `Command { std: "docker" "start" "-a" "e9b20a1aa6dfbdd96c818b5e4a2dee311860c376b71227b7aa9859f41614fb3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9b20a1aa6dfbdd96c818b5e4a2dee311860c376b71227b7aa9859f41614fb3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9b20a1aa6dfbdd96c818b5e4a2dee311860c376b71227b7aa9859f41614fb3a", kill_on_drop: false }` [INFO] [stdout] e9b20a1aa6dfbdd96c818b5e4a2dee311860c376b71227b7aa9859f41614fb3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c732d1f8a184b570becdb1f98e64d1609cf42e6aadc897c4168da5fda7eb998e [INFO] running `Command { std: "docker" "start" "-a" "c732d1f8a184b570becdb1f98e64d1609cf42e6aadc897c4168da5fda7eb998e", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking postcard-cobs v0.1.5-pre [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking poly1305 v0.7.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking salsa20 v0.8.1 [INFO] [stderr] Checking chacha20 v0.7.3 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking xsalsa20poly1305 v0.7.2 [INFO] [stderr] Checking chacha20poly1305 v0.8.2 [INFO] [stderr] Checking x25519-dalek v1.2.0 [INFO] [stderr] Checking crypto_box v0.6.1 [INFO] [stderr] Checking serde-encrypt-core v0.7.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking postcard v0.7.3 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking serde-encrypt v0.7.0 (/opt/rustwide/workdir) [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)]` 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: 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)]` 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)]` 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)]` 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_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 `dev` profile [unoptimized + debuginfo] target(s) in 12.26s [INFO] running `Command { std: "docker" "inspect" "c732d1f8a184b570becdb1f98e64d1609cf42e6aadc897c4168da5fda7eb998e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c732d1f8a184b570becdb1f98e64d1609cf42e6aadc897c4168da5fda7eb998e", kill_on_drop: false }` [INFO] [stdout] c732d1f8a184b570becdb1f98e64d1609cf42e6aadc897c4168da5fda7eb998e