[INFO] fetching crate core_cbc_casper 0.1.0... [INFO] testing core_cbc_casper-0.1.0 against try#ddc023471205c186b40f4bf8ffb598008dbf4885 for pr-87041-1 [INFO] extracting crate core_cbc_casper 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate core_cbc_casper 0.1.0 on toolchain ddc023471205c186b40f4bf8ffb598008dbf4885 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3/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-3/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: "/workspace/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded remove_dir_all v0.5.2 [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded scopeguard v1.0.0 [INFO] [stderr] Downloaded rayon v1.3.0 [INFO] [stderr] Downloaded rand v0.7.2 [INFO] [stderr] Downloaded rusty-fork v0.2.2 [INFO] [stderr] Downloaded proptest v0.9.4 [INFO] [stderr] Downloaded rand_chacha v0.2.1 [INFO] [stderr] Downloaded fnv v1.0.6 [INFO] [stderr] Downloaded bit-set v0.5.1 [INFO] [stderr] Downloaded static_assertions v0.2.5 [INFO] [stderr] Downloaded csv-core v0.1.6 [INFO] [stderr] Downloaded constant_time_eq v0.1.4 [INFO] [stderr] Downloaded winapi-util v0.1.2 [INFO] [stderr] Downloaded typenum v1.11.2 [INFO] [stderr] Downloaded generic-array v0.9.0 [INFO] [stderr] Downloaded crypto-mac v0.5.2 [INFO] [stderr] Downloaded itertools v0.8.1 [INFO] [stderr] Downloaded bit-vec v0.5.1 [INFO] [stderr] Downloaded byteorder v1.3.2 [INFO] [stderr] Downloaded itoa v0.4.4 [INFO] [stderr] Downloaded quick-error v1.2.2 [INFO] [stderr] Downloaded hermit-abi v0.1.3 [INFO] [stderr] Downloaded same-file v1.0.5 [INFO] [stderr] Downloaded c2-chacha v0.2.3 [INFO] [stderr] Downloaded crossbeam-deque v0.7.2 [INFO] [stderr] Downloaded walkdir v2.2.9 [INFO] [stderr] Downloaded serde_json v1.0.41 [INFO] [stderr] Downloaded either v1.5.3 [INFO] [stderr] Downloaded serde_derive v1.0.102 [INFO] [stderr] Downloaded serde v1.0.102 [INFO] [stderr] Downloaded rayon-core v1.7.0 [INFO] [stderr] Downloaded num_cpus v1.11.1 [INFO] [stderr] Downloaded ryu v1.0.2 [INFO] [stderr] Downloaded ppv-lite86 v0.2.6 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.0 [INFO] [stderr] Downloaded tinytemplate v1.0.2 [INFO] [stderr] Downloaded crossbeam-utils v0.7.0 [INFO] [stderr] Downloaded blake2 v0.7.1 [INFO] [stderr] Downloaded crossbeam-queue v0.2.0 [INFO] [stderr] Downloaded fixed-hash v0.3.2 [INFO] [stderr] Downloaded num-traits v0.2.9 [INFO] [stderr] Downloaded getrandom v0.1.13 [INFO] [stderr] Downloaded wasi v0.7.0 [INFO] [stderr] Downloaded regex-automata v0.1.8 [INFO] [stderr] Downloaded bstr v0.2.8 [INFO] [stderr] Downloaded regex-syntax v0.6.12 [INFO] [stderr] Downloaded syn v1.0.8 [INFO] [stderr] Downloaded bincode v1.2.0 [INFO] [stderr] Downloaded csv v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64a07591c57bb58ddcddb1398e958109fa557fbc9302a9743e25f9cc0da88afe [INFO] running `Command { std: "docker" "start" "-a" "64a07591c57bb58ddcddb1398e958109fa557fbc9302a9743e25f9cc0da88afe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64a07591c57bb58ddcddb1398e958109fa557fbc9302a9743e25f9cc0da88afe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64a07591c57bb58ddcddb1398e958109fa557fbc9302a9743e25f9cc0da88afe", kill_on_drop: false }` [INFO] [stdout] 64a07591c57bb58ddcddb1398e958109fa557fbc9302a9743e25f9cc0da88afe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbfaf5adae673e2599697c35abf7032e1be6371fb58f1c1121e43a9d278fd1ac [INFO] running `Command { std: "docker" "start" "-a" "fbfaf5adae673e2599697c35abf7032e1be6371fb58f1c1121e43a9d278fd1ac", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling constant_time_eq v0.1.4 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling static_assertions v0.2.5 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling itertools v0.7.11 [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_cpus v1.11.1 [INFO] [stderr] Compiling fixed-hash v0.3.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling blake2 v0.7.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling core_cbc_casper v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.65s [INFO] running `Command { std: "docker" "inspect" "fbfaf5adae673e2599697c35abf7032e1be6371fb58f1c1121e43a9d278fd1ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbfaf5adae673e2599697c35abf7032e1be6371fb58f1c1121e43a9d278fd1ac", kill_on_drop: false }` [INFO] [stdout] fbfaf5adae673e2599697c35abf7032e1be6371fb58f1c1121e43a9d278fd1ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3db5fc2e349f4a43c910791ca81049ea9c77ad98b9637d3f854a82bb21f34855 [INFO] running `Command { std: "docker" "start" "-a" "3db5fc2e349f4a43c910791ca81049ea9c77ad98b9637d3f854a82bb21f34855", kill_on_drop: false }` [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling itertools v0.8.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling criterion-plot v0.3.1 [INFO] [stderr] Compiling tinytemplate v1.0.2 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling criterion v0.2.11 [INFO] [stderr] Compiling core_cbc_casper v0.1.0 (/opt/rustwide/workdir) [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: `#[warn(non_fmt_panics)]` on by default [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: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: 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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.92s [INFO] running `Command { std: "docker" "inspect" "3db5fc2e349f4a43c910791ca81049ea9c77ad98b9637d3f854a82bb21f34855", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3db5fc2e349f4a43c910791ca81049ea9c77ad98b9637d3f854a82bb21f34855", kill_on_drop: false }` [INFO] [stdout] 3db5fc2e349f4a43c910791ca81049ea9c77ad98b9637d3f854a82bb21f34855 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9efb6c75240abb38b73a574b0979700f3ac83559ad6a8c17fc925c2a2ac071f5 [INFO] running `Command { std: "docker" "start" "-a" "9efb6c75240abb38b73a574b0979700f3ac83559ad6a8c17fc925c2a2ac071f5", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/blockchain.rs:922:9 [INFO] [stderr] | [INFO] [stderr] 922 | / float_eq!( [INFO] [stderr] 923 | | genesis.score( [INFO] [stderr] 924 | | &LatestMessagesHonest::from_latest_messages(&latest_messages, &HashSet::new()), [INFO] [stderr] 925 | | &weights [INFO] [stderr] 926 | | ), [INFO] [stderr] 927 | | 31.0 [INFO] [stderr] 928 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/blockchain.rs:929:9 [INFO] [stderr] | [INFO] [stderr] 929 | / float_eq!( [INFO] [stderr] 930 | | block_1.score( [INFO] [stderr] 931 | | &LatestMessagesHonest::from_latest_messages(&latest_messages, &HashSet::new()), [INFO] [stderr] 932 | | &weights [INFO] [stderr] 933 | | ), [INFO] [stderr] 934 | | 31.0 [INFO] [stderr] 935 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/blockchain.rs:936:9 [INFO] [stderr] | [INFO] [stderr] 936 | / float_eq!( [INFO] [stderr] 937 | | block_2.score( [INFO] [stderr] 938 | | &LatestMessagesHonest::from_latest_messages(&latest_messages, &HashSet::new()), [INFO] [stderr] 939 | | &weights [INFO] [stderr] 940 | | ), [INFO] [stderr] 941 | | 4.0 [INFO] [stderr] 942 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/blockchain.rs:943:9 [INFO] [stderr] | [INFO] [stderr] 943 | / float_eq!( [INFO] [stderr] 944 | | block_3.score( [INFO] [stderr] 945 | | &LatestMessagesHonest::from_latest_messages(&latest_messages, &HashSet::new()), [INFO] [stderr] 946 | | &weights [INFO] [stderr] 947 | | ), [INFO] [stderr] 948 | | 25.0 [INFO] [stderr] 949 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/blockchain.rs:950:9 [INFO] [stderr] | [INFO] [stderr] 950 | / float_eq!( [INFO] [stderr] 951 | | block_4.score( [INFO] [stderr] 952 | | &LatestMessagesHonest::from_latest_messages(&latest_messages, &HashSet::new()), [INFO] [stderr] 953 | | &weights [INFO] [stderr] 954 | | ), [INFO] [stderr] 955 | | 17.0 [INFO] [stderr] 956 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/blockchain.rs:957:9 [INFO] [stderr] | [INFO] [stderr] 957 | / float_eq!( [INFO] [stderr] 958 | | block_5.score( [INFO] [stderr] 959 | | &LatestMessagesHonest::from_latest_messages(&latest_messages, &HashSet::new()), [INFO] [stderr] 960 | | &weights [INFO] [stderr] 961 | | ), [INFO] [stderr] 962 | | 16.0 [INFO] [stderr] 963 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/justification.rs:580:9 [INFO] [stderr] | [INFO] [stderr] 580 | float_eq!(validator_state.fault_weight(), 3.0); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/justification.rs:626:9 [INFO] [stderr] | [INFO] [stderr] 626 | float_eq!(validator_state.fault_weight(), 3.0); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | / format!( [INFO] [stderr] 33 | | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stderr] 34 | | $lhs, $rhs, $message [INFO] [stderr] 35 | | ), [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] ::: src/justification.rs:691:9 [INFO] [stderr] | [INFO] [stderr] 691 | / float_eq!( [INFO] [stderr] 692 | | state.fault_weight(), [INFO] [stderr] 693 | | 1.0, [INFO] [stderr] 694 | | "$v0_prime$ conflicts with $v0$ through $m0$, but we should accept this fault as it \ [INFO] [stderr] 695 | | doesnt cross the fault threshold for the set, and thus the state_fault_weight should \ [INFO] [stderr] 696 | | be incremented to 1.0" [INFO] [stderr] 697 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 32 ~ [INFO] [stderr] 33 | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stderr] 34 | $lhs, $rhs, $message [INFO] [stderr] 35 ~ , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | / format!( [INFO] [stderr] 33 | | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stderr] 34 | | $lhs, $rhs, $message [INFO] [stderr] 35 | | ), [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] ::: src/justification.rs:731:9 [INFO] [stderr] | [INFO] [stderr] 731 | / float_eq!( [INFO] [stderr] 732 | | state.fault_weight(), [INFO] [stderr] 733 | | 0.1, [INFO] [stderr] 734 | | "$v0_prime$ conflicts with $v0$ through $m0$, and we should NOT accept this fault as \ [INFO] [stderr] 735 | | the fault threshold gets crossed for the set, and thus the state_fault_weight should \ [INFO] [stderr] 736 | | not be incremented" [INFO] [stderr] 737 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 32 ~ [INFO] [stderr] 33 | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stderr] 34 | $lhs, $rhs, $message [INFO] [stderr] 35 ~ , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | / format!( [INFO] [stderr] 33 | | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stderr] 34 | | $lhs, $rhs, $message [INFO] [stderr] 35 | | ), [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] ::: src/justification.rs:768:9 [INFO] [stderr] | [INFO] [stderr] 768 | / float_eq!( [INFO] [stderr] 769 | | state.fault_weight(), [INFO] [stderr] 770 | | 2.0, [INFO] [stderr] 771 | | "$v0_prime$ conflict with $v0$ through $m0$, but we should NOT accept this fault as \ [INFO] [stderr] 772 | | we can't know the weight of the validator, which could be Infinity, and thus the \ [INFO] [stderr] 773 | | state_fault_weight should be unchanged" [INFO] [stderr] 774 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 32 ~ [INFO] [stderr] 33 | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stderr] 34 | $lhs, $rhs, $message [INFO] [stderr] 35 ~ , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | / format!( [INFO] [stderr] 33 | | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stderr] 34 | | $lhs, $rhs, $message [INFO] [stderr] 35 | | ), [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] ::: src/justification.rs:809:9 [INFO] [stderr] | [INFO] [stderr] 809 | / float_eq!( [INFO] [stderr] 810 | | state.fault_weight(), [INFO] [stderr] 811 | | 1.0, [INFO] [stderr] 812 | | "$v0_prime$ conflict with $v0$ through $m0$, but we should NOT accept this fault as \ [INFO] [stderr] 813 | | we can't know the weight of the validator, which could be Infinity, and thus the \ [INFO] [stderr] 814 | | state_fault_weight should be unchanged" [INFO] [stderr] 815 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 32 ~ [INFO] [stderr] 33 | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stderr] 34 | $lhs, $rhs, $message [INFO] [stderr] 35 ~ , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/justification.rs:845:9 [INFO] [stderr] | [INFO] [stderr] 845 | float_eq!(validator_state.fault_weight(), 1.0); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/justification.rs:877:9 [INFO] [stderr] | [INFO] [stderr] 877 | / float_eq!( [INFO] [stderr] 878 | | validator_state.validators_weights().weight(&0).unwrap(), [INFO] [stderr] 879 | | 0.0 [INFO] [stderr] 880 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/justification.rs:881:9 [INFO] [stderr] | [INFO] [stderr] 881 | float_eq!(validator_state.fault_weight(), 0.0); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/validator.rs:459:9 [INFO] [stderr] | [INFO] [stderr] 459 | float_eq!(weights.weight(&0).unwrap(), 1.0); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/validator.rs:460:9 [INFO] [stderr] | [INFO] [stderr] 460 | float_eq!(weights.weight(&1).unwrap(), -1.0); [INFO] [stderr] | -------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/validator.rs:483:9 [INFO] [stderr] | [INFO] [stderr] 483 | / float_eq!( [INFO] [stderr] 484 | | weights.sum_weight_validators(&HashSet::from_iter(vec![0, 1])), [INFO] [stderr] 485 | | 0.0 [INFO] [stderr] 486 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/validator.rs:487:9 [INFO] [stderr] | [INFO] [stderr] 487 | / float_eq!( [INFO] [stderr] 488 | | weights.sum_weight_validators(&HashSet::from_iter(vec![0, 2])), [INFO] [stderr] 489 | | 4.3 [INFO] [stderr] 490 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/validator.rs:500:9 [INFO] [stderr] | [INFO] [stderr] 500 | / float_eq!( [INFO] [stderr] 501 | | weights.sum_all_weights(), [INFO] [stderr] 502 | | weights.sum_weight_validators(&HashSet::from_iter(vec![0, 2])) [INFO] [stderr] 503 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 26 - format!("float_eq: {} and {} aren't equal", $lhs, $rhs), [INFO] [stderr] 26 + "float_eq: {} and {} aren't equal", $lhs, $rhs, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | / format!( [INFO] [stderr] 33 | | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stderr] 34 | | $lhs, $rhs, $message [INFO] [stderr] 35 | | ), [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] ::: src/validator.rs:543:9 [INFO] [stderr] | [INFO] [stderr] 543 | / float_eq!( [INFO] [stderr] 544 | | validator_state.fault_weight(), [INFO] [stderr] 545 | | 0.0, [INFO] [stderr] 546 | | "fault weight should be 0" [INFO] [stderr] 547 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 32 ~ [INFO] [stderr] 33 | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stderr] 34 | $lhs, $rhs, $message [INFO] [stderr] 35 ~ , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | / format!( [INFO] [stderr] 33 | | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stderr] 34 | | $lhs, $rhs, $message [INFO] [stderr] 35 | | ), [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] ::: src/validator.rs:596:9 [INFO] [stderr] | [INFO] [stderr] 596 | / float_eq!( [INFO] [stderr] 597 | | validator_state.fault_weight(), [INFO] [stderr] 598 | | 1.0, [INFO] [stderr] 599 | | "fault weight should be 1" [INFO] [stderr] 600 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 32 ~ [INFO] [stderr] 33 | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stderr] 34 | $lhs, $rhs, $message [INFO] [stderr] 35 ~ , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/tests_common/utils.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | / format!( [INFO] [stderr] 33 | | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stderr] 34 | | $lhs, $rhs, $message [INFO] [stderr] 35 | | ), [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] ::: src/validator.rs:649:9 [INFO] [stderr] | [INFO] [stderr] 649 | / float_eq!( [INFO] [stderr] 650 | | validator_state.fault_weight(), [INFO] [stderr] 651 | | 0.0, [INFO] [stderr] 652 | | "fault weight should be 0" [INFO] [stderr] 653 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `float_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 32 ~ [INFO] [stderr] 33 | "float_eq: {} and {} aren't equal. Provided message: {}", [INFO] [stderr] 34 | $lhs, $rhs, $message [INFO] [stderr] 35 ~ , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `core_cbc_casper` (lib test) generated 23 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/core_cbc_casper-79dc106367582f6b) [INFO] [stdout] [INFO] [stdout] running 69 tests [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/core_cbc_casper-79dc106367582f6b` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "9efb6c75240abb38b73a574b0979700f3ac83559ad6a8c17fc925c2a2ac071f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9efb6c75240abb38b73a574b0979700f3ac83559ad6a8c17fc925c2a2ac071f5", kill_on_drop: false }` [INFO] [stdout] 9efb6c75240abb38b73a574b0979700f3ac83559ad6a8c17fc925c2a2ac071f5