[INFO] fetching crate parallel 0.11.3... [INFO] checking parallel-0.11.3 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate parallel 0.11.3 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate parallel 0.11.3 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 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-11/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded permutate v0.3.2 [INFO] [stderr] Downloaded arrayvec v0.3.25 [INFO] [stderr] Downloaded smallvec v0.4.5 [INFO] [stderr] Downloaded sys-info v0.4.1 [INFO] [stderr] Downloaded numtoa v0.0.7 [INFO] [stderr] Downloaded odds v0.2.26 [INFO] [stderr] Downloaded wait-timeout v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 95aeda9955cd16281aaf028bdb6ab74281584c5d268e4a3ab4dfbd665e85e287 [INFO] running `Command { std: "docker" "start" "-a" "95aeda9955cd16281aaf028bdb6ab74281584c5d268e4a3ab4dfbd665e85e287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95aeda9955cd16281aaf028bdb6ab74281584c5d268e4a3ab4dfbd665e85e287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95aeda9955cd16281aaf028bdb6ab74281584c5d268e4a3ab4dfbd665e85e287", kill_on_drop: false }` [INFO] [stdout] 95aeda9955cd16281aaf028bdb6ab74281584c5d268e4a3ab4dfbd665e85e287 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 11974d6327019210d9b22de5d660ddc2b5cf19a95fe190b8ef74df3a46436bd2 [INFO] running `Command { std: "docker" "start" "-a" "11974d6327019210d9b22de5d660ddc2b5cf19a95fe190b8ef74df3a46436bd2", kill_on_drop: false }` [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking numtoa v0.0.7 [INFO] [stderr] Checking smallvec v0.4.5 [INFO] [stderr] Checking permutate v0.3.2 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Compiling sys-info v0.4.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking wait-timeout v0.1.5 [INFO] [stderr] Checking arrayvec v0.3.25 [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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] = help: use `//` for a plain comment [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] = help: use `//` for a plain comment [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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] = help: use `//` for a plain comment [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] = help: use `//` for a plain comment [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/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/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: 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] warning: 10 warnings emitted [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` due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "11974d6327019210d9b22de5d660ddc2b5cf19a95fe190b8ef74df3a46436bd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11974d6327019210d9b22de5d660ddc2b5cf19a95fe190b8ef74df3a46436bd2", kill_on_drop: false }` [INFO] [stdout] 11974d6327019210d9b22de5d660ddc2b5cf19a95fe190b8ef74df3a46436bd2