[INFO] fetching crate alpm-rs 0.1.24... [INFO] checking alpm-rs-0.1.24 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate alpm-rs 0.1.24 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate alpm-rs 0.1.24 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b32c34a4dc2718f60dc12ab44adbe5409a0df94f2c18ac952ca459f95d9f6031 [INFO] running `Command { std: "docker" "start" "-a" "b32c34a4dc2718f60dc12ab44adbe5409a0df94f2c18ac952ca459f95d9f6031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b32c34a4dc2718f60dc12ab44adbe5409a0df94f2c18ac952ca459f95d9f6031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b32c34a4dc2718f60dc12ab44adbe5409a0df94f2c18ac952ca459f95d9f6031", kill_on_drop: false }` [INFO] [stdout] b32c34a4dc2718f60dc12ab44adbe5409a0df94f2c18ac952ca459f95d9f6031 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a97b51b06b452697aa307782c02b663b5337aaf749c9249c53927e988a89844 [INFO] running `Command { std: "docker" "start" "-a" "0a97b51b06b452697aa307782c02b663b5337aaf749c9249c53927e988a89844", 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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | type LogCallback = dyn Fn(i32, String); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | type DownloadCallback = Fn(&str, i64, i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | type DownloadCallback = dyn Fn(&str, i64, i64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | type QuestionCallback = Fn(QuestionArgs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | type LogCallback = dyn Fn(i32, String); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | type DownloadCallback = Fn(&str, i64, i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | type DownloadCallback = dyn Fn(&str, i64, i64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | type QuestionCallback = Fn(QuestionArgs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | type QuestionCallback = dyn Fn(QuestionArgs); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe 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 [INFO] [stdout] help: if this is an object-safe 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 [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 [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:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(f) = &LOG_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(f) = &raw const LOG_CALLBACK { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static 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 [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: 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 [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: 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:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(f) = &QUESTION_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(f) = &raw const QUESTION_CALLBACK { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returned pointer of `as_mut_ptr` call is never null, so checking it for null will always return false [INFO] [stdout] --> src/macros.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | if $e == std::ptr::null_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/clib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | cstr!(buf.as_mut_ptr() as *mut c_char).to_string() [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(useless_ptr_null_checks)]` on by default [INFO] [stdout] = note: this warning originates in the macro `cstr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/package.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 6 | let db = handle.register_syncdb("core", 0); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | for p in list { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/package.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 26 | let db = handle.local_db(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | for p in list { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alpm-rs` (test "package") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "0a97b51b06b452697aa307782c02b663b5337aaf749c9249c53927e988a89844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a97b51b06b452697aa307782c02b663b5337aaf749c9249c53927e988a89844", kill_on_drop: false }` [INFO] [stdout] 0a97b51b06b452697aa307782c02b663b5337aaf749c9249c53927e988a89844