[INFO] fetching crate identity_iota_client 0.6.3... [INFO] checking identity_iota_client-0.6.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate identity_iota_client 0.6.3 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate identity_iota_client 0.6.3 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 identity_iota_client 0.6.3 [INFO] finished tweaking crates.io crate identity_iota_client 0.6.3 [INFO] tweaked toml for crates.io crate identity_iota_client 0.6.3 written to /workspace/builds/worker-0-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 239 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (available: v0.8.11) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bech32 v0.8.1 (available: v0.11.0) [INFO] [stderr] Adding bee-common v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding bee-message v0.1.7 (available: v0.2.0) [INFO] [stderr] Adding bee-pow v0.2.1 (available: v1.0.0) [INFO] [stderr] Adding bee-ternary v0.5.2 (available: v1.0.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding blake2 v0.9.2 (available: v0.10.6) [INFO] [stderr] Adding block-buffer v0.9.0 (available: v0.10.4) [INFO] [stderr] Adding brotli v3.5.0 (available: v6.0.0) [INFO] [stderr] Adding brotli-decompressor v2.5.1 (available: v4.0.1) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding colored v1.9.4 (available: v2.1.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding crypto-mac v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (available: v3.2.1) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding ed25519-zebra v2.2.0 (available: v4.0.3) [INFO] [stderr] Adding ed25519-zebra v3.1.0 (available: v4.0.3) [INFO] [stderr] Adding form_urlencoded v1.1.0 (available: v1.2.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding gloo-timers v0.2.6 (available: v0.3.0) [INFO] [stderr] Adding h2 v0.3.26 (available: v0.4.6) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding hmac v0.11.0 (available: v0.12.1) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (available: v1.4.1) [INFO] [stderr] Adding hyper-rustls v0.24.2 (available: v0.27.3) [INFO] [stderr] Adding identity_core v0.6.3 (available: v1.4.0) [INFO] [stderr] Adding identity_credential v0.6.3 (available: v1.4.0) [INFO] [stderr] Adding identity_did v0.6.3 (available: v1.4.0) [INFO] [stderr] Adding identity_iota_core v0.6.3 (available: v1.4.0) [INFO] [stderr] Adding idna v0.3.0 (available: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding iota-crypto v0.9.1 (available: v0.23.2) [INFO] [stderr] Adding iota-crypto v0.17.1 (available: v0.23.2) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding pbkdf2 v0.8.0 (available: v0.12.2) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.7) [INFO] [stderr] Adding roaring v0.9.0 (available: v0.10.6) [INFO] [stderr] Adding rustls v0.21.12 (available: v0.23.13) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (available: v2.1.3) [INFO] [stderr] Adding rustls-webpki v0.101.7 (available: v0.102.8) [INFO] [stderr] Adding ryu-js v0.2.2 (available: v1.0.1) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.8) [INFO] [stderr] Adding strsim v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding strum v0.24.1 (available: v0.26.3) [INFO] [stderr] Adding strum_macros v0.24.3 (available: v0.26.4) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding sync_wrapper v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding system-configuration v0.5.1 (available: v0.6.1) [INFO] [stderr] Adding system-configuration-sys v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding tokio-rustls v0.24.1 (available: v0.26.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding url v2.3.1 (available: v2.5.2) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding webpki-roots v0.25.4 (available: v0.26.6) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding winreg v0.50.0 (available: v0.52.0) [INFO] [stderr] Adding x25519-dalek v1.1.1 (available: v1.2.0) [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d99671d20e72c2877e5c9b744744801f7890fdea8fdccd78c6704dabf2d2cd78 [INFO] running `Command { std: "docker" "start" "-a" "d99671d20e72c2877e5c9b744744801f7890fdea8fdccd78c6704dabf2d2cd78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d99671d20e72c2877e5c9b744744801f7890fdea8fdccd78c6704dabf2d2cd78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d99671d20e72c2877e5c9b744744801f7890fdea8fdccd78c6704dabf2d2cd78", kill_on_drop: false }` [INFO] [stdout] d99671d20e72c2877e5c9b744744801f7890fdea8fdccd78c6704dabf2d2cd78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f39e960588d4553e0dd003ad6c62e074425a9f01abca5b6aaabcbd28cd6bd436 [INFO] running `Command { std: "docker" "start" "-a" "f39e960588d4553e0dd003ad6c62e074425a9f01abca5b6aaabcbd28cd6bd436", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling iota-crypto v0.17.1 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking ring v0.17.8 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking ed25519-zebra v3.1.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling bee-common v0.5.0 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking ed25519-zebra v2.2.0 [INFO] [stderr] Checking x25519-dalek v1.1.1 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking iota-crypto v0.9.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking bee-pow v0.2.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking bech32 v0.8.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking ryu-js v0.2.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking serde_jcs v0.1.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking bee-message v0.1.7 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Checking roaring v0.9.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking did_url v0.1.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking bee-ledger v0.6.1 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Checking data-encoding-macro v0.1.15 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking bee-rest-api v0.1.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking dataurl v0.1.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking identity-diff v0.6.3 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking identity_core v0.6.3 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking identity_did v0.6.3 [INFO] [stderr] Checking identity_iota_core v0.6.3 [INFO] [stderr] Checking identity_credential v0.6.3 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking iota-client v1.4.0 [INFO] [stderr] Checking identity_iota_client v0.6.3 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `resolved_iota_document::ResolvedIotaDocument` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/chain/document_chain.rs:274:11 [INFO] [stdout] | [INFO] [stdout] 191 | let mut chain: DocumentChain; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | let mut keys: Vec = Vec::new(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | let new: ResolvedIotaDocument = { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result<(), errors::ValidationError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/credential/credential_validator.rs:830:9 [INFO] [stdout] | [INFO] [stdout] 764 | mut issuer_doc, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 830 | CredentialValidator::check_status(&credential, &[&issuer_doc], status_check).is_ok(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `resolved_iota_document::ResolvedIotaDocument` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tangle/message/message_ext.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 155 | let keypair: KeyPair = KeyPair::new(KeyType::Ed25519).unwrap(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | let mut document: IotaDocument = IotaDocument::new(&keypair).unwrap(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let decoded: ResolvedIotaDocument = parse_data(MessageId::null(), &encoded).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `identity_iota_core::diff::DiffMessage` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tangle/message/message_ext.rs:213:11 [INFO] [stdout] | [INFO] [stdout] 177 | let keypair: KeyPair = KeyPair::new(KeyType::Ed25519).unwrap(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | let mut doc1: IotaDocument = IotaDocument::new(&keypair).unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | let mut doc2: IotaDocument = doc1.clone(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | let diff: DiffMessage = doc1 [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | let decoded: DiffMessage = parse_data(MessageId::null(), &encoded).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] --> src/tangle/message/message_encoding.rs:9:62 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, num_derive::FromPrimitive)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DIDMessageEncoding` [INFO] [stdout] 10 | pub enum DIDMessageEncoding { [INFO] [stdout] | ------------------ `DIDMessageEncoding` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] = note: this warning originates in the derive macro `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> src/tangle/message/message_version.rs:9:62 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, num_derive::FromPrimitive)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DIDMessageVersion` [INFO] [stdout] 10 | pub enum DIDMessageVersion { [INFO] [stdout] | ----------------- `DIDMessageVersion` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 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] --> src/tangle/message/message_encoding.rs:9:62 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, num_derive::FromPrimitive)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DIDMessageEncoding` [INFO] [stdout] 10 | pub enum DIDMessageEncoding { [INFO] [stdout] | ------------------ `DIDMessageEncoding` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] = note: this warning originates in the derive macro `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `identity_iota_client` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tangle/message/message_version.rs:9:62 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, num_derive::FromPrimitive)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DIDMessageVersion` [INFO] [stdout] 10 | pub enum DIDMessageVersion { [INFO] [stdout] | ----------------- `DIDMessageVersion` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f39e960588d4553e0dd003ad6c62e074425a9f01abca5b6aaabcbd28cd6bd436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f39e960588d4553e0dd003ad6c62e074425a9f01abca5b6aaabcbd28cd6bd436", kill_on_drop: false }` [INFO] [stdout] f39e960588d4553e0dd003ad6c62e074425a9f01abca5b6aaabcbd28cd6bd436