[INFO] fetching crate lapce-xi-rope 0.3.2... [INFO] checking lapce-xi-rope-0.3.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate lapce-xi-rope 0.3.2 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate lapce-xi-rope 0.3.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lapce-xi-rope 0.3.2 [INFO] finished tweaking crates.io crate lapce-xi-rope 0.3.2 [INFO] tweaked toml for crates.io crate lapce-xi-rope 0.3.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate lapce-xi-rope 0.3.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec26640adbfe0e8697e028496d3f3e5bbfb4be87afbebddd3864ec0aca92f130 [INFO] running `Command { std: "docker" "start" "-a" "ec26640adbfe0e8697e028496d3f3e5bbfb4be87afbebddd3864ec0aca92f130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec26640adbfe0e8697e028496d3f3e5bbfb4be87afbebddd3864ec0aca92f130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec26640adbfe0e8697e028496d3f3e5bbfb4be87afbebddd3864ec0aca92f130", kill_on_drop: false }` [INFO] [stdout] ec26640adbfe0e8697e028496d3f3e5bbfb4be87afbebddd3864ec0aca92f130 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a65df7c5b714fc6e4189d0cb6b8450b9f594794a8d3e9699ac84c8a48ec96161 [INFO] running `Command { std: "docker" "start" "-a" "a65df7c5b714fc6e4189d0cb6b8450b9f594794a8d3e9699ac84c8a48ec96161", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Checking regex-syntax v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling serde_test v1.0.163 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking bytecount v0.6.3 [INFO] [stderr] Checking aho-corasick v1.0.1 [INFO] [stderr] Checking regex v1.8.1 [INFO] [stderr] Checking lapce-xi-rope v0.3.2 (/opt/rustwide/workdir) [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: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/tree.rs:290:45 [INFO] [stdout] | [INFO] [stdout] 290 | NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 290 - NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN), [INFO] [stdout] 290 + NodeVal::Internal(ref nodes) => nodes.len() >= MIN_CHILDREN, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rope.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct LinesMetric(usize); // number of lines [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [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] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rope.rs:275:33 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct Utf16CodeUnitsMetric(usize); [INFO] [stdout] | -------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Utf16CodeUnitsMetric` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `xi_rope` [INFO] [stdout] --> examples/ropetoy.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate xi_rope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `xi_rope` [INFO] [stdout] --> benches/edit.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate xi_rope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `xi_rope` [INFO] [stdout] --> benches/cursors.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate xi_rope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `xi_rope` [INFO] [stdout] --> benches/diff.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate xi_rope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [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] [stderr] error: could not compile `lapce-xi-rope` (example "ropetoy") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> benches/cursors.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | let mut cursor = Cursor::new(&text, 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Cursor` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 19 + use std::collections::btree_map::Cursor; [INFO] [stdout] | [INFO] [stdout] 19 + use std::collections::btree_set::Cursor; [INFO] [stdout] | [INFO] [stdout] 19 + use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 19 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lapce-xi-rope` (bench "edit") due to 2 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lapce-xi-rope` (bench "cursors") due to 3 previous errors [INFO] [stderr] error: could not compile `lapce-xi-rope` (bench "diff") due to 4 previous errors [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: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/tree.rs:290:45 [INFO] [stdout] | [INFO] [stdout] 290 | NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 290 - NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN), [INFO] [stdout] 290 + NodeVal::Internal(ref nodes) => nodes.len() >= MIN_CHILDREN, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rope.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct LinesMetric(usize); // number of lines [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [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] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rope.rs:275:33 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct Utf16CodeUnitsMetric(usize); [INFO] [stdout] | -------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Utf16CodeUnitsMetric` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a65df7c5b714fc6e4189d0cb6b8450b9f594794a8d3e9699ac84c8a48ec96161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a65df7c5b714fc6e4189d0cb6b8450b9f594794a8d3e9699ac84c8a48ec96161", kill_on_drop: false }` [INFO] [stdout] a65df7c5b714fc6e4189d0cb6b8450b9f594794a8d3e9699ac84c8a48ec96161