[INFO] cloning repository https://github.com/marcwenz/rustic-typewriter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcwenz/rustic-typewriter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcwenz%2Frustic-typewriter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcwenz%2Frustic-typewriter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1846c1e8b941c6b3b03b32d7eeeb4af7dcc3b656 [INFO] checking marcwenz/rustic-typewriter against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcwenz%2Frustic-typewriter" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marcwenz/rustic-typewriter 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/marcwenz/rustic-typewriter [INFO] finished tweaking git repo https://github.com/marcwenz/rustic-typewriter [INFO] tweaked toml for git repo https://github.com/marcwenz/rustic-typewriter written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/marcwenz/rustic-typewriter 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] ea89b00af3f714a1adfd2d522442e3db1f7e7edd4cd43ab39718dbda3bf1bb39 [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" "ea89b00af3f714a1adfd2d522442e3db1f7e7edd4cd43ab39718dbda3bf1bb39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea89b00af3f714a1adfd2d522442e3db1f7e7edd4cd43ab39718dbda3bf1bb39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea89b00af3f714a1adfd2d522442e3db1f7e7edd4cd43ab39718dbda3bf1bb39", kill_on_drop: false }` [INFO] [stdout] ea89b00af3f714a1adfd2d522442e3db1f7e7edd4cd43ab39718dbda3bf1bb39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 95d69911859d40ca99ea9e4b24cd6fc1b325f0acb41a2e12a80ec0ac5956f3bc [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" "95d69911859d40ca99ea9e4b24cd6fc1b325f0acb41a2e12a80ec0ac5956f3bc", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking array-macro v1.0.5 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking xi-unicode v0.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking signal-hook v0.1.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking ahash v0.4.4 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking num v0.3.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling enum-map-derive v0.4.3 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking enum-map v0.6.3 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling enumset_derive v0.5.0 [INFO] [stderr] Checking enumset v1.0.1 [INFO] [stderr] Checking cursive_core v0.1.1 [INFO] [stderr] Checking cursive v0.15.0 [INFO] [stderr] Checking rustic-typewriter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::char` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::char; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnableableView`, `PaletteColor` [INFO] [stdout] --> src/main.rs:19:63 [INFO] [stdout] | [INFO] [stdout] 19 | theme::{BaseColor, Color, ColorStyle, ColorType, Palette, PaletteColor, Theme}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | utils::markup::StyledString, [INFO] [stdout] 21 | views::{Canvas, Dialog, EditView, EnableableView, LinearLayout, TextView}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::char` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::char; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnableableView`, `PaletteColor` [INFO] [stdout] --> src/main.rs:19:63 [INFO] [stdout] | [INFO] [stdout] 19 | theme::{BaseColor, Color, ColorStyle, ColorType, Palette, PaletteColor, Theme}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | utils::markup::StyledString, [INFO] [stdout] 21 | views::{Canvas, Dialog, EditView, EnableableView, LinearLayout, TextView}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | printer.print((0, 1), text); [INFO] [stdout] | ^^^^ expected `str`, found struct `EditView` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&EditView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clear` found for mutable reference `&mut EditView` in the current scope [INFO] [stdout] --> src/main.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | text.clear(); [INFO] [stdout] | ^^^^^ method not found in `&mut EditView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for mutable reference `&mut EditView` in the current scope [INFO] [stdout] --> src/main.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | text.push(c); [INFO] [stdout] | ^^^^ method not found in `&mut EditView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for mutable reference `&mut EditView` in the current scope [INFO] [stdout] --> src/main.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | let text = text.clone(); [INFO] [stdout] | ^^^^^ method not found in `&mut EditView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `width` found for mutable reference `&mut EditView` in the current scope [INFO] [stdout] --> src/main.rs:89:56 [INFO] [stdout] | [INFO] [stdout] 89 | .with_required_size(|text, _constraints| (text.width(), 2).into()); [INFO] [stdout] | ^^^^^ method not found in `&mut EditView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unicode_width::UnicodeWidthStr` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use unicode_width::UnicodeWidthStr; // To get the width of some text. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustic-typewriter` [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | printer.print((0, 1), text); [INFO] [stdout] | ^^^^ expected `str`, found struct `EditView` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&EditView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clear` found for mutable reference `&mut EditView` in the current scope [INFO] [stdout] --> src/main.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | text.clear(); [INFO] [stdout] | ^^^^^ method not found in `&mut EditView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for mutable reference `&mut EditView` in the current scope [INFO] [stdout] --> src/main.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | text.push(c); [INFO] [stdout] | ^^^^ method not found in `&mut EditView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for mutable reference `&mut EditView` in the current scope [INFO] [stdout] --> src/main.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | let text = text.clone(); [INFO] [stdout] | ^^^^^ method not found in `&mut EditView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `width` found for mutable reference `&mut EditView` in the current scope [INFO] [stdout] --> src/main.rs:89:56 [INFO] [stdout] | [INFO] [stdout] 89 | .with_required_size(|text, _constraints| (text.width(), 2).into()); [INFO] [stdout] | ^^^^^ method not found in `&mut EditView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unicode_width::UnicodeWidthStr` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use unicode_width::UnicodeWidthStr; // To get the width of some text. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "95d69911859d40ca99ea9e4b24cd6fc1b325f0acb41a2e12a80ec0ac5956f3bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95d69911859d40ca99ea9e4b24cd6fc1b325f0acb41a2e12a80ec0ac5956f3bc", kill_on_drop: false }` [INFO] [stdout] 95d69911859d40ca99ea9e4b24cd6fc1b325f0acb41a2e12a80ec0ac5956f3bc