[INFO] fetching crate gemachain-vote-program 1.8.2... [INFO] testing gemachain-vote-program-1.8.2 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] extracting crate gemachain-vote-program 1.8.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate gemachain-vote-program 1.8.2 [INFO] finished tweaking crates.io crate gemachain-vote-program 1.8.2 [INFO] tweaked toml for crates.io crate gemachain-vote-program 1.8.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gemachain-vote-program 1.8.2 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 282 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v3.0.0) [INFO] [stderr] Adding crypto-common v0.1.6 (available: v0.1.7) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9582367477f5d7bdc4be6d3b9e39bb82450c1baba562089706803b9c439bf5a2 [INFO] running `Command { std: "docker" "start" "-a" "9582367477f5d7bdc4be6d3b9e39bb82450c1baba562089706803b9c439bf5a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9582367477f5d7bdc4be6d3b9e39bb82450c1baba562089706803b9c439bf5a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9582367477f5d7bdc4be6d3b9e39bb82450c1baba562089706803b9c439bf5a2", kill_on_drop: false }` [INFO] [stdout] 9582367477f5d7bdc4be6d3b9e39bb82450c1baba562089706803b9c439bf5a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c2907052dc7fc60fc266bd9893ddc7ac6f5e7ad8d8aef71bf34848299511284 [INFO] running `Command { std: "docker" "start" "-a" "7c2907052dc7fc60fc266bd9893ddc7ac6f5e7ad8d8aef71bf34848299511284", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling zerocopy v0.8.32 [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling gemachain-frozen-abi-macro v1.8.2 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling gemachain-frozen-abi v1.8.2 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling gemachain-logger v1.8.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling gemachain-program v1.8.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling gemachain-sdk v1.8.2 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling gemachain-vote-program v1.8.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling gemachain-sdk-macro v1.8.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling pbkdf2 v0.9.0 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling derivation-path v0.1.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.1.1 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling gemachain-crate-features v1.8.2 [INFO] [stderr] Compiling gemachain-metrics v1.8.2 [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/lib.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vote_state/vote_state_versions.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | /// the signer for withdrawals [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | authorized_withdrawer: state.authorized_withdrawer, [INFO] [stdout] | -------------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vote_state/vote_state_versions.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | / /// percentage (0-100) that represents what part of a rewards [INFO] [stdout] 28 | | /// payout should be given to this VoteAccount [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] 29 | commission: state.commission, [INFO] [stdout] | ---------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vote_state/vote_state_versions.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | /// the signer for vote transactions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | authorized_voters, [INFO] [stdout] | ----------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vote_state/vote_state_versions.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | / /// history of prior authorized voters and the epochs for which [INFO] [stdout] 39 | | /// they were set, the bottom end of the range is inclusive, [INFO] [stdout] 40 | | /// the top of the range is exclusive [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] 41 | prior_voters: CircBuf::default(), [INFO] [stdout] | -------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vote_state/vote_state_versions.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | / /// history of how many credits earned by the end of each epoch [INFO] [stdout] 44 | | /// each tuple is (Epoch, credits, prev_credits) [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] 45 | epoch_credits: state.epoch_credits.clone(), [INFO] [stdout] | ------------------------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vote_state/vote_state_versions.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | /// most recent timestamp submitted with a vote [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | last_timestamp: state.last_timestamp.clone(), [INFO] [stdout] | -------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/authorized_voters.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter(&self) -> std::collections::btree_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter(&self) -> std::collections::btree_map::Iter<'_, Epoch, Pubkey> { [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/vote_instruction.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Error, Debug, Clone, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_VoteError` [INFO] [stdout] 29 | pub enum VoteError { [INFO] [stdout] | --------- `VoteError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `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/vote_instruction.rs:28:57 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Error, Debug, Clone, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_VoteError` [INFO] [stdout] 29 | pub enum VoteError { [INFO] [stdout] | --------- `VoteError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` 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 warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "7c2907052dc7fc60fc266bd9893ddc7ac6f5e7ad8d8aef71bf34848299511284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c2907052dc7fc60fc266bd9893ddc7ac6f5e7ad8d8aef71bf34848299511284", kill_on_drop: false }` [INFO] [stdout] 7c2907052dc7fc60fc266bd9893ddc7ac6f5e7ad8d8aef71bf34848299511284 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91e6f544cf939ad913285f613093cfd37a7e5530a249cab0d05c3ceb48cfffb7 [INFO] running `Command { std: "docker" "start" "-a" "91e6f544cf939ad913285f613093cfd37a7e5530a249cab0d05c3ceb48cfffb7", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/lib.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vote_state/vote_state_versions.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | /// the signer for withdrawals [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | authorized_withdrawer: state.authorized_withdrawer, [INFO] [stdout] | -------------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vote_state/vote_state_versions.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | / /// percentage (0-100) that represents what part of a rewards [INFO] [stdout] 28 | | /// payout should be given to this VoteAccount [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] 29 | commission: state.commission, [INFO] [stdout] | ---------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gemachain-vote-program v1.8.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vote_state/vote_state_versions.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | /// the signer for vote transactions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | authorized_voters, [INFO] [stdout] | ----------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vote_state/vote_state_versions.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | / /// history of prior authorized voters and the epochs for which [INFO] [stdout] 39 | | /// they were set, the bottom end of the range is inclusive, [INFO] [stdout] 40 | | /// the top of the range is exclusive [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] 41 | prior_voters: CircBuf::default(), [INFO] [stdout] | -------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vote_state/vote_state_versions.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | / /// history of how many credits earned by the end of each epoch [INFO] [stdout] 44 | | /// each tuple is (Epoch, credits, prev_credits) [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] 45 | epoch_credits: state.epoch_credits.clone(), [INFO] [stdout] | ------------------------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vote_state/vote_state_versions.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | /// most recent timestamp submitted with a vote [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | last_timestamp: state.last_timestamp.clone(), [INFO] [stdout] | -------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/authorized_voters.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter(&self) -> std::collections::btree_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter(&self) -> std::collections::btree_map::Iter<'_, Epoch, Pubkey> { [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/vote_instruction.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Error, Debug, Clone, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_VoteError` [INFO] [stdout] 29 | pub enum VoteError { [INFO] [stdout] | --------- `VoteError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `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/vote_instruction.rs:28:57 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Error, Debug, Clone, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_VoteError` [INFO] [stdout] 29 | pub enum VoteError { [INFO] [stdout] | --------- `VoteError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` 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 warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/lib.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vote_state/vote_state_versions.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | /// the signer for withdrawals [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | authorized_withdrawer: state.authorized_withdrawer, [INFO] [stdout] | -------------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vote_state/vote_state_versions.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | / /// percentage (0-100) that represents what part of a rewards [INFO] [stdout] 28 | | /// payout should be given to this VoteAccount [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] 29 | commission: state.commission, [INFO] [stdout] | ---------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vote_state/vote_state_versions.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | /// the signer for vote transactions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | authorized_voters, [INFO] [stdout] | ----------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vote_state/vote_state_versions.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | / /// history of prior authorized voters and the epochs for which [INFO] [stdout] 39 | | /// they were set, the bottom end of the range is inclusive, [INFO] [stdout] 40 | | /// the top of the range is exclusive [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] 41 | prior_voters: CircBuf::default(), [INFO] [stdout] | -------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vote_state/vote_state_versions.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | / /// history of how many credits earned by the end of each epoch [INFO] [stdout] 44 | | /// each tuple is (Epoch, credits, prev_credits) [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] 45 | epoch_credits: state.epoch_credits.clone(), [INFO] [stdout] | ------------------------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vote_state/vote_state_versions.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | /// most recent timestamp submitted with a vote [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | last_timestamp: state.last_timestamp.clone(), [INFO] [stdout] | -------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/authorized_voters.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter(&self) -> std::collections::btree_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter(&self) -> std::collections::btree_map::Iter<'_, Epoch, Pubkey> { [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/vote_instruction.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Error, Debug, Clone, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_VoteError` [INFO] [stdout] 29 | pub enum VoteError { [INFO] [stdout] | --------- `VoteError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `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/vote_instruction.rs:28:57 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Error, Debug, Clone, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_VoteError` [INFO] [stdout] 29 | pub enum VoteError { [INFO] [stdout] | --------- `VoteError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` 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 warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.86s [INFO] running `Command { std: "docker" "inspect" "91e6f544cf939ad913285f613093cfd37a7e5530a249cab0d05c3ceb48cfffb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91e6f544cf939ad913285f613093cfd37a7e5530a249cab0d05c3ceb48cfffb7", kill_on_drop: false }` [INFO] [stdout] 91e6f544cf939ad913285f613093cfd37a7e5530a249cab0d05c3ceb48cfffb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1cfafdab4d603bf7eebaf9b48916741fe7b60587b7a6b22de101866353e87c31 [INFO] running `Command { std: "docker" "start" "-a" "1cfafdab4d603bf7eebaf9b48916741fe7b60587b7a6b22de101866353e87c31", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stderr] --> src/lib.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/vote_state/vote_state_versions.rs:24:21 [INFO] [stderr] | [INFO] [stderr] 24 | /// the signer for withdrawals [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 25 | authorized_withdrawer: state.authorized_withdrawer, [INFO] [stderr] | -------------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/vote_state/vote_state_versions.rs:27:21 [INFO] [stderr] | [INFO] [stderr] 27 | / /// percentage (0-100) that represents what part of a rewards [INFO] [stderr] 28 | | /// payout should be given to this VoteAccount [INFO] [stderr] | |___________________________________________________________________^ [INFO] [stderr] 29 | commission: state.commission, [INFO] [stderr] | ---------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/vote_state/vote_state_versions.rs:35:21 [INFO] [stderr] | [INFO] [stderr] 35 | /// the signer for vote transactions [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 36 | authorized_voters, [INFO] [stderr] | ----------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/vote_state/vote_state_versions.rs:38:21 [INFO] [stderr] | [INFO] [stderr] 38 | / /// history of prior authorized voters and the epochs for which [INFO] [stderr] 39 | | /// they were set, the bottom end of the range is inclusive, [INFO] [stderr] 40 | | /// the top of the range is exclusive [INFO] [stderr] | |_________________________________________________________^ [INFO] [stderr] 41 | prior_voters: CircBuf::default(), [INFO] [stderr] | -------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/vote_state/vote_state_versions.rs:43:21 [INFO] [stderr] | [INFO] [stderr] 43 | / /// history of how many credits earned by the end of each epoch [INFO] [stderr] 44 | | /// each tuple is (Epoch, credits, prev_credits) [INFO] [stderr] | |_____________________________________________________________________^ [INFO] [stderr] 45 | epoch_credits: state.epoch_credits.clone(), [INFO] [stderr] | ------------------------------------------ rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/vote_state/vote_state_versions.rs:47:21 [INFO] [stderr] | [INFO] [stderr] 47 | /// most recent timestamp submitted with a vote [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 48 | last_timestamp: state.last_timestamp.clone(), [INFO] [stderr] | -------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/authorized_voters.rs:79:17 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn iter(&self) -> std::collections::btree_map::Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 79 | pub fn iter(&self) -> std::collections::btree_map::Iter<'_, Epoch, Pubkey> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/vote_instruction.rs:28:42 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Error, Debug, Clone, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_VoteError` [INFO] [stderr] 29 | pub enum VoteError { [INFO] [stderr] | --------- `VoteError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/vote_instruction.rs:28:57 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Error, Debug, Clone, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `ToPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_VoteError` [INFO] [stderr] 29 | pub enum VoteError { [INFO] [stderr] | --------- `VoteError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `gemachain-vote-program` (lib) generated 10 warnings (run `cargo fix --lib -p gemachain-vote-program` to apply 1 suggestion) [INFO] [stderr] warning: `gemachain-vote-program` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gemachain_vote_program-a82e9e4a7cc956ad) [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test vote_instruction::tests::test_minimum_balance ... ok [INFO] [stdout] test vote_instruction::tests::test_vote_process_instruction_decode_bail ... ok [INFO] [stdout] test vote_instruction::tests::test_custom_error_decode ... ok [INFO] [stdout] test vote_instruction::tests::test_spoofed_vote ... ok [INFO] [stdout] test vote_state::tests::test_check_slots_are_valid_new_vote ... ok [INFO] [stdout] test vote_state::tests::test_authorized_voter_is_locked_within_epoch ... ok [INFO] [stdout] test vote_state::tests::test_check_slots_are_valid_bad_hash ... ok [INFO] [stdout] test vote_instruction::tests::test_vote_process_instruction ... ok [INFO] [stdout] test vote_state::tests::test_check_slots_are_valid_next_vote ... ok [INFO] [stdout] test vote_state::tests::test_expire_multiple_votes ... ok [INFO] [stdout] test vote_state::tests::test_default_vote_state_is_uninitialized ... ok [INFO] [stdout] test vote_state::tests::test_check_slots_are_valid_bad_slot ... ok [INFO] [stdout] test vote_state::tests::test_check_slots_are_valid_vote_empty_slot_hashes ... ok [INFO] [stdout] test vote_state::tests::test_duplicate_vote ... ok [INFO] [stdout] test vote_state::tests::test_get_and_update_authorized_voter ... ok [INFO] [stdout] test vote_instruction::tests::test_vote_authorize_checked ... ok [INFO] [stdout] test vote_state::tests::test_check_slots_are_valid_duplicate_vote ... ok [INFO] [stdout] test vote_state::tests::test_process_missed_votes ... ok [INFO] [stdout] test vote_state::tests::test_process_vote_empty_slots ... ok [INFO] [stdout] test vote_state::tests::test_process_vote_skips_old_vote ... ok [INFO] [stdout] test vote_state::tests::test_nth_recent_vote ... ok [INFO] [stdout] test vote_state::tests::test_is_uninitialized_no_deser ... ok [INFO] [stdout] test vote_state::tests::test_set_new_authorized_voter ... ok [INFO] [stdout] test vote_state::tests::test_vote_credits ... ok [INFO] [stdout] test vote_state::tests::test_vote_double_lockout_after_expiration ... ok [INFO] [stdout] test vote_state::tests::test_vote ... ok [INFO] [stdout] test vote_state::tests::test_vote_process_timestamp ... ok [INFO] [stdout] test vote_state::tests::test_initialize_vote_account ... ok [INFO] [stdout] test vote_state::tests::test_vote_serialize ... ok [INFO] [stdout] test vote_state::tests::test_vote_lockout ... ok [INFO] [stdout] test vote_state::tests::test_vote_state_commission_split ... ok [INFO] [stdout] test vote_state::tests::test_vote_state_epoch0_no_credits ... ok [INFO] [stdout] test vote_state::tests::test_vote_signature ... ok [INFO] [stdout] test vote_state::tests::test_vote_slot_hashes ... ok [INFO] [stdout] test vote_state::tests::test_vote_state_increment_credits ... ok [INFO] [stdout] test vote_state::tests::test_vote_state_max_size ... ok [INFO] [stdout] test vote_state::tests::test_vote_update_commission ... ok [INFO] [stdout] test vote_state::tests::test_vote_without_initialization ... ok [INFO] [stdout] test vote_state::tests::test_vote_update_validator_identity ... ok [INFO] [stdout] test vote_state::tests::test_vote_state_epoch_credits ... ok [INFO] [stdout] test vote_state::tests::test_vote_state_withdraw ... ok [INFO] [stdout] test vote_state::tests::test_voter_registration ... ok [INFO] [stdout] test vote_transaction::test::test_parse_vote_transaction ... ok [INFO] [stdout] test vote_state::tests::test_check_slots_are_valid_next_vote_only ... ok [INFO] [stdout] test vote_state::Vote_frozen_abi::test_abi_digest ... FAILED [INFO] [stdout] test vote_state::VoteState_frozen_abi::test_abi_digest ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- vote_state::Vote_frozen_abi::test_abi_digest stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'vote_state::Vote_frozen_abi::test_abi_digest' (32) panicked at src/vote_state/mod.rs:39:1: [INFO] [stdout] assertion `left == right` failed: Possibly ABI changed? Confirm the diff by rerunning before and after this test failed with GEMACHAIN_ABI_DUMP_DIR! [INFO] [stdout] left: "Ch2vVEwos2EjAVqSHCyJjnN2MNX1yrpapZTGhMSCjWUH" [INFO] [stdout] right: "4ruEQxGMn85zsS3cSnuoWFP5Akfw1B5TR6pNM65vf9Ub" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6074ee4ffae2 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6074ee4ffae2 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6074ee4ffae2 - std[3f03f8b59f91bef1]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x6074ee4ffae2 - <::print::DisplayBacktrace as core[585f66e14d78f9ba]::fmt::Display>::fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x6074ee5169da - ::fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x6074ee5169da - core[585f66e14d78f9ba]::fmt::write [INFO] [stdout] 6: 0x6074ee505116 - std[3f03f8b59f91bef1]::io::default_write_fmt::> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6074ee505116 - as std[3f03f8b59f91bef1]::io::Write>::write_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x6074ee4dcecf - ::print [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x6074ee4dcecf - std[3f03f8b59f91bef1]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x6074ee4f75f9 - std[3f03f8b59f91bef1]::panicking::default_hook [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x6074ede5a68e - core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x6074ede5a68e - test[30224e0cb089acd2]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6074ee4f7862 - core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x6074ee4f7862 - std[3f03f8b59f91bef1]::panicking::panic_with_hook [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x6074ee4dcf88 - std[3f03f8b59f91bef1]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x6074ee4d2099 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x6074ee4ddfad - __rustc[caa99d26c7bae192]::rust_begin_unwind [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x6074ee5171cc - core[585f66e14d78f9ba]::panicking::panic_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x6074ee5170b3 - core[585f66e14d78f9ba]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:434:23 [INFO] [stdout] 20: 0x6074edbcfa72 - core[585f66e14d78f9ba]::panicking::assert_failed::<&str, alloc[15e7b27aba85d2e2]::string::String> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x6074edbbfd93 - gemachain_vote_program[40de4abd0163d53f]::vote_state::Vote_frozen_abi::test_abi_digest [INFO] [stdout] at /opt/rustwide/workdir/src/vote_state/mod.rs:39:1 [INFO] [stdout] 22: 0x6074edbbdc57 - gemachain_vote_program[40de4abd0163d53f]::vote_state::Vote_frozen_abi::test_abi_digest::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/vote_state/mod.rs:39:71 [INFO] [stdout] 23: 0x6074edb8a756 - >::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x6074ede4ea3b - core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x6074ede4ea3b - test[30224e0cb089acd2]::__rust_begin_short_backtrace::, fn() -> core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x6074ede5b29a - test[30224e0cb089acd2]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x6074ede5b29a - as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x6074ede5b29a - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x6074ede5b29a - std[3f03f8b59f91bef1]::panicking::catch_unwind::, core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x6074ede5b29a - std[3f03f8b59f91bef1]::panic::catch_unwind::, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x6074ede5b29a - test[30224e0cb089acd2]::run_test_in_process [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x6074ede5b29a - test[30224e0cb089acd2]::run_test::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x6074ede55764 - test[30224e0cb089acd2]::run_test::{closure#1} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x6074ede55764 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x6074ede5dd92 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x6074ede5dd92 - ::{closure#1}::{closure#0}> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x6074ede5dd92 - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x6074ede5dd92 - std[3f03f8b59f91bef1]::panicking::catch_unwind::<(), core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x6074ede5dd92 - std[3f03f8b59f91bef1]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x6074ede5dd92 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x6074ede5dd92 - ::{closure#1} as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x6074ee4ff34f - + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 43: 0x6074ee4ff34f - ::new::thread_start [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/thread/unix.rs:119:17 [INFO] [stdout] 44: 0x7c40eedbcaa4 - [INFO] [stdout] 45: 0x7c40eee49a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- vote_state::VoteState_frozen_abi::test_abi_digest stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'vote_state::VoteState_frozen_abi::test_abi_digest' (31) panicked at src/vote_state/mod.rs:163:1: [INFO] [stdout] assertion `left == right` failed: Possibly ABI changed? Confirm the diff by rerunning before and after this test failed with GEMACHAIN_ABI_DUMP_DIR! [INFO] [stdout] left: "331ZmXrmsUcwbKhzR3C1UEU6uNwZr48ExE54JDKGWA4w" [INFO] [stdout] right: "HT9Z6PR1xzFJ7Q3Qi6msVMJ7u9BdiacP8D557PHScoiR" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6074ee4ffae2 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6074ee4ffae2 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6074ee4ffae2 - std[3f03f8b59f91bef1]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x6074ee4ffae2 - <::print::DisplayBacktrace as core[585f66e14d78f9ba]::fmt::Display>::fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x6074ee5169da - ::fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x6074ee5169da - core[585f66e14d78f9ba]::fmt::write [INFO] [stdout] 6: 0x6074ee505116 - std[3f03f8b59f91bef1]::io::default_write_fmt::> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6074ee505116 - as std[3f03f8b59f91bef1]::io::Write>::write_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x6074ee4dcecf - ::print [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x6074ee4dcecf - std[3f03f8b59f91bef1]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x6074ee4f75f9 - std[3f03f8b59f91bef1]::panicking::default_hook [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x6074ede5a68e - core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x6074ede5a68e - test[30224e0cb089acd2]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6074ee4f7862 - core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x6074ee4f7862 - std[3f03f8b59f91bef1]::panicking::panic_with_hook [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x6074ee4dcf88 - std[3f03f8b59f91bef1]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x6074ee4d2099 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x6074ee4ddfad - __rustc[caa99d26c7bae192]::rust_begin_unwind [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x6074ee5171cc - core[585f66e14d78f9ba]::panicking::panic_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x6074ee5170b3 - core[585f66e14d78f9ba]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:434:23 [INFO] [stdout] 20: 0x6074edbcfa72 - core[585f66e14d78f9ba]::panicking::assert_failed::<&str, alloc[15e7b27aba85d2e2]::string::String> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x6074edb80d93 - gemachain_vote_program[40de4abd0163d53f]::vote_state::VoteState_frozen_abi::test_abi_digest [INFO] [stdout] at /opt/rustwide/workdir/src/vote_state/mod.rs:163:1 [INFO] [stdout] 22: 0x6074edb7c427 - gemachain_vote_program[40de4abd0163d53f]::vote_state::VoteState_frozen_abi::test_abi_digest::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/vote_state/mod.rs:163:71 [INFO] [stdout] 23: 0x6074edb8a796 - >::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x6074ede4ea3b - core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x6074ede4ea3b - test[30224e0cb089acd2]::__rust_begin_short_backtrace::, fn() -> core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x6074ede5b29a - test[30224e0cb089acd2]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x6074ede5b29a - as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x6074ede5b29a - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x6074ede5b29a - std[3f03f8b59f91bef1]::panicking::catch_unwind::, core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x6074ede5b29a - std[3f03f8b59f91bef1]::panic::catch_unwind::, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x6074ede5b29a - test[30224e0cb089acd2]::run_test_in_process [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x6074ede5b29a - test[30224e0cb089acd2]::run_test::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x6074ede55764 - test[30224e0cb089acd2]::run_test::{closure#1} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x6074ede55764 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x6074ede5dd92 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x6074ede5dd92 - ::{closure#1}::{closure#0}> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x6074ede5dd92 - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x6074ede5dd92 - std[3f03f8b59f91bef1]::panicking::catch_unwind::<(), core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x6074ede5dd92 - std[3f03f8b59f91bef1]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x6074ede5dd92 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x6074ede5dd92 - ::{closure#1} as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x6074ee4ff34f - + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 43: 0x6074ee4ff34f - ::new::thread_start [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/thread/unix.rs:119:17 [INFO] [stdout] 44: 0x7c40eedbcaa4 - [INFO] [stdout] 45: 0x7c40eee49a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] vote_state::VoteState_frozen_abi::test_abi_digest [INFO] [stdout] vote_state::Vote_frozen_abi::test_abi_digest [INFO] [stdout] [INFO] [stdout] test result: FAILED. 44 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "1cfafdab4d603bf7eebaf9b48916741fe7b60587b7a6b22de101866353e87c31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cfafdab4d603bf7eebaf9b48916741fe7b60587b7a6b22de101866353e87c31", kill_on_drop: false }` [INFO] [stdout] 1cfafdab4d603bf7eebaf9b48916741fe7b60587b7a6b22de101866353e87c31