[INFO] fetching crate libalpm 0.1.2... [INFO] testing libalpm-0.1.2 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate libalpm 0.1.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate libalpm 0.1.2 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", 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] 1e493567ce103e3a927488a6fa8a51322c7ed3dbefd68c19d02d41b75f558d43 [INFO] running `Command { std: "docker" "start" "-a" "1e493567ce103e3a927488a6fa8a51322c7ed3dbefd68c19d02d41b75f558d43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e493567ce103e3a927488a6fa8a51322c7ed3dbefd68c19d02d41b75f558d43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e493567ce103e3a927488a6fa8a51322c7ed3dbefd68c19d02d41b75f558d43", kill_on_drop: false }` [INFO] [stdout] 1e493567ce103e3a927488a6fa8a51322c7ed3dbefd68c19d02d41b75f558d43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6a2b1fe0fce4864952b7a8378c0181ab804e60b7a6a9a5ebc29ae74a3be9ee2 [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" "b6a2b1fe0fce4864952b7a8378c0181ab804e60b7a6a9a5ebc29ae74a3be9ee2", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling printf v0.1.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling libarchive3-sys v0.1.2 [INFO] [stderr] Compiling url v1.7.2 [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 [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 [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 [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 [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 [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: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.11s [INFO] running `Command { std: "docker" "inspect" "b6a2b1fe0fce4864952b7a8378c0181ab804e60b7a6a9a5ebc29ae74a3be9ee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6a2b1fe0fce4864952b7a8378c0181ab804e60b7a6a9a5ebc29ae74a3be9ee2", kill_on_drop: false }` [INFO] [stdout] b6a2b1fe0fce4864952b7a8378c0181ab804e60b7a6a9a5ebc29ae74a3be9ee2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a95dff469943b06157acabd12790a6fa0eaa43c9d15ffe4b016086e89d67ef44 [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" "a95dff469943b06157acabd12790a6fa0eaa43c9d15ffe4b016086e89d67ef44", kill_on_drop: false }` [INFO] [stderr] Compiling curl v0.4.40 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling curl-sys v0.4.50+curl-7.79.1 [INFO] [stderr] Compiling socket2 v0.4.2 [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 [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 [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 [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 [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 [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: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libalpm v0.1.2 (/opt/rustwide/workdir) [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: 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: `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: 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 [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 [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 [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 [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 [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: 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-02e020afa3ca3e4a.version.9dc5a172-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/version-02e020afa3ca3e4a.version.9dc5a172-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/version-02e020afa3ca3e4a.version.9dc5a172-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/version-02e020afa3ca3e4a.version.9dc5a172-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/version-02e020afa3ca3e4a.version.9dc5a172-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/version-02e020afa3ca3e4a.version.9dc5a172-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/version-02e020afa3ca3e4a.version.9dc5a172-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/version-02e020afa3ca3e4a.1yqmd6hwdt8z35p3.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-ac528b5b3bd987ff/out/build" "-L" "/opt/rustwide/target/debug/build/printf-bc058527202311c9/out" "-L" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblibalpm-ca74c5c59bb36db6.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-edf244ecdb61ba64.rlib" "/opt/rustwide/target/debug/deps/libchrono-5775820623a57dad.rlib" "/opt/rustwide/target/debug/deps/libnum-07f9e7386dcca777.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-68badb54d442bdd4.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-747845bc9efb2d79.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-b01ac3b4430ee179.rlib" "/opt/rustwide/target/debug/deps/libtime-642d4ba4b9ffc2f6.rlib" "/opt/rustwide/target/debug/deps/libprintf-da5032960a376955.rlib" "/opt/rustwide/target/debug/deps/liburl-1cdcc246a8925053.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-240c068dd9a8427a.rlib" "/opt/rustwide/target/debug/deps/libidna-b10763d312dfe5c7.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-12ccd468a33959ee.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-b9fbadb33a2ea73a.rlib" "/opt/rustwide/target/debug/deps/libtinyvec_macros-ef06cf556416b731.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-d0a053bbcb729d32.rlib" "/opt/rustwide/target/debug/deps/libmatches-a104dd362fa85146.rlib" "/opt/rustwide/target/debug/deps/libalpm_sys-0d28af940d333293.rlib" "/opt/rustwide/target/debug/deps/liblibarchive3_sys-8a2c0eea577f7d60.rlib" "/opt/rustwide/target/debug/deps/liblibc-8c0b0c2149eecc9d.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b037ee6b77e2ff0.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9635a64fca0ebd28.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a7574eb9bb7a8fc5.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f5fa1dc334dcaeeb.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ee570a898e75ef0.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-afb62f29a0815772.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a632746535fd9988.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-25acc307bcb1d7b6.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-377721a625f6ace7.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-43c01431c8a4ee6f.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5f74725679453254.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2b35d8999819161d.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.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/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/version-02e020afa3ca3e4a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-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` due to 2 previous errors [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-eca7f85e8d5e0b2b.simple.632bec3d-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/simple-eca7f85e8d5e0b2b.simple.632bec3d-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/simple-eca7f85e8d5e0b2b.simple.632bec3d-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/simple-eca7f85e8d5e0b2b.simple.632bec3d-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/simple-eca7f85e8d5e0b2b.simple.632bec3d-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/simple-eca7f85e8d5e0b2b.simple.632bec3d-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/simple-eca7f85e8d5e0b2b.simple.632bec3d-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/simple-eca7f85e8d5e0b2b.simple.632bec3d-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/simple-eca7f85e8d5e0b2b.simple.632bec3d-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/simple-eca7f85e8d5e0b2b.simple.632bec3d-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/simple-eca7f85e8d5e0b2b.simple.632bec3d-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/simple-eca7f85e8d5e0b2b.simple.632bec3d-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/simple-eca7f85e8d5e0b2b.simple.632bec3d-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/simple-eca7f85e8d5e0b2b.simple.632bec3d-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/simple-eca7f85e8d5e0b2b.simple.632bec3d-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/simple-eca7f85e8d5e0b2b.simple.632bec3d-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/simple-eca7f85e8d5e0b2b.1l2m7q6nd0ka81c0.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-ac528b5b3bd987ff/out/build" "-L" "/opt/rustwide/target/debug/build/printf-bc058527202311c9/out" "-L" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libterm-77569b923aaf0569.rlib" "/opt/rustwide/target/debug/deps/liblibalpm-ca74c5c59bb36db6.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-edf244ecdb61ba64.rlib" "/opt/rustwide/target/debug/deps/libchrono-5775820623a57dad.rlib" "/opt/rustwide/target/debug/deps/libnum-07f9e7386dcca777.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-68badb54d442bdd4.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-747845bc9efb2d79.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-b01ac3b4430ee179.rlib" "/opt/rustwide/target/debug/deps/libtime-642d4ba4b9ffc2f6.rlib" "/opt/rustwide/target/debug/deps/libprintf-da5032960a376955.rlib" "/opt/rustwide/target/debug/deps/liburl-1cdcc246a8925053.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-240c068dd9a8427a.rlib" "/opt/rustwide/target/debug/deps/libidna-b10763d312dfe5c7.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-12ccd468a33959ee.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-b9fbadb33a2ea73a.rlib" "/opt/rustwide/target/debug/deps/libtinyvec_macros-ef06cf556416b731.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-d0a053bbcb729d32.rlib" "/opt/rustwide/target/debug/deps/libmatches-a104dd362fa85146.rlib" "/opt/rustwide/target/debug/deps/libalpm_sys-0d28af940d333293.rlib" "/opt/rustwide/target/debug/deps/liblibarchive3_sys-8a2c0eea577f7d60.rlib" "/opt/rustwide/target/debug/deps/liblibc-8c0b0c2149eecc9d.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b037ee6b77e2ff0.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9635a64fca0ebd28.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a7574eb9bb7a8fc5.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f5fa1dc334dcaeeb.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ee570a898e75ef0.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-afb62f29a0815772.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a632746535fd9988.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-25acc307bcb1d7b6.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-377721a625f6ace7.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-43c01431c8a4ee6f.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5f74725679453254.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2b35d8999819161d.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.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/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/simple-eca7f85e8d5e0b2b" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-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] 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/download_package-2894efa3038cddb9.download_package.e40f746a-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-2894efa3038cddb9.download_package.e40f746a-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-2894efa3038cddb9.download_package.e40f746a-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-2894efa3038cddb9.download_package.e40f746a-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-2894efa3038cddb9.download_package.e40f746a-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-2894efa3038cddb9.download_package.e40f746a-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-2894efa3038cddb9.download_package.e40f746a-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-2894efa3038cddb9.download_package.e40f746a-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-2894efa3038cddb9.download_package.e40f746a-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-2894efa3038cddb9.download_package.e40f746a-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-2894efa3038cddb9.download_package.e40f746a-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-2894efa3038cddb9.download_package.e40f746a-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-2894efa3038cddb9.download_package.e40f746a-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-2894efa3038cddb9.download_package.e40f746a-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-2894efa3038cddb9.download_package.e40f746a-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-2894efa3038cddb9.download_package.e40f746a-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-2894efa3038cddb9.4ryk74jd76qy5j0e.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-ac528b5b3bd987ff/out/build" "-L" "/opt/rustwide/target/debug/build/printf-bc058527202311c9/out" "-L" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libcurl-5ad6e079f839ca68.rlib" "/opt/rustwide/target/debug/deps/libopenssl_probe-86ae36f1a8e8c887.rlib" "/opt/rustwide/target/debug/deps/libsocket2-486e95db3cac8361.rlib" "/opt/rustwide/target/debug/deps/libcurl_sys-24cef00409b96e9a.rlib" "/opt/rustwide/target/debug/deps/libopenssl_sys-a36ff22d619371df.rlib" "/opt/rustwide/target/debug/deps/liblibz_sys-ab3eb0d263d3d3fb.rlib" "/opt/rustwide/target/debug/deps/liblibalpm-ca74c5c59bb36db6.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-edf244ecdb61ba64.rlib" "/opt/rustwide/target/debug/deps/libchrono-5775820623a57dad.rlib" "/opt/rustwide/target/debug/deps/libnum-07f9e7386dcca777.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-68badb54d442bdd4.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-747845bc9efb2d79.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-b01ac3b4430ee179.rlib" "/opt/rustwide/target/debug/deps/libtime-642d4ba4b9ffc2f6.rlib" "/opt/rustwide/target/debug/deps/libprintf-da5032960a376955.rlib" "/opt/rustwide/target/debug/deps/liburl-1cdcc246a8925053.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-240c068dd9a8427a.rlib" "/opt/rustwide/target/debug/deps/libidna-b10763d312dfe5c7.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-12ccd468a33959ee.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-b9fbadb33a2ea73a.rlib" "/opt/rustwide/target/debug/deps/libtinyvec_macros-ef06cf556416b731.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-d0a053bbcb729d32.rlib" "/opt/rustwide/target/debug/deps/libmatches-a104dd362fa85146.rlib" "/opt/rustwide/target/debug/deps/libalpm_sys-0d28af940d333293.rlib" "/opt/rustwide/target/debug/deps/liblibarchive3_sys-8a2c0eea577f7d60.rlib" "/opt/rustwide/target/debug/deps/liblibc-8c0b0c2149eecc9d.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b037ee6b77e2ff0.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9635a64fca0ebd28.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a7574eb9bb7a8fc5.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f5fa1dc334dcaeeb.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ee570a898e75ef0.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-afb62f29a0815772.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a632746535fd9988.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-25acc307bcb1d7b6.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-377721a625f6ace7.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-43c01431c8a4ee6f.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5f74725679453254.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2b35d8999819161d.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.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/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/download_package-2894efa3038cddb9" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-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-dad7b2d383aee17a.package.ad55a091-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/package-dad7b2d383aee17a.package.ad55a091-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/package-dad7b2d383aee17a.package.ad55a091-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/package-dad7b2d383aee17a.package.ad55a091-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/package-dad7b2d383aee17a.package.ad55a091-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/package-dad7b2d383aee17a.package.ad55a091-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/package-dad7b2d383aee17a.package.ad55a091-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/package-dad7b2d383aee17a.package.ad55a091-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/package-dad7b2d383aee17a.package.ad55a091-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/package-dad7b2d383aee17a.package.ad55a091-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/package-dad7b2d383aee17a.package.ad55a091-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/package-dad7b2d383aee17a.package.ad55a091-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/package-dad7b2d383aee17a.package.ad55a091-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/package-dad7b2d383aee17a.package.ad55a091-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/package-dad7b2d383aee17a.package.ad55a091-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/package-dad7b2d383aee17a.package.ad55a091-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/package-dad7b2d383aee17a.43ojhqsyvmu7i7y0.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-ac528b5b3bd987ff/out/build" "-L" "/opt/rustwide/target/debug/build/printf-bc058527202311c9/out" "-L" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libterm-77569b923aaf0569.rlib" "/opt/rustwide/target/debug/deps/liblibalpm-ca74c5c59bb36db6.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-edf244ecdb61ba64.rlib" "/opt/rustwide/target/debug/deps/libchrono-5775820623a57dad.rlib" "/opt/rustwide/target/debug/deps/libnum-07f9e7386dcca777.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-68badb54d442bdd4.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-747845bc9efb2d79.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-b01ac3b4430ee179.rlib" "/opt/rustwide/target/debug/deps/libtime-642d4ba4b9ffc2f6.rlib" "/opt/rustwide/target/debug/deps/libprintf-da5032960a376955.rlib" "/opt/rustwide/target/debug/deps/liburl-1cdcc246a8925053.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-240c068dd9a8427a.rlib" "/opt/rustwide/target/debug/deps/libidna-b10763d312dfe5c7.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-12ccd468a33959ee.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-b9fbadb33a2ea73a.rlib" "/opt/rustwide/target/debug/deps/libtinyvec_macros-ef06cf556416b731.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-d0a053bbcb729d32.rlib" "/opt/rustwide/target/debug/deps/libmatches-a104dd362fa85146.rlib" "/opt/rustwide/target/debug/deps/libalpm_sys-0d28af940d333293.rlib" "/opt/rustwide/target/debug/deps/liblibarchive3_sys-8a2c0eea577f7d60.rlib" "/opt/rustwide/target/debug/deps/liblibc-8c0b0c2149eecc9d.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b037ee6b77e2ff0.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9635a64fca0ebd28.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a7574eb9bb7a8fc5.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f5fa1dc334dcaeeb.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ee570a898e75ef0.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-afb62f29a0815772.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a632746535fd9988.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-25acc307bcb1d7b6.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-377721a625f6ace7.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-43c01431c8a4ee6f.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5f74725679453254.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2b35d8999819161d.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.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/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/package-dad7b2d383aee17a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-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: 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: 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] [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-78f7ba3a35c58c05.libalpm.6f38bf1f-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-78f7ba3a35c58c05.libalpm.6f38bf1f-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-78f7ba3a35c58c05.libalpm.6f38bf1f-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-78f7ba3a35c58c05.libalpm.6f38bf1f-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-78f7ba3a35c58c05.libalpm.6f38bf1f-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-78f7ba3a35c58c05.libalpm.6f38bf1f-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-78f7ba3a35c58c05.libalpm.6f38bf1f-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-78f7ba3a35c58c05.libalpm.6f38bf1f-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-78f7ba3a35c58c05.libalpm.6f38bf1f-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-78f7ba3a35c58c05.libalpm.6f38bf1f-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-78f7ba3a35c58c05.libalpm.6f38bf1f-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-78f7ba3a35c58c05.libalpm.6f38bf1f-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-78f7ba3a35c58c05.libalpm.6f38bf1f-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-78f7ba3a35c58c05.libalpm.6f38bf1f-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-78f7ba3a35c58c05.libalpm.6f38bf1f-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-78f7ba3a35c58c05.libalpm.6f38bf1f-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-78f7ba3a35c58c05.pei5odrwa9u79p3.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-ac528b5b3bd987ff/out/build" "-L" "/opt/rustwide/target/debug/build/printf-bc058527202311c9/out" "-L" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-ea87b6c2fe761216.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-91b9e0d063734789.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-2ddfc09cde4cdc0c.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-d066e6f50a258123.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-edf244ecdb61ba64.rlib" "/opt/rustwide/target/debug/deps/libchrono-5775820623a57dad.rlib" "/opt/rustwide/target/debug/deps/libnum-07f9e7386dcca777.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-68badb54d442bdd4.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-747845bc9efb2d79.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-b01ac3b4430ee179.rlib" "/opt/rustwide/target/debug/deps/libtime-642d4ba4b9ffc2f6.rlib" "/opt/rustwide/target/debug/deps/libprintf-da5032960a376955.rlib" "/opt/rustwide/target/debug/deps/liburl-1cdcc246a8925053.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-240c068dd9a8427a.rlib" "/opt/rustwide/target/debug/deps/libidna-b10763d312dfe5c7.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-12ccd468a33959ee.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-b9fbadb33a2ea73a.rlib" "/opt/rustwide/target/debug/deps/libtinyvec_macros-ef06cf556416b731.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-d0a053bbcb729d32.rlib" "/opt/rustwide/target/debug/deps/libmatches-a104dd362fa85146.rlib" "/opt/rustwide/target/debug/deps/libalpm_sys-0d28af940d333293.rlib" "/opt/rustwide/target/debug/deps/liblibarchive3_sys-8a2c0eea577f7d60.rlib" "/opt/rustwide/target/debug/deps/liblibc-8c0b0c2149eecc9d.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b037ee6b77e2ff0.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9635a64fca0ebd28.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a7574eb9bb7a8fc5.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f5fa1dc334dcaeeb.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ee570a898e75ef0.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-afb62f29a0815772.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a632746535fd9988.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-25acc307bcb1d7b6.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-377721a625f6ace7.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-43c01431c8a4ee6f.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5f74725679453254.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2b35d8999819161d.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.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/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libalpm-78f7ba3a35c58c05" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-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; 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a95dff469943b06157acabd12790a6fa0eaa43c9d15ffe4b016086e89d67ef44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a95dff469943b06157acabd12790a6fa0eaa43c9d15ffe4b016086e89d67ef44", kill_on_drop: false }` [INFO] [stdout] a95dff469943b06157acabd12790a6fa0eaa43c9d15ffe4b016086e89d67ef44