[INFO] fetching crate core_cbc_casper 0.1.0... [INFO] checking core_cbc_casper-0.1.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate core_cbc_casper 0.1.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate core_cbc_casper 0.1.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-13/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proptest v0.9.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0d54af3ebdb94db54a6cfd7b0df6e0b86f0d5643186e3e46002d058d8c9903c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c0d54af3ebdb94db54a6cfd7b0df6e0b86f0d5643186e3e46002d058d8c9903c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0d54af3ebdb94db54a6cfd7b0df6e0b86f0d5643186e3e46002d058d8c9903c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0d54af3ebdb94db54a6cfd7b0df6e0b86f0d5643186e3e46002d058d8c9903c", kill_on_drop: false }` [INFO] [stdout] c0d54af3ebdb94db54a6cfd7b0df6e0b86f0d5643186e3e46002d058d8c9903c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e18a409361dd466b7bf34ad5075ace4935beac1b0fd207503917e078f97a6f5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0e18a409361dd466b7bf34ad5075ace4935beac1b0fd207503917e078f97a6f5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Checking lazy_static v1.4.0 [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 proc-macro2 v1.0.6 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking constant_time_eq v0.1.4 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking itertools v0.8.1 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [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 atty v0.2.13 [INFO] [stderr] Checking fixed-hash v0.3.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking crypto-mac v0.5.2 [INFO] [stderr] Checking blake2 v0.7.1 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Compiling serde_derive v1.0.102 [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: 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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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 dev [unoptimized + debuginfo] target(s) in 29.49s [INFO] running `Command { std: "docker" "inspect" "0e18a409361dd466b7bf34ad5075ace4935beac1b0fd207503917e078f97a6f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e18a409361dd466b7bf34ad5075ace4935beac1b0fd207503917e078f97a6f5", kill_on_drop: false }` [INFO] [stdout] 0e18a409361dd466b7bf34ad5075ace4935beac1b0fd207503917e078f97a6f5