[INFO] fetching crate array_tool 1.0.3... [INFO] checking array_tool-1.0.3 against master#c97b539e408ea353f4fde2f9251d598291fec421 for pr-105102 [INFO] extracting crate array_tool 1.0.3 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate array_tool 1.0.3 on toolchain c97b539e408ea353f4fde2f9251d598291fec421 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c97b539e408ea353f4fde2f9251d598291fec421" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate array_tool 1.0.3 [INFO] finished tweaking crates.io crate array_tool 1.0.3 [INFO] tweaked toml for crates.io crate array_tool 1.0.3 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c97b539e408ea353f4fde2f9251d598291fec421" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c97b539e408ea353f4fde2f9251d598291fec421" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+c97b539e408ea353f4fde2f9251d598291fec421" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e98a0209871cbdd16e5c9747bb32293713d447f943baa57ee6a38d810460ab5 [INFO] running `Command { std: "docker" "start" "-a" "2e98a0209871cbdd16e5c9747bb32293713d447f943baa57ee6a38d810460ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e98a0209871cbdd16e5c9747bb32293713d447f943baa57ee6a38d810460ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e98a0209871cbdd16e5c9747bb32293713d447f943baa57ee6a38d810460ab5", kill_on_drop: false }` [INFO] [stdout] 2e98a0209871cbdd16e5c9747bb32293713d447f943baa57ee6a38d810460ab5 [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" "RUSTDOCFLAGS=--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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+c97b539e408ea353f4fde2f9251d598291fec421" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da7b75d0428e131e572823b10a9a510c6dc580fbfbf85bc4e6c973712dd1a3bc [INFO] running `Command { std: "docker" "start" "-a" "da7b75d0428e131e572823b10a9a510c6dc580fbfbf85bc4e6c973712dd1a3bc", kill_on_drop: false }` [INFO] [stderr] Checking array_tool v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/vec.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 203 | fn intersect(&self, Self) -> Self; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/vec.rs:216:49 [INFO] [stdout] | [INFO] [stdout] 216 | fn intersect_if bool>(&self, Self, validator: F) -> Self; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/string.rs:300:6 [INFO] [stdout] | [INFO] [stdout] 300 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SubstMarks` is imported redundantly [INFO] [stdout] --> src/string.rs:289:21 [INFO] [stdout] | [INFO] [stdout] 160 | / pub trait SubstMarks { [INFO] [stdout] 161 | | /// # Example [INFO] [stdout] 162 | | /// ``` [INFO] [stdout] 163 | | /// use array_tool::string::SubstMarks; [INFO] [stdout] ... | [INFO] [stdout] 172 | | fn subst_marks(&self, marks: Vec, chr: &'static str) -> String; [INFO] [stdout] 173 | | } [INFO] [stdout] | |_- the item `SubstMarks` is already defined here [INFO] [stdout] ... [INFO] [stdout] 289 | use string::SubstMarks; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/vec.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 203 | fn intersect(&self, Self) -> Self; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/vec.rs:216:49 [INFO] [stdout] | [INFO] [stdout] 216 | fn intersect_if bool>(&self, Self, validator: F) -> Self; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/string.rs:300:6 [INFO] [stdout] | [INFO] [stdout] 300 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SubstMarks` is imported redundantly [INFO] [stdout] --> src/string.rs:289:21 [INFO] [stdout] | [INFO] [stdout] 160 | / pub trait SubstMarks { [INFO] [stdout] 161 | | /// # Example [INFO] [stdout] 162 | | /// ``` [INFO] [stdout] 163 | | /// use array_tool::string::SubstMarks; [INFO] [stdout] ... | [INFO] [stdout] 172 | | fn subst_marks(&self, marks: Vec, chr: &'static str) -> String; [INFO] [stdout] 173 | | } [INFO] [stdout] | |_- the item `SubstMarks` is already defined here [INFO] [stdout] ... [INFO] [stdout] 289 | use string::SubstMarks; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `len` are never read [INFO] [stdout] --> src/iter.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ZipOption { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | len: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZipOption` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `len` are never read [INFO] [stdout] --> src/iter.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ZipOption { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | len: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZipOption` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/vec.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | &self.insert(0, other); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 185 | let _ = &self.insert(0, other); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/vec.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | &self.insert(0, other); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 185 | let _ = &self.insert(0, other); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> tests/vec.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "da7b75d0428e131e572823b10a9a510c6dc580fbfbf85bc4e6c973712dd1a3bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da7b75d0428e131e572823b10a9a510c6dc580fbfbf85bc4e6c973712dd1a3bc", kill_on_drop: false }` [INFO] [stdout] da7b75d0428e131e572823b10a9a510c6dc580fbfbf85bc4e6c973712dd1a3bc