[INFO] fetching crate eng-wasm-derive 0.1.7... [INFO] checking eng-wasm-derive-0.1.7 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate eng-wasm-derive 0.1.7 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate eng-wasm-derive 0.1.7 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 eng-wasm-derive 0.1.7 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate eng-wasm-derive 0.1.7 [INFO] tweaked toml for crates.io crate eng-wasm-derive 0.1.7 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate eng-wasm-derive 0.1.7 already has a lockfile, it will not be regenerated [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 4d7a7a2039cc500ab0888ebf57cc7da880f4fbc3c569b7e82a1a421c661faba4 [INFO] running `Command { std: "docker" "start" "-a" "4d7a7a2039cc500ab0888ebf57cc7da880f4fbc3c569b7e82a1a421c661faba4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d7a7a2039cc500ab0888ebf57cc7da880f4fbc3c569b7e82a1a421c661faba4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d7a7a2039cc500ab0888ebf57cc7da880f4fbc3c569b7e82a1a421c661faba4", kill_on_drop: false }` [INFO] [stdout] 4d7a7a2039cc500ab0888ebf57cc7da880f4fbc3c569b7e82a1a421c661faba4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 659a80b173a5d4f28660bb825f38cfa685af05ab99d06c7461cb9ffdf4337d11 [INFO] running `Command { std: "docker" "start" "-a" "659a80b173a5d4f28660bb825f38cfa685af05ab99d06c7461cb9ffdf4337d11", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking rustc-hex v2.0.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking uint v0.4.1 [INFO] [stderr] Checking fixed-hash v0.3.2 [INFO] [stderr] Checking uint v0.6.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Checking quote v1.0.2 [INFO] [stderr] Checking fixed-hash v0.2.5 [INFO] [stderr] Compiling backtrace v0.3.38 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling parse-display-derive v0.1.1 [INFO] [stderr] Checking parse-display v0.1.1 [INFO] [stderr] Checking ethereum-types-serialize v0.2.2 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking eng-pwasm-abi v0.3.2 [INFO] [stderr] Checking ethbloom v0.5.3 [INFO] [stderr] Checking ethereum-types v0.4.2 [INFO] [stderr] Checking eng-wasm v0.1.6 [INFO] [stderr] Checking ethabi v6.1.0 [INFO] [stderr] Checking eng-wasm-derive v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/eth_contract.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | let input_tokens = parse_macro_input2!(input as syn::ItemStruct); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `parse_macro_input2` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/eth_contract.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | let file_path = parse_macro_input2!(args as syn::LitStr); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `parse_macro_input2` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/eth_contract.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | let input_tokens = parse_macro_input2!(input as syn::ItemStruct); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `parse_macro_input2` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/eth_contract.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | let file_path = parse_macro_input2!(args as syn::LitStr); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `parse_macro_input2` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `TokenStream2` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pub_interface.rs:317:25 [INFO] [stdout] | [INFO] [stdout] 301 | let stream_initialization_snippet = match input_pats_and_types.len() { [INFO] [stdout] | ----------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 307 | 0 => Some(quote! { [INFO] [stdout] | ___________________________- [INFO] [stdout] | |___________________________| [INFO] [stdout] | |___________________________| [INFO] [stdout] | |___________________________| [INFO] [stdout] | |___________________________| [INFO] [stdout] | |___________________________| [INFO] [stdout] 308 | | #method_name_as_string => { [INFO] [stdout] 309 | | #stream_initialization_snippet [INFO] [stdout] 310 | | #(let #variables = #parsed_inputs;)* [INFO] [stdout] 311 | | <#implementor>::#method_name(#(#variables),*); [INFO] [stdout] 312 | | } [INFO] [stdout] 313 | | }), [INFO] [stdout] | | - [INFO] [stdout] | |_________________| [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 317 | | let result_token = quote!(result); [INFO] [stdout] | | ^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 324 | Some(quote! { [INFO] [stdout] | __________________________- [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] 325 | | #method_name_as_string => { [INFO] [stdout] 326 | | #stream_initialization_snippet [INFO] [stdout] 327 | | #(let #variables = #parsed_inputs;)* [INFO] [stdout] ... | [INFO] [stdout] 338 | | } [INFO] [stdout] 339 | | }) [INFO] [stdout] | | - [INFO] [stdout] | |_____________________| [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/eth_contract/errors.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_EngWasmError` [INFO] [stdout] 6 | pub enum EngWasmError { [INFO] [stdout] | ------------ `EngWasmError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/eth_contract/errors.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_EngWasmError` [INFO] [stdout] 6 | pub enum EngWasmError { [INFO] [stdout] | ------------ `EngWasmError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eng-wasm-derive` (lib) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `TokenStream2` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pub_interface.rs:317:25 [INFO] [stdout] | [INFO] [stdout] 301 | let stream_initialization_snippet = match input_pats_and_types.len() { [INFO] [stdout] | ----------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 307 | 0 => Some(quote! { [INFO] [stdout] | ___________________________- [INFO] [stdout] | |___________________________| [INFO] [stdout] | |___________________________| [INFO] [stdout] | |___________________________| [INFO] [stdout] | |___________________________| [INFO] [stdout] | |___________________________| [INFO] [stdout] 308 | | #method_name_as_string => { [INFO] [stdout] 309 | | #stream_initialization_snippet [INFO] [stdout] 310 | | #(let #variables = #parsed_inputs;)* [INFO] [stdout] 311 | | <#implementor>::#method_name(#(#variables),*); [INFO] [stdout] 312 | | } [INFO] [stdout] 313 | | }), [INFO] [stdout] | | - [INFO] [stdout] | |_________________| [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 317 | | let result_token = quote!(result); [INFO] [stdout] | | ^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 324 | Some(quote! { [INFO] [stdout] | __________________________- [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________| [INFO] [stdout] 325 | | #method_name_as_string => { [INFO] [stdout] 326 | | #stream_initialization_snippet [INFO] [stdout] 327 | | #(let #variables = #parsed_inputs;)* [INFO] [stdout] ... | [INFO] [stdout] 338 | | } [INFO] [stdout] 339 | | }) [INFO] [stdout] | | - [INFO] [stdout] | |_____________________| [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/eth_contract/errors.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_EngWasmError` [INFO] [stdout] 6 | pub enum EngWasmError { [INFO] [stdout] | ------------ `EngWasmError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/eth_contract/errors.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_EngWasmError` [INFO] [stdout] 6 | pub enum EngWasmError { [INFO] [stdout] | ------------ `EngWasmError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eng-wasm-derive` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "659a80b173a5d4f28660bb825f38cfa685af05ab99d06c7461cb9ffdf4337d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "659a80b173a5d4f28660bb825f38cfa685af05ab99d06c7461cb9ffdf4337d11", kill_on_drop: false }` [INFO] [stdout] 659a80b173a5d4f28660bb825f38cfa685af05ab99d06c7461cb9ffdf4337d11