[INFO] cloning repository https://github.com/Skysolderone/text-edit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Skysolderone/text-edit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkysolderone%2Ftext-edit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkysolderone%2Ftext-edit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c86659726cbe559ab4410ca0aca7418cf2d3567 [INFO] checking Skysolderone/text-edit/7c86659726cbe559ab4410ca0aca7418cf2d3567 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkysolderone%2Ftext-edit" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Skysolderone/text-edit on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Skysolderone/text-edit [INFO] finished tweaking git repo https://github.com/Skysolderone/text-edit [INFO] tweaked toml for git repo https://github.com/Skysolderone/text-edit written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Skysolderone/text-edit 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74f71a5827ae091d18101ab7d51b14797564e37f26c7bf0a70276f7c3783c1ae [INFO] running `Command { std: "docker" "start" "-a" "74f71a5827ae091d18101ab7d51b14797564e37f26c7bf0a70276f7c3783c1ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74f71a5827ae091d18101ab7d51b14797564e37f26c7bf0a70276f7c3783c1ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74f71a5827ae091d18101ab7d51b14797564e37f26c7bf0a70276f7c3783c1ae", kill_on_drop: false }` [INFO] [stdout] 74f71a5827ae091d18101ab7d51b14797564e37f26c7bf0a70276f7c3783c1ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 993d820b428db878026d92ca3c48773838ae33a278bb57a8625d515ca9908a34 [INFO] running `Command { std: "docker" "start" "-a" "993d820b428db878026d92ca3c48773838ae33a278bb57a8625d515ca9908a34", kill_on_drop: false }` [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.21.0 [INFO] [stderr] Checking text_edit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/main.rs:1099:23 [INFO] [stdout] | [INFO] [stdout] 426 | / syntax_struct! { [INFO] [stdout] 427 | | struct RustHighlight{ [INFO] [stdout] 428 | | extensions:["rs"], [INFO] [stdout] 429 | | file_type:"rust", [INFO] [stdout] ... | [INFO] [stdout] 443 | | [INFO] [stdout] 444 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 1099 | $(let color=$color;let keyboards=vec!($($words),*);)* [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `syntax_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keyboards` [INFO] [stdout] --> src/main.rs:1099:40 [INFO] [stdout] | [INFO] [stdout] 426 | / syntax_struct! { [INFO] [stdout] 427 | | struct RustHighlight{ [INFO] [stdout] 428 | | extensions:["rs"], [INFO] [stdout] 429 | | file_type:"rust", [INFO] [stdout] ... | [INFO] [stdout] 443 | | [INFO] [stdout] 444 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 1099 | $(let color=$color;let keyboards=vec!($($words),*);)* [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyboards` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_comment` [INFO] [stdout] --> src/main.rs:1135:25 [INFO] [stdout] | [INFO] [stdout] 426 | / syntax_struct! { [INFO] [stdout] 427 | | struct RustHighlight{ [INFO] [stdout] 428 | | extensions:["rs"], [INFO] [stdout] 429 | | file_type:"rust", [INFO] [stdout] ... | [INFO] [stdout] 443 | | [INFO] [stdout] 444 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 1135 | let mut in_comment=at>0&&edit_rows[at-1].is_comment; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_comment` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/main.rs:1099:23 [INFO] [stdout] | [INFO] [stdout] 426 | / syntax_struct! { [INFO] [stdout] 427 | | struct RustHighlight{ [INFO] [stdout] 428 | | extensions:["rs"], [INFO] [stdout] 429 | | file_type:"rust", [INFO] [stdout] ... | [INFO] [stdout] 443 | | [INFO] [stdout] 444 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 1099 | $(let color=$color;let keyboards=vec!($($words),*);)* [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `syntax_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keyboards` [INFO] [stdout] --> src/main.rs:1099:40 [INFO] [stdout] | [INFO] [stdout] 426 | / syntax_struct! { [INFO] [stdout] 427 | | struct RustHighlight{ [INFO] [stdout] 428 | | extensions:["rs"], [INFO] [stdout] 429 | | file_type:"rust", [INFO] [stdout] ... | [INFO] [stdout] 443 | | [INFO] [stdout] 444 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 1099 | $(let color=$color;let keyboards=vec!($($words),*);)* [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyboards` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_comment` [INFO] [stdout] --> src/main.rs:1135:25 [INFO] [stdout] | [INFO] [stdout] 426 | / syntax_struct! { [INFO] [stdout] 427 | | struct RustHighlight{ [INFO] [stdout] 428 | | extensions:["rs"], [INFO] [stdout] 429 | | file_type:"rust", [INFO] [stdout] ... | [INFO] [stdout] 443 | | [INFO] [stdout] 444 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 1135 | let mut in_comment=at>0&&edit_rows[at-1].is_comment; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_comment` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1135:21 [INFO] [stdout] | [INFO] [stdout] 426 | / syntax_struct! { [INFO] [stdout] 427 | | struct RustHighlight{ [INFO] [stdout] 428 | | extensions:["rs"], [INFO] [stdout] 429 | | file_type:"rust", [INFO] [stdout] ... | [INFO] [stdout] 443 | | [INFO] [stdout] 444 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 1135 | let mut in_comment=at>0&&edit_rows[at-1].is_comment; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `syntax_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1135:21 [INFO] [stdout] | [INFO] [stdout] 426 | / syntax_struct! { [INFO] [stdout] 427 | | struct RustHighlight{ [INFO] [stdout] 428 | | extensions:["rs"], [INFO] [stdout] 429 | | file_type:"rust", [INFO] [stdout] ... | [INFO] [stdout] 443 | | [INFO] [stdout] 444 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 1135 | let mut in_comment=at>0&&edit_rows[at-1].is_comment; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `syntax_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mutil_comment` is never used [INFO] [stdout] --> src/main.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | trait SyntaxHighlight { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 40 | fn mutil_comment(&self) -> Option<(&str, &str)>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_render` is never used [INFO] [stdout] --> src/main.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 182 | impl EditRows { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 285 | fn get_render(&self, at: usize) -> &String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mutil_comment` is never read [INFO] [stdout] --> src/main.rs:1094:13 [INFO] [stdout] | [INFO] [stdout] 426 | / syntax_struct! { [INFO] [stdout] 427 | | struct RustHighlight{ [INFO] [stdout] | | ------------- field in this struct [INFO] [stdout] 428 | | extensions:["rs"], [INFO] [stdout] 429 | | file_type:"rust", [INFO] [stdout] ... | [INFO] [stdout] 443 | | [INFO] [stdout] 444 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 1094 | mutil_comment:Option<(&'static str,&'static str)> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | file.write_all(contents.as_bytes()); [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] 214 | let _ = file.write_all(contents.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mutil_comment` is never used [INFO] [stdout] --> src/main.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | trait SyntaxHighlight { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 40 | fn mutil_comment(&self) -> Option<(&str, &str)>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_render` is never used [INFO] [stdout] --> src/main.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 182 | impl EditRows { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 285 | fn get_render(&self, at: usize) -> &String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mutil_comment` is never read [INFO] [stdout] --> src/main.rs:1094:13 [INFO] [stdout] | [INFO] [stdout] 426 | / syntax_struct! { [INFO] [stdout] 427 | | struct RustHighlight{ [INFO] [stdout] | | ------------- field in this struct [INFO] [stdout] 428 | | extensions:["rs"], [INFO] [stdout] 429 | | file_type:"rust", [INFO] [stdout] ... | [INFO] [stdout] 443 | | [INFO] [stdout] 444 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 1094 | mutil_comment:Option<(&'static str,&'static str)> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | file.write_all(contents.as_bytes()); [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] 214 | let _ = file.write_all(contents.as_bytes()); [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 2.28s [INFO] running `Command { std: "docker" "inspect" "993d820b428db878026d92ca3c48773838ae33a278bb57a8625d515ca9908a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "993d820b428db878026d92ca3c48773838ae33a278bb57a8625d515ca9908a34", kill_on_drop: false }` [INFO] [stdout] 993d820b428db878026d92ca3c48773838ae33a278bb57a8625d515ca9908a34