[INFO] fetching crate makeppkg 1.1.1... [INFO] checking makeppkg-1.1.1 against try#d990716b6a1fdde1300748828a9c9e79dfd0b898 for pr-74846 [INFO] extracting crate makeppkg 1.1.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate makeppkg 1.1.1 on toolchain d990716b6a1fdde1300748828a9c9e79dfd0b898 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shared_child v0.3.4 [INFO] [stderr] Downloaded os_pipe v0.7.0 [INFO] [stderr] Downloaded md-5 v0.8.0 [INFO] [stderr] Downloaded duct v0.11.1 [INFO] [stderr] Downloaded nix v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da56cdcfb12fd32fc53cc5e29afff8780f3f6a62eac3ef928caeb5d92cb6bf07 [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" "da56cdcfb12fd32fc53cc5e29afff8780f3f6a62eac3ef928caeb5d92cb6bf07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da56cdcfb12fd32fc53cc5e29afff8780f3f6a62eac3ef928caeb5d92cb6bf07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da56cdcfb12fd32fc53cc5e29afff8780f3f6a62eac3ef928caeb5d92cb6bf07", kill_on_drop: false }` [INFO] [stdout] da56cdcfb12fd32fc53cc5e29afff8780f3f6a62eac3ef928caeb5d92cb6bf07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b1180c217637dc41d18e5bb48ca80dd69a2c26eddcf964e60930d9d41e76997 [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" "4b1180c217637dc41d18e5bb48ca80dd69a2c26eddcf964e60930d9d41e76997", kill_on_drop: false }` [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking shared_child v0.3.4 [INFO] [stderr] Checking nix v0.11.1 [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/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: 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 `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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.80s [INFO] running `Command { std: "docker" "inspect" "4b1180c217637dc41d18e5bb48ca80dd69a2c26eddcf964e60930d9d41e76997", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b1180c217637dc41d18e5bb48ca80dd69a2c26eddcf964e60930d9d41e76997", kill_on_drop: false }` [INFO] [stdout] 4b1180c217637dc41d18e5bb48ca80dd69a2c26eddcf964e60930d9d41e76997