[INFO] cloning repository https://github.com/jason1105/rust_texteditor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jason1105/rust_texteditor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjason1105%2Frust_texteditor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjason1105%2Frust_texteditor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6abf20b40ad93afa4b2ecc8ebb97b82b7bb9c500
[INFO] checking jason1105/rust_texteditor against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjason1105%2Frust_texteditor" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jason1105/rust_texteditor
[INFO] finished tweaking git repo https://github.com/jason1105/rust_texteditor
[INFO] tweaked toml for git repo https://github.com/jason1105/rust_texteditor written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jason1105/rust_texteditor on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jason1105/rust_texteditor 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded crossterm_winapi v0.8.0
[INFO] [stderr]   Downloaded signal-hook-mio v0.2.1
[INFO] [stderr]   Downloaded crossterm v0.21.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 84f6999aee0b58f1453d245e31207185af79faffdf525d52bf7314f966eba21b
[INFO] running `Command { std: "docker" "start" "-a" "84f6999aee0b58f1453d245e31207185af79faffdf525d52bf7314f966eba21b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "84f6999aee0b58f1453d245e31207185af79faffdf525d52bf7314f966eba21b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84f6999aee0b58f1453d245e31207185af79faffdf525d52bf7314f966eba21b", kill_on_drop: false }`
[INFO] [stdout] 84f6999aee0b58f1453d245e31207185af79faffdf525d52bf7314f966eba21b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b119cca92ccbc44a88e13501813f4aed7d2feeed957188561c5f07f441cd8a0a
[INFO] running `Command { std: "docker" "start" "-a" "b119cca92ccbc44a88e13501813f4aed7d2feeed957188561c5f07f441cd8a0a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.120
[INFO] [stderr]    Compiling signal-hook v0.3.13
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking parking_lot_core v0.8.5
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking signal-hook-mio v0.2.1
[INFO] [stderr]     Checking crossterm v0.21.0
[INFO] [stderr]     Checking rust_texteditor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::editor::output::EditorRows`
[INFO] [stdout]  --> src/editor.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::editor::output::EditorRows;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/editor/output.rs:689:1
[INFO] [stdout]     |
[INFO] [stdout] 689 | /// 这个宏的作用是将一些数据转换成一个结构体, 虽然传入宏的参数看起来像结构体, 但并不是结构体.
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]   --> src/editor/output.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::cell::RefCell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]   --> src/editor/output.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 |     path::{Path, PathBuf},
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread` and `time`
[INFO] [stdout]    --> src/editor/output.rs:708:11
[INFO] [stdout]     |
[INFO] [stdout] 708 | use std::{thread, time};
[INFO] [stdout]     |           ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::reader::Reader`
[INFO] [stdout]    --> src/editor/output.rs:739:5
[INFO] [stdout]     |
[INFO] [stdout] 739 | use super::reader::Reader;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyEvent` and `KeyModifiers`
[INFO] [stdout]    --> src/editor/output.rs:740:24
[INFO] [stdout]     |
[INFO] [stdout] 740 | use crossterm::event::{KeyEvent, KeyModifiers};
[INFO] [stdout]     |                        ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::log_print`
[INFO] [stdout]    --> src/editor/output.rs:773:5
[INFO] [stdout]     |
[INFO] [stdout] 773 | use crate::log_print;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::editor::output::Row`
[INFO] [stdout]    --> src/editor.rs:102:29
[INFO] [stdout]     |
[INFO] [stdout] 102 |                         use crate::editor::output::Row;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::editor::output::EditorRows`
[INFO] [stdout]  --> src/editor.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::editor::output::EditorRows;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/editor/output.rs:689:1
[INFO] [stdout]     |
[INFO] [stdout] 689 | /// 这个宏的作用是将一些数据转换成一个结构体, 虽然传入宏的参数看起来像结构体, 但并不是结构体.
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]   --> src/editor/output.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::cell::RefCell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]   --> src/editor/output.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 |     path::{Path, PathBuf},
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread` and `time`
[INFO] [stdout]    --> src/editor/output.rs:708:11
[INFO] [stdout]     |
[INFO] [stdout] 708 | use std::{thread, time};
[INFO] [stdout]     |           ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::reader::Reader`
[INFO] [stdout]    --> src/editor/output.rs:739:5
[INFO] [stdout]     |
[INFO] [stdout] 739 | use super::reader::Reader;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyEvent` and `KeyModifiers`
[INFO] [stdout]    --> src/editor/output.rs:740:24
[INFO] [stdout]     |
[INFO] [stdout] 740 | use crossterm::event::{KeyEvent, KeyModifiers};
[INFO] [stdout]     |                        ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::log_print`
[INFO] [stdout]    --> src/editor/output.rs:773:5
[INFO] [stdout]     |
[INFO] [stdout] 773 | use crate::log_print;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::editor::output::Row`
[INFO] [stdout]    --> src/editor.rs:102:29
[INFO] [stdout]     |
[INFO] [stdout] 102 |                         use crate::editor::output::Row;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::editor::output::SyntaxHighlight`
[INFO] [stdout]   --> src/editor.rs:91:25
[INFO] [stdout]    |
[INFO] [stdout] 91 |                     use crate::editor::output::SyntaxHighlight;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]  --> src/editor/output.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use itertools::Itertools;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::editor::output::SyntaxHighlight`
[INFO] [stdout]   --> src/editor.rs:91:25
[INFO] [stdout]    |
[INFO] [stdout] 91 |                     use crate::editor::output::SyntaxHighlight;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]  --> src/editor/output.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use itertools::Itertools;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_render` is never used
[INFO] [stdout]    --> src/editor/output.rs:204:8
[INFO] [stdout]     |
[INFO] [stdout] 166 | impl EditorRows {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 204 |     fn get_render(&self, at: usize) -> &String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Direction` is never used
[INFO] [stdout]    --> src/editor/output.rs:668:6
[INFO] [stdout]     |
[INFO] [stdout] 668 | enum Direction {
[INFO] [stdout]     |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Log` is never constructed
[INFO] [stdout]    --> src/editor/output.rs:753:8
[INFO] [stdout]     |
[INFO] [stdout] 753 | struct Log {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `write` are never used
[INFO] [stdout]    --> src/editor/output.rs:758:8
[INFO] [stdout]     |
[INFO] [stdout] 757 | impl Log {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] 758 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 766 |     fn write(&mut self, bytes: &[u8]) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/editor.rs:133:21
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     self.output.find();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     let _ = self.output.find();
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_render` is never used
[INFO] [stdout]    --> src/editor/output.rs:204:8
[INFO] [stdout]     |
[INFO] [stdout] 166 | impl EditorRows {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 204 |     fn get_render(&self, at: usize) -> &String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Direction` is never used
[INFO] [stdout]    --> src/editor/output.rs:668:6
[INFO] [stdout]     |
[INFO] [stdout] 668 | enum Direction {
[INFO] [stdout]     |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Log` is never constructed
[INFO] [stdout]    --> src/editor/output.rs:753:8
[INFO] [stdout]     |
[INFO] [stdout] 753 | struct Log {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `write` are never used
[INFO] [stdout]    --> src/editor/output.rs:758:8
[INFO] [stdout]     |
[INFO] [stdout] 757 | impl Log {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] 758 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 766 |     fn write(&mut self, bytes: &[u8]) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/editor.rs:133:21
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     self.output.find();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     let _ = self.output.find();
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.88s
[INFO] running `Command { std: "docker" "inspect" "b119cca92ccbc44a88e13501813f4aed7d2feeed957188561c5f07f441cd8a0a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b119cca92ccbc44a88e13501813f4aed7d2feeed957188561c5f07f441cd8a0a", kill_on_drop: false }`
[INFO] [stdout] b119cca92ccbc44a88e13501813f4aed7d2feeed957188561c5f07f441cd8a0a
