[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 master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-editor%2Fted" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ted-editor/ted on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/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" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 208a776443e81c9a2822cb28dfc83755057c8815b66a91a8cf6a3b8a94687cd3 [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" "208a776443e81c9a2822cb28dfc83755057c8815b66a91a8cf6a3b8a94687cd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "208a776443e81c9a2822cb28dfc83755057c8815b66a91a8cf6a3b8a94687cd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "208a776443e81c9a2822cb28dfc83755057c8815b66a91a8cf6a3b8a94687cd3", kill_on_drop: false }` [INFO] [stdout] 208a776443e81c9a2822cb28dfc83755057c8815b66a91a8cf6a3b8a94687cd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 861aa89a253444ef7a003b96e00f077ae769b6d715daae6ea1a8a2ffcaf0f28b [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" "861aa89a253444ef7a003b96e00f077ae769b6d715daae6ea1a8a2ffcaf0f28b", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking ropey v1.1.0 [INFO] [stderr] Checking termion v1.5.4 [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: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: 4 warnings emitted [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: 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.49s [INFO] running `Command { std: "docker" "inspect" "861aa89a253444ef7a003b96e00f077ae769b6d715daae6ea1a8a2ffcaf0f28b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "861aa89a253444ef7a003b96e00f077ae769b6d715daae6ea1a8a2ffcaf0f28b", kill_on_drop: false }` [INFO] [stdout] 861aa89a253444ef7a003b96e00f077ae769b6d715daae6ea1a8a2ffcaf0f28b