[INFO] cloning repository https://github.com/ibrokemypie/makeppkg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ibrokemypie/makeppkg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibrokemypie%2Fmakeppkg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibrokemypie%2Fmakeppkg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35cb8c27d577956e9a50305fd30afc3cf79e5d39 [INFO] checking ibrokemypie/makeppkg against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibrokemypie%2Fmakeppkg" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ibrokemypie/makeppkg on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ibrokemypie/makeppkg [INFO] finished tweaking git repo https://github.com/ibrokemypie/makeppkg [INFO] tweaked toml for git repo https://github.com/ibrokemypie/makeppkg written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ibrokemypie/makeppkg already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded block-padding v0.1.0 [INFO] [stderr] Downloaded shared_child v0.3.3 [INFO] [stderr] Downloaded os_pipe v0.7.0 [INFO] [stderr] Downloaded duct v0.11.1 [INFO] [stderr] Downloaded md-5 v0.8.0 [INFO] [stderr] Downloaded xdg v2.1.0 [INFO] [stderr] Downloaded sha-1 v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c388da7a9b459a0ad2dc8c98c2254be300091e5e74a6c7b408331bf8c1bc699d [INFO] running `Command { std: "docker" "start" "-a" "c388da7a9b459a0ad2dc8c98c2254be300091e5e74a6c7b408331bf8c1bc699d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c388da7a9b459a0ad2dc8c98c2254be300091e5e74a6c7b408331bf8c1bc699d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c388da7a9b459a0ad2dc8c98c2254be300091e5e74a6c7b408331bf8c1bc699d", kill_on_drop: false }` [INFO] [stdout] c388da7a9b459a0ad2dc8c98c2254be300091e5e74a6c7b408331bf8c1bc699d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aab6e8b58fd9cf2aeab134f134947146d6817b55897f1be6ca0673888123ec76 [INFO] running `Command { std: "docker" "start" "-a" "aab6e8b58fd9cf2aeab134f134947146d6817b55897f1be6ca0673888123ec76", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking byte-tools v0.3.0 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking block-padding v0.1.0 [INFO] [stderr] Compiling winapi v0.3.5 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking opaque-debug v0.2.1 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking lazycell v1.2.0 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking xdg v2.1.0 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking shared_child v0.3.3 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking generic-array v0.12.0 [INFO] [stderr] Checking digest v0.8.0 [INFO] [stderr] Checking block-buffer v0.7.0 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking sha-1 v0.8.0 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking os_pipe v0.7.0 [INFO] [stderr] Checking duct v0.11.1 [INFO] [stderr] Checking makeppkg v1.1.2-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/file_to_string.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn file_to_string(mut file: File) -> (Result) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4 - pub fn file_to_string(mut file: File) -> (Result) { [INFO] [stdout] 4 + pub fn file_to_string(mut file: File) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/patch.rs:56:57 [INFO] [stdout] | [INFO] [stdout] 56 | fn find_patches(location: PathBuf, pkgname: &String) -> (Result, String>) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - fn find_patches(location: PathBuf, pkgname: &String) -> (Result, String>) { [INFO] [stdout] 56 + fn find_patches(location: PathBuf, pkgname: &String) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/file_to_string.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn file_to_string(mut file: File) -> (Result) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4 - pub fn file_to_string(mut file: File) -> (Result) { [INFO] [stdout] 4 + pub fn file_to_string(mut file: File) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/patch.rs:56:57 [INFO] [stdout] | [INFO] [stdout] 56 | fn find_patches(location: PathBuf, pkgname: &String) -> (Result, String>) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - fn find_patches(location: PathBuf, pkgname: &String) -> (Result, String>) { [INFO] [stdout] 56 + fn find_patches(location: PathBuf, pkgname: &String) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/arg_parse.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | if blacklist.contains(&value.trim_left_matches("-")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 37 | if blacklist.contains(&value.trim_start_matches("-")) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/arg_parse.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | if blacklist.contains(&value.trim_left_matches("-")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 37 | if blacklist.contains(&value.trim_start_matches("-")) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/package_name.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | for mut line in srcinfo.lines() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/package_name.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | for mut line in srcinfo.lines() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/patch.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let mut patch = PatchFile { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/patch.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let mut patch = PatchFile { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/patch.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | for mut patch in patches { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/patch.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | for mut patch in patches { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/patch.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | for mut sum in checksums { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/patch.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | for mut patch in patches { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/patch.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | for mut sum in checksums { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/patch.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | for mut patch in patches { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &File` instead of cloning the inner type [INFO] [stdout] --> src/patch.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | pkgbuild_file.clone().read_to_end(&mut pkgbuild_contents).map_err(|e| e.to_string()) ?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &File` instead of cloning the inner type [INFO] [stdout] --> src/patch.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | pkgbuild_file.clone().read_to_end(&mut pkgbuild_contents).map_err(|e| e.to_string()) ?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/patch.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | / write!( [INFO] [stdout] 211 | | &OpenOptions::new() [INFO] [stdout] 212 | | .read(false) [INFO] [stdout] 213 | | .write(true) [INFO] [stdout] ... | [INFO] [stdout] 218 | | updpkgbuild [INFO] [stdout] 219 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/patch.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | / write!( [INFO] [stdout] 211 | | &OpenOptions::new() [INFO] [stdout] 212 | | .read(false) [INFO] [stdout] 213 | | .write(true) [INFO] [stdout] ... | [INFO] [stdout] 218 | | updpkgbuild [INFO] [stdout] 219 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.97s [INFO] running `Command { std: "docker" "inspect" "aab6e8b58fd9cf2aeab134f134947146d6817b55897f1be6ca0673888123ec76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aab6e8b58fd9cf2aeab134f134947146d6817b55897f1be6ca0673888123ec76", kill_on_drop: false }` [INFO] [stdout] aab6e8b58fd9cf2aeab134f134947146d6817b55897f1be6ca0673888123ec76