[INFO] fetching crate dd-lib 0.2.1... [INFO] checking dd-lib-0.2.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate dd-lib 0.2.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate dd-lib 0.2.1 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dd-lib 0.2.1 [INFO] finished tweaking crates.io crate dd-lib 0.2.1 [INFO] tweaked toml for crates.io crate dd-lib 0.2.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded encoding8 v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dccc493193389f899ae459862e9d460a05fecdc8bd411712198925b49f4e7a11 [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" "dccc493193389f899ae459862e9d460a05fecdc8bd411712198925b49f4e7a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dccc493193389f899ae459862e9d460a05fecdc8bd411712198925b49f4e7a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dccc493193389f899ae459862e9d460a05fecdc8bd411712198925b49f4e7a11", kill_on_drop: false }` [INFO] [stdout] dccc493193389f899ae459862e9d460a05fecdc8bd411712198925b49f4e7a11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 236b5112131f6e54ea1359d728b047751a931e87c52e4e45fa47b3da3ec98c26 [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" "236b5112131f6e54ea1359d728b047751a931e87c52e4e45fa47b3da3ec98c26", kill_on_drop: false }` [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking encoding8 v0.3.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking dd-lib v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/opts/flags/iflag.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | flags |= { Self::from_str(flag)? }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/io/tests.rs:17:56 [INFO] [stdout] | [INFO] [stdout] 17 | fn write(&mut self, buf: &[u8]) -> std::io::Result<(usize)> { Ok(buf.len()) } [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 braces around assigned value [INFO] [stdout] --> src/opts/flags/iflag.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | flags |= { Self::from_str(flag)? }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/errhandler.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | writeln!(self.e, "io error: <{}>; continuing", err); [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 `writeln` (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/io/errhandler.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | / writeln!( [INFO] [stdout] 73 | | self, [INFO] [stdout] 74 | | "dd in progress: unblock: elapsed: {}, wrote {} lines", [INFO] [stdout] 75 | | elapsed(&start), [INFO] [stdout] 76 | | lines [INFO] [stdout] 77 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (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/io/errhandler.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | / writeln!( [INFO] [stdout] 84 | | self, [INFO] [stdout] 85 | | "dd in progress: unblock: elapsed: {}, wrote {} fixed-length blocks", [INFO] [stdout] 86 | | elapsed(&start), [INFO] [stdout] 87 | | blocks [INFO] [stdout] 88 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (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/io/errhandler.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | writeln!(self.e, "io error: <{}>; continuing", err); [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 `writeln` (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/io/errhandler.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | / writeln!( [INFO] [stdout] 73 | | self, [INFO] [stdout] 74 | | "dd in progress: unblock: elapsed: {}, wrote {} lines", [INFO] [stdout] 75 | | elapsed(&start), [INFO] [stdout] 76 | | lines [INFO] [stdout] 77 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (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/io/errhandler.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | / writeln!( [INFO] [stdout] 84 | | self, [INFO] [stdout] 85 | | "dd in progress: unblock: elapsed: {}, wrote {} fixed-length blocks", [INFO] [stdout] 86 | | elapsed(&start), [INFO] [stdout] 87 | | blocks [INFO] [stdout] 88 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.04s [INFO] running `Command { std: "docker" "inspect" "236b5112131f6e54ea1359d728b047751a931e87c52e4e45fa47b3da3ec98c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "236b5112131f6e54ea1359d728b047751a931e87c52e4e45fa47b3da3ec98c26", kill_on_drop: false }` [INFO] [stdout] 236b5112131f6e54ea1359d728b047751a931e87c52e4e45fa47b3da3ec98c26