[INFO] fetching crate core_cbc_casper 0.1.0... [INFO] checking core_cbc_casper-0.1.0 against master#a3f76a26e045a760bb1163b7eab36872985242d5 for pr-130930 [INFO] extracting crate core_cbc_casper 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate core_cbc_casper 0.1.0 on toolchain a3f76a26e045a760bb1163b7eab36872985242d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate core_cbc_casper 0.1.0 [INFO] finished tweaking crates.io crate core_cbc_casper 0.1.0 [INFO] tweaked toml for crates.io crate core_cbc_casper 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate core_cbc_casper 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.102 [INFO] [stderr] Downloaded hermit-abi v0.1.3 [INFO] [stderr] Downloaded byte-tools v0.2.0 [INFO] [stderr] Downloaded crypto-mac v0.5.2 [INFO] [stderr] Downloaded walkdir v2.2.9 [INFO] [stderr] Downloaded criterion-plot v0.3.1 [INFO] [stderr] Downloaded digest v0.7.6 [INFO] [stderr] Downloaded bincode v1.2.0 [INFO] [stderr] Downloaded constant_time_eq v0.1.4 [INFO] [stderr] Downloaded rand_xoshiro v0.1.0 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded winapi-util v0.1.2 [INFO] [stderr] Downloaded tinytemplate v1.0.2 [INFO] [stderr] Downloaded blake2 v0.7.1 [INFO] [stderr] Downloaded regex-automata v0.1.8 [INFO] [stderr] Downloaded rand v0.7.2 [INFO] [stderr] Downloaded csv-core v0.1.6 [INFO] [stderr] Downloaded syn v1.0.8 [INFO] [stderr] Downloaded itertools v0.8.1 [INFO] [stderr] Downloaded regex-syntax v0.6.12 [INFO] [stderr] Downloaded itertools v0.7.11 [INFO] [stderr] Downloaded c2-chacha v0.2.3 [INFO] [stderr] Downloaded wasi v0.7.0 [INFO] [stderr] Downloaded ryu v1.0.2 [INFO] [stderr] Downloaded libc v0.2.65 [INFO] [stderr] Downloaded serde_json v1.0.41 [INFO] [stderr] Downloaded csv v1.1.1 [INFO] [stderr] Downloaded bit-vec v0.5.1 [INFO] [stderr] Downloaded serde v1.0.102 [INFO] [stderr] Downloaded getrandom v0.1.13 [INFO] [stderr] Downloaded static_assertions v0.2.5 [INFO] [stderr] Downloaded either v1.5.3 [INFO] [stderr] Downloaded proptest v0.9.4 [INFO] [stderr] Downloaded crossbeam-queue v0.2.0 [INFO] [stderr] Downloaded bstr v0.2.8 [INFO] [stderr] Downloaded rayon-core v1.7.0 [INFO] [stderr] Downloaded criterion v0.2.11 [INFO] [stderr] Downloaded generic-array v0.9.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.6 [INFO] [stderr] Downloaded typenum v1.11.2 [INFO] [stderr] Downloaded bit-set v0.5.1 [INFO] [stderr] Downloaded num-traits v0.2.9 [INFO] [stderr] Downloaded quick-error v1.2.2 [INFO] [stderr] Downloaded ppv-lite86 v0.2.6 [INFO] [stderr] Downloaded rayon v1.3.0 [INFO] [stderr] Downloaded fixed-hash v0.3.2 [INFO] [stderr] Downloaded same-file v1.0.5 [INFO] [stderr] Downloaded rusty-fork v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7d707f5c946cbe6b0c00ef1cbcc5fdf67bcbc1e1913c17a504bfff919529e09 [INFO] running `Command { std: "docker" "start" "-a" "d7d707f5c946cbe6b0c00ef1cbcc5fdf67bcbc1e1913c17a504bfff919529e09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7d707f5c946cbe6b0c00ef1cbcc5fdf67bcbc1e1913c17a504bfff919529e09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7d707f5c946cbe6b0c00ef1cbcc5fdf67bcbc1e1913c17a504bfff919529e09", kill_on_drop: false }` [INFO] [stdout] d7d707f5c946cbe6b0c00ef1cbcc5fdf67bcbc1e1913c17a504bfff919529e09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 028bc2f3e27e501cf2ad33b32566b32a73ac09d9833153d23f305670e89eb775 [INFO] running `Command { std: "docker" "start" "-a" "028bc2f3e27e501cf2ad33b32566b32a73ac09d9833153d23f305670e89eb775", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking constant_time_eq v0.1.4 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking itertools v0.8.1 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking fixed-hash v0.3.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking crypto-mac v0.5.2 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking blake2 v0.7.1 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking tinytemplate v1.0.2 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking core_cbc_casper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tests_common/integer.rs:32:62 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, Eq, Debug, Ord, PartialOrd, PartialEq, Hash, serde_derive::Serialize)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_IntegerWrapper` [INFO] [stdout] 33 | pub struct IntegerWrapper(pub u32); [INFO] [stdout] | -------------- `IntegerWrapper` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/tests_common/vote_count.rs:50:70 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Copy, Eq, Ord, PartialOrd, PartialEq, Hash, Default, serde_derive::Serialize)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VoteCount` [INFO] [stdout] 51 | pub struct VoteCount { [INFO] [stdout] | --------- `VoteCount` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/blockchain.rs:81:45 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Clone, Eq, PartialEq, Debug, Hash, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ProtoBlock` [INFO] [stdout] 82 | struct ProtoBlock { [INFO] [stdout] | ---------- `ProtoBlock` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> src/util/hash.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / fixed_hash::construct_fixed_hash!( [INFO] [stdout] 22 | | pub struct Hash(64); [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `fixed_hash::construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/serde.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Serialize, Deserialize, PartialEq, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Example` [INFO] [stdout] 34 | struct Example { [INFO] [stdout] | ------- `Example` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (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] --> examples/serde.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Serialize, Deserialize, PartialEq, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Example` [INFO] [stdout] 34 | struct Example { [INFO] [stdout] | ------- `Example` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/ternary.rs:35:68 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, Hash, Clone, Copy, Ord, PartialOrd, Eq, PartialEq, serde_derive::Serialize)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Value` [INFO] [stdout] 36 | pub enum Value { [INFO] [stdout] | ----- `Value` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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] --> tests/common/binary.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, Eq, PartialEq, Debug, Hash, serde_derive::Serialize)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BoolWrapper` [INFO] [stdout] 29 | pub struct BoolWrapper(pub bool); [INFO] [stdout] | ----------- `BoolWrapper` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> benches/block.rs:35:68 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, Hash, Clone, Copy, Ord, PartialOrd, Eq, PartialEq, serde_derive::Serialize)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Value` [INFO] [stdout] 36 | pub enum Value { [INFO] [stdout] | ----- `Value` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tests_common/integer.rs:32:62 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, Eq, Debug, Ord, PartialOrd, PartialEq, Hash, serde_derive::Serialize)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_IntegerWrapper` [INFO] [stdout] 33 | pub struct IntegerWrapper(pub u32); [INFO] [stdout] | -------------- `IntegerWrapper` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/tests_common/vote_count.rs:50:70 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Copy, Eq, Ord, PartialOrd, PartialEq, Hash, Default, serde_derive::Serialize)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VoteCount` [INFO] [stdout] 51 | pub struct VoteCount { [INFO] [stdout] | --------- `VoteCount` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/blockchain.rs:81:45 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Clone, Eq, PartialEq, Debug, Hash, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ProtoBlock` [INFO] [stdout] 82 | struct ProtoBlock { [INFO] [stdout] | ---------- `ProtoBlock` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/blockchain.rs:922:9 [INFO] [stdout] | [INFO] [stdout] 922 | / float_eq!( [INFO] [stdout] 923 | | genesis.score( [INFO] [stdout] 924 | | &LatestMessagesHonest::from_latest_messages(&latest_messages, &HashSet::new()), [INFO] [stdout] 925 | | &weights [INFO] [stdout] 926 | | ), [INFO] [stdout] 927 | | 31.0 [INFO] [stdout] 928 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/blockchain.rs:929:9 [INFO] [stdout] | [INFO] [stdout] 929 | / float_eq!( [INFO] [stdout] 930 | | block_1.score( [INFO] [stdout] 931 | | &LatestMessagesHonest::from_latest_messages(&latest_messages, &HashSet::new()), [INFO] [stdout] 932 | | &weights [INFO] [stdout] 933 | | ), [INFO] [stdout] 934 | | 31.0 [INFO] [stdout] 935 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/blockchain.rs:936:9 [INFO] [stdout] | [INFO] [stdout] 936 | / float_eq!( [INFO] [stdout] 937 | | block_2.score( [INFO] [stdout] 938 | | &LatestMessagesHonest::from_latest_messages(&latest_messages, &HashSet::new()), [INFO] [stdout] 939 | | &weights [INFO] [stdout] 940 | | ), [INFO] [stdout] 941 | | 4.0 [INFO] [stdout] 942 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/blockchain.rs:943:9 [INFO] [stdout] | [INFO] [stdout] 943 | / float_eq!( [INFO] [stdout] 944 | | block_3.score( [INFO] [stdout] 945 | | &LatestMessagesHonest::from_latest_messages(&latest_messages, &HashSet::new()), [INFO] [stdout] 946 | | &weights [INFO] [stdout] 947 | | ), [INFO] [stdout] 948 | | 25.0 [INFO] [stdout] 949 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/blockchain.rs:950:9 [INFO] [stdout] | [INFO] [stdout] 950 | / float_eq!( [INFO] [stdout] 951 | | block_4.score( [INFO] [stdout] 952 | | &LatestMessagesHonest::from_latest_messages(&latest_messages, &HashSet::new()), [INFO] [stdout] 953 | | &weights [INFO] [stdout] 954 | | ), [INFO] [stdout] 955 | | 17.0 [INFO] [stdout] 956 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/blockchain.rs:957:9 [INFO] [stdout] | [INFO] [stdout] 957 | / float_eq!( [INFO] [stdout] 958 | | block_5.score( [INFO] [stdout] 959 | | &LatestMessagesHonest::from_latest_messages(&latest_messages, &HashSet::new()), [INFO] [stdout] 960 | | &weights [INFO] [stdout] 961 | | ), [INFO] [stdout] 962 | | 16.0 [INFO] [stdout] 963 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/justification.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | float_eq!(validator_state.fault_weight(), 3.0); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/justification.rs:626:9 [INFO] [stdout] | [INFO] [stdout] 626 | float_eq!(validator_state.fault_weight(), 3.0); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | / format!( [INFO] [stdout] 33 | | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stdout] 34 | | $lhs, $rhs, $message [INFO] [stdout] 35 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/justification.rs:691:9 [INFO] [stdout] | [INFO] [stdout] 691 | / float_eq!( [INFO] [stdout] 692 | | state.fault_weight(), [INFO] [stdout] 693 | | 1.0, [INFO] [stdout] 694 | | "$v0_prime$ conflicts with $v0$ through $m0$, but we should accept this fault as it \ [INFO] [stdout] 695 | | doesnt cross the fault threshold for the set, and thus the state_fault_weight should \ [INFO] [stdout] 696 | | be incremented to 1.0" [INFO] [stdout] 697 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 32 ~ [INFO] [stdout] 33 | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stdout] 34 | $lhs, $rhs, $message [INFO] [stdout] 35 ~ , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | / format!( [INFO] [stdout] 33 | | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stdout] 34 | | $lhs, $rhs, $message [INFO] [stdout] 35 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/justification.rs:731:9 [INFO] [stdout] | [INFO] [stdout] 731 | / float_eq!( [INFO] [stdout] 732 | | state.fault_weight(), [INFO] [stdout] 733 | | 0.1, [INFO] [stdout] 734 | | "$v0_prime$ conflicts with $v0$ through $m0$, and we should NOT accept this fault as \ [INFO] [stdout] 735 | | the fault threshold gets crossed for the set, and thus the state_fault_weight should \ [INFO] [stdout] 736 | | not be incremented" [INFO] [stdout] 737 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 32 ~ [INFO] [stdout] 33 | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stdout] 34 | $lhs, $rhs, $message [INFO] [stdout] 35 ~ , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | / format!( [INFO] [stdout] 33 | | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stdout] 34 | | $lhs, $rhs, $message [INFO] [stdout] 35 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/justification.rs:768:9 [INFO] [stdout] | [INFO] [stdout] 768 | / float_eq!( [INFO] [stdout] 769 | | state.fault_weight(), [INFO] [stdout] 770 | | 2.0, [INFO] [stdout] 771 | | "$v0_prime$ conflict with $v0$ through $m0$, but we should NOT accept this fault as \ [INFO] [stdout] 772 | | we can't know the weight of the validator, which could be Infinity, and thus the \ [INFO] [stdout] 773 | | state_fault_weight should be unchanged" [INFO] [stdout] 774 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 32 ~ [INFO] [stdout] 33 | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stdout] 34 | $lhs, $rhs, $message [INFO] [stdout] 35 ~ , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | / format!( [INFO] [stdout] 33 | | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stdout] 34 | | $lhs, $rhs, $message [INFO] [stdout] 35 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/justification.rs:809:9 [INFO] [stdout] | [INFO] [stdout] 809 | / float_eq!( [INFO] [stdout] 810 | | state.fault_weight(), [INFO] [stdout] 811 | | 1.0, [INFO] [stdout] 812 | | "$v0_prime$ conflict with $v0$ through $m0$, but we should NOT accept this fault as \ [INFO] [stdout] 813 | | we can't know the weight of the validator, which could be Infinity, and thus the \ [INFO] [stdout] 814 | | state_fault_weight should be unchanged" [INFO] [stdout] 815 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 32 ~ [INFO] [stdout] 33 | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stdout] 34 | $lhs, $rhs, $message [INFO] [stdout] 35 ~ , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/justification.rs:845:9 [INFO] [stdout] | [INFO] [stdout] 845 | float_eq!(validator_state.fault_weight(), 1.0); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/justification.rs:877:9 [INFO] [stdout] | [INFO] [stdout] 877 | / float_eq!( [INFO] [stdout] 878 | | validator_state.validators_weights().weight(&0).unwrap(), [INFO] [stdout] 879 | | 0.0 [INFO] [stdout] 880 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/justification.rs:881:9 [INFO] [stdout] | [INFO] [stdout] 881 | float_eq!(validator_state.fault_weight(), 0.0); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> src/util/hash.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / fixed_hash::construct_fixed_hash!( [INFO] [stdout] 22 | | pub struct Hash(64); [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `fixed_hash::construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/validator.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 459 | float_eq!(weights.weight(&0).unwrap(), 1.0); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/validator.rs:460:9 [INFO] [stdout] | [INFO] [stdout] 460 | float_eq!(weights.weight(&1).unwrap(), -1.0); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/validator.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | / float_eq!( [INFO] [stdout] 484 | | weights.sum_weight_validators(&HashSet::from_iter(vec![0, 1])), [INFO] [stdout] 485 | | 0.0 [INFO] [stdout] 486 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/validator.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | / float_eq!( [INFO] [stdout] 488 | | weights.sum_weight_validators(&HashSet::from_iter(vec![0, 2])), [INFO] [stdout] 489 | | 4.3 [INFO] [stdout] 490 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/validator.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | / float_eq!( [INFO] [stdout] 501 | | weights.sum_all_weights(), [INFO] [stdout] 502 | | weights.sum_weight_validators(&HashSet::from_iter(vec![0, 2])) [INFO] [stdout] 503 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stdout] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | / format!( [INFO] [stdout] 33 | | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stdout] 34 | | $lhs, $rhs, $message [INFO] [stdout] 35 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/validator.rs:543:9 [INFO] [stdout] | [INFO] [stdout] 543 | / float_eq!( [INFO] [stdout] 544 | | validator_state.fault_weight(), [INFO] [stdout] 545 | | 0.0, [INFO] [stdout] 546 | | "fault weight should be 0" [INFO] [stdout] 547 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 32 ~ [INFO] [stdout] 33 | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stdout] 34 | $lhs, $rhs, $message [INFO] [stdout] 35 ~ , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | / format!( [INFO] [stdout] 33 | | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stdout] 34 | | $lhs, $rhs, $message [INFO] [stdout] 35 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/validator.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | / float_eq!( [INFO] [stdout] 597 | | validator_state.fault_weight(), [INFO] [stdout] 598 | | 1.0, [INFO] [stdout] 599 | | "fault weight should be 1" [INFO] [stdout] 600 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 32 ~ [INFO] [stdout] 33 | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stdout] 34 | $lhs, $rhs, $message [INFO] [stdout] 35 ~ , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests_common/utils.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | / format!( [INFO] [stdout] 33 | | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stdout] 34 | | $lhs, $rhs, $message [INFO] [stdout] 35 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/validator.rs:649:9 [INFO] [stdout] | [INFO] [stdout] 649 | / float_eq!( [INFO] [stdout] 650 | | validator_state.fault_weight(), [INFO] [stdout] 651 | | 0.0, [INFO] [stdout] 652 | | "fault weight should be 0" [INFO] [stdout] 653 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 32 ~ [INFO] [stdout] 33 | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stdout] 34 | $lhs, $rhs, $message [INFO] [stdout] 35 ~ , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.99s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "028bc2f3e27e501cf2ad33b32566b32a73ac09d9833153d23f305670e89eb775", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "028bc2f3e27e501cf2ad33b32566b32a73ac09d9833153d23f305670e89eb775", kill_on_drop: false }` [INFO] [stdout] 028bc2f3e27e501cf2ad33b32566b32a73ac09d9833153d23f305670e89eb775