Cargo Build Failed

:~/grin-miner$ cargo build --verbose
Fresh autocfg v1.0.1
Fresh cfg-if v1.0.0
Fresh unicode-xid v0.2.1
Fresh pkg-config v0.3.19
Fresh lazy_static v1.4.0
Fresh matches v0.1.8
Fresh tinyvec_macros v0.1.0
Fresh once_cell v1.5.2
Fresh percent-encoding v2.1.0
Fresh cfg-if v0.1.10
Fresh strsim v0.9.3
Fresh ident_case v1.0.1
Fresh fnv v1.0.7
Fresh adler v0.2.3
Fresh nodrop v0.1.14
Fresh gimli v0.23.0
Fresh gcc v0.3.55
Fresh semver-parser v0.7.0
Fresh ppv-lite86 v0.2.10
Fresh fs_extra v1.2.0
Fresh take_mut v0.2.2
Fresh rustc-demangle v0.1.18
Fresh byteorder v1.4.2
Fresh object v0.23.0
Fresh constant_time_eq v0.1.5
Fresh itoa v0.4.7
Fresh foreign-types-shared v0.1.1
Fresh rustc-serialize v0.3.24
Fresh regex-syntax v0.6.22
Fresh glob v0.3.0
Fresh stable_deref_trait v1.2.0
Fresh array-macro v1.0.5
Fresh xi-unicode v0.2.1
Fresh unicode-width v0.1.8
Fresh unicode-segmentation v1.7.1
Fresh openssl-probe v0.1.2
Fresh maplit v1.0.2
Fresh bufstream v0.1.4
Fresh libloading v0.6.7
Fresh tinyvec v1.1.1
Fresh unicode-bidi v0.3.4
Fresh form_urlencoded v1.0.1
Fresh thread_local v1.1.3
Fresh addr2line v0.14.1
Fresh foreign-types v0.3.2
Fresh owning_ref v0.4.1
Fresh libc v0.2.86
Fresh proc-macro2 v1.0.24
Fresh log v0.4.14
Fresh unicode-normalization v0.1.17
Fresh bitflags v1.2.1
Fresh slog v2.7.0
Fresh crunchy v0.2.2
Fresh arrayvec v0.4.12
Fresh proc-macro-hack v0.5.19
Fresh memchr v2.3.4
Fresh ryu v1.0.5
Fresh maybe-uninit v2.0.0
Fresh jobserver v0.1.21
Fresh quote v1.0.9
Fresh num-traits v0.2.14
Fresh time v0.1.43
Fresh getrandom v0.1.16
Fresh dirs-sys-next v0.1.2
Fresh atty v0.2.14
Fresh getrandom v0.2.2
Fresh rand v0.4.6
Fresh dirs-sys v0.3.5
Fresh signal-hook-registry v1.3.0
Fresh term_size v0.3.2
Fresh crossbeam-utils v0.8.2
Fresh miniz_oxide v0.4.3
Fresh idna v0.2.2
Fresh crossbeam-utils v0.7.2
Fresh tiny-keccak v2.0.2
Fresh blake2-rfc v0.2.18
Fresh aho-corasick v0.7.15
Fresh cc v1.0.67
Fresh syn v1.0.60
Fresh num-integer v0.1.44
Fresh num-complex v0.2.4
Fresh rand_core v0.5.1
Fresh dirs-next v2.0.0
Fresh rand v0.3.23
Fresh dirs v2.0.2
Fresh signal-hook v0.1.17
Fresh url v2.2.1
Fresh crossbeam-channel v0.5.0
Fresh backtrace v0.3.56
Fresh const-random-macro v0.1.13
Fresh regex v1.4.3
Fresh crossbeam-channel v0.4.4
Fresh serde_derive v1.0.123
Fresh chrono v0.4.19
Fresh darling_core v0.10.2
Fresh cmake v0.1.45
Fresh enum-map-derive v0.4.6
Fresh num-iter v0.1.42
Fresh num-rational v0.2.4
Fresh term v0.7.0
Fresh rand_chacha v0.2.2
Fresh rust-crypto v0.2.36
Fresh term v0.6.1
Fresh slog-async v2.6.0
Fresh serde v1.0.123
Fresh const-random v0.1.13
Fresh darling_macro v0.10.2
Fresh enum-map v0.6.4
Fresh slog-term v2.8.0
Fresh rand v0.7.3
Fresh num v0.2.1
Fresh toml v0.5.8
Fresh semver v0.9.0
Fresh serde_json v1.0.62
Fresh libz-sys v1.1.2
Fresh darling v0.10.2
Fresh openssl-sys v0.9.60
Fresh ahash v0.2.19
Compiling cuckoo_miner v4.0.0 (/home/batman/grin-miner/cuckoo-miner)
Fresh ncurses v5.101.0
Fresh cargo-lock v4.0.1
Fresh grin_miner_util v4.0.0 (/home/batman/grin-miner/util)
Running /home/batman/grin-miner/target/debug/build/cuckoo_miner-73a18a9a5abd34e0/build-script-build
Fresh libgit2-sys v0.12.18+1.1.0
Fresh grin_miner_plugin v4.0.0 (/home/batman/grin-miner/plugin)
Compiling enumset_derive v0.4.4
Fresh openssl v0.10.32
Fresh pancurses v0.16.1
Running rustc --crate-name enumset_derive --edition=2018 /home/batman/.cargo/registry/src/github.com-1ecc6299db9ec823/enumset_derive-0.4.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debuginfo=2 -C metadata=6a31e281aa730197 -C extra-filename=-6a31e281aa730197 --out-dir /home/batman/grin-miner/target/debug/deps -L dependency=/home/batman/grin-miner/target/debug/deps --extern darling=/home/batman/grin-miner/target/debug/deps/libdarling-13ad593a302f2d97.rlib --extern proc_macro2=/home/batman/grin-miner/target/debug/deps/libproc_macro2-4431be3eb037870a.rlib --extern quote=/home/batman/grin-miner/target/debug/deps/libquote-849401de171008b7.rlib --extern syn=/home/batman/grin-miner/target/debug/deps/libsyn-afb52edceebb17c9.rlib --extern proc_macro --cap-lints allow
Fresh git2 v0.13.17
Fresh native-tls v0.2.7
Fresh built v0.4.4
error[E0432]: unresolved import syn::export
→ /home/batman/.cargo/registry/src/github.com-1ecc6299db9ec823/enumset_derive-0.4.4/src/lib.rs:10:10
|
10 | use syn::export::Span;
| ^^^^^^ could not find export in syn

error: aborting due to previous error

For more information about this error, try rustc --explain E0432.
error: could not compile enumset_derive

Caused by:
process didn’t exit successfully: rustc --crate-name enumset_derive --edition=2018 /home/batman/.cargo/registry/src/github.com-1ecc6299db9ec823/enumset_derive-0.4.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debuginfo=2 -C metadata=6a31e281aa730197 -C extra-filename=-6a31e281aa730197 --out-dir /home/batman/grin-miner/target/debug/deps -L dependency=/home/batman/grin-miner/target/debug/deps --extern darling=/home/batman/grin-miner/target/debug/deps/libdarling-13ad593a302f2d97.rlib --extern proc_macro2=/home/batman/grin-miner/target/debug/deps/libproc_macro2-4431be3eb037870a.rlib --extern quote=/home/batman/grin-miner/target/debug/deps/libquote-849401de171008b7.rlib --extern syn=/home/batman/grin-miner/target/debug/deps/libsyn-afb52edceebb17c9.rlib --extern proc_macro --cap-lints allow (exit code: 1)
warning: build failed, waiting for other jobs to finish…
error: build failed