[INFO] fetching crate serde-encrypt 0.7.0... [INFO] building serde-encrypt-0.7.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [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 c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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 postcard v0.7.3 [INFO] [stderr] Downloaded crypto_box v0.6.1 [INFO] [stderr] Downloaded salsa20 v0.8.1 [INFO] [stderr] Downloaded xsalsa20poly1305 v0.7.2 [INFO] [stderr] Downloaded chacha20 v0.7.3 [INFO] [stderr] Downloaded chacha20poly1305 v0.8.2 [INFO] [stderr] Downloaded poly1305 v0.7.2 [INFO] [stderr] Downloaded x25519-dalek v1.2.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80fa03e5217088be16f6fa510eff4f19a61e06739269f187fa410e7bdf1c4101 [INFO] running `Command { std: "docker" "start" "-a" "80fa03e5217088be16f6fa510eff4f19a61e06739269f187fa410e7bdf1c4101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80fa03e5217088be16f6fa510eff4f19a61e06739269f187fa410e7bdf1c4101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80fa03e5217088be16f6fa510eff4f19a61e06739269f187fa410e7bdf1c4101", kill_on_drop: false }` [INFO] [stdout] 80fa03e5217088be16f6fa510eff4f19a61e06739269f187fa410e7bdf1c4101 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47a444581571e1b755060e9ef6b117c710a4224af92fe175fbb98178adb77002 [INFO] running `Command { std: "docker" "start" "-a" "47a444581571e1b755060e9ef6b117c710a4224af92fe175fbb98178adb77002", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling postcard-cobs v0.1.5-pre [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling spin v0.9.8 [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 zeroize v1.3.0 [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 x25519-dalek v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [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 xsalsa20poly1305 v0.7.2 [INFO] [stderr] Compiling chacha20poly1305 v0.8.2 [INFO] [stderr] Compiling crypto_box v0.6.1 [INFO] [stderr] Compiling serde-encrypt-core v0.7.0 [INFO] [stderr] Compiling serde v1.0.228 [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 serde-encrypt v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.96s [INFO] running `Command { std: "docker" "inspect" "47a444581571e1b755060e9ef6b117c710a4224af92fe175fbb98178adb77002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47a444581571e1b755060e9ef6b117c710a4224af92fe175fbb98178adb77002", kill_on_drop: false }` [INFO] [stdout] 47a444581571e1b755060e9ef6b117c710a4224af92fe175fbb98178adb77002 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0971cfe66e056a6f6f365bcff6d7e3329bfefee9d7b68c729249b8cf5d2ceacf [INFO] running `Command { std: "docker" "start" "-a" "0971cfe66e056a6f6f365bcff6d7e3329bfefee9d7b68c729249b8cf5d2ceacf", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.145 [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: 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: 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_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 6.81s [INFO] running `Command { std: "docker" "inspect" "0971cfe66e056a6f6f365bcff6d7e3329bfefee9d7b68c729249b8cf5d2ceacf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0971cfe66e056a6f6f365bcff6d7e3329bfefee9d7b68c729249b8cf5d2ceacf", kill_on_drop: false }` [INFO] [stdout] 0971cfe66e056a6f6f365bcff6d7e3329bfefee9d7b68c729249b8cf5d2ceacf