[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 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848 [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 b0696a5160711c068cb1f01b7437db7990d15750 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "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" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Javyre/nv against try#bfe97fcae016881ad333f0ff8cea2cadb9cf136c for pr-121848 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJavyre%2Fnv" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Javyre/nv on toolchain bfe97fcae016881ad333f0ff8cea2cadb9cf136c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "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-tc2/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" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum_dispatch v0.1.2 [INFO] [stderr] Downloaded crossterm_winapi v0.1.0 [INFO] [stderr] Downloaded crossterm v0.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97e64472293c345c33a2fe7289a1a833ea4186a56b6e1133e715fd972742129b [INFO] running `Command { std: "docker" "start" "-a" "97e64472293c345c33a2fe7289a1a833ea4186a56b6e1133e715fd972742129b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97e64472293c345c33a2fe7289a1a833ea4186a56b6e1133e715fd972742129b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97e64472293c345c33a2fe7289a1a833ea4186a56b6e1133e715fd972742129b", kill_on_drop: false }` [INFO] [stdout] 97e64472293c345c33a2fe7289a1a833ea4186a56b6e1133e715fd972742129b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 500e744d6f3b521f1f99e1890d1d23b271e1f213ef220f0d2d1c506857424028 [INFO] running `Command { std: "docker" "start" "-a" "500e744d6f3b521f1f99e1890d1d23b271e1f213ef220f0d2d1c506857424028", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Checking crossterm v0.5.4 [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: the item `Vec` is imported redundantly [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [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: the item `Vec` is imported redundantly [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [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: `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: `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] | ^ [INFO] [stdout] | [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] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 6 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; 6 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") due to 4 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nv` (bin "nv" test) due to 4 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "500e744d6f3b521f1f99e1890d1d23b271e1f213ef220f0d2d1c506857424028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "500e744d6f3b521f1f99e1890d1d23b271e1f213ef220f0d2d1c506857424028", kill_on_drop: false }` [INFO] [stdout] 500e744d6f3b521f1f99e1890d1d23b271e1f213ef220f0d2d1c506857424028