[INFO] cloning repository https://github.com/victorjoos/kilo-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/victorjoos/kilo-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictorjoos%2Fkilo-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictorjoos%2Fkilo-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c856c6a2dc3663d9821e92a4688b8cb626fbd9f8 [INFO] checking victorjoos/kilo-rs against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictorjoos%2Fkilo-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/victorjoos/kilo-rs on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/victorjoos/kilo-rs [INFO] finished tweaking git repo https://github.com/victorjoos/kilo-rs [INFO] tweaked toml for git repo https://github.com/victorjoos/kilo-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/victorjoos/kilo-rs 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6ab433d12018260234b3d84a9f25d7e58fc40085bb5d61cf21b2bef64a283cf [INFO] running `Command { std: "docker" "start" "-a" "b6ab433d12018260234b3d84a9f25d7e58fc40085bb5d61cf21b2bef64a283cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6ab433d12018260234b3d84a9f25d7e58fc40085bb5d61cf21b2bef64a283cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6ab433d12018260234b3d84a9f25d7e58fc40085bb5d61cf21b2bef64a283cf", kill_on_drop: false }` [INFO] [stdout] b6ab433d12018260234b3d84a9f25d7e58fc40085bb5d61cf21b2bef64a283cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9d553d19637023fbc7e3489ca04276857246d1ec7405ec5d0afa521be80e1f6 [INFO] running `Command { std: "docker" "start" "-a" "d9d553d19637023fbc7e3489ca04276857246d1ec7405ec5d0afa521be80e1f6", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling serde v1.0.66 [INFO] [stderr] Compiling regex v1.0.0 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Checking regex-syntax v0.6.1 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Compiling serde_derive v1.0.66 [INFO] [stderr] Checking toml v0.4.6 [INFO] [stderr] Checking kilo-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/syntax.toml`: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:368:48 [INFO] [stdout] | [INFO] [stdout] 368 | contents = String::from_utf8_lossy(include_bytes!("syntax.toml")).to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a file with the same name in a different directory [INFO] [stdout] | [INFO] [stdout] 368 | contents = String::from_utf8_lossy(include_bytes!("../syntax.toml")).to_string(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/syntax.toml`: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:368:48 [INFO] [stdout] | [INFO] [stdout] 368 | contents = String::from_utf8_lossy(include_bytes!("syntax.toml")).to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a file with the same name in a different directory [INFO] [stdout] | [INFO] [stdout] 368 | contents = String::from_utf8_lossy(include_bytes!("../syntax.toml")).to_string(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufRead` is imported redundantly [INFO] [stdout] --> src/main.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `BufRead` is already imported here [INFO] [stdout] 11 | use std::io::{BufRead, BufReader, stdin, Stdin, stdout, Stdout, Write}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/main.rs:11:65 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Write` is already imported here [INFO] [stdout] 11 | use std::io::{BufRead, BufReader, stdin, Stdin, stdout, Stdout, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufRead` is imported redundantly [INFO] [stdout] --> src/main.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `BufRead` is already imported here [INFO] [stdout] 11 | use std::io::{BufRead, BufReader, stdin, Stdin, stdout, Stdout, Write}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Table` [INFO] [stdout] --> src/main.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | use toml::value::{Value, Table}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/main.rs:11:65 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Write` is already imported here [INFO] [stdout] 11 | use std::io::{BufRead, BufReader, stdin, Stdin, stdout, Stdout, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Table` [INFO] [stdout] --> src/main.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | use toml::value::{Value, Table}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | / lazy_static! { [INFO] [stdout] 213 | | static ref TYPE: Regex = Regex::new(r"[^:]:\s?(&?\w+)").unwrap(); [INFO] [stdout] 214 | | static ref KEYWORD: Regex = Regex::new(r"\b(in|fn|match|if|else|for|loop|while|let|impl|use)\b").unwrap(); [INFO] [stdout] 215 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | / lazy_static! { [INFO] [stdout] 213 | | static ref TYPE: Regex = Regex::new(r"[^:]:\s?(&?\w+)").unwrap(); [INFO] [stdout] 214 | | static ref KEYWORD: Regex = Regex::new(r"\b(in|fn|match|if|else|for|loop|while|let|impl|use)\b").unwrap(); [INFO] [stdout] 215 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | / lazy_static! { [INFO] [stdout] 213 | | static ref TYPE: Regex = Regex::new(r"[^:]:\s?(&?\w+)").unwrap(); [INFO] [stdout] 214 | | static ref KEYWORD: Regex = Regex::new(r"\b(in|fn|match|if|else|for|loop|while|let|impl|use)\b").unwrap(); [INFO] [stdout] 215 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | / lazy_static! { [INFO] [stdout] 213 | | static ref TYPE: Regex = Regex::new(r"[^:]:\s?(&?\w+)").unwrap(); [INFO] [stdout] 214 | | static ref KEYWORD: Regex = Regex::new(r"\b(in|fn|match|if|else|for|loop|while|let|impl|use)\b").unwrap(); [INFO] [stdout] 215 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:146:39 [INFO] [stdout] | [INFO] [stdout] 146 | fn to_color(& self) -> color::Fg<&color::Color> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | fn to_color(& self) -> color::Fg<&dyn color::Color> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:146:39 [INFO] [stdout] | [INFO] [stdout] 146 | fn to_color(& self) -> color::Fg<&color::Color> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | fn to_color(& self) -> color::Fg<&dyn color::Color> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:156:44 [INFO] [stdout] | [INFO] [stdout] 156 | fn to_background(& self) -> color::Bg<&color::Color> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 | fn to_background(& self) -> color::Bg<&dyn color::Color> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:156:44 [INFO] [stdout] | [INFO] [stdout] 156 | fn to_background(& self) -> color::Bg<&color::Color> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 | fn to_background(& self) -> color::Bg<&dyn color::Color> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:75:49 [INFO] [stdout] | [INFO] [stdout] 75 | Mode::Normal => (&color::Yellow as &color::Color , "Normal"), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | Mode::Normal => (&color::Yellow as &dyn color::Color , "Normal"), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:76:47 [INFO] [stdout] | [INFO] [stdout] 76 | Mode::Insert => (&color::Blue as &color::Color, "Insert"), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | Mode::Insert => (&color::Blue as &dyn color::Color, "Insert"), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:75:49 [INFO] [stdout] | [INFO] [stdout] 75 | Mode::Normal => (&color::Yellow as &color::Color , "Normal"), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | Mode::Normal => (&color::Yellow as &dyn color::Color , "Normal"), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:77:46 [INFO] [stdout] | [INFO] [stdout] 77 | Mode::Visual => (&color::Red as &color::Color, "Visual"), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 | Mode::Visual => (&color::Red as &dyn color::Color, "Visual"), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:76:47 [INFO] [stdout] | [INFO] [stdout] 76 | Mode::Insert => (&color::Blue as &color::Color, "Insert"), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | Mode::Insert => (&color::Blue as &dyn color::Color, "Insert"), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:77:46 [INFO] [stdout] | [INFO] [stdout] 77 | Mode::Visual => (&color::Red as &color::Color, "Visual"), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 | Mode::Visual => (&color::Red as &dyn color::Color, "Visual"), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `editor` [INFO] [stdout] --> src/main.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | fn normal(&mut self, editor:&mut Editor, c: Key) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_editor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/main.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | Key::Char(ch) => {}, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | c @ Key::Backspace | c @ Key::Ctrl('h') | c @ Key::Delete => {}, [INFO] [stdout] | ^ ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 61 | _c @ Key::Backspace | _c @ Key::Ctrl('h') | _c @ Key::Delete => {}, [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `editor` [INFO] [stdout] --> src/main.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | fn insert(&mut self, editor:&mut Editor, c: Key) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_editor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `editor` [INFO] [stdout] --> src/main.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | fn visual(&mut self, editor:&mut Editor, c: Key) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_editor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:67:46 [INFO] [stdout] | [INFO] [stdout] 67 | fn visual(&mut self, editor:&mut Editor, c: Key) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `editor` [INFO] [stdout] --> src/main.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | fn normal(&mut self, editor:&mut Editor, c: Key) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_editor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/main.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | Key::Char(ch) => {}, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | c @ Key::Backspace | c @ Key::Ctrl('h') | c @ Key::Delete => {}, [INFO] [stdout] | ^ ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 61 | _c @ Key::Backspace | _c @ Key::Ctrl('h') | _c @ Key::Delete => {}, [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `editor` [INFO] [stdout] --> src/main.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | fn insert(&mut self, editor:&mut Editor, c: Key) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_editor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `editor` [INFO] [stdout] --> src/main.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | fn visual(&mut self, editor:&mut Editor, c: Key) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_editor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:67:46 [INFO] [stdout] | [INFO] [stdout] 67 | fn visual(&mut self, editor:&mut Editor, c: Key) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | for i in at+1-spaces..at+1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:346:20 [INFO] [stdout] | [INFO] [stdout] 346 | if let Err(err) = file { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | for i in at+1-spaces..at+1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:346:20 [INFO] [stdout] | [INFO] [stdout] 346 | if let Err(err) = file { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `direction` is never read [INFO] [stdout] --> src/main.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | let mut direction: isize = 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:433:17 [INFO] [stdout] | [INFO] [stdout] 433 | for i in 0..editor.rows.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `direction` is never read [INFO] [stdout] --> src/main.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | let mut direction: isize = 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:433:17 [INFO] [stdout] | [INFO] [stdout] 433 | for i in 0..editor.rows.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kilo-rs` (bin "kilo-rs" test) due to 2 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `kilo-rs` (bin "kilo-rs") due to 2 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d9d553d19637023fbc7e3489ca04276857246d1ec7405ec5d0afa521be80e1f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9d553d19637023fbc7e3489ca04276857246d1ec7405ec5d0afa521be80e1f6", kill_on_drop: false }` [INFO] [stdout] d9d553d19637023fbc7e3489ca04276857246d1ec7405ec5d0afa521be80e1f6 [INFO] checking victorjoos/kilo-rs against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictorjoos%2Fkilo-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/victorjoos/kilo-rs on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/victorjoos/kilo-rs [INFO] finished tweaking git repo https://github.com/victorjoos/kilo-rs [INFO] tweaked toml for git repo https://github.com/victorjoos/kilo-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/victorjoos/kilo-rs 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09e7b9a479300bbcf858474e0d64c98b92e58e56da2f8ccfe8f70d30ba8cd28e [INFO] running `Command { std: "docker" "start" "-a" "09e7b9a479300bbcf858474e0d64c98b92e58e56da2f8ccfe8f70d30ba8cd28e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09e7b9a479300bbcf858474e0d64c98b92e58e56da2f8ccfe8f70d30ba8cd28e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09e7b9a479300bbcf858474e0d64c98b92e58e56da2f8ccfe8f70d30ba8cd28e", kill_on_drop: false }` [INFO] [stdout] 09e7b9a479300bbcf858474e0d64c98b92e58e56da2f8ccfe8f70d30ba8cd28e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3a84d78b305707b1fcb179541926d63a35902a9402664e2ab5d4f6c07bb3467 [INFO] running `Command { std: "docker" "start" "-a" "d3a84d78b305707b1fcb179541926d63a35902a9402664e2ab5d4f6c07bb3467", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "d3a84d78b305707b1fcb179541926d63a35902a9402664e2ab5d4f6c07bb3467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3a84d78b305707b1fcb179541926d63a35902a9402664e2ab5d4f6c07bb3467", kill_on_drop: false }` [INFO] [stdout] d3a84d78b305707b1fcb179541926d63a35902a9402664e2ab5d4f6c07bb3467