[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#3ec2a775459d36c7d90654e47c56ff7bb0d542ab for pr-139087 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsasakissa%2Fhecto" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sasakissa/hecto on toolchain 3ec2a775459d36c7d90654e47c56ff7bb0d542ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "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-7-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking sasakissa/hecto against try#3ec2a775459d36c7d90654e47c56ff7bb0d542ab for pr-139087 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsasakissa%2Fhecto" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sasakissa/hecto on toolchain 3ec2a775459d36c7d90654e47c56ff7bb0d542ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "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-7-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bbd76021fa3c0e7967df126972fb64e9818908be4b26efaa5196abf986bf022 [INFO] running `Command { std: "docker" "start" "-a" "5bbd76021fa3c0e7967df126972fb64e9818908be4b26efaa5196abf986bf022", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bbd76021fa3c0e7967df126972fb64e9818908be4b26efaa5196abf986bf022", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bbd76021fa3c0e7967df126972fb64e9818908be4b26efaa5196abf986bf022", kill_on_drop: false }` [INFO] [stdout] 5bbd76021fa3c0e7967df126972fb64e9818908be4b26efaa5196abf986bf022 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10dd8ba181af8a19e9e72ea25d53cef6666f669b431c2843152b9796b739d065 [INFO] running `Command { std: "docker" "start" "-a" "10dd8ba181af8a19e9e72ea25d53cef6666f669b431c2843152b9796b739d065", 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] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `unhighlight_rows` with a similar name [INFO] [stdout] | [INFO] [stdout] 97 | self.unhighlight_rows(at.y); [INFO] [stdout] | + [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] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `unhighlight_rows` with a similar name [INFO] [stdout] | [INFO] [stdout] 97 | self.unhighlight_rows(at.y); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[Row]` cannot be indexed by `RangeTo>` [INFO] [stdout] --> src/document.rs:162:35 [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] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `RangeTo` implements `SliceIndex<[T]>` [INFO] [stdout] `RangeTo` implements `SliceIndex` [INFO] [stdout] = note: required for `Vec` to implement `Index>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[Row]` cannot be indexed by `RangeTo>` [INFO] [stdout] --> src/document.rs:162:35 [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] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `RangeTo` implements `SliceIndex<[T]>` [INFO] [stdout] `RangeTo` implements `SliceIndex` [INFO] [stdout] = note: required for `Vec` to implement `Index>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/editor.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 96 | self.document.highlight( [INFO] [stdout] | --------- arguments to this method are incorrect [INFO] [stdout] 97 | &self.highlighted_word, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `Option<&str>`, found `&Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&str>` [INFO] [stdout] found reference `&Option` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/document.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn highlight(&mut self, word: Option<&str>, until: Option) { [INFO] [stdout] | ^^^^^^^^^ ------------------ [INFO] [stdout] help: try using `.as_deref()` to convert `&Option` to `Option<&str>` [INFO] [stdout] | [INFO] [stdout] 97 - &self.highlighted_word, [INFO] [stdout] 97 + self.highlighted_word.as_deref(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/editor.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 96 | self.document.highlight( [INFO] [stdout] | --------- arguments to this method are incorrect [INFO] [stdout] 97 | &self.highlighted_word, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `Option<&str>`, found `&Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&str>` [INFO] [stdout] found reference `&Option` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/document.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn highlight(&mut self, word: Option<&str>, until: Option) { [INFO] [stdout] | ^^^^^^^^^ ------------------ [INFO] [stdout] help: try using `.as_deref()` to convert `&Option` to `Option<&str>` [INFO] [stdout] | [INFO] [stdout] 97 - &self.highlighted_word, [INFO] [stdout] 97 + self.highlighted_word.as_deref(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | let mut offset = &mut self.offset; [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | let mut offset = &mut self.offset; [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] 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] 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: could not compile `hecto` (bin "hecto") due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hecto` (bin "hecto" test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "10dd8ba181af8a19e9e72ea25d53cef6666f669b431c2843152b9796b739d065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10dd8ba181af8a19e9e72ea25d53cef6666f669b431c2843152b9796b739d065", kill_on_drop: false }` [INFO] [stdout] 10dd8ba181af8a19e9e72ea25d53cef6666f669b431c2843152b9796b739d065