[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#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmttchpmn%2Fbolt" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mttchpmn/bolt on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "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-0-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 524e617e2e42d9781e04cf00ff3c9ee48cbcace69af7f71be66762c37b514ef1 [INFO] running `Command { std: "docker" "start" "-a" "524e617e2e42d9781e04cf00ff3c9ee48cbcace69af7f71be66762c37b514ef1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "524e617e2e42d9781e04cf00ff3c9ee48cbcace69af7f71be66762c37b514ef1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "524e617e2e42d9781e04cf00ff3c9ee48cbcace69af7f71be66762c37b514ef1", kill_on_drop: false }` [INFO] [stdout] 524e617e2e42d9781e04cf00ff3c9ee48cbcace69af7f71be66762c37b514ef1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da0669ba3fc1143486b8d63d0c113a88778f451f73f36b7dd79ae146c5dd56f0 [INFO] running `Command { std: "docker" "start" "-a" "da0669ba3fc1143486b8d63d0c113a88778f451f73f36b7dd79ae146c5dd56f0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.114 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.5.4 [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 5.48s [INFO] running `Command { std: "docker" "inspect" "da0669ba3fc1143486b8d63d0c113a88778f451f73f36b7dd79ae146c5dd56f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da0669ba3fc1143486b8d63d0c113a88778f451f73f36b7dd79ae146c5dd56f0", kill_on_drop: false }` [INFO] [stdout] da0669ba3fc1143486b8d63d0c113a88778f451f73f36b7dd79ae146c5dd56f0