[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] checking sam-roth/kilo-rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsam-roth%2Fkilo-rust" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sam-roth/kilo-rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-14/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-14/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8842f57d2ef511699cb0fc39ac1f7801adf0bf0eefba45f323072453757e3529 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8842f57d2ef511699cb0fc39ac1f7801adf0bf0eefba45f323072453757e3529", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8842f57d2ef511699cb0fc39ac1f7801adf0bf0eefba45f323072453757e3529", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8842f57d2ef511699cb0fc39ac1f7801adf0bf0eefba45f323072453757e3529", kill_on_drop: false }` [INFO] [stdout] 8842f57d2ef511699cb0fc39ac1f7801adf0bf0eefba45f323072453757e3529 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5b07bba756cb43111a189b02c385f6d5b5ee0015adb070c448b0b23690d222e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d5b07bba756cb43111a189b02c385f6d5b5ee0015adb070c448b0b23690d222e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking 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: 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] 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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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] | ^^^^^^^^ help: use `dyn`: `dyn io::Read` [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[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[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: aborting due to 4 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [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] [stderr] error: could not compile `kilo_rust` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d5b07bba756cb43111a189b02c385f6d5b5ee0015adb070c448b0b23690d222e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5b07bba756cb43111a189b02c385f6d5b5ee0015adb070c448b0b23690d222e", kill_on_drop: false }` [INFO] [stdout] d5b07bba756cb43111a189b02c385f6d5b5ee0015adb070c448b0b23690d222e