[INFO] updating cached repository https://github.com/Javyre/nv [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4845ecd4a0ac047625e0fbf7edc65d8cbe38cd88 [INFO] checking Javyre/nv against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJavyre%2Fnv" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Javyre/nv on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-11/source/Cargo.toml [INFO] crate git repo https://github.com/Javyre/nv already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 28e4dc9a8cf3b46a29fe921d3ab8f54cce80288832c6f8546742f1e3c5cd3ee7 [INFO] running `"docker" "start" "-a" "28e4dc9a8cf3b46a29fe921d3ab8f54cce80288832c6f8546742f1e3c5cd3ee7"` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [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] Checking crossterm v0.5.4 [INFO] [stderr] Compiling quote v0.6.10 [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] [stderr] error: expected `;`, found `keyword `Self`` [INFO] [stderr] --> src/main.rs:481:42 [INFO] [stderr] | [INFO] [stderr] 481 | let buffer = file.by_ref().take() [INFO] [stderr] | ^ help: add `;` here [INFO] [stderr] 482 | [INFO] [stderr] 483 | Self { [INFO] [stderr] | ---- unexpected token [INFO] [stderr] [INFO] [stderr] error: expected `;`, found `keyword `Self`` [INFO] [stderr] --> src/main.rs:481:42 [INFO] [stderr] | [INFO] [stderr] 481 | let buffer = file.by_ref().take() [INFO] [stderr] | ^ help: add `;` here [INFO] [stderr] 482 | [INFO] [stderr] 483 | Self { [INFO] [stderr] | ---- unexpected token [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Cow` [INFO] [stderr] --> src/main.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | use std::borrow::Cow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Cow` [INFO] [stderr] --> src/main.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | use std::borrow::Cow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `take` found for mutable reference `&mut std::fs::File` in the current scope [INFO] [stderr] --> src/main.rs:481:36 [INFO] [stderr] | [INFO] [stderr] 481 | let buffer = file.by_ref().take() [INFO] [stderr] | ^^^^ method not found in `&mut std::fs::File` [INFO] [stderr] | [INFO] [stderr] = note: the method `take` exists but the following trait bounds were not satisfied: [INFO] [stderr] `std::fs::File: std::iter::Iterator` [INFO] [stderr] which is required by `&mut std::fs::File: std::iter::Iterator` [INFO] [stderr] `&mut std::fs::File: std::iter::Iterator` [INFO] [stderr] which is required by `&mut &mut std::fs::File: std::iter::Iterator` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 22 | use std::io::Read; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `take` found for mutable reference `&mut std::fs::File` in the current scope [INFO] [stderr] --> src/main.rs:481:36 [INFO] [stderr] | [INFO] [stderr] 481 | let buffer = file.by_ref().take() [INFO] [stderr] | ^^^^ method not found in `&mut std::fs::File` [INFO] [stderr] | [INFO] [stderr] = note: the method `take` exists but the following trait bounds were not satisfied: [INFO] [stderr] `std::fs::File: std::iter::Iterator` [INFO] [stderr] which is required by `&mut std::fs::File: std::iter::Iterator` [INFO] [stderr] `&mut std::fs::File: std::iter::Iterator` [INFO] [stderr] which is required by `&mut &mut std::fs::File: std::iter::Iterator` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 22 | use std::io::Read; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `FileView` has no field named `buffer` [INFO] [stderr] --> src/main.rs:487:13 [INFO] [stderr] | [INFO] [stderr] 487 | buffer: buffer, [INFO] [stderr] | ^^^^^^ `FileView` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `geo`, `path`, `file`, `scroll` [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `FileView` has no field named `buffer` [INFO] [stderr] --> src/main.rs:487:13 [INFO] [stderr] | [INFO] [stderr] 487 | buffer: buffer, [INFO] [stderr] | ^^^^^^ `FileView` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `geo`, `path`, `file`, `scroll` [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `u16` is invalid [INFO] [stderr] --> src/main.rs:716:21 [INFO] [stderr] | [INFO] [stderr] 716 | let width = ((self.root.geo.w as f32 -1.0) / shown as f32).floor() as u16; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `u16` is invalid [INFO] [stderr] --> src/main.rs:716:21 [INFO] [stderr] | [INFO] [stderr] 716 | let width = ((self.root.geo.w as f32 -1.0) / shown as f32).floor() as u16; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0560, E0599, E0606. [INFO] [stderr] For more information about an error, try `rustc --explain E0560`. [INFO] [stderr] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0560, E0599, E0606. [INFO] [stderr] For more information about an error, try `rustc --explain E0560`. [INFO] [stderr] error: could not compile `nv`. [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] [stderr] error: could not compile `nv`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "28e4dc9a8cf3b46a29fe921d3ab8f54cce80288832c6f8546742f1e3c5cd3ee7"` [INFO] running `"docker" "rm" "-f" "28e4dc9a8cf3b46a29fe921d3ab8f54cce80288832c6f8546742f1e3c5cd3ee7"` [INFO] [stdout] 28e4dc9a8cf3b46a29fe921d3ab8f54cce80288832c6f8546742f1e3c5cd3ee7