[INFO] cloning repository https://github.com/sam-roth/kilo-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sam-roth/kilo-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam-roth%2Fkilo-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam-roth%2Fkilo-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 411ae3e6a563c034a332e88048f66279cdc45b82 [INFO] testing sam-roth/kilo-rust against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam-roth%2Fkilo-rust" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sam-roth/kilo-rust on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sam-roth/kilo-rust [INFO] finished tweaking git repo https://github.com/sam-roth/kilo-rust [INFO] tweaked toml for git repo https://github.com/sam-roth/kilo-rust written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate git repo https://github.com/sam-roth/kilo-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75e218ade85688596596f6ee6d24208d8d5c31a7e34ffdb63663ed05c53ca3c3 [INFO] running `Command { std: "docker" "start" "-a" "75e218ade85688596596f6ee6d24208d8d5c31a7e34ffdb63663ed05c53ca3c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75e218ade85688596596f6ee6d24208d8d5c31a7e34ffdb63663ed05c53ca3c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75e218ade85688596596f6ee6d24208d8d5c31a7e34ffdb63663ed05c53ca3c3", kill_on_drop: false }` [INFO] [stdout] 75e218ade85688596596f6ee6d24208d8d5c31a7e34ffdb63663ed05c53ca3c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0bcca8eba7ab19ddc17d83021248d0de0ca13af727ba3fb355c993dd59af55b [INFO] running `Command { std: "docker" "start" "-a" "b0bcca8eba7ab19ddc17d83021248d0de0ca13af727ba3fb355c993dd59af55b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.14 [INFO] [stderr] Compiling kilo_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/read_key.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | if (64...126).contains(byte) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 99 | if (64..126).contains(byte) { [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 99 | if (64..=126).contains(byte) { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![feature(question_mark, [INFO] [stdout] 2 | | range_contains, [INFO] [stdout] 3 | | inclusive_range_syntax, [INFO] [stdout] 4 | | unicode, [INFO] [stdout] 5 | | slice_patterns, [INFO] [stdout] 6 | | type_ascription)] [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = help: the feature `question_mark` has been stable since 1.13.0 and no longer requires an attribute to enable [INFO] [stdout] = help: the feature `inclusive_range_syntax` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] = help: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `question_mark` has been stable since 1.13.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(question_mark, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `inclusive_range_syntax` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | inclusive_range_syntax, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | slice_patterns, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | range_contains, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | unicode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `range_contains` has been stable since 1.35.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | range_contains, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unicode` [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | unicode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read_key.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | fn maybe_read_byte(stream: &mut io::Read) -> io::Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - fn maybe_read_byte(stream: &mut io::Read) -> io::Result> { [INFO] [stdout] 5 + fn maybe_read_byte(stream: &mut dyn io::Read) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read_key.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | fn read_byte(stream: &mut io::Read) -> io::Result { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - fn read_byte(stream: &mut io::Read) -> io::Result { [INFO] [stdout] 15 + fn read_byte(stream: &mut dyn io::Read) -> io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read_key.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | fn read_csi(stream: &mut io::Read) -> io::Result { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 - fn read_csi(stream: &mut io::Read) -> io::Result { [INFO] [stdout] 88 + fn read_csi(stream: &mut dyn io::Read) -> io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read_key.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | fn read_ss3(stream: &mut io::Read) -> io::Result { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 - fn read_ss3(stream: &mut io::Read) -> io::Result { [INFO] [stdout] 107 + fn read_ss3(stream: &mut dyn io::Read) -> io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read_key.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn read_escape(stream: &mut io::Read) -> io::Result { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 114 - pub fn read_escape(stream: &mut io::Read) -> io::Result { [INFO] [stdout] 114 + pub fn read_escape(stream: &mut dyn io::Read) -> io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/editor.rs:444:25 [INFO] [stdout] | [INFO] [stdout] 444 | let write: &mut io::Write = &mut stdout.lock(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 444 - let write: &mut io::Write = &mut stdout.lock(); [INFO] [stdout] 444 + let write: &mut dyn io::Write = &mut stdout.lock(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/editor.rs:389:35 [INFO] [stdout] | [INFO] [stdout] 389 | buf.extend(ch.encode_utf8().as_slice()); [INFO] [stdout] | ^^^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for mutable reference `&mut str` in the current scope [INFO] [stdout] --> src/editor.rs:389:49 [INFO] [stdout] | [INFO] [stdout] 389 | buf.extend(ch.encode_utf8().as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `&mut str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/read_key.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | if (64...126).contains(byte) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u8` [INFO] [stdout] | help: consider borrowing here: `&byte` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0554, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kilo_rust` due to 9 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b0bcca8eba7ab19ddc17d83021248d0de0ca13af727ba3fb355c993dd59af55b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0bcca8eba7ab19ddc17d83021248d0de0ca13af727ba3fb355c993dd59af55b", kill_on_drop: false }` [INFO] [stdout] b0bcca8eba7ab19ddc17d83021248d0de0ca13af727ba3fb355c993dd59af55b