[INFO] cloning repository https://github.com/sasakissa/hecto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sasakissa/hecto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsasakissa%2Fhecto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsasakissa%2Fhecto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a3158ad81000e724d9f844ff52aeb5338451844 [INFO] checking sasakissa/hecto against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsasakissa%2Fhecto" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sasakissa/hecto on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sasakissa/hecto [INFO] finished tweaking git repo https://github.com/sasakissa/hecto [INFO] tweaked toml for git repo https://github.com/sasakissa/hecto written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/sasakissa/hecto already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed58070ad2e6786c1ddc7df0a3a3c4d6f4a0328351693ff71dcef29bee79d59e [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" "ed58070ad2e6786c1ddc7df0a3a3c4d6f4a0328351693ff71dcef29bee79d59e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed58070ad2e6786c1ddc7df0a3a3c4d6f4a0328351693ff71dcef29bee79d59e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed58070ad2e6786c1ddc7df0a3a3c4d6f4a0328351693ff71dcef29bee79d59e", kill_on_drop: false }` [INFO] [stdout] ed58070ad2e6786c1ddc7df0a3a3c4d6f4a0328351693ff71dcef29bee79d59e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d59b34d355520aa8fe097f4aeb0e3cc42463477b4ceccb3bcb3277bbe07ce310 [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" "d59b34d355520aa8fe097f4aeb0e3cc42463477b4ceccb3bcb3277bbe07ce310", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking hecto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `filetype` [INFO] [stdout] --> src/document.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{filetype, FileType, Position, Row, SearchDirection}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `filetype` [INFO] [stdout] --> src/document.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{filetype, FileType, Position, Row, SearchDirection}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unhighlight_row` found for mutable reference `&mut Document` in the current scope [INFO] [stdout] --> src/document.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | self.unhighlight_row(at.y); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `unhighlight_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[Row]` cannot be indexed by `RangeTo>` [INFO] [stdout] --> src/document.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | for row in &mut self.rows[..until] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[Row]>` is not implemented for `RangeTo>` [INFO] [stdout] = note: required because of the requirements on the impl of `Index>>` for `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/editor.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | &self.highlighted_word, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected enum `Option`, found `&Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&str>` [INFO] [stdout] found reference `&Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unhighlight_row` found for mutable reference `&mut Document` in the current scope [INFO] [stdout] --> src/document.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | self.unhighlight_row(at.y); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `unhighlight_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hecto` [INFO] [stdout] error[E0277]: the type `[Row]` cannot be indexed by `RangeTo>` [INFO] [stdout] --> src/document.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | for row in &mut self.rows[..until] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[Row]>` is not implemented for `RangeTo>` [INFO] [stdout] = note: required because of the requirements on the impl of `Index>>` for `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/editor.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | &self.highlighted_word, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected enum `Option`, found `&Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&str>` [INFO] [stdout] found reference `&Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d59b34d355520aa8fe097f4aeb0e3cc42463477b4ceccb3bcb3277bbe07ce310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d59b34d355520aa8fe097f4aeb0e3cc42463477b4ceccb3bcb3277bbe07ce310", kill_on_drop: false }` [INFO] [stdout] d59b34d355520aa8fe097f4aeb0e3cc42463477b4ceccb3bcb3277bbe07ce310