[INFO] cloning repository https://github.com/mttchpmn/bolt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mttchpmn/bolt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmttchpmn%2Fbolt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmttchpmn%2Fbolt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45707a06bd201a6a11308a0ee64ed5eb66ce4acb [INFO] checking mttchpmn/bolt against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmttchpmn%2Fbolt" "/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/mttchpmn/bolt on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mttchpmn/bolt [INFO] finished tweaking git repo https://github.com/mttchpmn/bolt [INFO] tweaked toml for git repo https://github.com/mttchpmn/bolt written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mttchpmn/bolt 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afa85026f0ede3f83da9283b7064fd2881b75113111ce6949481be496c25fa60 [INFO] running `Command { std: "docker" "start" "-a" "afa85026f0ede3f83da9283b7064fd2881b75113111ce6949481be496c25fa60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afa85026f0ede3f83da9283b7064fd2881b75113111ce6949481be496c25fa60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afa85026f0ede3f83da9283b7064fd2881b75113111ce6949481be496c25fa60", kill_on_drop: false }` [INFO] [stdout] afa85026f0ede3f83da9283b7064fd2881b75113111ce6949481be496c25fa60 [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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78034750f5b9316c6c8e32f6a17fd4096edd6614dc548c5dd29acd523d9a174c [INFO] running `Command { std: "docker" "start" "-a" "78034750f5b9316c6c8e32f6a17fd4096edd6614dc548c5dd29acd523d9a174c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.114 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking serde v1.0.136 [INFO] [stderr] Checking serde_json v1.0.78 [INFO] [stderr] Checking bolt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/editor.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let line_number = if index < 10 { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/editor.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let line_number = if index < 10 { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | let mut offset = &mut self.offset; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | let mut offset = &mut self.offset; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATUS_FG_COLOR` is never used [INFO] [stdout] --> src/editor.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const STATUS_FG_COLOR: color::Rgb = color::Rgb(50, 50, 50); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATUS_BG_COLOR` is never used [INFO] [stdout] --> src/editor.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const STATUS_BG_COLOR: color::Rgb = color::Rgb(239, 239, 239); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_NUMBER_FG_COLOR` is never used [INFO] [stdout] --> src/editor.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const LINE_NUMBER_FG_COLOR: color::Rgb = color::Rgb(120, 120, 120); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_quit` is never used [INFO] [stdout] --> src/editor.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'a> Editor<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 263 | fn handle_quit(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `logger` is never read [INFO] [stdout] --> src/terminal.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Terminal<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 17 | size: Size, [INFO] [stdout] 18 | logger: &'a Logger, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATUS_FG_COLOR` is never used [INFO] [stdout] --> src/editor.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const STATUS_FG_COLOR: color::Rgb = color::Rgb(50, 50, 50); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATUS_BG_COLOR` is never used [INFO] [stdout] --> src/editor.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const STATUS_BG_COLOR: color::Rgb = color::Rgb(239, 239, 239); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_NUMBER_FG_COLOR` is never used [INFO] [stdout] --> src/editor.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const LINE_NUMBER_FG_COLOR: color::Rgb = color::Rgb(120, 120, 120); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_quit` is never used [INFO] [stdout] --> src/editor.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'a> Editor<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 263 | fn handle_quit(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `logger` is never read [INFO] [stdout] --> src/terminal.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Terminal<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 17 | size: Size, [INFO] [stdout] 18 | logger: &'a Logger, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/document.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | file.write_all(b"\n"); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = file.write_all(b"\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/document.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | file.write_all(b"\n"); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = file.write_all(b"\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.75s [INFO] running `Command { std: "docker" "inspect" "78034750f5b9316c6c8e32f6a17fd4096edd6614dc548c5dd29acd523d9a174c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78034750f5b9316c6c8e32f6a17fd4096edd6614dc548c5dd29acd523d9a174c", kill_on_drop: false }` [INFO] [stdout] 78034750f5b9316c6c8e32f6a17fd4096edd6614dc548c5dd29acd523d9a174c