[INFO] updating cached repository https://github.com/coeuvre/zi [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] d98ef086d019e54a2a182beb844c65c7b3e5d744 [INFO] checking coeuvre/zi against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoeuvre%2Fzi" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/coeuvre/zi 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/coeuvre/zi [INFO] finished tweaking git repo https://github.com/coeuvre/zi [INFO] tweaked toml for git repo https://github.com/coeuvre/zi written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/coeuvre/zi 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] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 33bbc4695a7a4350d82e93dc0a2c2442253ab7163029cdc123651083393355e3 [INFO] running `"docker" "start" "-a" "33bbc4695a7a4350d82e93dc0a2c2442253ab7163029cdc123651083393355e3"` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking zi v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: no rules expected the token `flags` [INFO] [stderr] --> src/term/mod.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | pub flags KeyMod: u8 { [INFO] [stderr] | ^^^^^ no rules expected this token in macro call [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `flags` [INFO] [stderr] --> src/term/mod.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | pub flags KeyMod: u8 { [INFO] [stderr] | ^^^^^ no rules expected this token in macro call [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Term` in this scope [INFO] [stderr] --> src/term/ascii.rs:51:6 [INFO] [stderr] | [INFO] [stderr] 51 | impl Term for AsciiTerm { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use term::Term; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `KeyMod` in this scope [INFO] [stderr] --> src/term/mod.rs:54:14 [INFO] [stderr] | [INFO] [stderr] 54 | Key(Key, KeyMod), [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/term/mod.rs:29:38 [INFO] [stderr] | [INFO] [stderr] 29 | fn wait_events(&mut self) -> Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/term/mod.rs:32:6 [INFO] [stderr] | [INFO] [stderr] 32 | impl Term { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Term` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/term/mod.rs:33:25 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn new() -> Box { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Term` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:11:47 [INFO] [stderr] | [INFO] [stderr] 11 | fn screen_to_term(screen: &Screen, term: &mut Term) { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Term` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/term/ascii.rs:14:31 [INFO] [stderr] | [INFO] [stderr] 14 | let mut termios = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Term` in this scope [INFO] [stderr] --> src/term/ascii.rs:51:6 [INFO] [stderr] | [INFO] [stderr] 51 | impl Term for AsciiTerm { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use term::Term; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `KeyMod` in this scope [INFO] [stderr] --> src/term/mod.rs:54:14 [INFO] [stderr] | [INFO] [stderr] 54 | Key(Key, KeyMod), [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/term/mod.rs:29:38 [INFO] [stderr] | [INFO] [stderr] 29 | fn wait_events(&mut self) -> Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/term/mod.rs:32:6 [INFO] [stderr] | [INFO] [stderr] 32 | impl Term { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Term` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/term/mod.rs:33:25 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn new() -> Box { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Term` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:11:47 [INFO] [stderr] | [INFO] [stderr] 11 | fn screen_to_term(screen: &Screen, term: &mut Term) { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Term` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/term/ascii.rs:14:31 [INFO] [stderr] | [INFO] [stderr] 14 | let mut termios = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `zi`. [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 `zi`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "33bbc4695a7a4350d82e93dc0a2c2442253ab7163029cdc123651083393355e3"` [INFO] running `"docker" "rm" "-f" "33bbc4695a7a4350d82e93dc0a2c2442253ab7163029cdc123651083393355e3"` [INFO] [stdout] 33bbc4695a7a4350d82e93dc0a2c2442253ab7163029cdc123651083393355e3