[INFO] cloning repository https://github.com/fzdwx/raw
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fzdwx/raw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffzdwx%2Fraw", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffzdwx%2Fraw'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7fc121f26710e984d55c2e8fd3e11a6cf0ff0e0c
[INFO] testing fzdwx/raw against 1.100.0-beta.1 for beta-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffzdwx%2Fraw" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fzdwx/raw
[INFO] finished tweaking git repo https://github.com/fzdwx/raw
[INFO] tweaked toml for git repo https://github.com/fzdwx/raw written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fzdwx/raw on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fzdwx/raw 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c9f9eacebe4bb544acef447cabec8ccc68248291dce3954e7e209b8f99e58011
[INFO] running `Command { std: "docker" "start" "c9f9eacebe4bb544acef447cabec8ccc68248291dce3954e7e209b8f99e58011", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c9f9eacebe4bb544acef447cabec8ccc68248291dce3954e7e209b8f99e58011", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c9f9eacebe4bb544acef447cabec8ccc68248291dce3954e7e209b8f99e58011" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c9f9eacebe4bb544acef447cabec8ccc68248291dce3954e7e209b8f99e58011", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c9f9eacebe4bb544acef447cabec8ccc68248291dce3954e7e209b8f99e58011" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling smallvec v1.9.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling signal-hook v0.3.14
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling tokio v1.20.0
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling anyhow v1.0.58
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling bytes v1.2.0
[INFO] [stderr]    Compiling str_indices v0.4.0
[INFO] [stderr]    Compiling cassowary v0.3.0
[INFO] [stderr]    Compiling once_cell v1.13.0
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling futures-timer v3.0.2
[INFO] [stderr]    Compiling ropey v1.5.0
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling crossterm v0.23.2
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling tui v0.18.0
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling raw v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `detect` in `std`
[INFO] [stdout]  --> src/app.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::detect::__is_feature_detected::xsave;
[INFO] [stdout]   |          ^^^^^^ could not find `detect` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error`
[INFO] [stdout]  --> src/app.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::error;
[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 import: `std::error::Error`
[INFO] [stdout]  --> src/app.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::ControlFlow::Continue`
[INFO] [stdout]  --> src/app.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::ControlFlow::Continue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/app.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crossterm::cursor::position`
[INFO] [stdout]  --> src/app.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crossterm::cursor::position;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `flush_resize_events`
[INFO] [stdout]   --> src/app.rs:11:20
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::event::{flush_resize_events, Event, EventHandler};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `next_grapheme_boundary`, `nth_prev_grapheme_boundary`, and `prev_grapheme_boundary`
[INFO] [stdout]   --> src/app.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     next_grapheme_boundary, nth_prev_grapheme_boundary, prev_grapheme_boundary,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::render::document::Document`
[INFO] [stdout]   --> src/app.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::render::document::Document;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::render::message::MessageBar`
[INFO] [stdout]   --> src/app.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::render::message::MessageBar;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DEFAULT_FILENAME` and `DEFAULT_FILETYPE`
[INFO] [stdout]   --> src/app.rs:22:21
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::{screen, DEFAULT_FILENAME, DEFAULT_FILETYPE};
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/app.rs:286:9
[INFO] [stdout]     |
[INFO] [stdout] 286 |           /// todo  offset.x 有问题
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 287 | /         if x < offset.x {
[INFO] [stdout] 288 | |             offset.x = x;
[INFO] [stdout] 289 | |         } else if line.get_offset(x) >= line.get_offset(offset.x).saturating_add(w) {
[INFO] [stdout] 290 | |             offset.x = offset.x.saturating_add(1);
[INFO] [stdout] 291 | |         }
[INFO] [stdout]     | |_________- rustdoc does not generate documentation for expressions
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `tests`
[INFO] [stdout]   --> src/extension.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[cfg(tests)]
[INFO] [stdout]    |       ^^^^^ help: there is a config with a similar name: `test`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ropey::RopeSlice`
[INFO] [stdout]  --> src/extension.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ropey::RopeSlice;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tui::layout::Rect`
[INFO] [stdout]  --> src/extension.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tui::layout::Rect;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ropey::iter::Chunks`
[INFO] [stdout]  --> src/extension/rope.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ropey::iter::Chunks;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ropey::str_utils::byte_to_char_idx`
[INFO] [stdout]  --> src/extension/rope.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ropey::str_utils::byte_to_char_idx;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GraphemeCursor` and `GraphemeIncomplete`
[INFO] [stdout]  --> src/extension/rope.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use unicode_segmentation::{GraphemeCursor, GraphemeIncomplete, UnicodeSegmentation};
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/render/switcher.rs:114:21
[INFO] [stdout]     |
[INFO] [stdout] 114 |             None => (0),
[INFO] [stdout]     |                     ^ ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 114 -             None => (0),
[INFO] [stdout] 114 +             None => 0,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/render/switcher.rs:115:26
[INFO] [stdout]     |
[INFO] [stdout] 115 |             Some(doc) => (doc.line_width(row)),
[INFO] [stdout]     |                          ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 115 -             Some(doc) => (doc.line_width(row)),
[INFO] [stdout] 115 +             Some(doc) => doc.line_width(row),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/app.rs:216:13
[INFO] [stdout]     |
[INFO] [stdout] 216 |         let offset = self.offset;
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `screen_width`
[INFO] [stdout]    --> src/app.rs:217:14
[INFO] [stdout]     |
[INFO] [stdout] 217 |         let (screen_width, screen_height) = screen::size().unwrap();
[INFO] [stdout]     |              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen_width`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `screen_height`
[INFO] [stdout]    --> src/app.rs:217:28
[INFO] [stdout]     |
[INFO] [stdout] 217 |         let (screen_width, screen_height) = screen::size().unwrap();
[INFO] [stdout]     |                            ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen_height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row_width`
[INFO] [stdout]    --> src/app.rs:223:13
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let row_width = rope_slice.len_chars();
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_width`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/render/banner.rs:26:26
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn render(&mut self, ctx: AppCtx, buf: &mut Buffer, area: Rect) {
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/render/message.rs:21:26
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn render(&mut self, ctx: AppCtx, buf: &mut Buffer, area: Rect) {
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `raw` (lib) due to 1 previous error; 25 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "c9f9eacebe4bb544acef447cabec8ccc68248291dce3954e7e209b8f99e58011", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9f9eacebe4bb544acef447cabec8ccc68248291dce3954e7e209b8f99e58011", kill_on_drop: false }`
[INFO] [stdout] c9f9eacebe4bb544acef447cabec8ccc68248291dce3954e7e209b8f99e58011
