[INFO] fetching crate gemachain-vote-program 1.8.2... [INFO] testing gemachain-vote-program-1.8.2 against beta-2024-10-19 for beta-1.83-1 [INFO] extracting crate gemachain-vote-program 1.8.2 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate gemachain-vote-program 1.8.2 on toolchain beta-2024-10-19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "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 242 packages to latest compatible versions [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 zeroize v1.3.0 (available: v1.8.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b9150a62493e1cc7d3fd4929f326906a33fa4f6ad759268a160ff6e5e3ef93c [INFO] running `Command { std: "docker" "start" "-a" "7b9150a62493e1cc7d3fd4929f326906a33fa4f6ad759268a160ff6e5e3ef93c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b9150a62493e1cc7d3fd4929f326906a33fa4f6ad759268a160ff6e5e3ef93c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b9150a62493e1cc7d3fd4929f326906a33fa4f6ad759268a160ff6e5e3ef93c", kill_on_drop: false }` [INFO] [stdout] 7b9150a62493e1cc7d3fd4929f326906a33fa4f6ad759268a160ff6e5e3ef93c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d03f38d2548cca35a63a932c280f9006f8d9d15635ec98a111b4b11f112a6a12 [INFO] running `Command { std: "docker" "start" "-a" "d03f38d2548cca35a63a932c280f9006f8d9d15635ec98a111b4b11f112a6a12", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling gemachain-frozen-abi-macro v1.8.2 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Compiling gemachain-frozen-abi v1.8.2 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling gemachain-logger v1.8.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling gemachain-program v1.8.2 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling gemachain-sdk v1.8.2 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling gemachain-sdk-macro v1.8.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling rand_chacha v0.2.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 rand v0.7.3 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling backtrace v0.3.74 [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 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.9.1 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling pbkdf2 v0.9.0 [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 hmac v0.11.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling derivation-path v0.1.3 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.1.1 [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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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)]` 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: 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 30.62s [INFO] running `Command { std: "docker" "inspect" "d03f38d2548cca35a63a932c280f9006f8d9d15635ec98a111b4b11f112a6a12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d03f38d2548cca35a63a932c280f9006f8d9d15635ec98a111b4b11f112a6a12", kill_on_drop: false }` [INFO] [stdout] d03f38d2548cca35a63a932c280f9006f8d9d15635ec98a111b4b11f112a6a12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 403346d3084c38d7e65bd045351e89c388e39d4a1891acbb9c98f2f536ae0a22 [INFO] running `Command { std: "docker" "start" "-a" "403346d3084c38d7e65bd045351e89c388e39d4a1891acbb9c98f2f536ae0a22", 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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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)]` 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] [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: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: 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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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)]` 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: 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 7.60s [INFO] running `Command { std: "docker" "inspect" "403346d3084c38d7e65bd045351e89c388e39d4a1891acbb9c98f2f536ae0a22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "403346d3084c38d7e65bd045351e89c388e39d4a1891acbb9c98f2f536ae0a22", kill_on_drop: false }` [INFO] [stdout] 403346d3084c38d7e65bd045351e89c388e39d4a1891acbb9c98f2f536ae0a22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6853f8e805922abeb031c6281c4ee4d5d9227b10739501d14535972c2a453382 [INFO] running `Command { std: "docker" "start" "-a" "6853f8e805922abeb031c6281c4ee4d5d9227b10739501d14535972c2a453382", 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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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)]` 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: 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 9 warnings [INFO] [stderr] warning: `gemachain-vote-program` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gemachain_vote_program-47e0208e6f40926c) [INFO] [stdout] [INFO] [stdout] running 44 tests [INFO] [stdout] test vote_instruction::tests::test_custom_error_decode ... ok [INFO] [stdout] test vote_instruction::tests::test_minimum_balance ... ok [INFO] [stdout] test vote_instruction::tests::test_spoofed_vote ... ok [INFO] [stdout] test vote_state::tests::test_authorized_voter_is_locked_within_epoch ... ok [INFO] [stdout] test vote_instruction::tests::test_vote_process_instruction_decode_bail ... ok [INFO] [stdout] test vote_state::tests::test_check_slots_are_valid_bad_hash ... 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_duplicate_vote ... ok [INFO] [stdout] test vote_state::tests::test_check_slots_are_valid_next_vote ... ok [INFO] [stdout] test vote_state::tests::test_check_slots_are_valid_new_vote ... ok [INFO] [stdout] test vote_state::tests::test_check_slots_are_valid_next_vote_only ... ok [INFO] [stdout] test vote_state::tests::test_check_slots_are_valid_vote_empty_slot_hashes ... ok [INFO] [stdout] test vote_state::tests::test_default_vote_state_is_uninitialized ... ok [INFO] [stdout] test vote_state::tests::test_duplicate_vote ... ok [INFO] [stdout] test vote_instruction::tests::test_vote_process_instruction ... ok [INFO] [stdout] test vote_state::tests::test_expire_multiple_votes ... ok [INFO] [stdout] test vote_state::tests::test_get_and_update_authorized_voter ... 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_instruction::tests::test_vote_authorize_checked ... ok [INFO] [stdout] test vote_state::tests::test_vote_credits ... ok [INFO] [stdout] test vote_state::tests::test_vote_process_timestamp ... ok [INFO] [stdout] test vote_state::tests::test_vote_state_commission_split ... ok [INFO] [stdout] test vote_state::tests::test_vote_state_increment_credits ... ok [INFO] [stdout] test vote_state::tests::test_vote_double_lockout_after_expiration ... ok [INFO] [stdout] test vote_state::tests::test_set_new_authorized_voter ... ok [INFO] [stdout] test vote_state::tests::test_process_missed_votes ... ok [INFO] [stdout] test vote_state::tests::test_vote_state_epoch0_no_credits ... ok [INFO] [stdout] test vote_state::tests::test_vote ... ok [INFO] [stdout] test vote_state::tests::test_vote_state_epoch_credits ... ok [INFO] [stdout] test vote_state::tests::test_vote_slot_hashes ... ok [INFO] [stdout] test vote_state::tests::test_vote_lockout ... ok [INFO] [stdout] test vote_state::tests::test_is_uninitialized_no_deser ... ok [INFO] [stdout] test vote_state::tests::test_vote_without_initialization ... ok [INFO] [stdout] test vote_state::tests::test_vote_serialize ... ok [INFO] [stdout] test vote_state::tests::test_initialize_vote_account ... ok [INFO] [stdout] test vote_state::tests::test_voter_registration ... ok [INFO] [stdout] test vote_state::tests::test_vote_state_max_size ... ok [INFO] [stdout] test vote_state::tests::test_vote_update_validator_identity ... ok [INFO] [stdout] test vote_state::tests::test_vote_update_commission ... ok [INFO] [stdout] test vote_state::tests::test_vote_state_withdraw ... ok [INFO] [stdout] test vote_state::tests::test_vote_signature ... ok [INFO] [stdout] test vote_transaction::test::test_parse_vote_transaction ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 44 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests gemachain_vote_program [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6853f8e805922abeb031c6281c4ee4d5d9227b10739501d14535972c2a453382", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6853f8e805922abeb031c6281c4ee4d5d9227b10739501d14535972c2a453382", kill_on_drop: false }` [INFO] [stdout] 6853f8e805922abeb031c6281c4ee4d5d9227b10739501d14535972c2a453382