[INFO] crate makeppkg 1.1.1 is already in cache [INFO] checking makeppkg-1.1.1 against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] extracting crate makeppkg 1.1.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate makeppkg 1.1.1 on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b9059e4a90d07d9335ec311f6836c993a08e3f30f090ded66c0e2c73a2c1c5a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1b9059e4a90d07d9335ec311f6836c993a08e3f30f090ded66c0e2c73a2c1c5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b9059e4a90d07d9335ec311f6836c993a08e3f30f090ded66c0e2c73a2c1c5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b9059e4a90d07d9335ec311f6836c993a08e3f30f090ded66c0e2c73a2c1c5a", kill_on_drop: false }` [INFO] [stdout] 1b9059e4a90d07d9335ec311f6836c993a08e3f30f090ded66c0e2c73a2c1c5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4c08877a1ee725fc61893ea9ef2e200345c0e19ade4c6eafef97f1334e502cbb [INFO] running `Command { std: "docker" "start" "-a" "4c08877a1ee725fc61893ea9ef2e200345c0e19ade4c6eafef97f1334e502cbb", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking nix v0.11.1 [INFO] [stderr] Checking shared_child v0.3.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [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 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 item '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 item: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item: `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/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: 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 `std::result::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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::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 a macro (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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.29s [INFO] running `Command { std: "docker" "inspect" "4c08877a1ee725fc61893ea9ef2e200345c0e19ade4c6eafef97f1334e502cbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c08877a1ee725fc61893ea9ef2e200345c0e19ade4c6eafef97f1334e502cbb", kill_on_drop: false }` [INFO] [stdout] 4c08877a1ee725fc61893ea9ef2e200345c0e19ade4c6eafef97f1334e502cbb