[INFO] fetching crate serde-encrypt 0.7.0... [INFO] building serde-encrypt-0.7.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate serde-encrypt 0.7.0 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate serde-encrypt 0.7.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 56 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82f84c3f3e76c25cf92fb05ddc835a3978377888f7883e2ea2ec860c7be01463 [INFO] running `Command { std: "docker" "start" "-a" "82f84c3f3e76c25cf92fb05ddc835a3978377888f7883e2ea2ec860c7be01463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82f84c3f3e76c25cf92fb05ddc835a3978377888f7883e2ea2ec860c7be01463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82f84c3f3e76c25cf92fb05ddc835a3978377888f7883e2ea2ec860c7be01463", kill_on_drop: false }` [INFO] [stdout] 82f84c3f3e76c25cf92fb05ddc835a3978377888f7883e2ea2ec860c7be01463 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e26990b632849a27c221ff982061fddf39698cbd07a24580d5c014f6120b1f9 [INFO] running `Command { std: "docker" "start" "-a" "2e26990b632849a27c221ff982061fddf39698cbd07a24580d5c014f6120b1f9", kill_on_drop: false }` [INFO] [stderr] Compiling subtle v2.4.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 generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling postcard v0.7.3 [INFO] [stderr] Compiling rand_core v0.6.4 [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 poly1305 v0.7.2 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling chacha20 v0.7.3 [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-encrypt v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.05s [INFO] running `Command { std: "docker" "inspect" "2e26990b632849a27c221ff982061fddf39698cbd07a24580d5c014f6120b1f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e26990b632849a27c221ff982061fddf39698cbd07a24580d5c014f6120b1f9", kill_on_drop: false }` [INFO] [stdout] 2e26990b632849a27c221ff982061fddf39698cbd07a24580d5c014f6120b1f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22515bd6fc34c607c083b27202355e40fe529ed7c63877f5a0810ed3bffdd828 [INFO] running `Command { std: "docker" "start" "-a" "22515bd6fc34c607c083b27202355e40fe529ed7c63877f5a0810ed3bffdd828", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling memchr v2.7.6 [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_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: 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: 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: 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] [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.45s [INFO] running `Command { std: "docker" "inspect" "22515bd6fc34c607c083b27202355e40fe529ed7c63877f5a0810ed3bffdd828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22515bd6fc34c607c083b27202355e40fe529ed7c63877f5a0810ed3bffdd828", kill_on_drop: false }` [INFO] [stdout] 22515bd6fc34c607c083b27202355e40fe529ed7c63877f5a0810ed3bffdd828