[INFO] fetching crate alpm-rs 0.1.24... [INFO] testing alpm-rs-0.1.24 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate alpm-rs 0.1.24 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate alpm-rs 0.1.24 [INFO] finished tweaking crates.io crate alpm-rs 0.1.24 [INFO] tweaked toml for crates.io crate alpm-rs 0.1.24 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate alpm-rs 0.1.24 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ecd9480b8e0664d9a88c72de79e3b7ee6e7a7a39835b3648d4a8db46648a4b6 [INFO] running `Command { std: "docker" "start" "-a" "6ecd9480b8e0664d9a88c72de79e3b7ee6e7a7a39835b3648d4a8db46648a4b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ecd9480b8e0664d9a88c72de79e3b7ee6e7a7a39835b3648d4a8db46648a4b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ecd9480b8e0664d9a88c72de79e3b7ee6e7a7a39835b3648d4a8db46648a4b6", kill_on_drop: false }` [INFO] [stdout] 6ecd9480b8e0664d9a88c72de79e3b7ee6e7a7a39835b3648d4a8db46648a4b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ef6d8f6595ee94879db0c945329c0a3ddc9185d84e6fa154be69473d3d35a036 [INFO] running `Command { std: "docker" "start" "-a" "ef6d8f6595ee94879db0c945329c0a3ddc9185d84e6fa154be69473d3d35a036", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling alpm-rs v0.1.24 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/clib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/db.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dependency.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | pub const ALPM_LOG_WARNING : i32 = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5 - pub const ALPM_LOG_WARNING : i32 = (1 << 1); [INFO] [stdout] 5 + pub const ALPM_LOG_WARNING : i32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ALPM_LOG_DEBUG : i32 = (1 << 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 6 - pub const ALPM_LOG_DEBUG : i32 = (1 << 2); [INFO] [stdout] 6 + pub const ALPM_LOG_DEBUG : i32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ALPM_LOG_FUNCTION : i32 = (1 << 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 7 - pub const ALPM_LOG_FUNCTION : i32 = (1 << 3); [INFO] [stdout] 7 + pub const ALPM_LOG_FUNCTION : i32 = 1 << 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ALPM_PKG_VALIDATION_NONE : i32 = (1 << 0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - pub const ALPM_PKG_VALIDATION_NONE : i32 = (1 << 0); [INFO] [stdout] 10 + pub const ALPM_PKG_VALIDATION_NONE : i32 = 1 << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub const ALPM_PKG_VALIDATION_MD5SUM : i32 = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - pub const ALPM_PKG_VALIDATION_MD5SUM : i32 = (1 << 1); [INFO] [stdout] 11 + pub const ALPM_PKG_VALIDATION_MD5SUM : i32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:12:49 [INFO] [stdout] | [INFO] [stdout] 12 | pub const ALPM_PKG_VALIDATION_SHA256SUM : i32 = (1 << 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - pub const ALPM_PKG_VALIDATION_SHA256SUM : i32 = (1 << 2); [INFO] [stdout] 12 + pub const ALPM_PKG_VALIDATION_SHA256SUM : i32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | pub const ALPM_PKG_VALIDATION_SIGNATURE : i32 = (1 << 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - pub const ALPM_PKG_VALIDATION_SIGNATURE : i32 = (1 << 3); [INFO] [stdout] 13 + pub const ALPM_PKG_VALIDATION_SIGNATURE : i32 = 1 << 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | pub const ALPM_QUESTION_INSTALL_IGNOREPKG : i32 = (1 << 0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - pub const ALPM_QUESTION_INSTALL_IGNOREPKG : i32 = (1 << 0); [INFO] [stdout] 38 + pub const ALPM_QUESTION_INSTALL_IGNOREPKG : i32 = 1 << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:39:45 [INFO] [stdout] | [INFO] [stdout] 39 | pub const ALPM_QUESTION_REPLACE_PKG : i32 = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - pub const ALPM_QUESTION_REPLACE_PKG : i32 = (1 << 1); [INFO] [stdout] 39 + pub const ALPM_QUESTION_REPLACE_PKG : i32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | pub const ALPM_QUESTION_CONFLICT_PKG : i32 = (1 << 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - pub const ALPM_QUESTION_CONFLICT_PKG : i32 = (1 << 2); [INFO] [stdout] 40 + pub const ALPM_QUESTION_CONFLICT_PKG : i32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:41:47 [INFO] [stdout] | [INFO] [stdout] 41 | pub const ALPM_QUESTION_CORRUPTED_PKG : i32 = (1 << 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - pub const ALPM_QUESTION_CORRUPTED_PKG : i32 = (1 << 3); [INFO] [stdout] 41 + pub const ALPM_QUESTION_CORRUPTED_PKG : i32 = 1 << 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:42:45 [INFO] [stdout] | [INFO] [stdout] 42 | pub const ALPM_QUESTION_REMOVE_PKGS : i32 = (1 << 4); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - pub const ALPM_QUESTION_REMOVE_PKGS : i32 = (1 << 4); [INFO] [stdout] 42 + pub const ALPM_QUESTION_REMOVE_PKGS : i32 = 1 << 4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | pub const ALPM_QUESTION_SELECT_PROVIDER : i32 = (1 << 5); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - pub const ALPM_QUESTION_SELECT_PROVIDER : i32 = (1 << 5); [INFO] [stdout] 43 + pub const ALPM_QUESTION_SELECT_PROVIDER : i32 = 1 << 5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:44:44 [INFO] [stdout] | [INFO] [stdout] 44 | pub const ALPM_QUESTION_IMPORT_KEY : i32 = (1 << 6); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - pub const ALPM_QUESTION_IMPORT_KEY : i32 = (1 << 6); [INFO] [stdout] 44 + pub const ALPM_QUESTION_IMPORT_KEY : i32 = 1 << 6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:48:41 [INFO] [stdout] | [INFO] [stdout] 48 | pub const ALPM_TRANS_FLAG_FORCE : i32 = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - pub const ALPM_TRANS_FLAG_FORCE : i32 = (1 << 1); [INFO] [stdout] 48 + pub const ALPM_TRANS_FLAG_FORCE : i32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | pub const ALPM_TRANS_FLAG_NOSAVE : i32 = (1 << 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - pub const ALPM_TRANS_FLAG_NOSAVE : i32 = (1 << 2); [INFO] [stdout] 50 + pub const ALPM_TRANS_FLAG_NOSAVE : i32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:52:48 [INFO] [stdout] | [INFO] [stdout] 52 | pub const ALPM_TRANS_FLAG_NODEPVERSION : i32 = (1 << 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - pub const ALPM_TRANS_FLAG_NODEPVERSION : i32 = (1 << 3); [INFO] [stdout] 52 + pub const ALPM_TRANS_FLAG_NODEPVERSION : i32 = 1 << 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | pub const ALPM_TRANS_FLAG_CASCADE : i32 = (1 << 4); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - pub const ALPM_TRANS_FLAG_CASCADE : i32 = (1 << 4); [INFO] [stdout] 54 + pub const ALPM_TRANS_FLAG_CASCADE : i32 = 1 << 4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | pub const ALPM_TRANS_FLAG_RECURSE : i32 = (1 << 5); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - pub const ALPM_TRANS_FLAG_RECURSE : i32 = (1 << 5); [INFO] [stdout] 56 + pub const ALPM_TRANS_FLAG_RECURSE : i32 = 1 << 5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | pub const ALPM_TRANS_FLAG_DBONLY : i32 = (1 << 6); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - pub const ALPM_TRANS_FLAG_DBONLY : i32 = (1 << 6); [INFO] [stdout] 58 + pub const ALPM_TRANS_FLAG_DBONLY : i32 = 1 << 6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | pub const ALPM_TRANS_FLAG_ALLDEPS : i32 = (1 << 8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - pub const ALPM_TRANS_FLAG_ALLDEPS : i32 = (1 << 8); [INFO] [stdout] 61 + pub const ALPM_TRANS_FLAG_ALLDEPS : i32 = 1 << 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | pub const ALPM_TRANS_FLAG_DOWNLOADONLY : i32 = (1 << 9); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - pub const ALPM_TRANS_FLAG_DOWNLOADONLY : i32 = (1 << 9); [INFO] [stdout] 63 + pub const ALPM_TRANS_FLAG_DOWNLOADONLY : i32 = 1 << 9; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:65:47 [INFO] [stdout] | [INFO] [stdout] 65 | pub const ALPM_TRANS_FLAG_NOSCRIPTLET : i32 = (1 << 10); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - pub const ALPM_TRANS_FLAG_NOSCRIPTLET : i32 = (1 << 10); [INFO] [stdout] 65 + pub const ALPM_TRANS_FLAG_NOSCRIPTLET : i32 = 1 << 10; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | pub const ALPM_TRANS_FLAG_NOCONFLICTS : i32 = (1 << 11); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - pub const ALPM_TRANS_FLAG_NOCONFLICTS : i32 = (1 << 11); [INFO] [stdout] 67 + pub const ALPM_TRANS_FLAG_NOCONFLICTS : i32 = 1 << 11; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 70 | pub const ALPM_TRANS_FLAG_NEEDED : i32 = (1 << 13); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - pub const ALPM_TRANS_FLAG_NEEDED : i32 = (1 << 13); [INFO] [stdout] 70 + pub const ALPM_TRANS_FLAG_NEEDED : i32 = 1 << 13; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:72:47 [INFO] [stdout] | [INFO] [stdout] 72 | pub const ALPM_TRANS_FLAG_ALLEXPLICIT : i32 = (1 << 14); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - pub const ALPM_TRANS_FLAG_ALLEXPLICIT : i32 = (1 << 14); [INFO] [stdout] 72 + pub const ALPM_TRANS_FLAG_ALLEXPLICIT : i32 = 1 << 14; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:74:44 [INFO] [stdout] | [INFO] [stdout] 74 | pub const ALPM_TRANS_FLAG_UNNEEDED : i32 = (1 << 15); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 - pub const ALPM_TRANS_FLAG_UNNEEDED : i32 = (1 << 15); [INFO] [stdout] 74 + pub const ALPM_TRANS_FLAG_UNNEEDED : i32 = 1 << 15; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:76:46 [INFO] [stdout] | [INFO] [stdout] 76 | pub const ALPM_TRANS_FLAG_RECURSEALL : i32 = (1 << 16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - pub const ALPM_TRANS_FLAG_RECURSEALL : i32 = (1 << 16); [INFO] [stdout] 76 + pub const ALPM_TRANS_FLAG_RECURSEALL : i32 = 1 << 16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:78:42 [INFO] [stdout] | [INFO] [stdout] 78 | pub const ALPM_TRANS_FLAG_NOLOCK : i32 = (1 << 17); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - pub const ALPM_TRANS_FLAG_NOLOCK : i32 = (1 << 17); [INFO] [stdout] 78 + pub const ALPM_TRANS_FLAG_NOLOCK : i32 = 1 << 17; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/package.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | type LogCallback = Fn(i32, String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | type LogCallback = dyn Fn(i32, String); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | type DownloadCallback = Fn(&str, i64, i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | type DownloadCallback = dyn Fn(&str, i64, i64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | type QuestionCallback = Fn(QuestionArgs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | type QuestionCallback = dyn Fn(QuestionArgs); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/callbacks.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(f) = &LOG_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(f) = &raw const LOG_CALLBACK { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/callbacks.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(f) = &DOWNLOAD_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(f) = &raw const DOWNLOAD_CALLBACK { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/callbacks.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(f) = &QUESTION_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(f) = &raw const QUESTION_CALLBACK { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returned pointer of `as_mut_ptr` call is never null, so checking it for null will always return false [INFO] [stdout] --> src/macros.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | if $e == std::ptr::null_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/clib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | cstr!(buf.as_mut_ptr() as *mut c_char).to_string() [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(useless_ptr_null_checks)]` on by default [INFO] [stdout] = note: this warning originates in the macro `cstr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "ef6d8f6595ee94879db0c945329c0a3ddc9185d84e6fa154be69473d3d35a036", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef6d8f6595ee94879db0c945329c0a3ddc9185d84e6fa154be69473d3d35a036", kill_on_drop: false }` [INFO] [stdout] ef6d8f6595ee94879db0c945329c0a3ddc9185d84e6fa154be69473d3d35a036 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a4f195472101730919fff671885ac34f8f8d31cd27e920a5c9c32661c0cd9cbf [INFO] running `Command { std: "docker" "start" "-a" "a4f195472101730919fff671885ac34f8f8d31cd27e920a5c9c32661c0cd9cbf", kill_on_drop: false }` [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/clib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/db.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dependency.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | pub const ALPM_LOG_WARNING : i32 = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5 - pub const ALPM_LOG_WARNING : i32 = (1 << 1); [INFO] [stdout] 5 + pub const ALPM_LOG_WARNING : i32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ALPM_LOG_DEBUG : i32 = (1 << 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 6 - pub const ALPM_LOG_DEBUG : i32 = (1 << 2); [INFO] [stdout] 6 + pub const ALPM_LOG_DEBUG : i32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ALPM_LOG_FUNCTION : i32 = (1 << 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 7 - pub const ALPM_LOG_FUNCTION : i32 = (1 << 3); [INFO] [stdout] 7 + pub const ALPM_LOG_FUNCTION : i32 = 1 << 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ALPM_PKG_VALIDATION_NONE : i32 = (1 << 0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - pub const ALPM_PKG_VALIDATION_NONE : i32 = (1 << 0); [INFO] [stdout] 10 + pub const ALPM_PKG_VALIDATION_NONE : i32 = 1 << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub const ALPM_PKG_VALIDATION_MD5SUM : i32 = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - pub const ALPM_PKG_VALIDATION_MD5SUM : i32 = (1 << 1); [INFO] [stdout] 11 + pub const ALPM_PKG_VALIDATION_MD5SUM : i32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:12:49 [INFO] [stdout] | [INFO] [stdout] 12 | pub const ALPM_PKG_VALIDATION_SHA256SUM : i32 = (1 << 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - pub const ALPM_PKG_VALIDATION_SHA256SUM : i32 = (1 << 2); [INFO] [stdout] 12 + pub const ALPM_PKG_VALIDATION_SHA256SUM : i32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | pub const ALPM_PKG_VALIDATION_SIGNATURE : i32 = (1 << 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - pub const ALPM_PKG_VALIDATION_SIGNATURE : i32 = (1 << 3); [INFO] [stdout] 13 + pub const ALPM_PKG_VALIDATION_SIGNATURE : i32 = 1 << 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | pub const ALPM_QUESTION_INSTALL_IGNOREPKG : i32 = (1 << 0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - pub const ALPM_QUESTION_INSTALL_IGNOREPKG : i32 = (1 << 0); [INFO] [stdout] 38 + pub const ALPM_QUESTION_INSTALL_IGNOREPKG : i32 = 1 << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:39:45 [INFO] [stdout] | [INFO] [stdout] 39 | pub const ALPM_QUESTION_REPLACE_PKG : i32 = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - pub const ALPM_QUESTION_REPLACE_PKG : i32 = (1 << 1); [INFO] [stdout] 39 + pub const ALPM_QUESTION_REPLACE_PKG : i32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | pub const ALPM_QUESTION_CONFLICT_PKG : i32 = (1 << 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - pub const ALPM_QUESTION_CONFLICT_PKG : i32 = (1 << 2); [INFO] [stdout] 40 + pub const ALPM_QUESTION_CONFLICT_PKG : i32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:41:47 [INFO] [stdout] | [INFO] [stdout] 41 | pub const ALPM_QUESTION_CORRUPTED_PKG : i32 = (1 << 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - pub const ALPM_QUESTION_CORRUPTED_PKG : i32 = (1 << 3); [INFO] [stdout] 41 + pub const ALPM_QUESTION_CORRUPTED_PKG : i32 = 1 << 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:42:45 [INFO] [stdout] | [INFO] [stdout] 42 | pub const ALPM_QUESTION_REMOVE_PKGS : i32 = (1 << 4); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - pub const ALPM_QUESTION_REMOVE_PKGS : i32 = (1 << 4); [INFO] [stdout] 42 + pub const ALPM_QUESTION_REMOVE_PKGS : i32 = 1 << 4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | pub const ALPM_QUESTION_SELECT_PROVIDER : i32 = (1 << 5); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - pub const ALPM_QUESTION_SELECT_PROVIDER : i32 = (1 << 5); [INFO] [stdout] 43 + pub const ALPM_QUESTION_SELECT_PROVIDER : i32 = 1 << 5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:44:44 [INFO] [stdout] | [INFO] [stdout] 44 | pub const ALPM_QUESTION_IMPORT_KEY : i32 = (1 << 6); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - pub const ALPM_QUESTION_IMPORT_KEY : i32 = (1 << 6); [INFO] [stdout] 44 + pub const ALPM_QUESTION_IMPORT_KEY : i32 = 1 << 6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:48:41 [INFO] [stdout] | [INFO] [stdout] 48 | pub const ALPM_TRANS_FLAG_FORCE : i32 = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - pub const ALPM_TRANS_FLAG_FORCE : i32 = (1 << 1); [INFO] [stdout] 48 + pub const ALPM_TRANS_FLAG_FORCE : i32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | pub const ALPM_TRANS_FLAG_NOSAVE : i32 = (1 << 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - pub const ALPM_TRANS_FLAG_NOSAVE : i32 = (1 << 2); [INFO] [stdout] 50 + pub const ALPM_TRANS_FLAG_NOSAVE : i32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:52:48 [INFO] [stdout] | [INFO] [stdout] 52 | pub const ALPM_TRANS_FLAG_NODEPVERSION : i32 = (1 << 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - pub const ALPM_TRANS_FLAG_NODEPVERSION : i32 = (1 << 3); [INFO] [stdout] 52 + pub const ALPM_TRANS_FLAG_NODEPVERSION : i32 = 1 << 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | pub const ALPM_TRANS_FLAG_CASCADE : i32 = (1 << 4); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - pub const ALPM_TRANS_FLAG_CASCADE : i32 = (1 << 4); [INFO] [stdout] 54 + pub const ALPM_TRANS_FLAG_CASCADE : i32 = 1 << 4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | pub const ALPM_TRANS_FLAG_RECURSE : i32 = (1 << 5); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - pub const ALPM_TRANS_FLAG_RECURSE : i32 = (1 << 5); [INFO] [stdout] 56 + pub const ALPM_TRANS_FLAG_RECURSE : i32 = 1 << 5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | pub const ALPM_TRANS_FLAG_DBONLY : i32 = (1 << 6); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - pub const ALPM_TRANS_FLAG_DBONLY : i32 = (1 << 6); [INFO] [stdout] 58 + pub const ALPM_TRANS_FLAG_DBONLY : i32 = 1 << 6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | pub const ALPM_TRANS_FLAG_ALLDEPS : i32 = (1 << 8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - pub const ALPM_TRANS_FLAG_ALLDEPS : i32 = (1 << 8); [INFO] [stdout] 61 + pub const ALPM_TRANS_FLAG_ALLDEPS : i32 = 1 << 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | pub const ALPM_TRANS_FLAG_DOWNLOADONLY : i32 = (1 << 9); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - pub const ALPM_TRANS_FLAG_DOWNLOADONLY : i32 = (1 << 9); [INFO] [stdout] 63 + pub const ALPM_TRANS_FLAG_DOWNLOADONLY : i32 = 1 << 9; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:65:47 [INFO] [stdout] | [INFO] [stdout] 65 | pub const ALPM_TRANS_FLAG_NOSCRIPTLET : i32 = (1 << 10); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - pub const ALPM_TRANS_FLAG_NOSCRIPTLET : i32 = (1 << 10); [INFO] [stdout] 65 + pub const ALPM_TRANS_FLAG_NOSCRIPTLET : i32 = 1 << 10; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | pub const ALPM_TRANS_FLAG_NOCONFLICTS : i32 = (1 << 11); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - pub const ALPM_TRANS_FLAG_NOCONFLICTS : i32 = (1 << 11); [INFO] [stdout] 67 + pub const ALPM_TRANS_FLAG_NOCONFLICTS : i32 = 1 << 11; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 70 | pub const ALPM_TRANS_FLAG_NEEDED : i32 = (1 << 13); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - pub const ALPM_TRANS_FLAG_NEEDED : i32 = (1 << 13); [INFO] [stdout] 70 + pub const ALPM_TRANS_FLAG_NEEDED : i32 = 1 << 13; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:72:47 [INFO] [stdout] | [INFO] [stdout] 72 | pub const ALPM_TRANS_FLAG_ALLEXPLICIT : i32 = (1 << 14); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - pub const ALPM_TRANS_FLAG_ALLEXPLICIT : i32 = (1 << 14); [INFO] [stdout] 72 + pub const ALPM_TRANS_FLAG_ALLEXPLICIT : i32 = 1 << 14; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:74:44 [INFO] [stdout] | [INFO] [stdout] 74 | pub const ALPM_TRANS_FLAG_UNNEEDED : i32 = (1 << 15); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 - pub const ALPM_TRANS_FLAG_UNNEEDED : i32 = (1 << 15); [INFO] [stdout] 74 + pub const ALPM_TRANS_FLAG_UNNEEDED : i32 = 1 << 15; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:76:46 [INFO] [stdout] | [INFO] [stdout] 76 | pub const ALPM_TRANS_FLAG_RECURSEALL : i32 = (1 << 16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - pub const ALPM_TRANS_FLAG_RECURSEALL : i32 = (1 << 16); [INFO] [stdout] 76 + pub const ALPM_TRANS_FLAG_RECURSEALL : i32 = 1 << 16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:78:42 [INFO] [stdout] | [INFO] [stdout] 78 | pub const ALPM_TRANS_FLAG_NOLOCK : i32 = (1 << 17); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - pub const ALPM_TRANS_FLAG_NOLOCK : i32 = (1 << 17); [INFO] [stdout] 78 + pub const ALPM_TRANS_FLAG_NOLOCK : i32 = 1 << 17; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/package.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | type LogCallback = Fn(i32, String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | type LogCallback = dyn Fn(i32, String); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | type DownloadCallback = Fn(&str, i64, i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | type DownloadCallback = dyn Fn(&str, i64, i64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | type QuestionCallback = Fn(QuestionArgs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | type QuestionCallback = dyn Fn(QuestionArgs); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/callbacks.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(f) = &LOG_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(f) = &raw const LOG_CALLBACK { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/callbacks.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(f) = &DOWNLOAD_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(f) = &raw const DOWNLOAD_CALLBACK { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/callbacks.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(f) = &QUESTION_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(f) = &raw const QUESTION_CALLBACK { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling alpm-rs v0.1.24 (/opt/rustwide/workdir) [INFO] [stdout] warning: returned pointer of `as_mut_ptr` call is never null, so checking it for null will always return false [INFO] [stdout] --> src/macros.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | if $e == std::ptr::null_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/clib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | cstr!(buf.as_mut_ptr() as *mut c_char).to_string() [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(useless_ptr_null_checks)]` on by default [INFO] [stdout] = note: this warning originates in the macro `cstr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/clib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/db.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dependency.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | pub const ALPM_LOG_WARNING : i32 = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5 - pub const ALPM_LOG_WARNING : i32 = (1 << 1); [INFO] [stdout] 5 + pub const ALPM_LOG_WARNING : i32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ALPM_LOG_DEBUG : i32 = (1 << 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 6 - pub const ALPM_LOG_DEBUG : i32 = (1 << 2); [INFO] [stdout] 6 + pub const ALPM_LOG_DEBUG : i32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ALPM_LOG_FUNCTION : i32 = (1 << 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 7 - pub const ALPM_LOG_FUNCTION : i32 = (1 << 3); [INFO] [stdout] 7 + pub const ALPM_LOG_FUNCTION : i32 = 1 << 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ALPM_PKG_VALIDATION_NONE : i32 = (1 << 0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - pub const ALPM_PKG_VALIDATION_NONE : i32 = (1 << 0); [INFO] [stdout] 10 + pub const ALPM_PKG_VALIDATION_NONE : i32 = 1 << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub const ALPM_PKG_VALIDATION_MD5SUM : i32 = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - pub const ALPM_PKG_VALIDATION_MD5SUM : i32 = (1 << 1); [INFO] [stdout] 11 + pub const ALPM_PKG_VALIDATION_MD5SUM : i32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:12:49 [INFO] [stdout] | [INFO] [stdout] 12 | pub const ALPM_PKG_VALIDATION_SHA256SUM : i32 = (1 << 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - pub const ALPM_PKG_VALIDATION_SHA256SUM : i32 = (1 << 2); [INFO] [stdout] 12 + pub const ALPM_PKG_VALIDATION_SHA256SUM : i32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | pub const ALPM_PKG_VALIDATION_SIGNATURE : i32 = (1 << 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - pub const ALPM_PKG_VALIDATION_SIGNATURE : i32 = (1 << 3); [INFO] [stdout] 13 + pub const ALPM_PKG_VALIDATION_SIGNATURE : i32 = 1 << 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | pub const ALPM_QUESTION_INSTALL_IGNOREPKG : i32 = (1 << 0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - pub const ALPM_QUESTION_INSTALL_IGNOREPKG : i32 = (1 << 0); [INFO] [stdout] 38 + pub const ALPM_QUESTION_INSTALL_IGNOREPKG : i32 = 1 << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:39:45 [INFO] [stdout] | [INFO] [stdout] 39 | pub const ALPM_QUESTION_REPLACE_PKG : i32 = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - pub const ALPM_QUESTION_REPLACE_PKG : i32 = (1 << 1); [INFO] [stdout] 39 + pub const ALPM_QUESTION_REPLACE_PKG : i32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | pub const ALPM_QUESTION_CONFLICT_PKG : i32 = (1 << 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - pub const ALPM_QUESTION_CONFLICT_PKG : i32 = (1 << 2); [INFO] [stdout] 40 + pub const ALPM_QUESTION_CONFLICT_PKG : i32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:41:47 [INFO] [stdout] | [INFO] [stdout] 41 | pub const ALPM_QUESTION_CORRUPTED_PKG : i32 = (1 << 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - pub const ALPM_QUESTION_CORRUPTED_PKG : i32 = (1 << 3); [INFO] [stdout] 41 + pub const ALPM_QUESTION_CORRUPTED_PKG : i32 = 1 << 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:42:45 [INFO] [stdout] | [INFO] [stdout] 42 | pub const ALPM_QUESTION_REMOVE_PKGS : i32 = (1 << 4); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - pub const ALPM_QUESTION_REMOVE_PKGS : i32 = (1 << 4); [INFO] [stdout] 42 + pub const ALPM_QUESTION_REMOVE_PKGS : i32 = 1 << 4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | pub const ALPM_QUESTION_SELECT_PROVIDER : i32 = (1 << 5); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - pub const ALPM_QUESTION_SELECT_PROVIDER : i32 = (1 << 5); [INFO] [stdout] 43 + pub const ALPM_QUESTION_SELECT_PROVIDER : i32 = 1 << 5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:44:44 [INFO] [stdout] | [INFO] [stdout] 44 | pub const ALPM_QUESTION_IMPORT_KEY : i32 = (1 << 6); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - pub const ALPM_QUESTION_IMPORT_KEY : i32 = (1 << 6); [INFO] [stdout] 44 + pub const ALPM_QUESTION_IMPORT_KEY : i32 = 1 << 6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:48:41 [INFO] [stdout] | [INFO] [stdout] 48 | pub const ALPM_TRANS_FLAG_FORCE : i32 = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - pub const ALPM_TRANS_FLAG_FORCE : i32 = (1 << 1); [INFO] [stdout] 48 + pub const ALPM_TRANS_FLAG_FORCE : i32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | pub const ALPM_TRANS_FLAG_NOSAVE : i32 = (1 << 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - pub const ALPM_TRANS_FLAG_NOSAVE : i32 = (1 << 2); [INFO] [stdout] 50 + pub const ALPM_TRANS_FLAG_NOSAVE : i32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:52:48 [INFO] [stdout] | [INFO] [stdout] 52 | pub const ALPM_TRANS_FLAG_NODEPVERSION : i32 = (1 << 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - pub const ALPM_TRANS_FLAG_NODEPVERSION : i32 = (1 << 3); [INFO] [stdout] 52 + pub const ALPM_TRANS_FLAG_NODEPVERSION : i32 = 1 << 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | pub const ALPM_TRANS_FLAG_CASCADE : i32 = (1 << 4); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - pub const ALPM_TRANS_FLAG_CASCADE : i32 = (1 << 4); [INFO] [stdout] 54 + pub const ALPM_TRANS_FLAG_CASCADE : i32 = 1 << 4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | pub const ALPM_TRANS_FLAG_RECURSE : i32 = (1 << 5); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - pub const ALPM_TRANS_FLAG_RECURSE : i32 = (1 << 5); [INFO] [stdout] 56 + pub const ALPM_TRANS_FLAG_RECURSE : i32 = 1 << 5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | pub const ALPM_TRANS_FLAG_DBONLY : i32 = (1 << 6); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - pub const ALPM_TRANS_FLAG_DBONLY : i32 = (1 << 6); [INFO] [stdout] 58 + pub const ALPM_TRANS_FLAG_DBONLY : i32 = 1 << 6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | pub const ALPM_TRANS_FLAG_ALLDEPS : i32 = (1 << 8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - pub const ALPM_TRANS_FLAG_ALLDEPS : i32 = (1 << 8); [INFO] [stdout] 61 + pub const ALPM_TRANS_FLAG_ALLDEPS : i32 = 1 << 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | pub const ALPM_TRANS_FLAG_DOWNLOADONLY : i32 = (1 << 9); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - pub const ALPM_TRANS_FLAG_DOWNLOADONLY : i32 = (1 << 9); [INFO] [stdout] 63 + pub const ALPM_TRANS_FLAG_DOWNLOADONLY : i32 = 1 << 9; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:65:47 [INFO] [stdout] | [INFO] [stdout] 65 | pub const ALPM_TRANS_FLAG_NOSCRIPTLET : i32 = (1 << 10); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - pub const ALPM_TRANS_FLAG_NOSCRIPTLET : i32 = (1 << 10); [INFO] [stdout] 65 + pub const ALPM_TRANS_FLAG_NOSCRIPTLET : i32 = 1 << 10; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | pub const ALPM_TRANS_FLAG_NOCONFLICTS : i32 = (1 << 11); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - pub const ALPM_TRANS_FLAG_NOCONFLICTS : i32 = (1 << 11); [INFO] [stdout] 67 + pub const ALPM_TRANS_FLAG_NOCONFLICTS : i32 = 1 << 11; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 70 | pub const ALPM_TRANS_FLAG_NEEDED : i32 = (1 << 13); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - pub const ALPM_TRANS_FLAG_NEEDED : i32 = (1 << 13); [INFO] [stdout] 70 + pub const ALPM_TRANS_FLAG_NEEDED : i32 = 1 << 13; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:72:47 [INFO] [stdout] | [INFO] [stdout] 72 | pub const ALPM_TRANS_FLAG_ALLEXPLICIT : i32 = (1 << 14); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - pub const ALPM_TRANS_FLAG_ALLEXPLICIT : i32 = (1 << 14); [INFO] [stdout] 72 + pub const ALPM_TRANS_FLAG_ALLEXPLICIT : i32 = 1 << 14; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:74:44 [INFO] [stdout] | [INFO] [stdout] 74 | pub const ALPM_TRANS_FLAG_UNNEEDED : i32 = (1 << 15); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 - pub const ALPM_TRANS_FLAG_UNNEEDED : i32 = (1 << 15); [INFO] [stdout] 74 + pub const ALPM_TRANS_FLAG_UNNEEDED : i32 = 1 << 15; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:76:46 [INFO] [stdout] | [INFO] [stdout] 76 | pub const ALPM_TRANS_FLAG_RECURSEALL : i32 = (1 << 16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - pub const ALPM_TRANS_FLAG_RECURSEALL : i32 = (1 << 16); [INFO] [stdout] 76 + pub const ALPM_TRANS_FLAG_RECURSEALL : i32 = 1 << 16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/enums.rs:78:42 [INFO] [stdout] | [INFO] [stdout] 78 | pub const ALPM_TRANS_FLAG_NOLOCK : i32 = (1 << 17); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - pub const ALPM_TRANS_FLAG_NOLOCK : i32 = (1 << 17); [INFO] [stdout] 78 + pub const ALPM_TRANS_FLAG_NOLOCK : i32 = 1 << 17; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/package.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | type LogCallback = Fn(i32, String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | type LogCallback = dyn Fn(i32, String); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | type DownloadCallback = Fn(&str, i64, i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | type DownloadCallback = dyn Fn(&str, i64, i64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | type QuestionCallback = Fn(QuestionArgs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | type QuestionCallback = dyn Fn(QuestionArgs); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc5iJ69w/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libalpm_rs-fd4a3e03912c08c8.rlib}.rlib" "-lalpm" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liblibc-8e354d7ef70926da.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc5iJ69w/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/types-a2b39fbff1ab60eb" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lalpm: No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/callbacks.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(f) = &LOG_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(f) = &raw const LOG_CALLBACK { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/callbacks.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(f) = &DOWNLOAD_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(f) = &raw const DOWNLOAD_CALLBACK { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/callbacks.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(f) = &QUESTION_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(f) = &raw const QUESTION_CALLBACK { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returned pointer of `as_mut_ptr` call is never null, so checking it for null will always return false [INFO] [stdout] --> src/macros.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | if $e == std::ptr::null_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/clib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | cstr!(buf.as_mut_ptr() as *mut c_char).to_string() [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(useless_ptr_null_checks)]` on by default [INFO] [stdout] = note: this warning originates in the macro `cstr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alpm-rs` (test "types") due to 1 previous error [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" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustclw4tLq/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libalpm_rs-fd4a3e03912c08c8.rlib}.rlib" "-lalpm" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liblibc-8e354d7ef70926da.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustclw4tLq/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/package-3b82df26cffb19eb" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lalpm: No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alpm-rs` (test "package") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcaURuYm/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libalpm_rs-fd4a3e03912c08c8.rlib}.rlib" "-lalpm" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liblibc-8e354d7ef70926da.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*,libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcaURuYm/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/db-ecb6a5b724875da8" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lalpm: No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alpm-rs` (test "db") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcgM3WvM/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libalpm_rs-fd4a3e03912c08c8.rlib}.rlib" "-lalpm" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liblibc-8e354d7ef70926da.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*,libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcgM3WvM/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/alpm-7251e2a5c0e833b1" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lalpm: No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustclWTwPF/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lalpm" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liblibc-8e354d7ef70926da.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustclWTwPF/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/alpm_rs-a9670a070ed22765" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lalpm: No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alpm-rs` (test "alpm") due to 1 previous error [INFO] [stderr] error: could not compile `alpm-rs` (lib test) due to 1 previous error; 41 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a4f195472101730919fff671885ac34f8f8d31cd27e920a5c9c32661c0cd9cbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4f195472101730919fff671885ac34f8f8d31cd27e920a5c9c32661c0cd9cbf", kill_on_drop: false }` [INFO] [stdout] a4f195472101730919fff671885ac34f8f8d31cd27e920a5c9c32661c0cd9cbf