[INFO] fetching crate parallel 0.11.3... [INFO] checking parallel-0.11.3 against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] extracting crate parallel 0.11.3 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate parallel 0.11.3 on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate parallel 0.11.3 [INFO] finished tweaking crates.io crate parallel 0.11.3 [INFO] tweaked toml for crates.io crate parallel 0.11.3 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49f1f5e42e4a88f9c619dd335550c47f55aa121d51cd6769359dded881503f97 [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" "49f1f5e42e4a88f9c619dd335550c47f55aa121d51cd6769359dded881503f97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49f1f5e42e4a88f9c619dd335550c47f55aa121d51cd6769359dded881503f97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49f1f5e42e4a88f9c619dd335550c47f55aa121d51cd6769359dded881503f97", kill_on_drop: false }` [INFO] [stdout] 49f1f5e42e4a88f9c619dd335550c47f55aa121d51cd6769359dded881503f97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eca61ce0414ba3fd820f2f817767fc4d6a07b94cc4d5f6e81e6d8b21db6f3843 [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" "eca61ce0414ba3fd820f2f817767fc4d6a07b94cc4d5f6e81e6d8b21db6f3843", kill_on_drop: false }` [INFO] [stderr] Checking permutate v0.3.2 [INFO] [stderr] Checking numtoa v0.0.7 [INFO] [stderr] Compiling sys-info v0.4.1 [INFO] [stderr] Checking wait-timeout v0.1.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking parallel v0.11.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `cyclomatic_complexity` [INFO] [stdout] --> src/execute/receive.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | #[allow(cyclomatic_complexity)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cyclomatic_complexity` [INFO] [stdout] --> src/execute/receive.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | #[allow(cyclomatic_complexity)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/arguments/mod.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | let parse_line: Box) -> io::Result> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(io::Result) -> io::Result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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 the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/execute/dry.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let pipe_action: Box = if flags & arguments::SHELL_QUOTE != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut StdoutLock, &str)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/input_iterator/lock.rs:22:62 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn try_next(&mut self, input: &mut String) -> Option<(usize)> { [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | /// Prints messages from executed commands in the correct order. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 243 | let errors = execute::receive_messages(input_rx, args, &base_path, &processed_path, &errors_path); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | /// Wait for all threads to exit before proceeding. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 246 | for thread in threads { thread.join().unwrap(); } [INFO] [stdout] | ------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/arguments/mod.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | let parse_line: Box) -> io::Result> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(io::Result) -> io::Result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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 the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/execute/dry.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let pipe_action: Box = if flags & arguments::SHELL_QUOTE != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut StdoutLock, &str)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/input_iterator/lock.rs:22:62 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn try_next(&mut self, input: &mut String) -> Option<(usize)> { [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 method argument [INFO] [stdout] --> src/input_iterator/iterator.rs:231:48 [INFO] [stdout] | [INFO] [stdout] 231 | for (actual, expected) in iterator.zip((1..4096)) { [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | /// Prints messages from executed commands in the correct order. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 243 | let errors = execute::receive_messages(input_rx, args, &base_path, &processed_path, &errors_path); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | /// Wait for all threads to exit before proceeding. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 246 | for thread in threads { thread.join().unwrap(); } [INFO] [stdout] | ------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/arguments/mod.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | let mut append_list = &mut Vec::new(); [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/execute/exec_commands.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut command_buffer = &mut String::with_capacity(64); [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/execute/pipe.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut stdout = child.stdout.as_mut().expect("unable to open stdout of child"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field is never read: `start` [INFO] [stdout] --> src/input_iterator/iterator.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | start: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parallel` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/arguments/mod.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | let mut append_list = &mut Vec::new(); [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/execute/exec_commands.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut command_buffer = &mut String::with_capacity(64); [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/execute/pipe.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut stdout = child.stdout.as_mut().expect("unable to open stdout of child"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "eca61ce0414ba3fd820f2f817767fc4d6a07b94cc4d5f6e81e6d8b21db6f3843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eca61ce0414ba3fd820f2f817767fc4d6a07b94cc4d5f6e81e6d8b21db6f3843", kill_on_drop: false }` [INFO] [stdout] eca61ce0414ba3fd820f2f817767fc4d6a07b94cc4d5f6e81e6d8b21db6f3843