[INFO] fetching crate alpm-rs 0.1.24...
[INFO] checking alpm-rs-0.1.24 against master#3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777 for pr-132289
[INFO] extracting crate alpm-rs 0.1.24 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate alpm-rs 0.1.24 on toolchain 3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "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" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 486ebe41b0253f6923b699cacade5f72b209ff9b36851dbb085dd1991728170d
[INFO] running `Command { std: "docker" "start" "-a" "486ebe41b0253f6923b699cacade5f72b209ff9b36851dbb085dd1991728170d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "486ebe41b0253f6923b699cacade5f72b209ff9b36851dbb085dd1991728170d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "486ebe41b0253f6923b699cacade5f72b209ff9b36851dbb085dd1991728170d", kill_on_drop: false }`
[INFO] [stdout] 486ebe41b0253f6923b699cacade5f72b209ff9b36851dbb085dd1991728170d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7b63781e953efcae667e85af7c1508b07c4cdd3645c9b64b53305c8d368702e6
[INFO] running `Command { std: "docker" "start" "-a" "7b63781e953efcae667e85af7c1508b07c4cdd3645c9b64b53305c8d368702e6", kill_on_drop: false }`
[INFO] [stderr]     Checking alpm-rs v0.1.24 (/opt/rustwide/workdir)
[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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: 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: 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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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 <https://doc.rust-lang.org/nightly/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/nightly/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/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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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 <https://doc.rust-lang.org/nightly/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/nightly/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/nightly/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: 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/nightly/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 is discouraged
[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/nightly/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)]` 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 is discouraged
[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/nightly/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 is discouraged
[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/nightly/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: creating a shared reference to mutable static is discouraged
[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/nightly/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)]` 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 is discouraged
[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/nightly/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 is discouraged
[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/nightly/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.18s
[INFO] running `Command { std: "docker" "inspect" "7b63781e953efcae667e85af7c1508b07c4cdd3645c9b64b53305c8d368702e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b63781e953efcae667e85af7c1508b07c4cdd3645c9b64b53305c8d368702e6", kill_on_drop: false }`
[INFO] [stdout] 7b63781e953efcae667e85af7c1508b07c4cdd3645c9b64b53305c8d368702e6
