[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-editor%2Fted" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ted-editor/ted on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-26/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" "+1.60.0" "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 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-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc2f9720a8322690f3f3999e736055444935e72d353fd10a6be21e54afe95ed9 [INFO] running `Command { std: "docker" "start" "-a" "cc2f9720a8322690f3f3999e736055444935e72d353fd10a6be21e54afe95ed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc2f9720a8322690f3f3999e736055444935e72d353fd10a6be21e54afe95ed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc2f9720a8322690f3f3999e736055444935e72d353fd10a6be21e54afe95ed9", kill_on_drop: false }` [INFO] [stdout] cc2f9720a8322690f3f3999e736055444935e72d353fd10a6be21e54afe95ed9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01ebe7cfd2a6f6db27fc29b7a05251ae99ba73b63fff6ba4829bdd97016a0a59 [INFO] running `Command { std: "docker" "start" "-a" "01ebe7cfd2a6f6db27fc29b7a05251ae99ba73b63fff6ba4829bdd97016a0a59", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.66 [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 3.01s [INFO] running `Command { std: "docker" "inspect" "01ebe7cfd2a6f6db27fc29b7a05251ae99ba73b63fff6ba4829bdd97016a0a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01ebe7cfd2a6f6db27fc29b7a05251ae99ba73b63fff6ba4829bdd97016a0a59", kill_on_drop: false }` [INFO] [stdout] 01ebe7cfd2a6f6db27fc29b7a05251ae99ba73b63fff6ba4829bdd97016a0a59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b98e9af186d1b4961b83b22e926ed157a02e482fab7edb73687fb34bb8ac7c7b [INFO] running `Command { std: "docker" "start" "-a" "b98e9af186d1b4961b83b22e926ed157a02e482fab7edb73687fb34bb8ac7c7b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "b98e9af186d1b4961b83b22e926ed157a02e482fab7edb73687fb34bb8ac7c7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b98e9af186d1b4961b83b22e926ed157a02e482fab7edb73687fb34bb8ac7c7b", kill_on_drop: false }` [INFO] [stdout] b98e9af186d1b4961b83b22e926ed157a02e482fab7edb73687fb34bb8ac7c7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5dacd49e3999b2c9059ca4f2851dc0d91c7b14d36e49009515003d5492738c17 [INFO] running `Command { std: "docker" "start" "-a" "5dacd49e3999b2c9059ca4f2851dc0d91c7b14d36e49009515003d5492738c17", 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.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ted-0c2ca0e4971c064c) [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" "5dacd49e3999b2c9059ca4f2851dc0d91c7b14d36e49009515003d5492738c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dacd49e3999b2c9059ca4f2851dc0d91c7b14d36e49009515003d5492738c17", kill_on_drop: false }` [INFO] [stdout] 5dacd49e3999b2c9059ca4f2851dc0d91c7b14d36e49009515003d5492738c17