[INFO] fetching crate serde-encrypt 0.7.0... [INFO] checking serde-encrypt-0.7.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate serde-encrypt 0.7.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate serde-encrypt 0.7.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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 aead v0.4.3 (available: v0.5.2) [INFO] [stderr] Adding chacha20 v0.7.3 (available: v0.9.1) [INFO] [stderr] Adding chacha20poly1305 v0.8.2 (available: v0.10.1) [INFO] [stderr] Adding cipher v0.3.0 (available: v0.4.4) [INFO] [stderr] Adding crypto_box v0.6.1 (available: v0.9.1) [INFO] [stderr] Adding curve25519-dalek v3.2.1 (available: v4.1.3) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding half v1.8.3 (available: v2.4.1) [INFO] [stderr] Adding poly1305 v0.7.2 (available: v0.8.0) [INFO] [stderr] Adding postcard v0.7.3 (available: v1.0.10) [INFO] [stderr] Adding postcard-cobs v0.1.5-pre (available: v0.2.0) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding salsa20 v0.8.1 (available: v0.10.2) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding universal-hash v0.4.1 (available: v0.5.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding x25519-dalek v1.2.0 (available: v2.0.1) [INFO] [stderr] Adding xsalsa20poly1305 v0.7.2 (available: v0.9.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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11f7d0a30b5d835df163d71a2745baf026af877c456c12b6155c22c9a2b1f3a8 [INFO] running `Command { std: "docker" "start" "-a" "11f7d0a30b5d835df163d71a2745baf026af877c456c12b6155c22c9a2b1f3a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11f7d0a30b5d835df163d71a2745baf026af877c456c12b6155c22c9a2b1f3a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11f7d0a30b5d835df163d71a2745baf026af877c456c12b6155c22c9a2b1f3a8", kill_on_drop: false }` [INFO] [stdout] 11f7d0a30b5d835df163d71a2745baf026af877c456c12b6155c22c9a2b1f3a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58d315b0fec57369d3250e5e2aa1f9271379b13c71a8b9af29e4fc9e5d10c8b7 [INFO] running `Command { std: "docker" "start" "-a" "58d315b0fec57369d3250e5e2aa1f9271379b13c71a8b9af29e4fc9e5d10c8b7", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking postcard-cobs v0.1.5-pre [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking pretty_assertions v1.4.1 [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 poly1305 v0.7.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking salsa20 v0.8.1 [INFO] [stderr] Checking chacha20 v0.7.3 [INFO] [stderr] Checking zerocopy v0.7.35 [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 ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking serde-encrypt-core v0.7.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking postcard v0.7.3 [INFO] [stderr] Checking 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)]` 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)]` 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: 1 warning emitted [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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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_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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.65s [INFO] running `Command { std: "docker" "inspect" "58d315b0fec57369d3250e5e2aa1f9271379b13c71a8b9af29e4fc9e5d10c8b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58d315b0fec57369d3250e5e2aa1f9271379b13c71a8b9af29e4fc9e5d10c8b7", kill_on_drop: false }` [INFO] [stdout] 58d315b0fec57369d3250e5e2aa1f9271379b13c71a8b9af29e4fc9e5d10c8b7