[INFO] fetching crate xi-core-lib 0.3.0... [INFO] building xi-core-lib-0.3.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate xi-core-lib 0.3.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate xi-core-lib 0.3.0 [INFO] finished tweaking crates.io crate xi-core-lib 0.3.0 [INFO] tweaked toml for crates.io crate xi-core-lib 0.3.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xi-core-lib 0.3.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 110 packages to latest compatible versions [INFO] [stderr] Adding notify v4.0.18 (available: v8.2.0) [INFO] [stderr] Adding sha2 v0.8.2 (available: v0.10.9) [INFO] [stderr] Adding syntect v3.3.0 (available: v5.3.0) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.44) [INFO] [stderr] Adding toml v0.5.11 (available: v0.9.7) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding xi-unicode v0.2.1 (available: v0.3.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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 crossbeam-queue v0.2.3 [INFO] [stderr] Downloaded maybe-uninit v2.0.0 [INFO] [stderr] Downloaded memoffset v0.5.6 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.2 [INFO] [stderr] Downloaded crossbeam-utils v0.7.2 [INFO] [stderr] Downloaded crossbeam-deque v0.7.4 [INFO] [stderr] Downloaded toml v0.5.11 [INFO] [stderr] Downloaded quick-error v1.2.3 [INFO] [stderr] Downloaded crossbeam v0.7.3 [INFO] [stderr] Downloaded crc32fast v1.5.0 [INFO] [stderr] Downloaded generic-array v0.12.4 [INFO] [stderr] Downloaded bitflags v2.9.4 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded xi-unicode v0.2.1 [INFO] [stderr] Downloaded sha2 v0.8.2 [INFO] [stderr] Downloaded fuchsia-zircon v0.3.3 [INFO] [stderr] Downloaded inotify v0.7.1 [INFO] [stderr] Downloaded windows-targets v0.53.4 [INFO] [stderr] Downloaded libredox v0.1.10 [INFO] [stderr] Downloaded redox_syscall v0.5.17 [INFO] [stderr] Downloaded kernel32-sys v0.2.2 [INFO] [stderr] Downloaded fsevent v0.4.0 [INFO] [stderr] Downloaded fsevent-sys v2.0.1 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.3.3 [INFO] [stderr] Downloaded miow v0.2.2 [INFO] [stderr] Downloaded flate2 v1.1.2 [INFO] [stderr] Downloaded mio-extras v2.0.6 [INFO] [stderr] Downloaded net2 v0.2.39 [INFO] [stderr] Downloaded byteorder v1.5.0 [INFO] [stderr] Downloaded rdrand v0.4.0 [INFO] [stderr] Downloaded remove_dir_all v0.5.3 [INFO] [stderr] Downloaded filetime v0.2.26 [INFO] [stderr] Downloaded humantime v1.3.0 [INFO] [stderr] Downloaded rand_core v0.4.2 [INFO] [stderr] Downloaded rand_core v0.3.1 [INFO] [stderr] Downloaded mio v0.6.23 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] [stderr] Downloaded xi-rope v0.3.0 [INFO] [stderr] Downloaded crossbeam-channel v0.4.4 [INFO] [stderr] Downloaded inotify-sys v0.1.5 [INFO] [stderr] Downloaded windows-sys v0.61.1 [INFO] [stderr] Downloaded iovec v0.1.4 [INFO] [stderr] Downloaded winapi-build v0.1.1 [INFO] [stderr] Downloaded slab v0.4.11 [INFO] [stderr] Downloaded winapi v0.2.8 [INFO] [stderr] Downloaded plist v0.4.2 [INFO] [stderr] Downloaded xi-rpc v0.3.0 [INFO] [stderr] Downloaded xi-trace v0.2.0 [INFO] [stderr] Downloaded xml-rs v0.8.27 [INFO] [stderr] Downloaded safemem v0.3.3 [INFO] [stderr] Downloaded windows-link v0.2.0 [INFO] [stderr] Downloaded winapi-util v0.1.11 [INFO] [stderr] Downloaded fuchsia-cprng v0.1.1 [INFO] [stderr] Downloaded ws2_32-sys v0.2.1 [INFO] [stderr] Downloaded notify v4.0.18 [INFO] [stderr] Downloaded line-wrap v0.1.1 [INFO] [stderr] Downloaded base64 v0.10.1 [INFO] [stderr] Downloaded cfg-if v1.0.3 [INFO] [stderr] Downloaded syntect v3.3.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55c3fb80eefd15a78205d5e7f9f0c9252e7badb949a3de6d1d0c8777fadd9fa3 [INFO] running `Command { std: "docker" "start" "-a" "55c3fb80eefd15a78205d5e7f9f0c9252e7badb949a3de6d1d0c8777fadd9fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55c3fb80eefd15a78205d5e7f9f0c9252e7badb949a3de6d1d0c8777fadd9fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55c3fb80eefd15a78205d5e7f9f0c9252e7badb949a3de6d1d0c8777fadd9fa3", kill_on_drop: false }` [INFO] [stdout] 55c3fb80eefd15a78205d5e7f9f0c9252e7badb949a3de6d1d0c8777fadd9fa3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db7b6c400eed4cabcb42b5c82324f0ee7a448c459d678ff487afcab6ed93d351 [INFO] running `Command { std: "docker" "start" "-a" "db7b6c400eed4cabcb42b5c82324f0ee7a448c459d678ff487afcab6ed93d351", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling bytecount v0.5.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling xi-unicode v0.2.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling notify v4.0.18 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling plist v0.4.2 [INFO] [stderr] Compiling xi-trace v0.2.0 [INFO] [stderr] Compiling xi-rope v0.3.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling syntect v3.3.0 [INFO] [stderr] Compiling xi-rpc v0.3.0 [INFO] [stderr] Compiling xi-core-lib v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/backspace.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:699:62 [INFO] [stdout] | [INFO] [stdout] 699 | UnknownDomain(ref s) => write!(f, "{}: {}", self.description(), s), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:700:70 [INFO] [stdout] | [INFO] [stdout] 700 | Parse(ref p, ref e) => write!(f, "{} ({:?}), {:?}", self.description(), p, e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:712:34 [INFO] [stdout] | [INFO] [stdout] 712 | Parse(_, ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:713:28 [INFO] [stdout] | [INFO] [stdout] 713 | Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:714:40 [INFO] [stdout] | [INFO] [stdout] 714 | UnexpectedItem(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/plugins/catalog.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginLoadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] 39 - Io(io::Error), [INFO] [stdout] 39 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/plugins/catalog.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | Parse(toml::de::Error), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginLoadError` has a derived impl for the trait `Debug`, 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] 41 - Parse(toml::de::Error), [INFO] [stdout] 41 + Parse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn inner(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn inner(&self) -> MutexGuard<'_, CoreState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/editor.rs:441:28 [INFO] [stdout] | [INFO] [stdout] 441 | fn extract_sel_regions(&self, sel_regions: &[SelRegion]) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 441 | fn extract_sel_regions(&self, sel_regions: &[SelRegion]) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/editor.rs:940:27 [INFO] [stdout] | [INFO] [stdout] 940 | pub(crate) fn get_rev(&self, rev: RevToken) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 940 | pub(crate) fn get_rev(&self, rev: RevToken) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/index_set.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn minus_one_range(&self, start: usize, end: usize) -> MinusIter { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn minus_one_range(&self, start: usize, end: usize) -> MinusIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/recorder.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | mem::replace(&mut self.active_recording, recording_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = mem::replace(&mut self.active_recording, recording_name); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/styles.rs:202:28 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn get_highlighter(&self) -> Highlighter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 202 | pub fn get_highlighter(&self) -> Highlighter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tabs.rs:275:32 [INFO] [stdout] | [INFO] [stdout] 275 | pub(crate) fn make_context(&self, view_id: ViewId) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 275 | pub(crate) fn make_context(&self, view_id: ViewId) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/tabs.rs:307:70 [INFO] [stdout] | [INFO] [stdout] 307 | fn iter_groups<'a>(&'a self) -> Iter<'a, Box + 'a>> { [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 307 | fn iter_groups<'a>(&'a self) -> Iter<'a, Box + 'a>> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/width_cache.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn batch_req(self: &mut WidthCache) -> WidthBatchReq { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn batch_req(self: &mut WidthCache) -> WidthBatchReq<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.79s [INFO] running `Command { std: "docker" "inspect" "db7b6c400eed4cabcb42b5c82324f0ee7a448c459d678ff487afcab6ed93d351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db7b6c400eed4cabcb42b5c82324f0ee7a448c459d678ff487afcab6ed93d351", kill_on_drop: false }` [INFO] [stdout] db7b6c400eed4cabcb42b5c82324f0ee7a448c459d678ff487afcab6ed93d351 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 972469a70a807032778b4252fb7e5cf2769c04bb465f4f3f7f35f3e55458a2e1 [INFO] running `Command { std: "docker" "start" "-a" "972469a70a807032778b4252fb7e5cf2769c04bb465f4f3f7f35f3e55458a2e1", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/backspace.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:699:62 [INFO] [stdout] | [INFO] [stdout] 699 | UnknownDomain(ref s) => write!(f, "{}: {}", self.description(), s), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:700:70 [INFO] [stdout] | [INFO] [stdout] 700 | Parse(ref p, ref e) => write!(f, "{} ({:?}), {:?}", self.description(), p, e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:712:34 [INFO] [stdout] | [INFO] [stdout] 712 | Parse(_, ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:713:28 [INFO] [stdout] | [INFO] [stdout] 713 | Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:714:40 [INFO] [stdout] | [INFO] [stdout] 714 | UnexpectedItem(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/plugins/catalog.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginLoadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] 39 - Io(io::Error), [INFO] [stdout] 39 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/plugins/catalog.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | Parse(toml::de::Error), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PluginLoadError` has a derived impl for the trait `Debug`, 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] 41 - Parse(toml::de::Error), [INFO] [stdout] 41 + Parse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn inner(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn inner(&self) -> MutexGuard<'_, CoreState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/editor.rs:441:28 [INFO] [stdout] | [INFO] [stdout] 441 | fn extract_sel_regions(&self, sel_regions: &[SelRegion]) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 441 | fn extract_sel_regions(&self, sel_regions: &[SelRegion]) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/editor.rs:940:27 [INFO] [stdout] | [INFO] [stdout] 940 | pub(crate) fn get_rev(&self, rev: RevToken) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 940 | pub(crate) fn get_rev(&self, rev: RevToken) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/index_set.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn minus_one_range(&self, start: usize, end: usize) -> MinusIter { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn minus_one_range(&self, start: usize, end: usize) -> MinusIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/recorder.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | mem::replace(&mut self.active_recording, recording_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = mem::replace(&mut self.active_recording, recording_name); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/styles.rs:202:28 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn get_highlighter(&self) -> Highlighter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 202 | pub fn get_highlighter(&self) -> Highlighter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tabs.rs:275:32 [INFO] [stdout] | [INFO] [stdout] 275 | pub(crate) fn make_context(&self, view_id: ViewId) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 275 | pub(crate) fn make_context(&self, view_id: ViewId) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/tabs.rs:307:70 [INFO] [stdout] | [INFO] [stdout] 307 | fn iter_groups<'a>(&'a self) -> Iter<'a, Box + 'a>> { [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 307 | fn iter_groups<'a>(&'a self) -> Iter<'a, Box + 'a>> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/width_cache.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn batch_req(self: &mut WidthCache) -> WidthBatchReq { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn batch_req(self: &mut WidthCache) -> WidthBatchReq<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling xi-core-lib v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/backspace.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:699:62 [INFO] [stdout] | [INFO] [stdout] 699 | UnknownDomain(ref s) => write!(f, "{}: {}", self.description(), s), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:700:70 [INFO] [stdout] | [INFO] [stdout] 700 | Parse(ref p, ref e) => write!(f, "{} ({:?}), {:?}", self.description(), p, e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:712:34 [INFO] [stdout] | [INFO] [stdout] 712 | Parse(_, ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:713:28 [INFO] [stdout] | [INFO] [stdout] 713 | Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:714:40 [INFO] [stdout] | [INFO] [stdout] 714 | UnexpectedItem(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/linewrap.rs:1177:9 [INFO] [stdout] | [INFO] [stdout] 1177 | assert_eq!(make_ranges(&lines.work), vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/linewrap.rs:1177:9 [INFO] [stdout] | [INFO] [stdout] 1177 | assert_eq!(make_ranges(&lines.work), vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `std::ops::Range: PartialEq<_>` found in the following crates: `aho_corasick`, `core`, `regex_automata`: [INFO] [stdout] - impl PartialEq for std::ops::Range; [INFO] [stdout] - impl PartialEq for std::ops::Range; [INFO] [stdout] - impl PartialEq for std::ops::Range [INFO] [stdout] where Idx: PartialEq; [INFO] [stdout] = note: required for `Vec>` to implement `PartialEq>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0283. [INFO] [stdout] [INFO] [stderr] error: could not compile `xi-core-lib` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "972469a70a807032778b4252fb7e5cf2769c04bb465f4f3f7f35f3e55458a2e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "972469a70a807032778b4252fb7e5cf2769c04bb465f4f3f7f35f3e55458a2e1", kill_on_drop: false }` [INFO] [stdout] 972469a70a807032778b4252fb7e5cf2769c04bb465f4f3f7f35f3e55458a2e1