[INFO] cloning repository https://github.com/darioush/EIP-712 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darioush/EIP-712" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarioush%2FEIP-712", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarioush%2FEIP-712'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 08bdd2e2957639fd753b429106834321b2d3f412 [INFO] checking darioush/EIP-712 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarioush%2FEIP-712" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/darioush/EIP-712 [INFO] finished tweaking git repo https://github.com/darioush/EIP-712 [INFO] tweaked toml for git repo https://github.com/darioush/EIP-712 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/darioush/EIP-712 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/darioush/EIP-712 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 634ca1baf732f5b8aca126364d325462b36e465fd55658a8e212fd43be14079c [INFO] running `Command { std: "docker" "start" "-a" "634ca1baf732f5b8aca126364d325462b36e465fd55658a8e212fd43be14079c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "634ca1baf732f5b8aca126364d325462b36e465fd55658a8e212fd43be14079c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "634ca1baf732f5b8aca126364d325462b36e465fd55658a8e212fd43be14079c", kill_on_drop: false }` [INFO] [stdout] 634ca1baf732f5b8aca126364d325462b36e465fd55658a8e212fd43be14079c [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dfae8ada70d177f95706088368c7b983f2698ea32bb3ca62517a8ef4521d678 [INFO] running `Command { std: "docker" "start" "-a" "7dfae8ada70d177f95706088368c7b983f2698ea32bb3ca62517a8ef4521d678", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking rlp v0.4.6 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking impl-rlp v0.2.1 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.5.0 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Compiling if_chain v0.1.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking fixed-hash v0.6.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking logos v0.12.0 [INFO] [stderr] Checking parity-scale-codec v1.3.7 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking ethbloom v0.9.2 [INFO] [stderr] Checking validator v0.8.0 [INFO] [stderr] Compiling validator_derive v0.8.0 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking primitive-types v0.7.3 [INFO] [stderr] Checking ethereum-types v0.9.2 [INFO] [stderr] Checking keccak-hash v0.5.1 [INFO] [stderr] Checking ethabi v12.0.0 [INFO] [stderr] Checking eip-712 v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/eip712.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | #[serde(deny_unknown_fields)] [INFO] [stdout] 35 | #[derive(Deserialize, Serialize, Validate, Debug, Clone)] [INFO] [stdout] | ----------- the attribute is introduced here [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 #79202 [INFO] [stdout] = note: `#[deny(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/eip712.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | #[serde(deny_unknown_fields)] [INFO] [stdout] 47 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ----------- the attribute is introduced here [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/eip712.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[serde(deny_unknown_fields)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | #[derive(Deserialize, Serialize, Validate, Debug, Clone)] [INFO] [stdout] | ----------- the attribute is introduced here [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/eip712.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | #[serde(deny_unknown_fields)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ----------- the attribute is introduced here [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/eip712.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | #[serde(deny_unknown_fields)] [INFO] [stdout] 35 | #[derive(Deserialize, Serialize, Validate, Debug, Clone)] [INFO] [stdout] | ----------- the attribute is introduced here [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 #79202 [INFO] [stdout] = note: `#[deny(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/eip712.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | #[serde(deny_unknown_fields)] [INFO] [stdout] 47 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ----------- the attribute is introduced here [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/eip712.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[serde(deny_unknown_fields)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | #[derive(Deserialize, Serialize, Validate, Debug, Clone)] [INFO] [stdout] | ----------- the attribute is introduced here [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/eip712.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | #[serde(deny_unknown_fields)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ----------- the attribute is introduced here [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/eip712.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct FieldType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/eip712.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/eip712.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub type_: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/encode.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / pub fn encode_data( [INFO] [stdout] 111 | | message_type: &Type, [INFO] [stdout] 112 | | message_types: &MessageTypes, [INFO] [stdout] 113 | | value: &Value, [INFO] [stdout] 114 | | field_name: Option<&str>, [INFO] [stdout] 115 | | ) -> Result> { [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] --> src/error.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, Fail, Debug, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 29 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` 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: `#[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/error.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, Fail, Debug, PartialEq)] [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_ErrorKind` [INFO] [stdout] 29 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` 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 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: missing documentation for an enum [INFO] [stdout] --> src/parser.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Type { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Address, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Uint, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Bytes, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Byte(u8), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Array { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/parser.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | length: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/parser.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | inner: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/eip712.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct FieldType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/eip712.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/eip712.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub type_: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/encode.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / pub fn encode_data( [INFO] [stdout] 111 | | message_type: &Type, [INFO] [stdout] 112 | | message_types: &MessageTypes, [INFO] [stdout] 113 | | value: &Value, [INFO] [stdout] 114 | | field_name: Option<&str>, [INFO] [stdout] 115 | | ) -> Result> { [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] --> src/error.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, Fail, Debug, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 29 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` 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: `#[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/error.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, Fail, Debug, PartialEq)] [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_ErrorKind` [INFO] [stdout] 29 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` 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 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: missing documentation for an enum [INFO] [stdout] --> src/parser.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Type { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Address, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Uint, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Bytes, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Byte(u8), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/parser.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Array { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/parser.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | length: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/parser.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | inner: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eip-712` (lib) due to 8 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `eip-712` (lib test) due to 8 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7dfae8ada70d177f95706088368c7b983f2698ea32bb3ca62517a8ef4521d678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dfae8ada70d177f95706088368c7b983f2698ea32bb3ca62517a8ef4521d678", kill_on_drop: false }` [INFO] [stdout] 7dfae8ada70d177f95706088368c7b983f2698ea32bb3ca62517a8ef4521d678