[INFO] fetching crate libalpm 0.1.2... [INFO] testing libalpm-0.1.2 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate libalpm 0.1.2 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate libalpm 0.1.2 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b89762083a9fd3f20a7236359d530c519685523f622ff39785b1cbba0a79edba [INFO] running `Command { std: "docker" "start" "-a" "b89762083a9fd3f20a7236359d530c519685523f622ff39785b1cbba0a79edba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b89762083a9fd3f20a7236359d530c519685523f622ff39785b1cbba0a79edba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b89762083a9fd3f20a7236359d530c519685523f622ff39785b1cbba0a79edba", kill_on_drop: false }` [INFO] [stdout] b89762083a9fd3f20a7236359d530c519685523f622ff39785b1cbba0a79edba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d45708ded36976c2651c53d01ec0fba0beb703204f18e477d5434e81737aab3 [INFO] running `Command { std: "docker" "start" "-a" "1d45708ded36976c2651c53d01ec0fba0beb703204f18e477d5434e81737aab3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling libarchive3-sys v0.1.2 [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 printf v0.1.0 [INFO] [stderr] Compiling alpm-sys v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [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 8.50s [INFO] running `Command { std: "docker" "inspect" "1d45708ded36976c2651c53d01ec0fba0beb703204f18e477d5434e81737aab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d45708ded36976c2651c53d01ec0fba0beb703204f18e477d5434e81737aab3", kill_on_drop: false }` [INFO] [stdout] 1d45708ded36976c2651c53d01ec0fba0beb703204f18e477d5434e81737aab3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbb59c299792cc39df2e3f6b8282360511f741dde707836d9951ccaae723c1f9 [INFO] running `Command { std: "docker" "start" "-a" "bbb59c299792cc39df2e3f6b8282360511f741dde707836d9951ccaae723c1f9", kill_on_drop: false }` [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 libz-sys v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling curl-sys v0.4.45+curl-7.78.0 [INFO] [stderr] Compiling socket2 v0.4.1 [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 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: `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 `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: 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/download_package-a7cf5e5458756c1e.download_package.d3d073b4-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-a7cf5e5458756c1e.download_package.d3d073b4-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-a7cf5e5458756c1e.download_package.d3d073b4-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-a7cf5e5458756c1e.download_package.d3d073b4-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-a7cf5e5458756c1e.download_package.d3d073b4-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-a7cf5e5458756c1e.download_package.d3d073b4-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-a7cf5e5458756c1e.download_package.d3d073b4-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-a7cf5e5458756c1e.download_package.d3d073b4-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-a7cf5e5458756c1e.download_package.d3d073b4-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-a7cf5e5458756c1e.download_package.d3d073b4-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-a7cf5e5458756c1e.download_package.d3d073b4-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-a7cf5e5458756c1e.download_package.d3d073b4-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-a7cf5e5458756c1e.download_package.d3d073b4-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-a7cf5e5458756c1e.download_package.d3d073b4-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-a7cf5e5458756c1e.download_package.d3d073b4-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-a7cf5e5458756c1e.download_package.d3d073b4-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/download_package-a7cf5e5458756c1e.30cq7rlclmthdbbi.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-57d841df2ae98e08/out/build" "-L" "/opt/rustwide/target/debug/build/printf-62f8acfad9d70572/out" "-L" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libcurl-6a091273ebd345be.rlib" "/opt/rustwide/target/debug/deps/libopenssl_probe-c41498492ee5efc6.rlib" "/opt/rustwide/target/debug/deps/libsocket2-4b97a75cd84944fb.rlib" "/opt/rustwide/target/debug/deps/libcurl_sys-5e33c02be0cdbd91.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-46de26cea0824f74.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-d4b36e5d5ed54ccd.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-f51489b4440e4fe1.rlib" "/opt/rustwide/target/debug/deps/libidna-c7f4dd4831080ff6.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-3fb7aa12e091aaa0.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-58b26917c8f79f70.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/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9c44f1fe63de3edb.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5dfdbb680ac299a1.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-353beaf877db2fdf.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-cd4abd33332d2d3f.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3b908b5b50ddd80c.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-9cafd3521b5532d3.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-7b0935832903a9ac.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-8a349b13d67c76e3.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-9d41e7cb09eafd8e.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-095194fedb4c0ec4.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-968cf83f088269ec.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e63bbb95a6beff5c.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9f216e67c2916fa5.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-4688b763605c6a0e.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a9b2dc3244289321.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-003d83a588984e1f.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/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/download_package-a7cf5e5458756c1e" "-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] [stderr] error: could not compile `libalpm` due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/version-4aec99f7af99dd81.version.4a5e1e92-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/version-4aec99f7af99dd81.version.4a5e1e92-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/version-4aec99f7af99dd81.version.4a5e1e92-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/version-4aec99f7af99dd81.version.4a5e1e92-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/version-4aec99f7af99dd81.version.4a5e1e92-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/version-4aec99f7af99dd81.version.4a5e1e92-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/version-4aec99f7af99dd81.version.4a5e1e92-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/version-4aec99f7af99dd81.version.4a5e1e92-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/version-4aec99f7af99dd81.version.4a5e1e92-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/version-4aec99f7af99dd81.4i80eyhd4yr57554.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-57d841df2ae98e08/out/build" "-L" "/opt/rustwide/target/debug/build/printf-62f8acfad9d70572/out" "-L" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblibalpm-46de26cea0824f74.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-d4b36e5d5ed54ccd.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-f51489b4440e4fe1.rlib" "/opt/rustwide/target/debug/deps/libidna-c7f4dd4831080ff6.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-3fb7aa12e091aaa0.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-58b26917c8f79f70.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/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9c44f1fe63de3edb.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5dfdbb680ac299a1.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-353beaf877db2fdf.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-cd4abd33332d2d3f.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3b908b5b50ddd80c.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-9cafd3521b5532d3.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-7b0935832903a9ac.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-8a349b13d67c76e3.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-9d41e7cb09eafd8e.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-095194fedb4c0ec4.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-968cf83f088269ec.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e63bbb95a6beff5c.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9f216e67c2916fa5.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-4688b763605c6a0e.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a9b2dc3244289321.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-003d83a588984e1f.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/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/version-4aec99f7af99dd81" "-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] 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/examples/package-72472c3c4d10b8d5.package.a908024d-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/package-72472c3c4d10b8d5.package.a908024d-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/package-72472c3c4d10b8d5.package.a908024d-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/package-72472c3c4d10b8d5.package.a908024d-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/package-72472c3c4d10b8d5.package.a908024d-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/package-72472c3c4d10b8d5.package.a908024d-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/package-72472c3c4d10b8d5.package.a908024d-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/package-72472c3c4d10b8d5.package.a908024d-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/package-72472c3c4d10b8d5.package.a908024d-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/package-72472c3c4d10b8d5.package.a908024d-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/package-72472c3c4d10b8d5.package.a908024d-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/package-72472c3c4d10b8d5.package.a908024d-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/package-72472c3c4d10b8d5.package.a908024d-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/package-72472c3c4d10b8d5.package.a908024d-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/package-72472c3c4d10b8d5.package.a908024d-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/package-72472c3c4d10b8d5.package.a908024d-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/package-72472c3c4d10b8d5.rmr5hjt9928tvjm.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-57d841df2ae98e08/out/build" "-L" "/opt/rustwide/target/debug/build/printf-62f8acfad9d70572/out" "-L" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libterm-865ce14c6679c06f.rlib" "/opt/rustwide/target/debug/deps/liblibalpm-46de26cea0824f74.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-d4b36e5d5ed54ccd.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-f51489b4440e4fe1.rlib" "/opt/rustwide/target/debug/deps/libidna-c7f4dd4831080ff6.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-3fb7aa12e091aaa0.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-58b26917c8f79f70.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/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9c44f1fe63de3edb.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5dfdbb680ac299a1.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-353beaf877db2fdf.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-cd4abd33332d2d3f.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3b908b5b50ddd80c.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-9cafd3521b5532d3.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-7b0935832903a9ac.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-8a349b13d67c76e3.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-9d41e7cb09eafd8e.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-095194fedb4c0ec4.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-968cf83f088269ec.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e63bbb95a6beff5c.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9f216e67c2916fa5.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-4688b763605c6a0e.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a9b2dc3244289321.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-003d83a588984e1f.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/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/package-72472c3c4d10b8d5" "-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/simple-a35ce63d1df22cc1.simple.cd6eb0ed-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/simple-a35ce63d1df22cc1.simple.cd6eb0ed-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/simple-a35ce63d1df22cc1.simple.cd6eb0ed-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/simple-a35ce63d1df22cc1.simple.cd6eb0ed-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/simple-a35ce63d1df22cc1.simple.cd6eb0ed-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/simple-a35ce63d1df22cc1.simple.cd6eb0ed-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/simple-a35ce63d1df22cc1.simple.cd6eb0ed-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/simple-a35ce63d1df22cc1.simple.cd6eb0ed-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/simple-a35ce63d1df22cc1.simple.cd6eb0ed-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/simple-a35ce63d1df22cc1.simple.cd6eb0ed-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/simple-a35ce63d1df22cc1.simple.cd6eb0ed-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/simple-a35ce63d1df22cc1.simple.cd6eb0ed-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/simple-a35ce63d1df22cc1.simple.cd6eb0ed-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/simple-a35ce63d1df22cc1.simple.cd6eb0ed-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/simple-a35ce63d1df22cc1.simple.cd6eb0ed-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/simple-a35ce63d1df22cc1.simple.cd6eb0ed-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/simple-a35ce63d1df22cc1.53a8lk125tr4ilf0.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-57d841df2ae98e08/out/build" "-L" "/opt/rustwide/target/debug/build/printf-62f8acfad9d70572/out" "-L" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libterm-865ce14c6679c06f.rlib" "/opt/rustwide/target/debug/deps/liblibalpm-46de26cea0824f74.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-d4b36e5d5ed54ccd.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-f51489b4440e4fe1.rlib" "/opt/rustwide/target/debug/deps/libidna-c7f4dd4831080ff6.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-3fb7aa12e091aaa0.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-58b26917c8f79f70.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/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9c44f1fe63de3edb.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5dfdbb680ac299a1.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-353beaf877db2fdf.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-cd4abd33332d2d3f.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3b908b5b50ddd80c.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-9cafd3521b5532d3.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-7b0935832903a9ac.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-8a349b13d67c76e3.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-9d41e7cb09eafd8e.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-095194fedb4c0ec4.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-968cf83f088269ec.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e63bbb95a6beff5c.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9f216e67c2916fa5.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-4688b763605c6a0e.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a9b2dc3244289321.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-003d83a588984e1f.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/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/simple-a35ce63d1df22cc1" "-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/deps/libalpm-50f79d57e2abf28e.libalpm.9ce28d28-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-50f79d57e2abf28e.libalpm.9ce28d28-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-50f79d57e2abf28e.libalpm.9ce28d28-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-50f79d57e2abf28e.libalpm.9ce28d28-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-50f79d57e2abf28e.libalpm.9ce28d28-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-50f79d57e2abf28e.libalpm.9ce28d28-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-50f79d57e2abf28e.libalpm.9ce28d28-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-50f79d57e2abf28e.libalpm.9ce28d28-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-50f79d57e2abf28e.libalpm.9ce28d28-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-50f79d57e2abf28e.libalpm.9ce28d28-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-50f79d57e2abf28e.libalpm.9ce28d28-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-50f79d57e2abf28e.libalpm.9ce28d28-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-50f79d57e2abf28e.libalpm.9ce28d28-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-50f79d57e2abf28e.libalpm.9ce28d28-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-50f79d57e2abf28e.libalpm.9ce28d28-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-50f79d57e2abf28e.libalpm.9ce28d28-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/libalpm-50f79d57e2abf28e.1tpyumacjbthl96j.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-57d841df2ae98e08/out/build" "-L" "/opt/rustwide/target/debug/build/printf-62f8acfad9d70572/out" "-L" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-1ce38cc2ca963dbe.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-44cde79bf84da402.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-4dc925bb53d03412.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-2216cca8b1bb2a2f.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-d4b36e5d5ed54ccd.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-f51489b4440e4fe1.rlib" "/opt/rustwide/target/debug/deps/libidna-c7f4dd4831080ff6.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-3fb7aa12e091aaa0.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-58b26917c8f79f70.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/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9c44f1fe63de3edb.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5dfdbb680ac299a1.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-353beaf877db2fdf.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-cd4abd33332d2d3f.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3b908b5b50ddd80c.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-9cafd3521b5532d3.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-7b0935832903a9ac.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-8a349b13d67c76e3.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-9d41e7cb09eafd8e.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-095194fedb4c0ec4.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-968cf83f088269ec.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e63bbb95a6beff5c.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9f216e67c2916fa5.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-4688b763605c6a0e.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a9b2dc3244289321.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-003d83a588984e1f.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/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libalpm-50f79d57e2abf28e" "-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" "bbb59c299792cc39df2e3f6b8282360511f741dde707836d9951ccaae723c1f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbb59c299792cc39df2e3f6b8282360511f741dde707836d9951ccaae723c1f9", kill_on_drop: false }` [INFO] [stdout] bbb59c299792cc39df2e3f6b8282360511f741dde707836d9951ccaae723c1f9