Skip to content

Instantly share code, notes, and snippets.

@matthiasdebernardini
Created August 25, 2022 18:18
Show Gist options
  • Save matthiasdebernardini/9aba61e764100720f01dc2b23f4cb76a to your computer and use it in GitHub Desktop.
Save matthiasdebernardini/9aba61e764100720f01dc2b23f4cb76a to your computer and use it in GitHub Desktop.
final-checks.sh error output
ubuntu@fedimintss:~/fedimint$ cargo clean
+ command cargo clean
ubuntu@fedimintss:~/fedimint$ ./scripts/final-checks.sh
Compiling libc v0.2.127
Compiling autocfg v1.1.0
Compiling proc-macro2 v1.0.43
Compiling quote v1.0.21
Compiling unicode-ident v1.0.3
Compiling syn v1.0.99
Checking cfg-if v1.0.0
Compiling memchr v2.5.0
Checking once_cell v1.13.0
Compiling serde_derive v1.0.142
Compiling serde v1.0.142
Compiling log v0.4.17
Compiling version_check v0.9.4
Checking scopeguard v1.1.0
Checking pin-project-lite v0.2.9
Checking smallvec v1.9.0
Compiling futures-core v0.3.21
Checking itoa v1.0.3
Checking bytes v1.2.1
Checking futures-sink v0.3.21
Compiling parking_lot_core v0.9.3
Compiling futures-task v0.3.21
Compiling futures-channel v0.3.21
Checking futures-io v0.3.21
Compiling futures-util v0.3.21
Checking pin-utils v0.1.0
Compiling serde_json v1.0.83
Checking ryu v1.0.11
Checking rand_core v0.4.2
Checking ppv-lite86 v0.2.16
Compiling typenum v1.15.0
Checking byteorder v1.4.3
Checking block-padding v0.2.1
Checking opaque-debug v0.3.0
Compiling getrandom v0.1.16
Checking regex-syntax v0.6.27
Compiling anyhow v1.0.59
Compiling radium v0.6.2
Compiling pkg-config v0.3.25
Compiling async-trait v0.1.57
Compiling glob v0.3.0
Checking tap v1.0.1
Checking funty v1.2.0
Compiling crossbeam-utils v0.8.11
Checking lazy_static v1.4.0
Compiling minimal-lexical v0.2.1
Checking subtle v2.4.1
Compiling parking_lot_core v0.8.5
Checking bech32 v0.8.1
Compiling bindgen v0.60.1
Compiling rustc-hash v1.1.0
Compiling peeking_take_while v0.1.2
Checking hex v0.4.3
Compiling lazycell v1.3.0
Compiling bitflags v1.3.2
Compiling shlex v1.1.0
Checking keccak v0.1.2
Checking fnv v1.0.7
Compiling crc32fast v1.3.2
Compiling unicode-segmentation v1.9.0
Compiling httparse v1.7.1
Checking matches v0.1.9
Checking base64 v0.13.0
Checking percent-encoding v2.1.0
Compiling crunchy v0.2.2
Checking tinyvec_macros v0.1.0
Checking spin v0.5.2
Checking either v1.7.0
Checking untrusted v0.7.1
Compiling tiny-keccak v2.0.2
Compiling rayon-core v1.9.3
Checking unicode-bidi v0.3.8
Checking hashbrown v0.12.3
Checking zeroize v1.5.7
Checking hex_fmt v0.3.0
Compiling if_chain v1.0.2
Checking event-listener v2.5.3
Compiling validator_types v0.12.0
Checking ansi_term v0.12.1
Checking futures-timer v3.0.2
Compiling rustls v0.20.6
Checking arrayvec v0.7.2
Checking termcolor v1.1.3
Checking os_str_bytes v6.2.0
Compiling heck v0.4.0
Checking textwrap v0.15.0
Checking strsim v0.10.0
Checking tower-service v0.3.2
Checking try-lock v0.2.3
Checking httpdate v1.0.2
Compiling encoding_rs v0.8.31
Checking openssl-probe v0.1.5
Checking mime v0.3.16
Checking ipnet v2.5.0
Compiling libm v0.2.3
Compiling unicode-xid v0.0.4
Compiling quote v0.3.15
Compiling reed-solomon-erasure v5.0.3
Checking tower-layer v0.3.1
Checking num_threads v0.1.6
Checking spin v0.9.4
Checking http-range-header v0.3.0
Checking humantime v2.1.0
Checking init_with v1.1.0
Checking matchit v0.5.0
Checking sync_wrapper v0.1.1
Checking remove_dir_all v0.5.3
Checking fastrand v1.8.0
Checking assert_matches v1.5.0
Checking instant v0.1.12
Compiling autocfg v0.1.8
Checking tracing-core v0.1.29
Checking thread_local v1.1.4
Compiling lock_api v0.4.7
Compiling slab v0.4.7
Compiling tokio v1.20.1
Compiling num-traits v0.2.15
Compiling memoffset v0.6.5
Compiling crossbeam-epoch v0.9.10
Compiling num-integer v0.1.45
Compiling num-bigint v0.2.6
Compiling indexmap v1.9.1
Compiling rayon v1.5.3
Compiling generic-array v0.14.6
Compiling proc-macro-error-attr v1.0.4
Compiling proc-macro-error v1.0.4
Compiling unicase v2.6.0
Checking rand_core v0.3.1
Checking rand_jitter v0.1.4
Checking fxhash v0.2.1
Checking base64-compat v1.0.0
Checking wyz v0.4.0
Compiling libloading v0.7.3
Checking sharded-slab v0.1.4
Compiling clang-sys v1.3.3
Checking http v0.2.8
Checking form_urlencoded v1.0.1
Checking rustls-pemfile v1.0.1
Checking pem v1.1.0
Checking tinyvec v1.6.0
Compiling heck v0.3.3
Checking itertools v0.10.3
Checking regex-automata v0.1.10
Checking async-lock v2.5.0
Checking clap_lex v0.2.4
Compiling synom v0.11.3
Compiling rand_chacha v0.1.1
Compiling rand_pcg v0.1.2
Compiling rand v0.6.5
Checking rand_hc v0.1.0
Checking rand_xorshift v0.1.1
Checking rand_isaac v0.1.1
Checking rustls-native-certs v0.6.2
Compiling syn v0.11.11
Checking http-body v0.4.5
Checking aho-corasick v0.7.18
Checking bstr v0.2.17
Checking matchers v0.1.0
Compiling nom v7.1.1
Checking unicode-normalization v0.1.21
Checking tracing-log v0.1.3
Checking want v0.3.0
Checking num_cpus v1.13.1
Checking signal-hook-registry v1.4.0
Checking mio v0.8.4
Checking socket2 v0.4.4
Checking getrandom v0.2.7
Checking rand_os v0.1.3
Checking fs2 v0.4.3
Checking cpufeatures v0.2.2
Checking atty v0.2.14
Checking time v0.3.12
Checking tempfile v3.3.0
Compiling jobserver v0.1.24
Checking bitvec v0.22.3
Checking crossbeam-channel v0.5.6
Checking regex v1.6.0
Checking idna v0.2.3
Checking parking_lot v0.12.1
Checking rand_core v0.6.3
Checking rand_core v0.5.1
Checking parking_lot v0.11.2
Compiling cc v1.0.73
Checking yasna v0.5.0
Compiling rand_derive v0.5.0
Compiling cexpr v0.6.0
Checking counter v0.5.6
Checking digest v0.9.0
Checking block-buffer v0.9.0
Checking crossbeam-deque v0.8.2
Checking globset v0.4.9
Checking env_logger v0.9.0
Checking rand_chacha v0.3.1
Checking ff v0.11.1
Checking rand_chacha v0.2.2
Checking rand_xorshift v0.2.0
Checking sled v0.34.7
Checking sha3 v0.9.1
Checking sha-1 v0.9.8
Compiling secp256k1-sys v0.5.2
Compiling zstd-sys v2.0.1+zstd.1.5.2
Compiling libz-sys v1.1.8
Compiling bzip2-sys v0.1.11+1.0.8
Compiling secp256k1-zkp-sys v0.6.0 (https://github.com/fedimint/rust-secp256k1-zkp/?branch=sanket-pr#7ac34646)
Compiling ring v0.16.20
Checking group v0.11.0
Checking rand v0.8.5
Checking rand v0.7.3
Checking fedimint-derive v0.1.0 (/home/ubuntu/fedimint/fedimint-derive)
error[E0514]: found crate `heck` compiled by an incompatible version of rustc
--> fedimint-derive/src/lib.rs:3:5
|
3 | use heck::SnakeCase;
| ^^^^
|
= help: please recompile that crate using this compiler (rustc 1.63.0 (4b91a6ea7 2022-08-08)) (consider running `cargo clean` first)
= note: the following crate versions were found:
crate `heck` compiled by rustc 1.62.1 (e092d0b6b 2022-07-16): /home/ubuntu/fedimint/target/debug/deps/libheck-28a207342b9c09b1.rmeta
error[E0514]: found crate `quote` compiled by an incompatible version of rustc
--> fedimint-derive/src/lib.rs:5:5
|
5 | use quote::{format_ident, quote};
| ^^^^^
|
= help: please recompile that crate using this compiler (rustc 1.63.0 (4b91a6ea7 2022-08-08)) (consider running `cargo clean` first)
= note: the following crate versions were found:
crate `quote` compiled by rustc 1.62.1 (e092d0b6b 2022-07-16): /home/ubuntu/fedimint/target/debug/deps/libquote-bf592e26243d72a9.rmeta
error[E0514]: found crate `syn` compiled by an incompatible version of rustc
--> fedimint-derive/src/lib.rs:6:5
|
6 | use syn::{parse_macro_input, Data, DataEnum, DataStruct, DeriveInput, Index};
| ^^^
|
= help: please recompile that crate using this compiler (rustc 1.63.0 (4b91a6ea7 2022-08-08)) (consider running `cargo clean` first)
= note: the following crate versions were found:
crate `syn` compiled by rustc 1.62.1 (e092d0b6b 2022-07-16): /home/ubuntu/fedimint/target/debug/deps/libsyn-2dcaaafdb01fcdc3.rmeta
error[E0432]: unresolved import `quote::format_ident`
--> fedimint-derive/src/lib.rs:5:13
|
5 | use quote::{format_ident, quote};
| ^^^^^^^^^^^^
error: cannot determine resolution for the macro `parse_macro_input`
--> fedimint-derive/src/lib.rs:10:43
|
10 | let DeriveInput { ident, data, .. } = parse_macro_input!(input);
| ^^^^^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `format_ident`
--> fedimint-derive/src/lib.rs:40:30
|
40 | let unzip_struct_ident = format_ident!("Unzip{}", ident);
| ^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `format_ident`
--> fedimint-derive/src/lib.rs:43:29
|
43 | .map(|(ident, ty)| (format_ident!("{}", ident.to_string().to_snake_case()), ty))
| ^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `format_ident`
--> fedimint-derive/src/lib.rs:46:26
|
46 | let unzip_fn_ident = format_ident!("unzip_{}", ident.to_string().to_snake_case());
| ^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `format_ident`
--> fedimint-derive/src/lib.rs:47:29
|
47 | let unzip_trait_ident = format_ident!("IterUnzip{}", ident);
| ^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `quote`
--> fedimint-derive/src/lib.rs:49:18
|
49 | let output = quote! {
| ^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `parse_macro_input`
--> fedimint-derive/src/lib.rs:86:43
|
86 | let DeriveInput { ident, data, .. } = parse_macro_input!(input);
| ^^^^^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `quote`
--> fedimint-derive/src/lib.rs:97:17
|
97 | quote! {
| ^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `quote`
--> fedimint-derive/src/lib.rs:112:17
|
112 | quote! {
| ^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `format_ident`
--> fedimint-derive/src/lib.rs:132:41
|
132 | .map(|(idx, _)| format_ident!("bound_{}", idx))
| ^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `quote`
--> fedimint-derive/src/lib.rs:134:21
|
134 | quote! {
| ^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `quote`
--> fedimint-derive/src/lib.rs:143:21
|
143 | quote! {
| ^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `quote`
--> fedimint-derive/src/lib.rs:152:13
|
152 | quote! {
| ^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `parse_macro_input`
--> fedimint-derive/src/lib.rs:183:43
|
183 | let DeriveInput { ident, data, .. } = parse_macro_input!(input);
| ^^^^^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `format_ident`
--> fedimint-derive/src/lib.rs:192:37
|
192 | .map(|(idx, _)| format_ident!("field_{}", idx))
| ^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `quote`
--> fedimint-derive/src/lib.rs:194:17
|
194 | quote! {
| ^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `quote`
--> fedimint-derive/src/lib.rs:209:17
|
209 | quote! {
| ^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `format_ident`
--> fedimint-derive/src/lib.rs:231:41
|
231 | .map(|(idx, _)| format_ident!("bound_{}", idx))
| ^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `quote`
--> fedimint-derive/src/lib.rs:233:21
|
233 | quote! {
| ^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `quote`
--> fedimint-derive/src/lib.rs:245:21
|
245 | quote! {
| ^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `quote`
--> fedimint-derive/src/lib.rs:256:13
|
256 | quote! {
| ^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error[E0514]: found crate `syn` compiled by an incompatible version of rustc
--> fedimint-derive/src/lib.rs:13:9
|
13 | syn::Data::Enum(DataEnum { variants, .. }) => variants
| ^^^
|
= help: please recompile that crate using this compiler (rustc 1.63.0 (4b91a6ea7 2022-08-08)) (consider running `cargo clean` first)
= note: the following crate versions were found:
crate `syn` compiled by rustc 1.62.1 (e092d0b6b 2022-07-16): /home/ubuntu/fedimint/target/debug/deps/libsyn-2dcaaafdb01fcdc3.rmeta
error[E0514]: found crate `syn` compiled by an incompatible version of rustc
--> fedimint-derive/src/lib.rs:123:9
|
123 | syn::Data::Enum(DataEnum { variants, .. }) => {
| ^^^
|
= help: please recompile that crate using this compiler (rustc 1.63.0 (4b91a6ea7 2022-08-08)) (consider running `cargo clean` first)
= note: the following crate versions were found:
crate `syn` compiled by rustc 1.62.1 (e092d0b6b 2022-07-16): /home/ubuntu/fedimint/target/debug/deps/libsyn-2dcaaafdb01fcdc3.rmeta
error[E0514]: found crate `syn` compiled by an incompatible version of rustc
--> fedimint-derive/src/lib.rs:165:9
|
165 | syn::Data::Union(_) => {
| ^^^
|
= help: please recompile that crate using this compiler (rustc 1.63.0 (4b91a6ea7 2022-08-08)) (consider running `cargo clean` first)
= note: the following crate versions were found:
crate `syn` compiled by rustc 1.62.1 (e092d0b6b 2022-07-16): /home/ubuntu/fedimint/target/debug/deps/libsyn-2dcaaafdb01fcdc3.rmeta
error[E0514]: found crate `syn` compiled by an incompatible version of rustc
--> fedimint-derive/src/lib.rs:222:9
|
222 | syn::Data::Enum(DataEnum { variants, .. }) => {
| ^^^
|
= help: please recompile that crate using this compiler (rustc 1.63.0 (4b91a6ea7 2022-08-08)) (consider running `cargo clean` first)
= note: the following crate versions were found:
crate `syn` compiled by rustc 1.62.1 (e092d0b6b 2022-07-16): /home/ubuntu/fedimint/target/debug/deps/libsyn-2dcaaafdb01fcdc3.rmeta
error[E0514]: found crate `syn` compiled by an incompatible version of rustc
--> fedimint-derive/src/lib.rs:272:9
|
272 | syn::Data::Union(_) => {
| ^^^
|
= help: please recompile that crate using this compiler (rustc 1.63.0 (4b91a6ea7 2022-08-08)) (consider running `cargo clean` first)
= note: the following crate versions were found:
crate `syn` compiled by rustc 1.62.1 (e092d0b6b 2022-07-16): /home/ubuntu/fedimint/target/debug/deps/libsyn-2dcaaafdb01fcdc3.rmeta
For more information about this error, try `rustc --explain E0432`.
error: could not compile `fedimint-derive` due to 30 previous errors
warning: build failed, waiting for other jobs to finish...
error: could not compile `fedimint-derive` due to 30 previous errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment