Skip to content

Instantly share code, notes, and snippets.

@jokeyrhyme
Created December 11, 2021 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jokeyrhyme/a0987cbbabd6b244d636279cdac22b67 to your computer and use it in GitHub Desktop.
Save jokeyrhyme/a0987cbbabd6b244d636279cdac22b67 to your computer and use it in GitHub Desktop.
cargo install paru (1.9.2) compile error
Installing paru v1.9.2
Downloading crates ...
Downloaded pkg-config v0.3.24
Compiling libc v0.2.109
Compiling proc-macro2 v1.0.33
Compiling unicode-xid v0.2.2
Compiling syn v1.0.82
Compiling cfg-if v1.0.0
Compiling autocfg v1.0.1
Compiling memchr v2.4.1
Compiling log v0.4.14
Compiling pkg-config v0.3.24
Compiling getrandom v0.1.16
Compiling cc v1.0.72
Compiling pin-project-lite v0.2.7
Compiling ppv-lite86 v0.2.15
Compiling futures-core v0.3.18
Compiling once_cell v1.8.0
Compiling lazy_static v1.4.0
Compiling siphasher v0.3.7
Compiling bytes v1.1.0
Compiling futures-sink v0.3.18
Compiling itoa v0.4.8
Compiling futures-channel v0.3.18
Compiling futures-task v0.3.18
Compiling futures-util v0.3.18
Compiling serde_derive v1.0.131
Compiling bitflags v1.3.2
Compiling pin-utils v0.1.0
Compiling matches v0.1.9
Compiling futures-io v0.3.18
Compiling serde v1.0.131
Compiling slab v0.4.5
Compiling proc-macro-hack v0.5.19
Compiling fnv v1.0.7
Compiling foreign-types-shared v0.1.1
Compiling smallvec v1.7.0
Compiling tinyvec_macros v0.1.0
Compiling openssl v0.10.38
Compiling httparse v1.5.1
Compiling crc32fast v1.3.0
Compiling native-tls v0.2.8
Compiling hashbrown v0.11.2
Compiling parking_lot_core v0.8.5
Compiling percent-encoding v2.1.0
Compiling encoding_rs v0.8.30
Compiling regex-syntax v0.6.25
Compiling new_debug_unreachable v1.0.4
Compiling openssl-probe v0.1.4
Compiling try-lock v0.2.3
Compiling unicode-bidi v0.3.7
Compiling scopeguard v1.1.0
Compiling adler v1.0.2
Compiling ryu v1.0.7
Compiling httpdate v1.0.2
Compiling serde_json v1.0.72
Compiling precomputed-hash v0.1.1
Compiling mac v0.1.1
Compiling tower-service v0.3.1
Compiling dtoa v0.4.8
Compiling either v1.6.1
Compiling async-trait v0.1.52
Compiling utf-8 v0.7.6
Compiling base64 v0.13.0
Compiling convert_case v0.4.0
Compiling mime v0.3.16
Compiling byteorder v1.4.3
Compiling nodrop v0.1.14
Compiling stable_deref_trait v1.2.0
Compiling ipnet v2.3.1
Compiling cini v0.1.1
Compiling thin-slice v0.1.1
Compiling anyhow v1.0.51
Compiling remove_dir_all v0.5.3
Compiling signal-hook v0.3.12
Compiling humantime v2.1.0
Compiling termcolor v1.1.2
Compiling number_prefix v0.4.0
Compiling srcinfo v1.0.0
Compiling ansi_term v0.12.1
Compiling unicode-width v0.1.9
Compiling htmlescape v0.3.1
Compiling instant v0.1.12
Compiling tracing-core v0.1.21
Compiling phf_shared v0.8.0
Compiling tokio v1.14.0
Compiling indexmap v1.7.0
Compiling miniz_oxide v0.4.4
Compiling num-traits v0.2.14
Compiling num-integer v0.1.44
Compiling memoffset v0.6.5
Compiling foreign-types v0.3.2
Compiling http v0.2.5
Compiling tinyvec v1.5.1
Compiling alpm-sys v2.1.2
Compiling form_urlencoded v1.0.1
Compiling lock_api v0.4.5
Compiling futf v0.1.4
Compiling dtoa-short v0.3.3
Compiling servo_arc v0.1.1
Compiling pacmanconf v1.0.0
Compiling fxhash v0.2.1
Compiling openssl-sys v0.9.71
Compiling gettext-sys v0.19.9
Compiling tracing v0.1.29
Compiling tendril v0.4.2
Compiling want v0.3.0
Compiling aho-corasick v0.7.18
Compiling bstr v0.2.17
Compiling quote v1.0.10
Compiling unicode-normalization v0.1.19
Compiling http-body v0.4.4
Compiling regex v1.5.4
Compiling alpm v2.2.0
Compiling signal-hook-registry v1.4.0
Compiling num_cpus v1.13.0
Compiling mio v0.7.14
Compiling socket2 v0.4.2
Compiling getrandom v0.2.3
Compiling flate2 v1.0.22
Compiling terminal_size v0.1.17
Compiling dirs-sys v0.3.6
Compiling time v0.1.44
Compiling atty v0.2.14
Compiling term_size v0.3.2
Compiling nix v0.23.0
Compiling idna v0.2.3
Compiling rand_core v0.5.1
Compiling quick-xml v0.22.0
Compiling parking_lot v0.11.2
Compiling rand_core v0.6.3
Compiling console v0.15.0
Compiling dirs v4.0.0
Compiling locale_config v0.3.0
Compiling globset v0.4.8
Compiling env_logger v0.9.0
Compiling chrono v0.4.19
Compiling rand_pcg v0.2.1
Compiling rand_chacha v0.2.2
Compiling rand_chacha v0.3.1
Compiling rss v2.0.0
Compiling gettext-rs v0.5.0
Compiling url v2.2.2
Compiling indicatif v0.16.2
Compiling rand v0.7.3
Compiling rand v0.8.4
Compiling tr v0.1.6
Compiling alpm-utils v1.1.2
Compiling phf_generator v0.8.0
Compiling phf_codegen v0.8.0
Compiling string_cache_codegen v0.5.1
Compiling tempfile v3.2.0
Compiling selectors v0.22.0
Compiling markup5ever v0.10.1
Compiling tokio-macros v1.6.0
Compiling futures-macro v0.3.18
Compiling phf_macros v0.8.0
Compiling thiserror-impl v1.0.30
Compiling cssparser v0.27.2
Compiling html5ever v0.25.1
Compiling cssparser-macros v0.6.0
Compiling derive_more v0.99.17
Compiling smart-default v0.6.0
Compiling phf v0.8.0
Compiling thiserror v1.0.30
Compiling futures-executor v0.3.18
Compiling tokio-util v0.6.9
Compiling tokio-native-tls v0.3.0
Compiling async-compression v0.3.8
Compiling tokio-socks v0.5.1
Compiling futures v0.3.18
Compiling aur-fetch v0.10.0
Compiling h2 v0.3.9
Compiling string_cache v0.8.2
Compiling serde_urlencoded v0.7.0
Compiling kuchiki v0.8.1
Compiling hyper v0.14.16
Compiling hyper-tls v0.5.0
Compiling reqwest v0.11.7
Compiling raur v5.0.1
Compiling aur-depends v1.0.3
error[E0308]: mismatched types
--> /home/ron/.cargo/registry/src/github.com-1ecc6299db9ec823/aur-depends-1.0.3/src/resolve.rs:309:36
|
309 | ... local: local_pkg,
| ^^^^^^^^^ expected struct `alpm::Package`, found struct `Pkg`
error[E0308]: mismatched types
--> /home/ron/.cargo/registry/src/github.com-1ecc6299db9ec823/aur-depends-1.0.3/src/resolve.rs:329:13
|
329 | missing,
| ^^^^^^^ expected struct `alpm::Package`, found struct `Pkg`
|
= note: expected struct `Vec<alpm::Package<'_>>`
found struct `Vec<Pkg<'_>>`
error[E0308]: mismatched types
--> /home/ron/.cargo/registry/src/github.com-1ecc6299db9ec823/aur-depends-1.0.3/src/resolve.rs:371:40
|
371 | ... local: local_pkg,
| ^^^^^^^^^ expected struct `alpm::Package`, found struct `Pkg`
error[E0308]: mismatched types
--> /home/ron/.cargo/registry/src/github.com-1ecc6299db9ec823/aur-depends-1.0.3/src/resolve.rs:396:13
|
396 | missing,
| ^^^^^^^ expected struct `alpm::Package`, found struct `Pkg`
|
= note: expected struct `Vec<alpm::Package<'_>>`
found struct `Vec<Pkg<'_>>`
error[E0308]: mismatched types
--> /home/ron/.cargo/registry/src/github.com-1ecc6299db9ec823/aur-depends-1.0.3/src/resolve.rs:468:61
|
468 | ... repo_targets.push((pkg, alpm_pkg));
| ^^^^^^^^ expected struct `alpm::Package`, found struct `Pkg`
error[E0308]: mismatched types
--> /home/ron/.cargo/registry/src/github.com-1ecc6299db9ec823/aur-depends-1.0.3/src/actions.rs:239:56
|
239 | .filter(|pkg| satisfies_repo_pkg(conflict, pkg, false))
| ^^^ expected struct `alpm::Package`, found struct `Pkg`
|
= note: expected reference `&alpm::Package<'_>`
found reference `&Pkg<'_>`
For more information about this error, try `rustc --explain E0308`.
error: could not compile `aur-depends` due to 6 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile `paru v1.9.2`, intermediate artifacts can be found at `/tmp/cargo-installswHDxW`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment