Open lacamar opened 1 year ago
When attempting to compile shellcaster on Asahi Linux (Arch Linux ARM on Apple Silicon) via the following command...
git clone https://github.com/jeff-hughes/shellcaster.git cd shellcaster cargo build --release
...it provides this output:
Cloning into 'shellcaster'... remote: Enumerating objects: 1585, done. remote: Counting objects: 100% (97/97), done. remote: Compressing objects: 100% (29/29), done. remote: Total 1585 (delta 79), reused 72 (delta 68), pack-reused 1488 Receiving objects: 100% (1585/1585), 990.01 KiB | 1.34 MiB/s, done. Resolving deltas: 100% (1171/1171), done. Compiling libc v0.2.99 Compiling cfg-if v1.0.0 Compiling memchr v2.4.0 Compiling autocfg v1.0.1 Compiling proc-macro2 v1.0.28 Compiling unicode-xid v0.2.2 Compiling syn v1.0.74 Compiling once_cell v1.8.0 Compiling fnv v1.0.7 Compiling cc v1.0.69 Compiling strsim v0.10.0 Compiling ident_case v1.0.1 Compiling version_check v0.9.3 Compiling log v0.4.14 Compiling regex-syntax v0.6.25 Compiling num-traits v0.2.14 Compiling num-integer v0.1.44 Compiling ahash v0.7.6 Compiling untrusted v0.7.1 Compiling aho-corasick v0.7.18 Compiling spin v0.5.2 Compiling serde_derive v1.0.136 Compiling quote v1.0.9 Compiling ring v0.16.20 Compiling getrandom v0.2.3 Compiling time v0.1.43 Compiling encoding_rs v0.8.28 Compiling lazy_static v1.4.0 Compiling tinyvec_macros v0.1.0 Compiling tinyvec v1.3.1 Compiling hashbrown v0.11.2 Compiling miniz_oxide v0.4.4 Compiling matches v0.1.9 Compiling vcpkg v0.2.15 Compiling signal-hook v0.3.13 Compiling chrono v0.4.19 Compiling serde v1.0.136 Compiling regex v1.5.4 Compiling parking_lot_core v0.9.1 Compiling jetscii v0.5.0 Compiling pkg-config v0.3.19 Compiling crc32fast v1.3.1 Compiling smallvec v1.6.1 Compiling unicode-normalization v0.1.19 Compiling signal-hook-registry v1.4.0 Compiling libsqlite3-sys v0.23.2 Compiling indexmap v1.8.0 Compiling percent-encoding v2.1.0 Compiling unicode-bidi v0.3.6 Compiling adler v1.0.2 Compiling base64 v0.13.0 Compiling darling_core v0.12.4 Compiling scopeguard v1.1.0 Compiling bitflags v1.3.2 Compiling lock_api v0.4.6 Compiling unicode-linebreak v0.1.2 Compiling rustls-pemfile v0.2.1 Compiling quick-xml v0.22.0 Compiling idna v0.2.3 Compiling form_urlencoded v1.0.1 Compiling darling_macro v0.12.4 Compiling webpki v0.22.0 Compiling sct v0.7.0 Compiling thiserror-impl v1.0.30 Compiling darling v0.12.4 Compiling derive_builder_core v0.10.2 Compiling strong-xml-derive v0.6.3 Compiling diligent-date-parser v0.1.3 Compiling derive_builder_macro v0.10.2 Compiling mio v0.7.13 Compiling dirs-sys-next v0.1.2 Compiling openssl-probe v0.1.4 Compiling semver v1.0.6 Compiling smawk v0.3.1 Compiling unicode-width v0.1.8 Compiling derive_builder v0.10.2 Compiling anyhow v1.0.55 Compiling never v0.1.0 Compiling xmlparser v0.13.3 Compiling textwrap v0.14.2 Compiling atom_syndication v0.11.0 Compiling strong-xml v0.6.3 Compiling thiserror v1.0.30 Compiling rustls-native-certs v0.6.1 Compiling dirs-next v2.0.0 Compiling signal-hook-mio v0.2.1 Compiling parking_lot v0.12.0 Compiling flate2 v1.0.22 Compiling rustls v0.20.2 Compiling webpki-roots v0.22.2 Compiling url v2.2.2 Compiling hashlink v0.7.0 Compiling atty v0.2.14 Compiling os_str_bytes v6.0.0 Compiling chunked_transfer v1.4.0 Compiling entities v1.0.1 Compiling termcolor v1.1.2 Compiling fallible-streaming-iterator v0.1.9 Compiling fallible-iterator v0.2.0 Compiling clap v3.1.2 Compiling rusqlite v0.26.3 error[E0432]: unresolved import `crate::cache::StatementCache` --> /home/snow/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/rusqlite-0.26.3/src/lib.rs:68:5 | 68 | use crate::cache::StatementCache; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `StatementCache` in `cache` error[E0432]: unresolved import `crate::cache::CachedStatement` --> /home/snow/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/rusqlite-0.26.3/src/lib.rs:73:9 | 73 | pub use crate::cache::CachedStatement; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CachedStatement` in `cache` Compiling ureq v2.4.0 error[E0599]: no method named `flush_prepared_statement_cache` found for mutable reference `&mut Connection` in the current scope --> /home/snow/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/rusqlite-0.26.3/src/lib.rs:344:14 | 344 | self.flush_prepared_statement_cache(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Connection` error[E0599]: no method named `flush_prepared_statement_cache` found for struct `Connection` in the current scope --> /home/snow/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/rusqlite-0.26.3/src/lib.rs:725:14 | 333 | pub struct Connection { | --------------------- method `flush_prepared_statement_cache` not found for this struct ... 725 | self.flush_prepared_statement_cache(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `Connection` Some errors have detailed explanations: E0432, E0599. For more information about an error, try `rustc --explain E0432`. error: could not compile `rusqlite` due to 4 previous errors warning: build failed, waiting for other jobs to finish...
When attempting to compile shellcaster on Asahi Linux (Arch Linux ARM on Apple Silicon) via the following command...
...it provides this output: