[INFO] cloning repository https://github.com/portstrom/editor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/portstrom/editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportstrom%2Feditor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportstrom%2Feditor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 486584b71bcb943b25f22f57105fb62eb4851bc2 [INFO] checking portstrom/editor against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportstrom%2Feditor" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/portstrom/editor on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/portstrom/editor [INFO] finished tweaking git repo https://github.com/portstrom/editor [INFO] tweaked toml for git repo https://github.com/portstrom/editor written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/portstrom/editor already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 803879e7e8f45d76668ff06d5baeddac05834ef9e4e72a941135ef7e9dd76543 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "803879e7e8f45d76668ff06d5baeddac05834ef9e4e72a941135ef7e9dd76543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "803879e7e8f45d76668ff06d5baeddac05834ef9e4e72a941135ef7e9dd76543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "803879e7e8f45d76668ff06d5baeddac05834ef9e4e72a941135ef7e9dd76543", kill_on_drop: false }` [INFO] [stdout] 803879e7e8f45d76668ff06d5baeddac05834ef9e4e72a941135ef7e9dd76543 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed396843672b49d022efae03801f00dc68d3a55fc098f4ba9e04463d1fd43d2b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ed396843672b49d022efae03801f00dc68d3a55fc098f4ba9e04463d1fd43d2b", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking bytecount v0.5.1 [INFO] [stderr] Checking unicode-segmentation v1.2.1 [INFO] [stderr] Checking editor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/rope/tree.rs:631:52 [INFO] [stdout] | [INFO] [stdout] 631 | pub fn prev>(&mut self) -> 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 type [INFO] [stdout] --> src/rope/tree.rs:668:52 [INFO] [stdout] | [INFO] [stdout] 668 | pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::interval` [INFO] [stdout] --> src/rope/interval.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | use crate::interval::Interval; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::rope::interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_test` [INFO] [stdout] --> src/rope/rope.rs:950:9 [INFO] [stdout] | [INFO] [stdout] 950 | use serde_test::{assert_tokens, Token}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/rope/rope.rs:1335:20 [INFO] [stdout] | [INFO] [stdout] 1335 | let json = serde_json::to_string(&rope).expect("error serializing"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/rope/rope.rs:1337:13 [INFO] [stdout] | [INFO] [stdout] 1337 | serde_json::from_str::(json.as_str()).expect("error deserializing"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rope` [INFO] [stdout] --> src/rope/tree.rs:1002:20 [INFO] [stdout] | [INFO] [stdout] 1002 | let text = Rope::from(build_triangle(n)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::Rope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LinesMetric` in this scope [INFO] [stdout] --> src/rope/tree.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 1008 | .next::() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::LinesMetric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LinesMetric` in this scope [INFO] [stdout] --> src/rope/tree.rs:1013:34 [INFO] [stdout] | [INFO] [stdout] 1013 | assert_eq!(cursor.next::(), None); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::LinesMetric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rope` [INFO] [stdout] --> src/rope/tree.rs:1018:20 [INFO] [stdout] | [INFO] [stdout] 1018 | let text = Rope::from(String::new()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::Rope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rope` [INFO] [stdout] --> src/rope/tree.rs:1024:20 [INFO] [stdout] | [INFO] [stdout] 1024 | let text = Rope::from(String::new()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::Rope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LinesMetric` in this scope [INFO] [stdout] --> src/rope/tree.rs:1026:34 [INFO] [stdout] | [INFO] [stdout] 1026 | assert_eq!(cursor.next::(), None); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::LinesMetric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rope` in this scope [INFO] [stdout] --> src/rope/tree.rs:1032:19 [INFO] [stdout] | [INFO] [stdout] 1032 | let text: Rope = build_triangle(50).into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::Rope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LinesMetric` in this scope [INFO] [stdout] --> src/rope/tree.rs:1035:45 [INFO] [stdout] | [INFO] [stdout] 1035 | while let Some(nxt) = cursor.next::() { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::LinesMetric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LinesMetric` in this scope [INFO] [stdout] --> src/rope/tree.rs:1040:34 [INFO] [stdout] | [INFO] [stdout] 1040 | let auto = cursor.iter::().collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::LinesMetric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rope` [INFO] [stdout] --> src/rope/tree.rs:1055:17 [INFO] [stdout] | [INFO] [stdout] 1055 | let r = Rope::from(s.to_owned()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::Rope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LinesMetric` in this scope [INFO] [stdout] --> src/rope/tree.rs:1058:31 [INFO] [stdout] | [INFO] [stdout] 1058 | let it = c.next::(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::LinesMetric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rope` [INFO] [stdout] --> src/rope/tree.rs:1089:17 [INFO] [stdout] | [INFO] [stdout] 1089 | let r = Rope::from(s.to_owned()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::Rope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LinesMetric` in this scope [INFO] [stdout] --> src/rope/tree.rs:1092:31 [INFO] [stdout] | [INFO] [stdout] 1092 | let it = c.prev::(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::LinesMetric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rope` in this scope [INFO] [stdout] --> src/rope/tree.rs:1112:19 [INFO] [stdout] | [INFO] [stdout] 1112 | let text: Rope = "this\nis\nalil\nstring".into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::Rope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LinesMetric` in this scope [INFO] [stdout] --> src/rope/tree.rs:1114:40 [INFO] [stdout] | [INFO] [stdout] 1114 | assert_eq!(cursor.at_or_next::(), Some(5)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::LinesMetric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LinesMetric` in this scope [INFO] [stdout] --> src/rope/tree.rs:1115:40 [INFO] [stdout] | [INFO] [stdout] 1115 | assert_eq!(cursor.at_or_next::(), Some(5)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::LinesMetric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LinesMetric` in this scope [INFO] [stdout] --> src/rope/tree.rs:1117:40 [INFO] [stdout] | [INFO] [stdout] 1117 | assert_eq!(cursor.at_or_next::(), Some(5)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::LinesMetric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LinesMetric` in this scope [INFO] [stdout] --> src/rope/tree.rs:1118:40 [INFO] [stdout] | [INFO] [stdout] 1118 | assert_eq!(cursor.at_or_prev::(), Some(5)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::LinesMetric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LinesMetric` in this scope [INFO] [stdout] --> src/rope/tree.rs:1120:40 [INFO] [stdout] | [INFO] [stdout] 1120 | assert_eq!(cursor.at_or_prev::(), Some(5)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::LinesMetric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LinesMetric` in this scope [INFO] [stdout] --> src/rope/tree.rs:1122:40 [INFO] [stdout] | [INFO] [stdout] 1122 | assert_eq!(cursor.at_or_next::(), Some(8)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::LinesMetric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LinesMetric` in this scope [INFO] [stdout] --> src/rope/tree.rs:1123:40 [INFO] [stdout] | [INFO] [stdout] 1123 | assert_eq!(cursor.at_or_next::(), Some(8)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::LinesMetric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rope` [INFO] [stdout] --> src/rope/tree.rs:1128:24 [INFO] [stdout] | [INFO] [stdout] 1128 | let mut text = Rope::from("a"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::Rope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LinesMetric` in this scope [INFO] [stdout] --> src/rope/tree.rs:1132:38 [INFO] [stdout] | [INFO] [stdout] 1132 | assert_eq!(cursor.next::(), None); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::LinesMetric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LinesMetric` in this scope [INFO] [stdout] --> src/rope/tree.rs:1138:38 [INFO] [stdout] | [INFO] [stdout] 1138 | assert_eq!(cursor.prev::(), None); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 972 | use crate::rope::rope::LinesMetric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/rope/tree.rs:631:52 [INFO] [stdout] | [INFO] [stdout] 631 | pub fn prev>(&mut self) -> 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 type [INFO] [stdout] --> src/rope/tree.rs:668:52 [INFO] [stdout] | [INFO] [stdout] 668 | pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::rope::*` [INFO] [stdout] --> src/rope/tree.rs:973:9 [INFO] [stdout] | [INFO] [stdout] 973 | use crate::rope::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/rope/spans.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | fn interval(&self, len: usize) -> Interval { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rich_text_document/blocks.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let mut items = self.items.split_off(split_index); [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] error[E0369]: binary operation `==` cannot be applied to type `tree::Node` [INFO] [stdout] --> src/rope/rope.rs:1185:19 [INFO] [stdout] | [INFO] [stdout] 1185 | assert!(a == a2); [INFO] [stdout] | - ^^ -- tree::Node [INFO] [stdout] | | [INFO] [stdout] | tree::Node [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `tree::Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `tree::Node` [INFO] [stdout] --> src/rope/rope.rs:1186:19 [INFO] [stdout] | [INFO] [stdout] 1186 | assert!(a != b); [INFO] [stdout] | - ^^ - tree::Node [INFO] [stdout] | | [INFO] [stdout] | tree::Node [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `tree::Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `tree::Node` [INFO] [stdout] --> src/rope/rope.rs:1187:19 [INFO] [stdout] | [INFO] [stdout] 1187 | assert!(a != empty); [INFO] [stdout] | - ^^ ----- tree::Node [INFO] [stdout] | | [INFO] [stdout] | tree::Node [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `tree::Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `tree::Node` [INFO] [stdout] --> src/rope/rope.rs:1188:23 [INFO] [stdout] | [INFO] [stdout] 1188 | assert!(empty == empty); [INFO] [stdout] | ----- ^^ ----- tree::Node [INFO] [stdout] | | [INFO] [stdout] | tree::Node [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `tree::Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `tree::Node` [INFO] [stdout] --> src/rope/rope.rs:1189:31 [INFO] [stdout] | [INFO] [stdout] 1189 | assert!(a.slice(0..0) == empty); [INFO] [stdout] | ------------- ^^ ----- tree::Node [INFO] [stdout] | | [INFO] [stdout] | tree::Node [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `tree::Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `tree::Node` [INFO] [stdout] --> src/rope/rope.rs:1209:19 [INFO] [stdout] | [INFO] [stdout] 1209 | assert!(r != a_rope); [INFO] [stdout] | - ^^ ------ tree::Node [INFO] [stdout] | | [INFO] [stdout] | tree::Node [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `tree::Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `tree::Node` [INFO] [stdout] --> src/rope/rope.rs:1210:44 [INFO] [stdout] | [INFO] [stdout] 1210 | assert!(r.clone().slice(..a.len()) == a_rope); [INFO] [stdout] | -------------------------- ^^ ------ tree::Node [INFO] [stdout] | | [INFO] [stdout] | tree::Node [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `tree::Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `tree::Node` [INFO] [stdout] --> src/rope/rope.rs:1211:44 [INFO] [stdout] | [INFO] [stdout] 1211 | assert!(r.clone().slice(a.len()..) == b_rope); [INFO] [stdout] | -------------------------- ^^ ------ tree::Node [INFO] [stdout] | | [INFO] [stdout] | tree::Node [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `tree::Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `tree::Node` [INFO] [stdout] --> src/rope/rope.rs:1212:19 [INFO] [stdout] | [INFO] [stdout] 1212 | assert!(r == a_rope.clone() + b_rope.clone()); [INFO] [stdout] | - ^^ ------------------------------- tree::Node [INFO] [stdout] | | [INFO] [stdout] | tree::Node [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `tree::Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `tree::Node` [INFO] [stdout] --> src/rope/rope.rs:1213:19 [INFO] [stdout] | [INFO] [stdout] 1213 | assert!(r != b_rope + a_rope); [INFO] [stdout] | - ^^ --------------- tree::Node [INFO] [stdout] | | [INFO] [stdout] | tree::Node [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `tree::Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `tree::Node` [INFO] [stdout] --> src/rope/rope.rs:1338:9 [INFO] [stdout] | [INFO] [stdout] 1338 | assert_eq!(rope, deserialized_rope); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | tree::Node [INFO] [stdout] | _ [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `tree::Node` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Code` [INFO] [stdout] --> src/rich_text_document/blocks.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Code, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Heading2` [INFO] [stdout] --> src/rich_text_document/blocks.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Heading2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Heading3` [INFO] [stdout] --> src/rich_text_document/blocks.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Heading3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Heading4` [INFO] [stdout] --> src/rich_text_document/blocks.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Heading4, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Heading5` [INFO] [stdout] --> src/rich_text_document/blocks.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Heading5, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Heading6` [INFO] [stdout] --> src/rich_text_document/blocks.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Heading6, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Quote` [INFO] [stdout] --> src/rich_text_document/blocks.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Quote, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnorderedList` [INFO] [stdout] --> src/rich_text_document/blocks.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | UnorderedList, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Code` [INFO] [stdout] --> src/rich_text_document/document.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Code, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Italic` [INFO] [stdout] --> src/rich_text_document/document.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Italic, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Link` [INFO] [stdout] --> src/rich_text_document/document.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Link { target: std::rc::Rc }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Strike` [INFO] [stdout] --> src/rich_text_document/document.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Strike, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Subscript` [INFO] [stdout] --> src/rich_text_document/document.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Subscript, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Superscript` [INFO] [stdout] --> src/rich_text_document/document.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Superscript, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_str_stacked` [INFO] [stdout] --> src/rope/rope.rs:715:12 [INFO] [stdout] | [INFO] [stdout] 715 | pub fn push_str_stacked(&mut self, s: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `split_as_leaves` [INFO] [stdout] --> src/rope/rope.rs:721:4 [INFO] [stdout] | [INFO] [stdout] 721 | fn split_as_leaves(mut s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prev_codepoint` [INFO] [stdout] --> src/rope/rope.rs:787:12 [INFO] [stdout] | [INFO] [stdout] 787 | pub fn prev_codepoint(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_codepoint` [INFO] [stdout] --> src/rope/rope.rs:797:12 [INFO] [stdout] | [INFO] [stdout] 797 | pub fn next_codepoint(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_leaves` [INFO] [stdout] --> src/rope/tree.rs:472:12 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn push_leaves(&mut self, leaves: Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `root` [INFO] [stdout] --> src/rope/tree.rs:567:12 [INFO] [stdout] | [INFO] [stdout] 567 | pub fn root(&self) -> &'a Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `at_or_next` [INFO] [stdout] --> src/rope/tree.rs:700:12 [INFO] [stdout] | [INFO] [stdout] 700 | pub fn at_or_next>(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `at_or_prev` [INFO] [stdout] --> src/rope/tree.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 712 | pub fn at_or_prev>(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/rope/tree.rs:734:12 [INFO] [stdout] | [INFO] [stdout] 734 | pub fn iter<'c, M: Metric>(&'c mut self) -> CursorIter<'c, 'a, N, M> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pos` [INFO] [stdout] --> src/rope/tree.rs:953:12 [INFO] [stdout] | [INFO] [stdout] 953 | pub fn pos(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `tree::Node` [INFO] [stdout] --> src/rope/tree.rs:996:9 [INFO] [stdout] | [INFO] [stdout] 996 | assert_eq!(tree_default, tree_stacked); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | tree::Node [INFO] [stdout] | tree::Node [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `tree::Node` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0369, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `editor` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "ed396843672b49d022efae03801f00dc68d3a55fc098f4ba9e04463d1fd43d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed396843672b49d022efae03801f00dc68d3a55fc098f4ba9e04463d1fd43d2b", kill_on_drop: false }` [INFO] [stdout] ed396843672b49d022efae03801f00dc68d3a55fc098f4ba9e04463d1fd43d2b