[INFO] cloning repository https://github.com/Javyre/nv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Javyre/nv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJavyre%2Fnv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJavyre%2Fnv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4845ecd4a0ac047625e0fbf7edc65d8cbe38cd88 [INFO] checking Javyre/nv/4845ecd4a0ac047625e0fbf7edc65d8cbe38cd88 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJavyre%2Fnv" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Javyre/nv on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Javyre/nv [INFO] finished tweaking git repo https://github.com/Javyre/nv [INFO] tweaked toml for git repo https://github.com/Javyre/nv written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Javyre/nv 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossterm_winapi v0.1.0 [INFO] [stderr] Downloaded enum_dispatch v0.1.2 [INFO] [stderr] Downloaded crossterm v0.5.4 [INFO] [stderr] Downloaded libc v0.2.46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e29bd81c83ec19967c2ecf4e98c55bf3f8824149f218e1d1d93ddd2306d11a52 [INFO] running `Command { std: "docker" "start" "-a" "e29bd81c83ec19967c2ecf4e98c55bf3f8824149f218e1d1d93ddd2306d11a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e29bd81c83ec19967c2ecf4e98c55bf3f8824149f218e1d1d93ddd2306d11a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e29bd81c83ec19967c2ecf4e98c55bf3f8824149f218e1d1d93ddd2306d11a52", kill_on_drop: false }` [INFO] [stdout] e29bd81c83ec19967c2ecf4e98c55bf3f8824149f218e1d1d93ddd2306d11a52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae40766ee89b93ca58f21c2e1667f852a81feee926b6a987b3eb1b2b8e1dda7d [INFO] running `Command { std: "docker" "start" "-a" "ae40766ee89b93ca58f21c2e1667f852a81feee926b6a987b3eb1b2b8e1dda7d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking crossterm v0.5.4 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling enum_dispatch v0.1.2 [INFO] [stderr] Checking nv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `Self` [INFO] [stdout] --> src/main.rs:481:42 [INFO] [stdout] | [INFO] [stdout] 481 | let buffer = file.by_ref().take() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 482 | [INFO] [stdout] 483 | Self { [INFO] [stdout] | ---- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `Self` [INFO] [stdout] --> src/main.rs:481:42 [INFO] [stdout] | [INFO] [stdout] 481 | let buffer = file.by_ref().take() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 482 | [INFO] [stdout] 483 | Self { [INFO] [stdout] | ---- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `&mut File` is not an iterator [INFO] [stdout] --> src/main.rs:481:36 [INFO] [stdout] | [INFO] [stdout] 481 | let buffer = file.by_ref().take() [INFO] [stdout] | ^^^^ `&mut File` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `File: Iterator` [INFO] [stdout] which is required by `&mut File: Iterator` [INFO] [stdout] `&mut File: Iterator` [INFO] [stdout] which is required by `&mut &mut File: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Read` which provides `take` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 20 + use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `&mut File` is not an iterator [INFO] [stdout] --> src/main.rs:481:36 [INFO] [stdout] | [INFO] [stdout] 481 | let buffer = file.by_ref().take() [INFO] [stdout] | ^^^^ `&mut File` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `File: Iterator` [INFO] [stdout] which is required by `&mut File: Iterator` [INFO] [stdout] `&mut File: Iterator` [INFO] [stdout] which is required by `&mut &mut File: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Read` which provides `take` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 20 + use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `FileView` has no field named `buffer` [INFO] [stdout] --> src/main.rs:487:13 [INFO] [stdout] | [INFO] [stdout] 487 | buffer: buffer, [INFO] [stdout] | ^^^^^^ `FileView` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `FileView` has no field named `buffer` [INFO] [stdout] --> src/main.rs:487:13 [INFO] [stdout] | [INFO] [stdout] 487 | buffer: buffer, [INFO] [stdout] | ^^^^^^ `FileView` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/main.rs:514:24 [INFO] [stdout] | [INFO] [stdout] 514 | fn draw(&mut self, d: &mut impl Canvas, c: &ColorMap) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:514:45 [INFO] [stdout] | [INFO] [stdout] 514 | fn draw(&mut self, d: &mut impl Canvas, c: &ColorMap) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/main.rs:514:24 [INFO] [stdout] | [INFO] [stdout] 514 | fn draw(&mut self, d: &mut impl Canvas, c: &ColorMap) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:514:45 [INFO] [stdout] | [INFO] [stdout] 514 | fn draw(&mut self, d: &mut impl Canvas, c: &ColorMap) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 702 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 664 | Action::Quit => break, [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 665 | [INFO] [stdout] 666 | / Action::MoveDown(..) | [INFO] [stdout] 667 | | Action::MoveUp(..) => { [INFO] [stdout] | |__________________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 685 | / Action::MoveLeft(..) | [INFO] [stdout] 686 | | Action::MoveRight(..) => { [INFO] [stdout] | |_____________________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 702 | _ => (), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 702 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 664 | Action::Quit => break, [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 665 | [INFO] [stdout] 666 | / Action::MoveDown(..) | [INFO] [stdout] 667 | | Action::MoveUp(..) => { [INFO] [stdout] | |__________________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 685 | / Action::MoveLeft(..) | [INFO] [stdout] 686 | | Action::MoveRight(..) => { [INFO] [stdout] | |_____________________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 702 | _ => (), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0560`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0560`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nv` (bin "nv" test) due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nv` (bin "nv") due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ae40766ee89b93ca58f21c2e1667f852a81feee926b6a987b3eb1b2b8e1dda7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae40766ee89b93ca58f21c2e1667f852a81feee926b6a987b3eb1b2b8e1dda7d", kill_on_drop: false }` [INFO] [stdout] ae40766ee89b93ca58f21c2e1667f852a81feee926b6a987b3eb1b2b8e1dda7d