[INFO] cloning repository https://github.com/volundmush/forge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/volundmush/forge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolundmush%2Fforge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolundmush%2Fforge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0358ee2767336d03c2df4aec45dd7b9b9a151bf1 [INFO] checking volundmush/forge against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolundmush%2Fforge" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/volundmush/forge on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/volundmush/forge [INFO] finished tweaking git repo https://github.com/volundmush/forge [INFO] tweaked toml for git repo https://github.com/volundmush/forge written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/volundmush/forge already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ed4957cc4a62c9ebe55d7d3e338fc46ac0fef9f46c2f2bd6a0517bb23e31706 [INFO] running `Command { std: "docker" "start" "-a" "6ed4957cc4a62c9ebe55d7d3e338fc46ac0fef9f46c2f2bd6a0517bb23e31706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ed4957cc4a62c9ebe55d7d3e338fc46ac0fef9f46c2f2bd6a0517bb23e31706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ed4957cc4a62c9ebe55d7d3e338fc46ac0fef9f46c2f2bd6a0517bb23e31706", kill_on_drop: false }` [INFO] [stdout] 6ed4957cc4a62c9ebe55d7d3e338fc46ac0fef9f46c2f2bd6a0517bb23e31706 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7972042db616352b8cb3b7d1f59d416ba018f02aaaa455b3436dfab834d8647 [INFO] running `Command { std: "docker" "start" "-a" "d7972042db616352b8cb3b7d1f59d416ba018f02aaaa455b3436dfab834d8647", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking forge v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error: cannot find macro `lazy_static` in this scope [INFO] [stdout] --> src/ansi.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] lazy_static::lazy_static [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `LinkedList` [INFO] [stdout] --> src/ansi.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{LinkedList, HashMap}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/ansi.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnsiMode: Clone` is not satisfied [INFO] [stdout] --> src/ansi.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 86 | pub ansi_fg_mode: AnsiMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `AnsiMode` [INFO] [stdout] | [INFO] [stdout] note: required by `clone` [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnsiMode: Clone` is not satisfied [INFO] [stdout] --> src/ansi.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 87 | pub ansi_bg_mode: AnsiMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `AnsiMode` [INFO] [stdout] | [INFO] [stdout] note: required by `clone` [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `AnsiMode` doesn't implement `Debug` [INFO] [stdout] --> src/ansi.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 86 | pub ansi_fg_mode: AnsiMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnsiMode` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `AnsiMode` [INFO] [stdout] = note: add `#[derive(Debug)]` to `AnsiMode` or manually `impl Debug for AnsiMode` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `AnsiMode` doesn't implement `Debug` [INFO] [stdout] --> src/ansi.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 87 | pub ansi_bg_mode: AnsiMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnsiMode` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `AnsiMode` [INFO] [stdout] = note: add `#[derive(Debug)]` to `AnsiMode` or manually `impl Debug for AnsiMode` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for type parameter `impl Into` in the current scope [INFO] [stdout] --> src/ansi.rs:127:46 [INFO] [stdout] | [INFO] [stdout] 127 | let mut map = Vec::with_capacity(src.len()); [INFO] [stdout] | ^^^ method not found in `impl Into` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following traits define an item `len`, perhaps you need to restrict type parameter `impl Into` with one of them: [INFO] [stdout] | [INFO] [stdout] 124 | pub fn from_markup(src: impl Into + ExactSizeIterator) -> Result { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 124 | pub fn from_markup(src: impl Into + Input) -> Result { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: From>` is not satisfied [INFO] [stdout] --> src/ansi.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | let mut original = String::from(src); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `From>` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] note: required by `from` [INFO] [stdout] help: consider introducing a `where` bound, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 123 | impl AnsiString where String: From> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `Self` constructor can only be used with tuple or unit structs [INFO] [stdout] --> src/ansi.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | Self.setup_markup(m); [INFO] [stdout] | ^^^^ help: use curly brackets: `Self { /* fields */ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lazy_static` in this scope [INFO] [stdout] --> src/ansi.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] lazy_static::lazy_static [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ansi.rs:222:77 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn from_codes(codes: impl Into, text: impl Into) -> Result { [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ansi.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | fn setup_markup(&mut m: Markup) -> Result<(), String> { [INFO] [stdout] | ^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | expected struct `Markup`, found `&mut _` [INFO] [stdout] | help: did you mean `m`: `&Markup` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Markup` [INFO] [stdout] found mutable reference `&mut _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ansi.rs:241:29 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn encode(&self) -> String { [INFO] [stdout] | ------ ^^^^^^ expected struct `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ansi.rs:245:72 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn render_telnet(&self, ansi: bool, xterm: bool, mxp: bool) -> String { [INFO] [stdout] | ------------- ^^^^^^ expected struct `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `LinkedList` [INFO] [stdout] --> src/ansi.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{LinkedList, HashMap}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/ansi.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `forge` due to 13 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `AnsiMode: Clone` is not satisfied [INFO] [stdout] --> src/ansi.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 86 | pub ansi_fg_mode: AnsiMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `AnsiMode` [INFO] [stdout] | [INFO] [stdout] note: required by `clone` [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnsiMode: Clone` is not satisfied [INFO] [stdout] --> src/ansi.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 87 | pub ansi_bg_mode: AnsiMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `AnsiMode` [INFO] [stdout] | [INFO] [stdout] note: required by `clone` [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `AnsiMode` doesn't implement `Debug` [INFO] [stdout] --> src/ansi.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 86 | pub ansi_fg_mode: AnsiMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnsiMode` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `AnsiMode` [INFO] [stdout] = note: add `#[derive(Debug)]` to `AnsiMode` or manually `impl Debug for AnsiMode` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `AnsiMode` doesn't implement `Debug` [INFO] [stdout] --> src/ansi.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 87 | pub ansi_bg_mode: AnsiMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnsiMode` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `AnsiMode` [INFO] [stdout] = note: add `#[derive(Debug)]` to `AnsiMode` or manually `impl Debug for AnsiMode` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for type parameter `impl Into` in the current scope [INFO] [stdout] --> src/ansi.rs:127:46 [INFO] [stdout] | [INFO] [stdout] 127 | let mut map = Vec::with_capacity(src.len()); [INFO] [stdout] | ^^^ method not found in `impl Into` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following traits define an item `len`, perhaps you need to restrict type parameter `impl Into` with one of them: [INFO] [stdout] | [INFO] [stdout] 124 | pub fn from_markup(src: impl Into + ExactSizeIterator) -> Result { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 124 | pub fn from_markup(src: impl Into + Input) -> Result { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: From>` is not satisfied [INFO] [stdout] --> src/ansi.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | let mut original = String::from(src); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `From>` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] note: required by `from` [INFO] [stdout] help: consider introducing a `where` bound, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 123 | impl AnsiString where String: From> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `Self` constructor can only be used with tuple or unit structs [INFO] [stdout] --> src/ansi.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | Self.setup_markup(m); [INFO] [stdout] | ^^^^ help: use curly brackets: `Self { /* fields */ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ansi.rs:222:77 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn from_codes(codes: impl Into, text: impl Into) -> Result { [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ansi.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | fn setup_markup(&mut m: Markup) -> Result<(), String> { [INFO] [stdout] | ^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | expected struct `Markup`, found `&mut _` [INFO] [stdout] | help: did you mean `m`: `&Markup` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Markup` [INFO] [stdout] found mutable reference `&mut _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ansi.rs:241:29 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn encode(&self) -> String { [INFO] [stdout] | ------ ^^^^^^ expected struct `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ansi.rs:245:72 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn render_telnet(&self, ansi: bool, xterm: bool, mxp: bool) -> String { [INFO] [stdout] | ------------- ^^^^^^ expected struct `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "d7972042db616352b8cb3b7d1f59d416ba018f02aaaa455b3436dfab834d8647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7972042db616352b8cb3b7d1f59d416ba018f02aaaa455b3436dfab834d8647", kill_on_drop: false }` [INFO] [stdout] d7972042db616352b8cb3b7d1f59d416ba018f02aaaa455b3436dfab834d8647