[INFO] fetching crate libalpm-fork 0.1.4... [INFO] checking libalpm-fork-0.1.4 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate libalpm-fork 0.1.4 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate libalpm-fork 0.1.4 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate libalpm-fork 0.1.4 [INFO] finished tweaking crates.io crate libalpm-fork 0.1.4 [INFO] tweaked toml for crates.io crate libalpm-fork 0.1.4 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f34f1097d82d9f293ca4cc880c02a02dc72ebd53781b21fd2640583440dea72e [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" "f34f1097d82d9f293ca4cc880c02a02dc72ebd53781b21fd2640583440dea72e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f34f1097d82d9f293ca4cc880c02a02dc72ebd53781b21fd2640583440dea72e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f34f1097d82d9f293ca4cc880c02a02dc72ebd53781b21fd2640583440dea72e", kill_on_drop: false }` [INFO] [stdout] f34f1097d82d9f293ca4cc880c02a02dc72ebd53781b21fd2640583440dea72e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ed432b473c6b266f6744d96b973a6b7b936809508ca550efc31c440a41ca3ef3 [INFO] running `Command { std: "docker" "start" "-a" "ed432b473c6b266f6744d96b973a6b7b936809508ca550efc31c440a41ca3ef3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tinyvec v1.1.0 [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 libz-sys v1.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling libarchive3-sys v0.1.2 [INFO] [stderr] Compiling curl-sys v0.4.39+curl-7.74.0 [INFO] [stderr] Compiling printf v0.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking alpm-sys-fork v0.1.2 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking chrono v0.3.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking libalpm-fork v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ptr` is imported redundantly [INFO] [stdout] --> src/trans.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ptr; [INFO] [stdout] | -------- the item `ptr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 183 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | 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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(LogLevels, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:62:46 [INFO] [stdout] | [INFO] [stdout] 62 | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str, u64, u64) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:63:43 [INFO] [stdout] | [INFO] [stdout] 63 | 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] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:64:45 [INFO] [stdout] | [INFO] [stdout] 64 | static ref DLTOTAL_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(u64) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:65:43 [INFO] [stdout] | [INFO] [stdout] 65 | static ref EVENT_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Event) + Send` [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:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 62 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 63 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (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:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 62 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 63 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 62 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 63 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 62 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 63 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 62 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 63 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | let mut fixed_servers = repo.servers [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: associated function is never used: `new` [INFO] [stdout] --> src/package.rs:523:26 [INFO] [stdout] | [INFO] [stdout] 523 | pub(crate) unsafe fn new<'b>(name: *const c_char, packages: *mut alpm_list_t) -> Group<'b> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling curl v0.4.34 [INFO] [stdout] error[E0463]: can't find crate for `libalpm` [INFO] [stdout] --> examples/version.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate libalpm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `libalpm` [INFO] [stdout] --> examples/download_package.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate libalpm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `libalpm` [INFO] [stdout] --> examples/package.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate libalpm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `libalpm` [INFO] [stdout] --> examples/simple.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate libalpm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libalpm-fork` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0463]: can't find crate for `libalpm` [INFO] [stdout] --> examples/update.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate libalpm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] warning: the item `ptr` is imported redundantly [INFO] [stdout] --> src/trans.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ptr; [INFO] [stdout] | -------- the item `ptr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 183 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | 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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(LogLevels, String) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:62:46 [INFO] [stdout] | [INFO] [stdout] 62 | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str, u64, u64) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:63:43 [INFO] [stdout] | [INFO] [stdout] 63 | 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] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:64:45 [INFO] [stdout] | [INFO] [stdout] 64 | static ref DLTOTAL_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(u64) + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:65:43 [INFO] [stdout] | [INFO] [stdout] 65 | static ref EVENT_CB: Mutex>> = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Event) + Send` [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:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 62 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 63 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (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:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 62 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 63 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 62 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 63 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 62 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 63 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref LOG_CB: Mutex>> = Default::default(); [INFO] [stdout] 62 | | static ref DOWNLOAD_CB: Mutex>> = Default::default(); [INFO] [stdout] 63 | | static ref FETCH_CB: Mutex DownloadResult + Send>>> = Default::default(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | //static ref PROGRESS_CB: Mutex>> = Default::default(); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | let mut fixed_servers = repo.servers [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: associated function is never used: `new` [INFO] [stdout] --> src/package.rs:523:26 [INFO] [stdout] | [INFO] [stdout] 523 | pub(crate) unsafe fn new<'b>(name: *const c_char, packages: *mut alpm_list_t) -> Group<'b> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ed432b473c6b266f6744d96b973a6b7b936809508ca550efc31c440a41ca3ef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed432b473c6b266f6744d96b973a6b7b936809508ca550efc31c440a41ca3ef3", kill_on_drop: false }` [INFO] [stdout] ed432b473c6b266f6744d96b973a6b7b936809508ca550efc31c440a41ca3ef3