[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] testing ted-editor/ted against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-editor%2Fted" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ted-editor/ted on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-28/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" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ropey v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33c5c5d06000c809e214abc78441090370435aa8e3d0201a52288c4757061142 [INFO] running `Command { std: "docker" "start" "-a" "33c5c5d06000c809e214abc78441090370435aa8e3d0201a52288c4757061142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33c5c5d06000c809e214abc78441090370435aa8e3d0201a52288c4757061142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33c5c5d06000c809e214abc78441090370435aa8e3d0201a52288c4757061142", kill_on_drop: false }` [INFO] [stdout] 33c5c5d06000c809e214abc78441090370435aa8e3d0201a52288c4757061142 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ee5ab8d980c6a783baf161186abef264a70ca930db30bd873bd3564a7b9d4fb [INFO] running `Command { std: "docker" "start" "-a" "4ee5ab8d980c6a783baf161186abef264a70ca930db30bd873bd3564a7b9d4fb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling ropey v1.1.0 [INFO] [stderr] Compiling termion v1.5.4 [INFO] [stderr] Compiling 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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 4.01s [INFO] running `Command { std: "docker" "inspect" "4ee5ab8d980c6a783baf161186abef264a70ca930db30bd873bd3564a7b9d4fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ee5ab8d980c6a783baf161186abef264a70ca930db30bd873bd3564a7b9d4fb", kill_on_drop: false }` [INFO] [stdout] 4ee5ab8d980c6a783baf161186abef264a70ca930db30bd873bd3564a7b9d4fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54ca47a4add47bbc053af6210a676b7ea25640973744cc62e4f08d435517ae87 [INFO] running `Command { std: "docker" "start" "-a" "54ca47a4add47bbc053af6210a676b7ea25640973744cc62e4f08d435517ae87", kill_on_drop: false }` [INFO] [stderr] Compiling 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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 test [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "54ca47a4add47bbc053af6210a676b7ea25640973744cc62e4f08d435517ae87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54ca47a4add47bbc053af6210a676b7ea25640973744cc62e4f08d435517ae87", kill_on_drop: false }` [INFO] [stdout] 54ca47a4add47bbc053af6210a676b7ea25640973744cc62e4f08d435517ae87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a48935df95b8a17e16948f9fb9315168cade1fd8d8fcf31e85beef176710870b [INFO] running `Command { std: "docker" "start" "-a" "a48935df95b8a17e16948f9fb9315168cade1fd8d8fcf31e85beef176710870b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: cannot borrow `self.cursors` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/main.rs:257:25 [INFO] [stderr] | [INFO] [stderr] 255 | if let Some(cursor) = self.cursors.first() { [INFO] [stderr] | -------------------- immutable borrow occurs here [INFO] [stderr] 256 | if cursor.line > 0 { [INFO] [stderr] 257 | self.cursors.insert(0, Cursor::new(cursor.line - 1, cursor.col)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `self.cursors` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/main.rs:265:25 [INFO] [stderr] | [INFO] [stderr] 263 | if let Some(cursor) = self.cursors.last() { [INFO] [stderr] | ------------------- immutable borrow occurs here [INFO] [stderr] 264 | if cursor.line < lines(&self.rope) { [INFO] [stderr] 265 | self.cursors.push(Cursor::new(cursor.line + 1, cursor.col)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `GotoLine` [INFO] [stderr] --> src/main.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | GotoLine(usize), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `gotoline` [INFO] [stderr] --> src/main.rs:290:8 [INFO] [stderr] | [INFO] [stderr] 290 | fn gotoline(&mut self, line: usize) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ted` (bin "ted" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ted-9d184f2a28753159) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a48935df95b8a17e16948f9fb9315168cade1fd8d8fcf31e85beef176710870b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a48935df95b8a17e16948f9fb9315168cade1fd8d8fcf31e85beef176710870b", kill_on_drop: false }` [INFO] [stdout] a48935df95b8a17e16948f9fb9315168cade1fd8d8fcf31e85beef176710870b