[INFO] fetching crate makeppkg 1.1.1... [INFO] checking makeppkg-1.1.1 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate makeppkg 1.1.1 into /workspace/builds/worker-38/source [INFO] validating manifest of crates.io crate makeppkg 1.1.1 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate makeppkg 1.1.1 [INFO] finished tweaking crates.io crate makeppkg 1.1.1 [INFO] tweaked toml for crates.io crate makeppkg 1.1.1 written to /workspace/builds/worker-38/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68d25528c62147c4d1c4e111feb121e8bb4c5a7eb9a226f9678f32635fd5aff3 [INFO] running `Command { std: "docker" "start" "-a" "68d25528c62147c4d1c4e111feb121e8bb4c5a7eb9a226f9678f32635fd5aff3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68d25528c62147c4d1c4e111feb121e8bb4c5a7eb9a226f9678f32635fd5aff3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68d25528c62147c4d1c4e111feb121e8bb4c5a7eb9a226f9678f32635fd5aff3", kill_on_drop: false }` [INFO] [stdout] 68d25528c62147c4d1c4e111feb121e8bb4c5a7eb9a226f9678f32635fd5aff3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5df7acba952b1871bed42ba03a2561fa401a363fc06f0917659d63a56f340b75 [INFO] running `Command { std: "docker" "start" "-a" "5df7acba952b1871bed42ba03a2561fa401a363fc06f0917659d63a56f340b75", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking shared_child v0.3.5 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking os_pipe v0.7.0 [INFO] [stderr] Checking duct v0.11.1 [INFO] [stderr] Checking makeppkg v1.1.1 (/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] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/patch.rs:53:57 [INFO] [stdout] | [INFO] [stdout] 53 | fn find_patches(location: PathBuf, pkgname: &String) -> (Result, String>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/patch.rs:53:57 [INFO] [stdout] | [INFO] [stdout] 53 | fn find_patches(location: PathBuf, pkgname: &String) -> (Result, String>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | 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:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | 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:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | for mut patch in patches { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/patch.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | / write!( [INFO] [stdout] 208 | | &OpenOptions::new() [INFO] [stdout] 209 | | .read(false) [INFO] [stdout] 210 | | .write(true) [INFO] [stdout] ... | [INFO] [stdout] 215 | | updpkgbuild [INFO] [stdout] 216 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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: 8 warnings emitted [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:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | 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:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | 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:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | for mut patch in patches { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/patch.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | / write!( [INFO] [stdout] 208 | | &OpenOptions::new() [INFO] [stdout] 209 | | .read(false) [INFO] [stdout] 210 | | .write(true) [INFO] [stdout] ... | [INFO] [stdout] 215 | | updpkgbuild [INFO] [stdout] 216 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.82s [INFO] running `Command { std: "docker" "inspect" "5df7acba952b1871bed42ba03a2561fa401a363fc06f0917659d63a56f340b75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5df7acba952b1871bed42ba03a2561fa401a363fc06f0917659d63a56f340b75", kill_on_drop: false }` [INFO] [stdout] 5df7acba952b1871bed42ba03a2561fa401a363fc06f0917659d63a56f340b75