[INFO] fetching crate xi-rope 0.3.0... [INFO] checking xi-rope-0.3.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate xi-rope 0.3.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate xi-rope 0.3.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xi-rope 0.3.0 [INFO] finished tweaking crates.io crate xi-rope 0.3.0 [INFO] tweaked toml for crates.io crate xi-rope 0.3.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages [INFO] [stderr] Adding bytecount v0.5.1 (latest: v0.6.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytecount v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0ad19dab0f37ef744e4ffe151b0b4663ff6ba40fe74701ddc2b8433b6020e4d [INFO] running `Command { std: "docker" "start" "-a" "e0ad19dab0f37ef744e4ffe151b0b4663ff6ba40fe74701ddc2b8433b6020e4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0ad19dab0f37ef744e4ffe151b0b4663ff6ba40fe74701ddc2b8433b6020e4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0ad19dab0f37ef744e4ffe151b0b4663ff6ba40fe74701ddc2b8433b6020e4d", kill_on_drop: false }` [INFO] [stdout] e0ad19dab0f37ef744e4ffe151b0b4663ff6ba40fe74701ddc2b8433b6020e4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67fb2b4b9c79786ee293facd277c06875c995085678f6ca950661a0886554faa [INFO] running `Command { std: "docker" "start" "-a" "67fb2b4b9c79786ee293facd277c06875c995085678f6ca950661a0886554faa", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking bytecount v0.5.1 [INFO] [stderr] Checking xi-rope v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/engine.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/multiset.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | CountMatcher::Zero => (seg.count == 0), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - CountMatcher::Zero => (seg.count == 0), [INFO] [stdout] 120 + CountMatcher::Zero => seg.count == 0, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/multiset.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | CountMatcher::NonZero => (seg.count != 0), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - CountMatcher::NonZero => (seg.count != 0), [INFO] [stdout] 121 + CountMatcher::NonZero => seg.count != 0, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bytecount` is imported redundantly [INFO] [stdout] --> src/rope.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use bytecount; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | extern crate bytecount; [INFO] [stdout] | ----------------------- the item `bytecount` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/tree.rs:255:45 [INFO] [stdout] | [INFO] [stdout] 255 | NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 255 - NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN), [INFO] [stdout] 255 + NodeVal::Internal(ref nodes) => nodes.len() >= MIN_CHILDREN, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tree.rs:658:52 [INFO] [stdout] | [INFO] [stdout] 658 | pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 658 - pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stdout] 658 + pub fn prev>(&mut self) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tree.rs:695:52 [INFO] [stdout] | [INFO] [stdout] 695 | pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 695 - pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stdout] 695 + pub fn next>(&mut self) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rope.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct LinesMetric(usize); // number of lines [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `LinesMetric` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 227 | pub struct LinesMetric(()); // number of lines [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rope.rs:276:33 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct Utf16CodeUnitsMetric(usize); [INFO] [stdout] | -------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Utf16CodeUnitsMetric` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 276 | pub struct Utf16CodeUnitsMetric(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stdout] error: couldn't read `benches/../../core-lib/src/editor.rs`: No such file or directory (os error 2) [INFO] [stdout] --> benches/diff.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | static EDITOR_STR: &str = include_str!("../../core-lib/src/editor.rs"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `benches/../../core-lib/src/view.rs`: No such file or directory (os error 2) [INFO] [stdout] --> benches/diff.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | static VIEW_STR: &str = include_str!("../../core-lib/src/view.rs"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xi-rope` (bench "diff") due to 3 previous errors [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> benches/edit.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Rope::from(&text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] 57 | let _ = Rope::from(&text); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> benches/edit.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | Rope::from(&text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 65 | let _ = Rope::from(&text); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Cursor` is imported redundantly [INFO] [stdout] --> src/find.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 340 | use super::*; [INFO] [stdout] | -------- the item `Cursor` is already imported here [INFO] [stdout] 341 | use crate::rope::Rope; [INFO] [stdout] 342 | use crate::tree::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/multiset.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | CountMatcher::Zero => (seg.count == 0), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - CountMatcher::Zero => (seg.count == 0), [INFO] [stdout] 120 + CountMatcher::Zero => seg.count == 0, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/multiset.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | CountMatcher::NonZero => (seg.count != 0), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - CountMatcher::NonZero => (seg.count != 0), [INFO] [stdout] 121 + CountMatcher::NonZero => seg.count != 0, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bytecount` is imported redundantly [INFO] [stdout] --> src/rope.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use bytecount; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | extern crate bytecount; [INFO] [stdout] | ----------------------- the item `bytecount` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/tree.rs:255:45 [INFO] [stdout] | [INFO] [stdout] 255 | NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 255 - NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN), [INFO] [stdout] 255 + NodeVal::Internal(ref nodes) => nodes.len() >= MIN_CHILDREN, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tree.rs:658:52 [INFO] [stdout] | [INFO] [stdout] 658 | pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 658 - pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stdout] 658 + pub fn prev>(&mut self) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tree.rs:695:52 [INFO] [stdout] | [INFO] [stdout] 695 | pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 695 - pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stdout] 695 + pub fn next>(&mut self) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rope.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct LinesMetric(usize); // number of lines [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `LinesMetric` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 227 | pub struct LinesMetric(()); // number of lines [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rope.rs:276:33 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct Utf16CodeUnitsMetric(usize); [INFO] [stdout] | -------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Utf16CodeUnitsMetric` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 276 | pub struct Utf16CodeUnitsMetric(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "67fb2b4b9c79786ee293facd277c06875c995085678f6ca950661a0886554faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67fb2b4b9c79786ee293facd277c06875c995085678f6ca950661a0886554faa", kill_on_drop: false }` [INFO] [stdout] 67fb2b4b9c79786ee293facd277c06875c995085678f6ca950661a0886554faa