[INFO] cloning repository https://github.com/coeuvre/zi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/coeuvre/zi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoeuvre%2Fzi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoeuvre%2Fzi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d98ef086d019e54a2a182beb844c65c7b3e5d744 [INFO] checking coeuvre/zi against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoeuvre%2Fzi" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/coeuvre/zi on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/coeuvre/zi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6545de631bbc26af041885cbd6a28545cd72708a01e9f78df4eb64f7558e8a20 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6545de631bbc26af041885cbd6a28545cd72708a01e9f78df4eb64f7558e8a20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6545de631bbc26af041885cbd6a28545cd72708a01e9f78df4eb64f7558e8a20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6545de631bbc26af041885cbd6a28545cd72708a01e9f78df4eb64f7558e8a20", kill_on_drop: false }` [INFO] [stdout] 6545de631bbc26af041885cbd6a28545cd72708a01e9f78df4eb64f7558e8a20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12c0eb60e4e6dc98a77e073f4857a7a56307644600bae16941026fe2e5337801 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "12c0eb60e4e6dc98a77e073f4857a7a56307644600bae16941026fe2e5337801", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking zi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: no rules expected the token `flags` [INFO] [stdout] --> src/term/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub flags KeyMod: u8 { [INFO] [stdout] | ^^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `flags` [INFO] [stdout] --> src/term/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub flags KeyMod: u8 { [INFO] [stdout] | ^^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Term` in this scope [INFO] [stdout] --> src/term/ascii.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | impl Term for AsciiTerm { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use Term; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyMod` in this scope [INFO] [stdout] --> src/term/mod.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | Key(Key, KeyMod), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/mod.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | fn wait_events(&mut self) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/mod.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl Term { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/mod.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new() -> Box { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | fn screen_to_term(screen: &Screen, term: &mut Term) { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zi` [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0405]: cannot find trait `Term` in this scope [INFO] [stdout] --> src/term/ascii.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | impl Term for AsciiTerm { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use Term; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyMod` in this scope [INFO] [stdout] --> src/term/mod.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | Key(Key, KeyMod), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/mod.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | fn wait_events(&mut self) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/mod.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl Term { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/mod.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new() -> Box { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | fn screen_to_term(screen: &Screen, term: &mut Term) { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Term` [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: E0405, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "12c0eb60e4e6dc98a77e073f4857a7a56307644600bae16941026fe2e5337801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12c0eb60e4e6dc98a77e073f4857a7a56307644600bae16941026fe2e5337801", kill_on_drop: false }` [INFO] [stdout] 12c0eb60e4e6dc98a77e073f4857a7a56307644600bae16941026fe2e5337801