[INFO] updating cached repository https://github.com/KyleBarton/klh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] [stderr] From https://github.com/KyleBarton/klh [INFO] [stderr] ff10c79..213967a master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 213967a4aba6a794a19f1a9c7326272e1a1894e8 [INFO] checking KyleBarton/klh against master#e1beee4992ad4b235fc700bf7af1ee86f894ea53 for pr-74130 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKyleBarton%2Fklh" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KyleBarton/klh on toolchain e1beee4992ad4b235fc700bf7af1ee86f894ea53 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KyleBarton/klh [INFO] finished tweaking git repo https://github.com/KyleBarton/klh [INFO] tweaked toml for git repo https://github.com/KyleBarton/klh written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/KyleBarton/klh already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 520cfc2a4b30aef1c1727e77bc17d202e29ec9687dce08bcaa9bc31df9a34edd [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" "520cfc2a4b30aef1c1727e77bc17d202e29ec9687dce08bcaa9bc31df9a34edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "520cfc2a4b30aef1c1727e77bc17d202e29ec9687dce08bcaa9bc31df9a34edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "520cfc2a4b30aef1c1727e77bc17d202e29ec9687dce08bcaa9bc31df9a34edd", kill_on_drop: false }` [INFO] [stdout] 520cfc2a4b30aef1c1727e77bc17d202e29ec9687dce08bcaa9bc31df9a34edd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5faf7238fdf049f4f6d8bc0fd5903c269d088a300be0b23e2580f67afdcf8bb9 [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" "5faf7238fdf049f4f6d8bc0fd5903c269d088a300be0b23e2580f67afdcf8bb9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Checking tui v0.9.5 [INFO] [stderr] Checking klh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/session.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::Write as other; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/buffer.rs:229:33 [INFO] [stdout] | [INFO] [stdout] 229 | fn get_char_at_index(&self, index: i64) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query_char` [INFO] [stdout] --> src/buffer.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 233 | fn get_next_for_char(&self, query_char: char) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer_type` [INFO] [stdout] --> src/buffer_provider.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(buffer_type: BufferType) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer_type` [INFO] [stdout] --> src/buffer_provider.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_file(buffer_type: BufferType, file_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/command_executor.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | write!(log, "Successfully saved to {}\n", &buffer.get_name().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/input_handler.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | write!(&mut log, "Unbound key pressed: {:?}", ks); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/buffer.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | mem::replace(&mut self.lines[self.point.line], first_line_part); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/buffer.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | mem::replace(&mut self.lines[self.point.line], line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/buffer.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | mem::replace(&mut self.lines[new_line], new_line_content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/buffer.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | mem::replace(&mut self.lines[self.point.line], new_line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/buffer_provider.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | Err(e) => { write!(log, "Problem trying to open file, {}\n", e); return Ok(());}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/session.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::Write as other; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/buffer.rs:229:33 [INFO] [stdout] | [INFO] [stdout] 229 | fn get_char_at_index(&self, index: i64) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query_char` [INFO] [stdout] --> src/buffer.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 233 | fn get_next_for_char(&self, query_char: char) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer_type` [INFO] [stdout] --> src/buffer_provider.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(buffer_type: BufferType) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer_type` [INFO] [stdout] --> src/buffer_provider.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_file(buffer_type: BufferType, file_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/command_executor.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | write!(log, "Successfully saved to {}\n", &buffer.get_name().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/input_handler.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | write!(&mut log, "Unbound key pressed: {:?}", ks); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/buffer.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | mem::replace(&mut self.lines[self.point.line], first_line_part); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/buffer.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | mem::replace(&mut self.lines[self.point.line], line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/buffer.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | mem::replace(&mut self.lines[new_line], new_line_content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/buffer.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | mem::replace(&mut self.lines[self.point.line], new_line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/buffer_provider.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | Err(e) => { write!(log, "Problem trying to open file, {}\n", e); return Ok(());}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.73s [INFO] running `Command { std: "docker" "inspect" "5faf7238fdf049f4f6d8bc0fd5903c269d088a300be0b23e2580f67afdcf8bb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5faf7238fdf049f4f6d8bc0fd5903c269d088a300be0b23e2580f67afdcf8bb9", kill_on_drop: false }` [INFO] [stdout] 5faf7238fdf049f4f6d8bc0fd5903c269d088a300be0b23e2580f67afdcf8bb9