[INFO] fetching crate sg 0.3.0... [INFO] checking sg-0.3.0 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate sg 0.3.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate sg 0.3.0 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sg 0.3.0 [INFO] finished tweaking crates.io crate sg 0.3.0 [INFO] tweaked toml for crates.io crate sg 0.3.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clang-sys v0.26.4 [INFO] [stderr] Downloaded bindgen v0.43.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c73c560cb6ce6a770333f375b01a779e7f1cb2e7789a7b118dbe4c66c05fd7cb [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" "c73c560cb6ce6a770333f375b01a779e7f1cb2e7789a7b118dbe4c66c05fd7cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c73c560cb6ce6a770333f375b01a779e7f1cb2e7789a7b118dbe4c66c05fd7cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c73c560cb6ce6a770333f375b01a779e7f1cb2e7789a7b118dbe4c66c05fd7cb", kill_on_drop: false }` [INFO] [stdout] c73c560cb6ce6a770333f375b01a779e7f1cb2e7789a7b118dbe4c66c05fd7cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c2e9496611a918209b54d0c7eb10bfd7573b6a7d0c0abd59f55ad7d91076a0f [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" "5c2e9496611a918209b54d0c7eb10bfd7573b6a7d0c0abd59f55ad7d91076a0f", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bindgen v0.43.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Checking nix v0.11.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling sg v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:230:22 [INFO] [stdout] | [INFO] [stdout] 230 | unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:230:22 [INFO] [stdout] | [INFO] [stdout] 230 | unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:206:20 [INFO] [stdout] | [INFO] [stdout] 206 | for (task, mut iovec) in tasks.iter().zip(iovecs.iter_mut()) { [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/lib.rs:232:14 [INFO] [stdout] | [INFO] [stdout] 232 | for (mut hdr, mut iovec) in hdrs.iter_mut().zip(iovecs.iter_mut()) { [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/lib.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | for (mut hdr, mut iovec) in hdrs.iter_mut().zip(iovecs.iter_mut()) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/lib.rs:255:18 [INFO] [stdout] | [INFO] [stdout] 255 | hdrs.into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:206:20 [INFO] [stdout] | [INFO] [stdout] 206 | for (task, mut iovec) in tasks.iter().zip(iovecs.iter_mut()) { [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/lib.rs:232:14 [INFO] [stdout] | [INFO] [stdout] 232 | for (mut hdr, mut iovec) in hdrs.iter_mut().zip(iovecs.iter_mut()) { [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/lib.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | for (mut hdr, mut iovec) in hdrs.iter_mut().zip(iovecs.iter_mut()) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/lib.rs:255:18 [INFO] [stdout] | [INFO] [stdout] 255 | hdrs.into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 02s [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5c2e9496611a918209b54d0c7eb10bfd7573b6a7d0c0abd59f55ad7d91076a0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c2e9496611a918209b54d0c7eb10bfd7573b6a7d0c0abd59f55ad7d91076a0f", kill_on_drop: false }` [INFO] [stdout] 5c2e9496611a918209b54d0c7eb10bfd7573b6a7d0c0abd59f55ad7d91076a0f