[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-editor%2Fted" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ted-editor/ted 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/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-14/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termion v1.5.4 [INFO] [stderr] Downloaded ropey v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] c8d04e63d25977b641de475b25c5ebe2d6050b5a97de8f1447c167e851a22f69 [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" "c8d04e63d25977b641de475b25c5ebe2d6050b5a97de8f1447c167e851a22f69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8d04e63d25977b641de475b25c5ebe2d6050b5a97de8f1447c167e851a22f69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8d04e63d25977b641de475b25c5ebe2d6050b5a97de8f1447c167e851a22f69", kill_on_drop: false }` [INFO] [stdout] c8d04e63d25977b641de475b25c5ebe2d6050b5a97de8f1447c167e851a22f69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] e76f4eab17f32379f4f4c07e81508e7275a25e86f1ebbe53a201bd217977c199 [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" "e76f4eab17f32379f4f4c07e81508e7275a25e86f1ebbe53a201bd217977c199", kill_on_drop: false }` [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: 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.73s [INFO] running `Command { std: "docker" "inspect" "e76f4eab17f32379f4f4c07e81508e7275a25e86f1ebbe53a201bd217977c199", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e76f4eab17f32379f4f4c07e81508e7275a25e86f1ebbe53a201bd217977c199", kill_on_drop: false }` [INFO] [stdout] e76f4eab17f32379f4f4c07e81508e7275a25e86f1ebbe53a201bd217977c199