[INFO] fetching crate alpm-rs 0.1.24...
[INFO] testing alpm-rs-0.1.24 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate alpm-rs 0.1.24 into /workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate alpm-rs 0.1.24 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1ce4d957366a6badb568a95fe5465f3c664bcf58af6de28444b653a032a8b599
[INFO] running `Command { std: "docker" "start" "-a" "1ce4d957366a6badb568a95fe5465f3c664bcf58af6de28444b653a032a8b599", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1ce4d957366a6badb568a95fe5465f3c664bcf58af6de28444b653a032a8b599", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ce4d957366a6badb568a95fe5465f3c664bcf58af6de28444b653a032a8b599", kill_on_drop: false }`
[INFO] [stdout] 1ce4d957366a6badb568a95fe5465f3c664bcf58af6de28444b653a032a8b599
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 31c897ae9e0a58f28528568c866f2c78050c6fbda8be75ccfe4eca32926dc84c
[INFO] running `Command { std: "docker" "start" "-a" "31c897ae9e0a58f28528568c866f2c78050c6fbda8be75ccfe4eca32926dc84c", kill_on_drop: false }`
[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)]` (part of `#[warn(unused)]`) 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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)]` (part of `#[warn(rust_2024_compatibility)]`) 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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 0.36s
[INFO] running `Command { std: "docker" "inspect" "31c897ae9e0a58f28528568c866f2c78050c6fbda8be75ccfe4eca32926dc84c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31c897ae9e0a58f28528568c866f2c78050c6fbda8be75ccfe4eca32926dc84c", kill_on_drop: false }`
[INFO] [stdout] 31c897ae9e0a58f28528568c866f2c78050c6fbda8be75ccfe4eca32926dc84c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 595c6484b49381ef041cee70ecc03dbd92febf82b718163a24078771c7a5d4dd
[INFO] running `Command { std: "docker" "start" "-a" "595c6484b49381ef041cee70ecc03dbd92febf82b718163a24078771c7a5d4dd", 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)]` (part of `#[warn(unused)]`) 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] [stderr]    Compiling alpm-rs v0.1.24 (/opt/rustwide/workdir)
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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)]` (part of `#[warn(rust_2024_compatibility)]`) 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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] [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)]` (part of `#[warn(unused)]`) 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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)]` (part of `#[warn(rust_2024_compatibility)]`) 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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcNtMlSu/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libalpm_rs-6fd09a162aaeb62b,liblibc-e2775a15e5abc6fd}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*,libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lalpm" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcNtMlSu/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/db-11f0a82d4f4b7737" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lalpm
[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" "/tmp/rustcWnnUtz/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libalpm_rs-6fd09a162aaeb62b,liblibc-e2775a15e5abc6fd}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lalpm" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcWnnUtz/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/types-496c45f8282b074e" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lalpm
[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] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `alpm-rs` (test "types") due to 1 previous error
[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" "/tmp/rustcEzPFIE/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libalpm_rs-6fd09a162aaeb62b,liblibc-e2775a15e5abc6fd}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lalpm" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcEzPFIE/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/package-28e130e5a7bc2210" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lalpm
[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" "/tmp/rustcpA2Mw1/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libalpm_rs-6fd09a162aaeb62b,liblibc-e2775a15e5abc6fd}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*,libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lalpm" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcpA2Mw1/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/alpm-5fc8882208d41012" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lalpm
[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] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcV1BcPr/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lalpm" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/liblibc-e2775a15e5abc6fd.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcV1BcPr/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/alpm_rs-ab4f58a371faacb5" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lalpm
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `alpm-rs` (lib test) due to 1 previous error; 41 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "595c6484b49381ef041cee70ecc03dbd92febf82b718163a24078771c7a5d4dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "595c6484b49381ef041cee70ecc03dbd92febf82b718163a24078771c7a5d4dd", kill_on_drop: false }`
[INFO] [stdout] 595c6484b49381ef041cee70ecc03dbd92febf82b718163a24078771c7a5d4dd
