[INFO] cloning repository https://github.com/LaviejaD/text-editor-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LaviejaD/text-editor-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaviejaD%2Ftext-editor-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaviejaD%2Ftext-editor-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73fea8802421d342104622b07b1f6990a21b75e8 [INFO] building LaviejaD/text-editor-rust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaviejaD%2Ftext-editor-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LaviejaD/text-editor-rust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LaviejaD/text-editor-rust [INFO] finished tweaking git repo https://github.com/LaviejaD/text-editor-rust [INFO] tweaked toml for git repo https://github.com/LaviejaD/text-editor-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LaviejaD/text-editor-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded text2art v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f72e7887a4d26061feb997652128c77f50eccddeb7c66269c512c3b8244f597c [INFO] running `Command { std: "docker" "start" "-a" "f72e7887a4d26061feb997652128c77f50eccddeb7c66269c512c3b8244f597c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f72e7887a4d26061feb997652128c77f50eccddeb7c66269c512c3b8244f597c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f72e7887a4d26061feb997652128c77f50eccddeb7c66269c512c3b8244f597c", kill_on_drop: false }` [INFO] [stdout] f72e7887a4d26061feb997652128c77f50eccddeb7c66269c512c3b8244f597c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8dd76f0d8ddca5ab2927ba95813bd1ff40d9c8785173958ad5927fab6ffaac2 [INFO] running `Command { std: "docker" "start" "-a" "f8dd76f0d8ddca5ab2927ba95813bd1ff40d9c8785173958ad5927fab6ffaac2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling text2art v1.0.1 [INFO] [stderr] Compiling text-editor-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/editormod/rows.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | default::{self, Default}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicFonts`, `Font`, and `Printer` [INFO] [stdout] --> src/output.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use text2art::{BasicFonts, Font, Printer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/output.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | for i in 0..welcome.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/output.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let info = format!("1"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAB_STOP` is never used [INFO] [stdout] --> src/editormod/editorcontents.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const TAB_STOP: usize = 8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/editormod/rows.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct EditorRows { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 32 | row_contents: Vec, [INFO] [stdout] 33 | pub filename: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CleanUp` is never constructed [INFO] [stdout] --> src/output.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct CleanUp; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_status_bar` is never used [INFO] [stdout] --> src/output.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Output { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | fn draw_status_bar(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/output.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | res.push(VERSION.clone().to_string()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.66s [INFO] running `Command { std: "docker" "inspect" "f8dd76f0d8ddca5ab2927ba95813bd1ff40d9c8785173958ad5927fab6ffaac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8dd76f0d8ddca5ab2927ba95813bd1ff40d9c8785173958ad5927fab6ffaac2", kill_on_drop: false }` [INFO] [stdout] f8dd76f0d8ddca5ab2927ba95813bd1ff40d9c8785173958ad5927fab6ffaac2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25a381a0f85b3cf653fd435bf90aa90ae18f6a92913f1ea92f41cfcc43085192 [INFO] running `Command { std: "docker" "start" "-a" "25a381a0f85b3cf653fd435bf90aa90ae18f6a92913f1ea92f41cfcc43085192", kill_on_drop: false }` [INFO] [stderr] Compiling text-editor-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/editormod/rows.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | default::{self, Default}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicFonts`, `Font`, and `Printer` [INFO] [stdout] --> src/output.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use text2art::{BasicFonts, Font, Printer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/output.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | for i in 0..welcome.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/output.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let info = format!("1"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAB_STOP` is never used [INFO] [stdout] --> src/editormod/editorcontents.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const TAB_STOP: usize = 8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/editormod/rows.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct EditorRows { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 32 | row_contents: Vec, [INFO] [stdout] 33 | pub filename: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CleanUp` is never constructed [INFO] [stdout] --> src/output.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct CleanUp; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_status_bar` is never used [INFO] [stdout] --> src/output.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Output { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | fn draw_status_bar(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/output.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | res.push(VERSION.clone().to_string()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "25a381a0f85b3cf653fd435bf90aa90ae18f6a92913f1ea92f41cfcc43085192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25a381a0f85b3cf653fd435bf90aa90ae18f6a92913f1ea92f41cfcc43085192", kill_on_drop: false }` [INFO] [stdout] 25a381a0f85b3cf653fd435bf90aa90ae18f6a92913f1ea92f41cfcc43085192