[INFO] cloning repository https://github.com/Thiringer/MappVy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Thiringer/MappVy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThiringer%2FMappVy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThiringer%2FMappVy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e24773f128bb560a66b2cf9f0fc880c979bede0 [INFO] checking Thiringer/MappVy against try#8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 for pr-86194 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThiringer%2FMappVy" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Thiringer/MappVy on toolchain 8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Thiringer/MappVy [INFO] finished tweaking git repo https://github.com/Thiringer/MappVy [INFO] tweaked toml for git repo https://github.com/Thiringer/MappVy written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Thiringer/MappVy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded signal-hook v0.1.17 [INFO] [stderr] Downloaded crossterm_winapi v0.7.0 [INFO] [stderr] Downloaded crossterm v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f0a230fbab96ecbeb01ff31a27b2b64e6be0fb430b1f3ad2b1a861e454da45ce [INFO] running `Command { std: "docker" "start" "-a" "f0a230fbab96ecbeb01ff31a27b2b64e6be0fb430b1f3ad2b1a861e454da45ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0a230fbab96ecbeb01ff31a27b2b64e6be0fb430b1f3ad2b1a861e454da45ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0a230fbab96ecbeb01ff31a27b2b64e6be0fb430b1f3ad2b1a861e454da45ce", kill_on_drop: false }` [INFO] [stdout] f0a230fbab96ecbeb01ff31a27b2b64e6be0fb430b1f3ad2b1a861e454da45ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cb4ffb3d1866e99e59c06feb608073e5db35c3e534ab28ee9c46082874253349 [INFO] running `Command { std: "docker" "start" "-a" "cb4ffb3d1866e99e59c06feb608073e5db35c3e534ab28ee9c46082874253349", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking crossterm v0.19.0 [INFO] [stderr] Checking MappVy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Color`, `Colorize`, `cursor`, `self` [INFO] [stdout] --> src/lib.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | style::{self, Color, Colorize}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] 5 | cursor, terminal, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stdout` [INFO] [stdout] --> src/gui.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{stdout, Write}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `KeyCode`, `KeyEvent`, `execute`, `self`, `terminal` [INFO] [stdout] --> src/gui.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use crossterm::{event::{self, Event, KeyCode, KeyEvent}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] 3 | execute, queue, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | style::{self, Color, Colorize}, [INFO] [stdout] 5 | cursor, terminal, Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:166:30 [INFO] [stdout] | [INFO] [stdout] 166 | assert_eq!(expected, get_content_preview()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn get_content_preview(current_file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Colorize`, `cursor`, `self` [INFO] [stdout] --> src/lib.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | style::{self, Color, Colorize}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] 5 | cursor, terminal, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stdout` [INFO] [stdout] --> src/gui.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{stdout, Write}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `KeyCode`, `KeyEvent`, `execute`, `self`, `terminal` [INFO] [stdout] --> src/gui.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use crossterm::{event::{self, Event, KeyCode, KeyEvent}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] 3 | execute, queue, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | style::{self, Color, Colorize}, [INFO] [stdout] 5 | cursor, terminal, Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `MappVy` [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] warning: unused variable: `number_of_files` [INFO] [stdout] --> src/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let number_of_files = files.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_of_files` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paths` [INFO] [stdout] --> src/lib.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let paths = fs::read_dir(".").unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_paths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_file` [INFO] [stdout] --> src/gui.rs:93:75 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn draw_preview(&self, stdout: &mut T, contents: &Vec, current_file: &str) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gui.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut parent = Pane {x_first: 1, x_last: col1-1, y_first: 1, y_last: rows-3}; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gui.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut current = Pane {x_first: col1 + 1, x_last: col2-1, y_first: 1, y_last: rows-3}; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gui.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut preview = Pane {x_first: col2 + 1, x_last: cols-1, y_first: 1, y_last: rows-3}; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `MappVy` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `mapp_vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cb4ffb3d1866e99e59c06feb608073e5db35c3e534ab28ee9c46082874253349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb4ffb3d1866e99e59c06feb608073e5db35c3e534ab28ee9c46082874253349", kill_on_drop: false }` [INFO] [stdout] cb4ffb3d1866e99e59c06feb608073e5db35c3e534ab28ee9c46082874253349