Skip to content

incrementalmerkletree: Enable use in no_std environments. #571

incrementalmerkletree: Enable use in no_std environments.

incrementalmerkletree: Enable use in no_std environments. #571

Triggered via push January 27, 2025 22:44
Status Failure
Total duration 2m 34s
Artifacts

ci.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

82 errors and 4 warnings
Bitrot check
Process completed with exit code 101.
Test on ubuntu-latest
Process completed with exit code 101.
Test on windows-latest
The job was canceled because "ubuntu-latest" failed.
Test on windows-latest
The operation was canceled.
Intra-doc links
Process completed with exit code 101.
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/lib.rs#L882
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/lib.rs:882:59 | 882 | assert_eq!(path.root("c".to_string()), "abcdefgh".to_string()); | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 680 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/lib.rs#L882
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/lib.rs:882:34 | 882 | assert_eq!(path.root("c".to_string()), "abcdefgh".to_string()); | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 680 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/lib.rs#L877
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/lib.rs:877:60 | 877 | vec!["d".to_string(), "ab".to_string(), "efgh".to_string()], | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 680 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/lib.rs#L877
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/lib.rs:877:40 | 877 | vec!["d".to_string(), "ab".to_string(), "efgh".to_string()], | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 680 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/lib.rs#L877
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/lib.rs:877:22 | 877 | vec!["d".to_string(), "ab".to_string(), "efgh".to_string()], | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 680 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/lib.rs#L874
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/lib.rs:874:59 | 874 | assert_eq!(path.root("b".to_string()), "abcdefgh".to_string()); | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 680 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/lib.rs#L874
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/lib.rs:874:34 | 874 | assert_eq!(path.root("b".to_string()), "abcdefgh".to_string()); | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 680 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/lib.rs#L869
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/lib.rs:869:60 | 869 | vec!["a".to_string(), "cd".to_string(), "efgh".to_string()], | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 680 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/lib.rs#L869
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/lib.rs:869:40 | 869 | vec!["a".to_string(), "cd".to_string(), "efgh".to_string()], | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 680 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/lib.rs#L869
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/lib.rs:869:22 | 869 | vec!["a".to_string(), "cd".to_string(), "efgh".to_string()], | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 680 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/testing.rs#L18
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/testing.rs:18:13 | 18 | "_".to_string() | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 1 | use crate::alloc::string::ToString; |
no method named `to_string` found for type `char` in the current scope: incrementalmerkletree/src/witness.rs#L261
error[E0599]: no method named `to_string` found for type `char` in the current scope --> incrementalmerkletree/src/witness.rs:261:30 | 261 | witness.append(c.to_string()).unwrap(); | ^^^^^^^^^ method not found in `char` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 252 | use crate::alloc::string::ToString; |
no method named `to_string` found for type `char` in the current scope: incrementalmerkletree/src/witness.rs#L257
error[E0599]: no method named `to_string` found for type `char` in the current scope --> incrementalmerkletree/src/witness.rs:257:32 | 257 | base_tree.append(c.to_string()).unwrap(); | ^^^^^^^^^ method not found in `char` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 252 | use crate::alloc::string::ToString; |
no method named `to_string` found for type `char` in the current scope: incrementalmerkletree/src/frontier.rs#L942
error[E0599]: no method named `to_string` found for type `char` in the current scope --> incrementalmerkletree/src/frontier.rs:942:117 | 942 | fn prop_commitment_tree_roundtrip_str(ct in arb_commitment_tree::<_, _, 8>(32, any::<char>().prop_map(|c| c.to_string()))) { | ^^^^^^^^^ method not found in `char` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 769 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/frontier.rs#L888
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/frontier.rs:888:26 | 888 | Some("f".to_string()), | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 769 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/frontier.rs#L887
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/frontier.rs:887:26 | 887 | Some("e".to_string()), | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 769 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/frontier.rs#L886
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/frontier.rs:886:26 | 886 | Some("d".to_string()), | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 769 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/frontier.rs#L885
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/frontier.rs:885:26 | 885 | Some("c".to_string()), | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 769 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/frontier.rs#L883
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/frontier.rs:883:29 | 883 | right: Some("b".to_string()), | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 769 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/frontier.rs#L882
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/frontier.rs:882:28 | 882 | left: Some("a".to_string()), | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 769 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&str` in the current scope: incrementalmerkletree/src/frontier.rs#L848
error[E0599]: no method named `to_string` found for reference `&str` in the current scope --> incrementalmerkletree/src/frontier.rs:848:32 | 848 | .map(|v| v.to_string()) | ^^^^^^^^^ method not found in `&str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 769 | use crate::alloc::string::ToString; |
no method named `to_string` found for type `char` in the current scope: incrementalmerkletree/src/frontier.rs#L839
error[E0599]: no method named `to_string` found for type `char` in the current scope --> incrementalmerkletree/src/frontier.rs:839:31 | 839 | frontier.append(c.to_string()); | ^^^^^^^^^ method not found in `char` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 769 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&str` in the current scope: incrementalmerkletree/src/frontier.rs#L829
error[E0599]: no method named `to_string` found for reference `&str` in the current scope --> incrementalmerkletree/src/frontier.rs:829:28 | 829 | .map(|v| v.to_string()) | ^^^^^^^^^ method not found in `&str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 769 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/frontier.rs#L822
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/frontier.rs:822:27 | 822 | 0 => Some("h".to_string()), | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 769 | use crate::alloc::string::ToString; |
no method named `to_string` found for type `char` in the current scope: incrementalmerkletree/src/frontier.rs#L819
error[E0599]: no method named `to_string` found for type `char` in the current scope --> incrementalmerkletree/src/frontier.rs:819:31 | 819 | frontier.append(c.to_string()); | ^^^^^^^^^ method not found in `char` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 769 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/frontier.rs#L817
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/frontier.rs:817:64 | 817 | let mut frontier = NonEmptyFrontier::<String>::new("a".to_string()); | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 769 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/frontier.rs#L811
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/frontier.rs:811:29 | 811 | frontier.append("c".to_string()); | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 769 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/frontier.rs#L808
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/frontier.rs:808:29 | 808 | frontier.append("b".to_string()); | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 769 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/frontier.rs#L805
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/frontier.rs:805:29 | 805 | frontier.append("a".to_string()); | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 769 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/frontier.rs#L788
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/frontier.rs:788:29 | 788 | frontier.append("c".to_string()); | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 769 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/frontier.rs#L785
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/frontier.rs:785:29 | 785 | frontier.append("b".to_string()); | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 769 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/frontier.rs#L782
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/frontier.rs:782:54 | 782 | let mut frontier = NonEmptyFrontier::new("a".to_string()); | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 769 | use crate::alloc::string::ToString; |
no method named `to_string` found for reference `&'static str` in the current scope: incrementalmerkletree/src/testing.rs#L18
error[E0599]: no method named `to_string` found for reference `&'static str` in the current scope --> incrementalmerkletree/src/testing.rs:18:13 | 18 | "_".to_string() | ^^^^^^^^^ method not found in `&'static str` | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 1 | use crate::alloc::string::ToString; |
cannot find type `String` in this scope: incrementalmerkletree/src/lib.rs#L876
error[E0412]: cannot find type `String` in this scope --> incrementalmerkletree/src/lib.rs:876:30 | 876 | let path: MerklePath<String, 3> = MerklePath::from_parts( | ^^^^^^ not found in this scope | help: consider importing one of these items | 680 | use alloc::string::String; | 680 | use proptest::std_facade::String; |
cannot find type `String` in this scope: incrementalmerkletree/src/lib.rs#L868
error[E0412]: cannot find type `String` in this scope --> incrementalmerkletree/src/lib.rs:868:30 | 868 | let path: MerklePath<String, 3> = MerklePath::from_parts( | ^^^^^^ not found in this scope | help: consider importing one of these items | 680 | use alloc::string::String; | 680 | use proptest::std_facade::String; |
cannot find type `Vec` in this scope: incrementalmerkletree/src/lib.rs#L766
error[E0412]: cannot find type `Vec` in this scope --> incrementalmerkletree/src/lib.rs:766:28 | 766 | .collect::<Vec<_>>() | ^^^ not found in this scope | help: consider importing one of these items | 680 | use alloc::vec::Vec; | 680 | use crate::Vec; | 680 | use proptest::std_facade::Vec; |
cannot find type `Vec` in this scope: incrementalmerkletree/src/lib.rs#L755
error[E0412]: cannot find type `Vec` in this scope --> incrementalmerkletree/src/lib.rs:755:28 | 755 | .collect::<Vec<_>>() | ^^^ not found in this scope | help: consider importing one of these items | 680 | use alloc::vec::Vec; | 680 | use crate::Vec; | 680 | use proptest::std_facade::Vec; |
cannot find type `Vec` in this scope: incrementalmerkletree/src/lib.rs#L744
error[E0412]: cannot find type `Vec` in this scope --> incrementalmerkletree/src/lib.rs:744:28 | 744 | .collect::<Vec<_>>() | ^^^ not found in this scope | help: consider importing one of these items | 680 | use alloc::vec::Vec; | 680 | use crate::Vec; | 680 | use proptest::std_facade::Vec; |
cannot find type `Vec` in this scope: incrementalmerkletree/src/lib.rs#L734
error[E0412]: cannot find type `Vec` in this scope --> incrementalmerkletree/src/lib.rs:734:28 | 734 | .collect::<Vec<_>>() | ^^^ not found in this scope | help: consider importing one of these items | 680 | use alloc::vec::Vec; | 680 | use crate::Vec; | 680 | use proptest::std_facade::Vec; |
cannot find type `Vec` in this scope: incrementalmerkletree/src/lib.rs#L728
error[E0412]: cannot find type `Vec` in this scope --> incrementalmerkletree/src/lib.rs:728:28 | 728 | .collect::<Vec<_>>() | ^^^ not found in this scope | help: consider importing one of these items | 680 | use alloc::vec::Vec; | 680 | use crate::Vec; | 680 | use proptest::std_facade::Vec; |
cannot find type `String` in this scope: incrementalmerkletree/src/testing.rs#L16
error[E0412]: cannot find type `String` in this scope --> incrementalmerkletree/src/testing.rs:16:19 | 16 | impl Hashable for String { | ^^^^^^ not found in this scope | help: consider importing one of these items | 1 | use alloc::string::String; | 1 | use proptest::std_facade::String; |
cannot find type `String` in this scope: incrementalmerkletree/src/witness.rs#L255
error[E0412]: cannot find type `String` in this scope --> incrementalmerkletree/src/witness.rs:255:46 | 255 | let mut base_tree = CommitmentTree::<String, 6>::empty(); | ^^^^^^ not found in this scope | help: consider importing one of these items | 252 | use alloc::string::String; | 252 | use proptest::std_facade::String; |
failed to resolve: use of undeclared type `Vec`: incrementalmerkletree/src/witness.rs#L217
error[E0433]: failed to resolve: use of undeclared type `Vec` --> incrementalmerkletree/src/witness.rs:217:29 | 217 | let mut auth_path = Vec::new(); | ^^^ not found in this scope | help: consider importing one of these items | 1 | use alloc::vec::Vec; | 1 | use crate::Vec; | 1 | use proptest::std_facade::Vec; |
cannot find type `Vec` in this scope: incrementalmerkletree/src/witness.rs#L86
error[E0412]: cannot find type `Vec` in this scope --> incrementalmerkletree/src/witness.rs:86:30 | 86 | pub fn filled(&self) -> &Vec<H> { | ^^^ not found in this scope | help: consider importing one of these items | 1 | use alloc::vec::Vec; | 1 | use crate::Vec; | 1 | use proptest::std_facade::Vec; |
cannot find type `Vec` in this scope: incrementalmerkletree/src/witness.rs#L65
error[E0412]: cannot find type `Vec` in this scope --> incrementalmerkletree/src/witness.rs:65:17 | 65 | filled: Vec<H>, | ^^^ not found in this scope | help: consider importing one of these items | 1 | use alloc::vec::Vec; | 1 | use crate::Vec; | 1 | use proptest::std_facade::Vec; |
cannot find type `Vec` in this scope: incrementalmerkletree/src/witness.rs#L40
error[E0412]: cannot find type `Vec` in this scope --> incrementalmerkletree/src/witness.rs:40:13 | 40 | filled: Vec<H>, | ^^^ not found in this scope | help: consider importing one of these items | 1 | use alloc::vec::Vec; | 1 | use crate::Vec; | 1 | use proptest::std_facade::Vec; |
cannot find type `String` in this scope: incrementalmerkletree/src/frontier.rs#L946
error[E0412]: cannot find type `String` in this scope --> incrementalmerkletree/src/frontier.rs:946:37 | 946 | let frontier0: Frontier<String, 8> = ct0.to_frontier(); | ^^^^^^ not found in this scope | help: consider importing one of these items | 769 | use alloc::string::String; | 769 | use proptest::std_facade::String; |
cannot find type `String` in this scope: incrementalmerkletree/src/frontier.rs#L943
error[E0412]: cannot find type `String` in this scope --> incrementalmerkletree/src/frontier.rs:943:36 | 943 | let frontier: Frontier<String, 8> = ct.to_frontier(); | ^^^^^^ not found in this scope | help: consider importing one of these items | 769 | use alloc::string::String; | 769 | use proptest::std_facade::String; |
cannot find type `String` in this scope: incrementalmerkletree/src/frontier.rs#L898
error[E0412]: cannot find type `String` in this scope --> incrementalmerkletree/src/frontier.rs:898:33 | 898 | let frontier0: Frontier<String, 8> = ct0.to_frontier(); | ^^^^^^ not found in this scope | help: consider importing one of these items | 769 | use alloc::string::String; | 769 | use proptest::std_facade::String; |
cannot find type `String` in this scope: incrementalmerkletree/src/frontier.rs#L895
error[E0412]: cannot find type `String` in this scope --> incrementalmerkletree/src/frontier.rs:895:32 | 895 | let frontier: Frontier<String, 8> = ct.to_frontier(); | ^^^^^^ not found in this scope | help: consider importing one of these items | 769 | use alloc::string::String; | 769 | use proptest::std_facade::String; |
failed to resolve: use of undeclared type `String`: incrementalmerkletree/src/frontier.rs#L844
error[E0433]: failed to resolve: use of undeclared type `String` --> incrementalmerkletree/src/frontier.rs:844:38 | 844 | .witness(|addr| Some(String::empty_root(addr.level()))) | ^^^^^^ not found in this scope | help: consider importing one of these items | 769 | use alloc::string::String; | 769 | use proptest::std_facade::String; |
cannot find type `String` in this scope: incrementalmerkletree/src/frontier.rs#L837
error[E0412]: cannot find type `String` in this scope --> incrementalmerkletree/src/frontier.rs:837:39 | 837 | let mut frontier = Frontier::<String, 4>::empty(); | ^^^^^^ not found in this scope | help: consider importing one of these items | 769 | use alloc::string::String; | 769 | use proptest::std_facade::String; |
cannot find type `String` in this scope: incrementalmerkletree/src/frontier.rs#L817
error[E0412]: cannot find type `String` in this scope --> incrementalmerkletree/src/frontier.rs:817:47 | 817 | let mut frontier = NonEmptyFrontier::<String>::new("a".to_string()); | ^^^^^^ not found in this scope | help: consider importing one of these items | 769 | use alloc::string::String; | 769 | use proptest::std_facade::String; |
cannot find type `String` in this scope: incrementalmerkletree/src/frontier.rs#L801
error[E0412]: cannot find type `String` in this scope --> incrementalmerkletree/src/frontier.rs:801:43 | 801 | let mut frontier: super::Frontier<String, 4> = super::Frontier::empty(); | ^^^^^^ not found in this scope | help: consider importing one of these items | 769 | use alloc::string::String; | 769 | use proptest::std_facade::String; |
failed to resolve: use of undeclared type `Box`: incrementalmerkletree/src/frontier.rs#L508
error[E0433]: failed to resolve: use of undeclared type `Box` --> incrementalmerkletree/src/frontier.rs:508:13 | 508 | Box::new(self.parents.iter().filter_map(|v| v.as_ref())) | ^^^ not found in this scope | help: consider importing one of these items | 1 | use alloc::boxed::Box; | 1 | use proptest::std_facade::Box; |
failed to resolve: use of undeclared type `Box`: incrementalmerkletree/src/frontier.rs#L502
error[E0433]: failed to resolve: use of undeclared type `Box` --> incrementalmerkletree/src/frontier.rs:502:13 | 502 | Box::new( | ^^^ not found in this scope | help: consider importing one of these items | 1 | use alloc::boxed::Box; | 1 | use proptest::std_facade::Box; |
cannot find type `Box` in this scope: incrementalmerkletree/src/frontier.rs#L500
error[E0412]: cannot find type `Box` in this scope --> incrementalmerkletree/src/frontier.rs:500:34 | 500 | pub fn ommers_iter(&self) -> Box<dyn Iterator<Item = &'_ H> + '_> { | ^^^ not found in this scope | help: consider importing one of these items | 1 | use alloc::boxed::Box; | 1 | use proptest::std_facade::Box; |
failed to resolve: use of undeclared crate or module `std`: incrementalmerkletree/src/frontier.rs#L213
error[E0433]: failed to resolve: use of undeclared crate or module `std` --> incrementalmerkletree/src/frontier.rs:213:39 | 213 | let prior_roots: Vec<H> = std::iter::repeat_with(|| rng.gen()) | ^^^ use of undeclared crate or module `std`
failed to resolve: use of undeclared crate or module `std`: incrementalmerkletree/src/frontier.rs#L199
error[E0433]: failed to resolve: use of undeclared crate or module `std` --> incrementalmerkletree/src/frontier.rs:199:13 | 199 | std::iter::repeat_with(|| rng.gen()) | ^^^ use of undeclared crate or module `std`
failed to resolve: use of undeclared crate or module `std`: incrementalmerkletree/src/witness.rs#L2
error[E0433]: failed to resolve: use of undeclared crate or module `std` --> incrementalmerkletree/src/witness.rs:2:5 | 2 | use std::iter::repeat; | ^^^ use of undeclared crate or module `std`
failed to resolve: use of undeclared crate or module `std`: incrementalmerkletree/src/witness.rs#L1
error[E0433]: failed to resolve: use of undeclared crate or module `std` --> incrementalmerkletree/src/witness.rs:1:5 | 1 | use std::convert::TryInto; | ^^^ use of undeclared crate or module `std`
failed to resolve: use of undeclared crate or module `std`: incrementalmerkletree/src/frontier.rs#L684
error[E0433]: failed to resolve: use of undeclared crate or module `std` --> incrementalmerkletree/src/frontier.rs:684:9 | 684 | use std::hash::Hasher; | ^^^ use of undeclared crate or module `std`
failed to resolve: use of undeclared crate or module `std`: incrementalmerkletree/src/frontier.rs#L683
error[E0433]: failed to resolve: use of undeclared crate or module `std` --> incrementalmerkletree/src/frontier.rs:683:9 | 683 | use std::collections::hash_map::DefaultHasher; | ^^^ use of undeclared crate or module `std`
cannot find type `String` in this scope: incrementalmerkletree/src/testing.rs#L16
error[E0412]: cannot find type `String` in this scope --> incrementalmerkletree/src/testing.rs:16:19 | 16 | impl Hashable for String { | ^^^^^^ not found in this scope | help: consider importing one of these items | 1 | use alloc::string::String; | 1 | use proptest::std_facade::String; |
failed to resolve: use of undeclared type `Vec`: incrementalmerkletree/src/witness.rs#L217
error[E0433]: failed to resolve: use of undeclared type `Vec` --> incrementalmerkletree/src/witness.rs:217:29 | 217 | let mut auth_path = Vec::new(); | ^^^ not found in this scope | help: consider importing one of these items | 1 | use alloc::vec::Vec; | 1 | use crate::Vec; | 1 | use proptest::std_facade::Vec; |
cannot find type `Vec` in this scope: incrementalmerkletree/src/witness.rs#L86
error[E0412]: cannot find type `Vec` in this scope --> incrementalmerkletree/src/witness.rs:86:30 | 86 | pub fn filled(&self) -> &Vec<H> { | ^^^ not found in this scope | help: consider importing one of these items | 1 | use alloc::vec::Vec; | 1 | use crate::Vec; | 1 | use proptest::std_facade::Vec; |
cannot find type `Vec` in this scope: incrementalmerkletree/src/witness.rs#L65
error[E0412]: cannot find type `Vec` in this scope --> incrementalmerkletree/src/witness.rs:65:17 | 65 | filled: Vec<H>, | ^^^ not found in this scope | help: consider importing one of these items | 1 | use alloc::vec::Vec; | 1 | use crate::Vec; | 1 | use proptest::std_facade::Vec; |
cannot find type `Vec` in this scope: incrementalmerkletree/src/witness.rs#L40
error[E0412]: cannot find type `Vec` in this scope --> incrementalmerkletree/src/witness.rs:40:13 | 40 | filled: Vec<H>, | ^^^ not found in this scope | help: consider importing one of these items | 1 | use alloc::vec::Vec; | 1 | use crate::Vec; | 1 | use proptest::std_facade::Vec; |
failed to resolve: use of undeclared type `Box`: incrementalmerkletree/src/frontier.rs#L508
error[E0433]: failed to resolve: use of undeclared type `Box` --> incrementalmerkletree/src/frontier.rs:508:13 | 508 | Box::new(self.parents.iter().filter_map(|v| v.as_ref())) | ^^^ not found in this scope | help: consider importing one of these items | 1 | use alloc::boxed::Box; | 1 | use proptest::std_facade::Box; |
failed to resolve: use of undeclared type `Box`: incrementalmerkletree/src/frontier.rs#L502
error[E0433]: failed to resolve: use of undeclared type `Box` --> incrementalmerkletree/src/frontier.rs:502:13 | 502 | Box::new( | ^^^ not found in this scope | help: consider importing one of these items | 1 | use alloc::boxed::Box; | 1 | use proptest::std_facade::Box; |
failed to resolve: use of undeclared crate or module `std`: incrementalmerkletree/src/frontier.rs#L199
error[E0433]: failed to resolve: use of undeclared crate or module `std` --> incrementalmerkletree/src/frontier.rs:199:13 | 199 | std::iter::repeat_with(|| rng.gen()) | ^^^ use of undeclared crate or module `std`
failed to resolve: use of undeclared crate or module `std`: incrementalmerkletree/src/witness.rs#L2
error[E0433]: failed to resolve: use of undeclared crate or module `std` --> incrementalmerkletree/src/witness.rs:2:5 | 2 | use std::iter::repeat; | ^^^ use of undeclared crate or module `std`
failed to resolve: use of undeclared crate or module `std`: incrementalmerkletree/src/witness.rs#L1
error[E0433]: failed to resolve: use of undeclared crate or module `std` --> incrementalmerkletree/src/witness.rs:1:5 | 1 | use std::convert::TryInto; | ^^^ use of undeclared crate or module `std`
failed to resolve: use of undeclared crate or module `std`: incrementalmerkletree/src/frontier.rs#L684
error[E0433]: failed to resolve: use of undeclared crate or module `std` --> incrementalmerkletree/src/frontier.rs:684:9 | 684 | use std::hash::Hasher; | ^^^ use of undeclared crate or module `std`
failed to resolve: use of undeclared crate or module `std`: incrementalmerkletree/src/frontier.rs#L683
error[E0433]: failed to resolve: use of undeclared crate or module `std` --> incrementalmerkletree/src/frontier.rs:683:9 | 683 | use std::collections::hash_map::DefaultHasher; | ^^^ use of undeclared crate or module `std`
Test on macOS-latest
The job was canceled because "ubuntu-latest" failed.
Test on macOS-latest
The operation was canceled.
Rustfmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Bitrot check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Intra-doc links
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636