[INFO] cloning repository https://github.com/ted-editor/ted [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ted-editor/ted" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-editor%2Fted", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-editor%2Fted'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2aab5501a45ed6f4c5350e1c33989ee255602e8 [INFO] checking ted-editor/ted against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-editor%2Fted" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ted-editor/ted on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ted-editor/ted [INFO] finished tweaking git repo https://github.com/ted-editor/ted [INFO] tweaked toml for git repo https://github.com/ted-editor/ted written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/ted-editor/ted already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] df6f7e67798c09b5e631c2721c02b61264f1ff8d0c1b9ee022dfef079d5adcdc [INFO] running `Command { std: "docker" "start" "-a" "df6f7e67798c09b5e631c2721c02b61264f1ff8d0c1b9ee022dfef079d5adcdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df6f7e67798c09b5e631c2721c02b61264f1ff8d0c1b9ee022dfef079d5adcdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df6f7e67798c09b5e631c2721c02b61264f1ff8d0c1b9ee022dfef079d5adcdc", kill_on_drop: false }` [INFO] [stdout] df6f7e67798c09b5e631c2721c02b61264f1ff8d0c1b9ee022dfef079d5adcdc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f41f964c56c823470a2edec6b1259f1cac33edf41317df86142e2626e16d7f08 [INFO] running `Command { std: "docker" "start" "-a" "f41f964c56c823470a2edec6b1259f1cac33edf41317df86142e2626e16d7f08", kill_on_drop: false }` [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking termion v1.5.4 [INFO] [stderr] Checking ropey v1.1.0 [INFO] [stderr] Checking ted v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: cannot borrow `self.cursors` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:257:25 [INFO] [stdout] | [INFO] [stdout] 255 | if let Some(cursor) = self.cursors.first() { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] 256 | if cursor.line > 0 { [INFO] [stdout] 257 | self.cursors.insert(0, Cursor::new(cursor.line - 1, cursor.col)); [INFO] [stdout] | ^^^^^^^^^^^^ ----------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `self.cursors` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:257:25 [INFO] [stdout] | [INFO] [stdout] 255 | if let Some(cursor) = self.cursors.first() { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] 256 | if cursor.line > 0 { [INFO] [stdout] 257 | self.cursors.insert(0, Cursor::new(cursor.line - 1, cursor.col)); [INFO] [stdout] | ^^^^^^^^^^^^ ----------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `self.cursors` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 263 | if let Some(cursor) = self.cursors.last() { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] 264 | if cursor.line < lines(&self.rope) { [INFO] [stdout] 265 | self.cursors.push(Cursor::new(cursor.line + 1, cursor.col)); [INFO] [stdout] | ^^^^^^^^^^^^ ----------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `self.cursors` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 263 | if let Some(cursor) = self.cursors.last() { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] 264 | if cursor.line < lines(&self.rope) { [INFO] [stdout] 265 | self.cursors.push(Cursor::new(cursor.line + 1, cursor.col)); [INFO] [stdout] | ^^^^^^^^^^^^ ----------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GotoLine` [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | GotoLine(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gotoline` [INFO] [stdout] --> src/main.rs:290:8 [INFO] [stdout] | [INFO] [stdout] 290 | fn gotoline(&mut self, line: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GotoLine` [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | GotoLine(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gotoline` [INFO] [stdout] --> src/main.rs:290:8 [INFO] [stdout] | [INFO] [stdout] 290 | fn gotoline(&mut self, line: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "f41f964c56c823470a2edec6b1259f1cac33edf41317df86142e2626e16d7f08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f41f964c56c823470a2edec6b1259f1cac33edf41317df86142e2626e16d7f08", kill_on_drop: false }` [INFO] [stdout] f41f964c56c823470a2edec6b1259f1cac33edf41317df86142e2626e16d7f08