[INFO] fetching crate libalpm 0.1.2... [INFO] testing libalpm-0.1.2 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate libalpm 0.1.2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate libalpm 0.1.2 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libalpm 0.1.2 [INFO] finished tweaking crates.io crate libalpm 0.1.2 [INFO] tweaked toml for crates.io crate libalpm 0.1.2 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61f8457c4a8756a7e9d9baeafb9ec72209916d6528ac25b886db97e6ef87ef7f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "61f8457c4a8756a7e9d9baeafb9ec72209916d6528ac25b886db97e6ef87ef7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61f8457c4a8756a7e9d9baeafb9ec72209916d6528ac25b886db97e6ef87ef7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61f8457c4a8756a7e9d9baeafb9ec72209916d6528ac25b886db97e6ef87ef7f", kill_on_drop: false }` [INFO] [stdout] 61f8457c4a8756a7e9d9baeafb9ec72209916d6528ac25b886db97e6ef87ef7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 915a3ea4b343e13f9b54aee3252eeef638eeed667f3221c6cdc968e13a02ad5e [INFO] running `Command { std: "docker" "start" "-a" "915a3ea4b343e13f9b54aee3252eeef638eeed667f3221c6cdc968e13a02ad5e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling libarchive3-sys v0.1.2 [INFO] [stderr] Compiling printf v0.1.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling alpm-sys v0.1.2 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling libalpm v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Package` [INFO] [stdout] --> src/event.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use package::{Package, PackageOperation}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/db.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use libc::{self, c_char}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(LogLevels, String) + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(LogLevels, String) + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str, u64, u64) + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:47:43 [INFO] [stdout] | [INFO] [stdout] 47 | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str, &str, bool) -> DownloadResult + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | static ref DLTOTAL_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(u64) + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | static ref EVENT_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Event) + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 46 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 47 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 46 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 47 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 46 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 47 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 46 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 47 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 46 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 47 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:203:30 [INFO] [stdout] | [INFO] [stdout] 203 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/package.rs:734:13 [INFO] [stdout] | [INFO] [stdout] 733 | ALPM_PKG_VALIDATION_UNKNWON => Validation::Unknown, [INFO] [stdout] | --------------------------- matches any value [INFO] [stdout] 734 | ALPM_PKG_VALIDATION_NONE => Validation::None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/package.rs:735:13 [INFO] [stdout] | [INFO] [stdout] 733 | ALPM_PKG_VALIDATION_UNKNWON => Validation::Unknown, [INFO] [stdout] | --------------------------- matches any value [INFO] [stdout] 734 | ALPM_PKG_VALIDATION_NONE => Validation::None, [INFO] [stdout] 735 | other => Validation::Some(ValidationMethod { [INFO] [stdout] | ^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/lib.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn with_options(options: &Options) -> AlpmResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/lib.rs:227:40 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn question_function(&self, func: F) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/lib.rs:239:40 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn progress_function(&self, func: F) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ALPM_PKG_VALIDATION_UNKNWON` [INFO] [stdout] --> src/package.rs:733:13 [INFO] [stdout] | [INFO] [stdout] 733 | ALPM_PKG_VALIDATION_UNKNWON => Validation::Unknown, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ALPM_PKG_VALIDATION_UNKNWON` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/package.rs:735:13 [INFO] [stdout] | [INFO] [stdout] 735 | other => Validation::Some(ValidationMethod { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/package.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/options.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_ini(loc: &Path) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/util.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let first = raw; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let mut p = libc::calloc(len + 1, mem::size_of::()) as *mut libc::c_char; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/db.rs:66:54 [INFO] [stdout] | [INFO] [stdout] 65 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 66 | let list = vec_to_alpm_list(servers, |s| unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `handle` [INFO] [stdout] --> src/package.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | handle: &'a Alpm [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/package.rs:512:26 [INFO] [stdout] | [INFO] [stdout] 512 | pub(crate) unsafe fn new<'b>(name: *const c_char, packages: *const alpm_list_t) -> Group<'b> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `pub_restricted` has been stable since 1.18.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(pub_restricted)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/package.rs:40:69 [INFO] [stdout] | [INFO] [stdout] 40 | ... CString::new(filename).unwrap().as_ptr(), [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ALPM_PKG_VALIDATION_UNKNWON` should have a snake case name [INFO] [stdout] --> src/package.rs:733:13 [INFO] [stdout] | [INFO] [stdout] 733 | ALPM_PKG_VALIDATION_UNKNWON => Validation::Unknown, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `alpm_pkg_validation_unknwon` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.50s [INFO] running `Command { std: "docker" "inspect" "915a3ea4b343e13f9b54aee3252eeef638eeed667f3221c6cdc968e13a02ad5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "915a3ea4b343e13f9b54aee3252eeef638eeed667f3221c6cdc968e13a02ad5e", kill_on_drop: false }` [INFO] [stdout] 915a3ea4b343e13f9b54aee3252eeef638eeed667f3221c6cdc968e13a02ad5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e41b20929691e610d89bbc296b0b810b42ef609b3b86ce39805c3924ded87205 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e41b20929691e610d89bbc296b0b810b42ef609b3b86ce39805c3924ded87205", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling curl v0.4.38 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stdout] warning: unused import: `Package` [INFO] [stdout] --> src/event.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use package::{Package, PackageOperation}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/db.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use libc::{self, c_char}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(LogLevels, String) + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(LogLevels, String) + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str, u64, u64) + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:47:43 [INFO] [stdout] | [INFO] [stdout] 47 | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str, &str, bool) -> DownloadResult + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | static ref DLTOTAL_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(u64) + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | static ref EVENT_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Event) + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 46 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 47 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 46 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 47 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 46 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 47 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 46 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 47 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 46 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 47 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:203:30 [INFO] [stdout] | [INFO] [stdout] 203 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/package.rs:734:13 [INFO] [stdout] | [INFO] [stdout] 733 | ALPM_PKG_VALIDATION_UNKNWON => Validation::Unknown, [INFO] [stdout] | --------------------------- matches any value [INFO] [stdout] 734 | ALPM_PKG_VALIDATION_NONE => Validation::None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/package.rs:735:13 [INFO] [stdout] | [INFO] [stdout] 733 | ALPM_PKG_VALIDATION_UNKNWON => Validation::Unknown, [INFO] [stdout] | --------------------------- matches any value [INFO] [stdout] 734 | ALPM_PKG_VALIDATION_NONE => Validation::None, [INFO] [stdout] 735 | other => Validation::Some(ValidationMethod { [INFO] [stdout] | ^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/lib.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn with_options(options: &Options) -> AlpmResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/lib.rs:227:40 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn question_function(&self, func: F) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/lib.rs:239:40 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn progress_function(&self, func: F) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ALPM_PKG_VALIDATION_UNKNWON` [INFO] [stdout] --> src/package.rs:733:13 [INFO] [stdout] | [INFO] [stdout] 733 | ALPM_PKG_VALIDATION_UNKNWON => Validation::Unknown, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ALPM_PKG_VALIDATION_UNKNWON` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/package.rs:735:13 [INFO] [stdout] | [INFO] [stdout] 735 | other => Validation::Some(ValidationMethod { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/package.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/options.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_ini(loc: &Path) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/util.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let first = raw; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let mut p = libc::calloc(len + 1, mem::size_of::()) as *mut libc::c_char; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/db.rs:66:54 [INFO] [stdout] | [INFO] [stdout] 65 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 66 | let list = vec_to_alpm_list(servers, |s| unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `handle` [INFO] [stdout] --> src/package.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | handle: &'a Alpm [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/package.rs:512:26 [INFO] [stdout] | [INFO] [stdout] 512 | pub(crate) unsafe fn new<'b>(name: *const c_char, packages: *const alpm_list_t) -> Group<'b> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `pub_restricted` has been stable since 1.18.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(pub_restricted)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/package.rs:40:69 [INFO] [stdout] | [INFO] [stdout] 40 | ... CString::new(filename).unwrap().as_ptr(), [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ALPM_PKG_VALIDATION_UNKNWON` should have a snake case name [INFO] [stdout] --> src/package.rs:733:13 [INFO] [stdout] | [INFO] [stdout] 733 | ALPM_PKG_VALIDATION_UNKNWON => Validation::Unknown, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `alpm_pkg_validation_unknwon` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling curl-sys v0.4.44+curl-7.77.0 [INFO] [stderr] Compiling libalpm v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Package` [INFO] [stdout] --> src/event.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use package::{Package, PackageOperation}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/db.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use libc::{self, c_char}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(LogLevels, String) + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(LogLevels, String) + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str, u64, u64) + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:47:43 [INFO] [stdout] | [INFO] [stdout] 47 | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str, &str, bool) -> DownloadResult + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | static ref DLTOTAL_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(u64) + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | static ref EVENT_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Event) + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> examples/download_package.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | fn fetch(url: &str, loc: &str, force: bool) -> DownloadResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `force` [INFO] [stdout] --> examples/download_package.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | fn fetch(url: &str, loc: &str, force: bool) -> DownloadResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 46 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 47 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 46 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 47 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> examples/package.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 46 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 47 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 46 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 47 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 46 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 47 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/package.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | db.add_server(&fixed_servers.next().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:203:30 [INFO] [stdout] | [INFO] [stdout] 203 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/version-4765a27fe440202f.version.dc01c654-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/version-4765a27fe440202f.version.dc01c654-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/version-4765a27fe440202f.version.dc01c654-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/version-4765a27fe440202f.version.dc01c654-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/version-4765a27fe440202f.version.dc01c654-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/version-4765a27fe440202f.version.dc01c654-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/version-4765a27fe440202f.version.dc01c654-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/version-4765a27fe440202f.version.dc01c654-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/version-4765a27fe440202f.version.dc01c654-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/version-4765a27fe440202f.4zoydrhgvez4zn18.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/opt/rustwide/target/debug/build/curl-sys-52cba2aa47647d19/out/build" "-L" "/opt/rustwide/target/debug/build/printf-62f8acfad9d70572/out" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblibalpm-1d611a759d8f11ca.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-e7ca4d0d8274d779.rlib" "/opt/rustwide/target/debug/deps/libchrono-2db71aa9b2c14b31.rlib" "/opt/rustwide/target/debug/deps/libnum-870e953016632f0c.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-d5869d18b76ec653.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-d176c5cb3ee0ae21.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-819abb75827096f3.rlib" "/opt/rustwide/target/debug/deps/libtime-8e045214eaabb3d0.rlib" "/opt/rustwide/target/debug/deps/libprintf-70eeb3a053369855.rlib" "/opt/rustwide/target/debug/deps/liburl-9d1effeb2c472e10.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-f51489b4440e4fe1.rlib" "/opt/rustwide/target/debug/deps/libidna-5cd9b4fa161f31da.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-9f8f1322bcaa1356.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-c643c0a1f7b94895.rlib" "/opt/rustwide/target/debug/deps/libtinyvec_macros-3da38bc1578ec686.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-8dbcfed52415a45a.rlib" "/opt/rustwide/target/debug/deps/libmatches-ec803435b0d6dbd5.rlib" "/opt/rustwide/target/debug/deps/libalpm_sys-bebf5a0e3d52903f.rlib" "/opt/rustwide/target/debug/deps/liblibarchive3_sys-e53a6ebe33bf6b43.rlib" "/opt/rustwide/target/debug/deps/liblibc-333aa5b90e875ae0.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lalpm" "-larchive" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/version-4765a27fe440202f" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lalpm [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libalpm` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/package.rs:734:13 [INFO] [stdout] | [INFO] [stdout] 733 | ALPM_PKG_VALIDATION_UNKNWON => Validation::Unknown, [INFO] [stdout] | --------------------------- matches any value [INFO] [stdout] 734 | ALPM_PKG_VALIDATION_NONE => Validation::None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/package.rs:735:13 [INFO] [stdout] | [INFO] [stdout] 733 | ALPM_PKG_VALIDATION_UNKNWON => Validation::Unknown, [INFO] [stdout] | --------------------------- matches any value [INFO] [stdout] 734 | ALPM_PKG_VALIDATION_NONE => Validation::None, [INFO] [stdout] 735 | other => Validation::Some(ValidationMethod { [INFO] [stdout] | ^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/lib.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn with_options(options: &Options) -> AlpmResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/lib.rs:227:40 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn question_function(&self, func: F) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/lib.rs:239:40 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn progress_function(&self, func: F) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ALPM_PKG_VALIDATION_UNKNWON` [INFO] [stdout] --> src/package.rs:733:13 [INFO] [stdout] | [INFO] [stdout] 733 | ALPM_PKG_VALIDATION_UNKNWON => Validation::Unknown, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ALPM_PKG_VALIDATION_UNKNWON` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/package.rs:735:13 [INFO] [stdout] | [INFO] [stdout] 735 | other => Validation::Some(ValidationMethod { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/package.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/options.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_ini(loc: &Path) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/util.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let first = raw; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/simple-4a32fb76f785373a.simple.fe6ad543-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/simple-4a32fb76f785373a.simple.fe6ad543-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/simple-4a32fb76f785373a.simple.fe6ad543-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/simple-4a32fb76f785373a.simple.fe6ad543-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/simple-4a32fb76f785373a.simple.fe6ad543-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/simple-4a32fb76f785373a.simple.fe6ad543-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/simple-4a32fb76f785373a.simple.fe6ad543-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/simple-4a32fb76f785373a.simple.fe6ad543-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/simple-4a32fb76f785373a.simple.fe6ad543-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/simple-4a32fb76f785373a.simple.fe6ad543-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/simple-4a32fb76f785373a.simple.fe6ad543-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/simple-4a32fb76f785373a.simple.fe6ad543-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/simple-4a32fb76f785373a.simple.fe6ad543-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/simple-4a32fb76f785373a.simple.fe6ad543-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/simple-4a32fb76f785373a.simple.fe6ad543-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/simple-4a32fb76f785373a.simple.fe6ad543-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/simple-4a32fb76f785373a.10f2b9p7g6a9hdsl.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/opt/rustwide/target/debug/build/curl-sys-52cba2aa47647d19/out/build" "-L" "/opt/rustwide/target/debug/build/printf-62f8acfad9d70572/out" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libterm-865ce14c6679c06f.rlib" "/opt/rustwide/target/debug/deps/liblibalpm-1d611a759d8f11ca.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-e7ca4d0d8274d779.rlib" "/opt/rustwide/target/debug/deps/libchrono-2db71aa9b2c14b31.rlib" "/opt/rustwide/target/debug/deps/libnum-870e953016632f0c.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-d5869d18b76ec653.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-d176c5cb3ee0ae21.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-819abb75827096f3.rlib" "/opt/rustwide/target/debug/deps/libtime-8e045214eaabb3d0.rlib" "/opt/rustwide/target/debug/deps/libprintf-70eeb3a053369855.rlib" "/opt/rustwide/target/debug/deps/liburl-9d1effeb2c472e10.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-f51489b4440e4fe1.rlib" "/opt/rustwide/target/debug/deps/libidna-5cd9b4fa161f31da.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-9f8f1322bcaa1356.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-c643c0a1f7b94895.rlib" "/opt/rustwide/target/debug/deps/libtinyvec_macros-3da38bc1578ec686.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-8dbcfed52415a45a.rlib" "/opt/rustwide/target/debug/deps/libmatches-ec803435b0d6dbd5.rlib" "/opt/rustwide/target/debug/deps/libalpm_sys-bebf5a0e3d52903f.rlib" "/opt/rustwide/target/debug/deps/liblibarchive3_sys-e53a6ebe33bf6b43.rlib" "/opt/rustwide/target/debug/deps/liblibc-333aa5b90e875ae0.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lalpm" "-larchive" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/simple-4a32fb76f785373a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lalpm [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/download_package-9a9c9cdeb06184af.download_package.388dddc9-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-9a9c9cdeb06184af.download_package.388dddc9-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-9a9c9cdeb06184af.download_package.388dddc9-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-9a9c9cdeb06184af.download_package.388dddc9-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-9a9c9cdeb06184af.download_package.388dddc9-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-9a9c9cdeb06184af.download_package.388dddc9-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-9a9c9cdeb06184af.download_package.388dddc9-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-9a9c9cdeb06184af.download_package.388dddc9-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-9a9c9cdeb06184af.download_package.388dddc9-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-9a9c9cdeb06184af.download_package.388dddc9-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-9a9c9cdeb06184af.download_package.388dddc9-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-9a9c9cdeb06184af.download_package.388dddc9-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-9a9c9cdeb06184af.download_package.388dddc9-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-9a9c9cdeb06184af.download_package.388dddc9-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-9a9c9cdeb06184af.download_package.388dddc9-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-9a9c9cdeb06184af.download_package.388dddc9-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-9a9c9cdeb06184af.1tsxq685hwexdn1s.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/opt/rustwide/target/debug/build/curl-sys-52cba2aa47647d19/out/build" "-L" "/opt/rustwide/target/debug/build/printf-62f8acfad9d70572/out" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libcurl-a2482688a67707a3.rlib" "/opt/rustwide/target/debug/deps/libopenssl_probe-c41498492ee5efc6.rlib" "/opt/rustwide/target/debug/deps/libsocket2-e4547eb81f669173.rlib" "/opt/rustwide/target/debug/deps/libcurl_sys-a9506721206fd176.rlib" "/opt/rustwide/target/debug/deps/libopenssl_sys-08df97672f3768f7.rlib" "/opt/rustwide/target/debug/deps/liblibz_sys-3d5b4b749d3a1e0e.rlib" "/opt/rustwide/target/debug/deps/liblibalpm-1d611a759d8f11ca.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-e7ca4d0d8274d779.rlib" "/opt/rustwide/target/debug/deps/libchrono-2db71aa9b2c14b31.rlib" "/opt/rustwide/target/debug/deps/libnum-870e953016632f0c.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-d5869d18b76ec653.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-d176c5cb3ee0ae21.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-819abb75827096f3.rlib" "/opt/rustwide/target/debug/deps/libtime-8e045214eaabb3d0.rlib" "/opt/rustwide/target/debug/deps/libprintf-70eeb3a053369855.rlib" "/opt/rustwide/target/debug/deps/liburl-9d1effeb2c472e10.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-f51489b4440e4fe1.rlib" "/opt/rustwide/target/debug/deps/libidna-5cd9b4fa161f31da.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-9f8f1322bcaa1356.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-c643c0a1f7b94895.rlib" "/opt/rustwide/target/debug/deps/libtinyvec_macros-3da38bc1578ec686.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-8dbcfed52415a45a.rlib" "/opt/rustwide/target/debug/deps/libmatches-ec803435b0d6dbd5.rlib" "/opt/rustwide/target/debug/deps/libalpm_sys-bebf5a0e3d52903f.rlib" "/opt/rustwide/target/debug/deps/liblibarchive3_sys-e53a6ebe33bf6b43.rlib" "/opt/rustwide/target/debug/deps/liblibc-333aa5b90e875ae0.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lz" "-lalpm" "-larchive" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/download_package-9a9c9cdeb06184af" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lalpm [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/package-4e32b08130f137f6.package.74c016d2-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/package-4e32b08130f137f6.package.74c016d2-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/package-4e32b08130f137f6.package.74c016d2-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/package-4e32b08130f137f6.package.74c016d2-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/package-4e32b08130f137f6.package.74c016d2-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/package-4e32b08130f137f6.package.74c016d2-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/package-4e32b08130f137f6.package.74c016d2-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/package-4e32b08130f137f6.package.74c016d2-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/package-4e32b08130f137f6.package.74c016d2-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/package-4e32b08130f137f6.package.74c016d2-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/package-4e32b08130f137f6.package.74c016d2-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/package-4e32b08130f137f6.package.74c016d2-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/package-4e32b08130f137f6.package.74c016d2-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/package-4e32b08130f137f6.package.74c016d2-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/package-4e32b08130f137f6.package.74c016d2-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/package-4e32b08130f137f6.package.74c016d2-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/package-4e32b08130f137f6.4c9rutgot3kjqt1o.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/opt/rustwide/target/debug/build/curl-sys-52cba2aa47647d19/out/build" "-L" "/opt/rustwide/target/debug/build/printf-62f8acfad9d70572/out" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libterm-865ce14c6679c06f.rlib" "/opt/rustwide/target/debug/deps/liblibalpm-1d611a759d8f11ca.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-e7ca4d0d8274d779.rlib" "/opt/rustwide/target/debug/deps/libchrono-2db71aa9b2c14b31.rlib" "/opt/rustwide/target/debug/deps/libnum-870e953016632f0c.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-d5869d18b76ec653.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-d176c5cb3ee0ae21.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-819abb75827096f3.rlib" "/opt/rustwide/target/debug/deps/libtime-8e045214eaabb3d0.rlib" "/opt/rustwide/target/debug/deps/libprintf-70eeb3a053369855.rlib" "/opt/rustwide/target/debug/deps/liburl-9d1effeb2c472e10.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-f51489b4440e4fe1.rlib" "/opt/rustwide/target/debug/deps/libidna-5cd9b4fa161f31da.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-9f8f1322bcaa1356.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-c643c0a1f7b94895.rlib" "/opt/rustwide/target/debug/deps/libtinyvec_macros-3da38bc1578ec686.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-8dbcfed52415a45a.rlib" "/opt/rustwide/target/debug/deps/libmatches-ec803435b0d6dbd5.rlib" "/opt/rustwide/target/debug/deps/libalpm_sys-bebf5a0e3d52903f.rlib" "/opt/rustwide/target/debug/deps/liblibarchive3_sys-e53a6ebe33bf6b43.rlib" "/opt/rustwide/target/debug/deps/liblibc-333aa5b90e875ae0.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lalpm" "-larchive" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/package-4e32b08130f137f6" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lalpm [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let mut p = libc::calloc(len + 1, mem::size_of::()) as *mut libc::c_char; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/package.rs:575:5 [INFO] [stdout] | [INFO] [stdout] 575 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/db.rs:66:54 [INFO] [stdout] | [INFO] [stdout] 65 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 66 | let list = vec_to_alpm_list(servers, |s| unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `handle` [INFO] [stdout] --> src/package.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | handle: &'a Alpm [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/package.rs:512:26 [INFO] [stdout] | [INFO] [stdout] 512 | pub(crate) unsafe fn new<'b>(name: *const c_char, packages: *const alpm_list_t) -> Group<'b> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `pub_restricted` has been stable since 1.18.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(pub_restricted)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/package.rs:40:69 [INFO] [stdout] | [INFO] [stdout] 40 | ... CString::new(filename).unwrap().as_ptr(), [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ALPM_PKG_VALIDATION_UNKNWON` should have a snake case name [INFO] [stdout] --> src/package.rs:733:13 [INFO] [stdout] | [INFO] [stdout] 733 | ALPM_PKG_VALIDATION_UNKNWON => Validation::Unknown, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `alpm_pkg_validation_unknwon` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/libalpm-e1e125cabbedd99b.libalpm.750ffda2-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-e1e125cabbedd99b.libalpm.750ffda2-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-e1e125cabbedd99b.libalpm.750ffda2-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-e1e125cabbedd99b.libalpm.750ffda2-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-e1e125cabbedd99b.libalpm.750ffda2-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-e1e125cabbedd99b.libalpm.750ffda2-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-e1e125cabbedd99b.libalpm.750ffda2-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-e1e125cabbedd99b.libalpm.750ffda2-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-e1e125cabbedd99b.libalpm.750ffda2-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-e1e125cabbedd99b.libalpm.750ffda2-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-e1e125cabbedd99b.libalpm.750ffda2-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-e1e125cabbedd99b.libalpm.750ffda2-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-e1e125cabbedd99b.libalpm.750ffda2-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-e1e125cabbedd99b.libalpm.750ffda2-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-e1e125cabbedd99b.libalpm.750ffda2-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-e1e125cabbedd99b.libalpm.750ffda2-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-e1e125cabbedd99b.5933hpne873yvzoj.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/opt/rustwide/target/debug/build/curl-sys-52cba2aa47647d19/out/build" "-L" "/opt/rustwide/target/debug/build/printf-62f8acfad9d70572/out" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-08487f8e282f19e0.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-9e93f1ef523b9dfd.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-fd135b1b487350d3.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-6d527484b6287cb3.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-91c5e579413a9548.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-e7ca4d0d8274d779.rlib" "/opt/rustwide/target/debug/deps/libchrono-2db71aa9b2c14b31.rlib" "/opt/rustwide/target/debug/deps/libnum-870e953016632f0c.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-d5869d18b76ec653.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-d176c5cb3ee0ae21.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-819abb75827096f3.rlib" "/opt/rustwide/target/debug/deps/libtime-8e045214eaabb3d0.rlib" "/opt/rustwide/target/debug/deps/libprintf-70eeb3a053369855.rlib" "/opt/rustwide/target/debug/deps/liburl-9d1effeb2c472e10.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-f51489b4440e4fe1.rlib" "/opt/rustwide/target/debug/deps/libidna-5cd9b4fa161f31da.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-9f8f1322bcaa1356.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-c643c0a1f7b94895.rlib" "/opt/rustwide/target/debug/deps/libtinyvec_macros-3da38bc1578ec686.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-8dbcfed52415a45a.rlib" "/opt/rustwide/target/debug/deps/libmatches-ec803435b0d6dbd5.rlib" "/opt/rustwide/target/debug/deps/libalpm_sys-bebf5a0e3d52903f.rlib" "/opt/rustwide/target/debug/deps/liblibarchive3_sys-e53a6ebe33bf6b43.rlib" "/opt/rustwide/target/debug/deps/liblibc-333aa5b90e875ae0.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lalpm" "-larchive" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libalpm-e1e125cabbedd99b" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lalpm [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e41b20929691e610d89bbc296b0b810b42ef609b3b86ce39805c3924ded87205", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e41b20929691e610d89bbc296b0b810b42ef609b3b86ce39805c3924ded87205", kill_on_drop: false }` [INFO] [stdout] e41b20929691e610d89bbc296b0b810b42ef609b3b86ce39805c3924ded87205