[INFO] updating cached repository https://github.com/agmike/tzbuildasset [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] ca071d99816c79c9c2ea028ebd7226d42d685f2c [INFO] checking agmike/tzbuildasset against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagmike%2Ftzbuildasset" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/agmike/tzbuildasset 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/agmike/tzbuildasset [INFO] finished tweaking git repo https://github.com/agmike/tzbuildasset [INFO] tweaked toml for git repo https://github.com/agmike/tzbuildasset written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/agmike/tzbuildasset 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-3/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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 5b83933539146c7e99bda9bdaa159584c12a4a25d9079ae701252bca9e8502af [INFO] running `"docker" "start" "-a" "5b83933539146c7e99bda9bdaa159584c12a4a25d9079ae701252bca9e8502af"` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Checking docopt v1.1.0 [INFO] [stderr] Checking tzbuildasset v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/displayprefix.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | try!(f.write_str("\n")); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/displayprefix.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | try!(write!(f, "{}{}", self.prefix, line)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/trainzutil.rs:65:13 [INFO] [stderr] | [INFO] [stderr] 65 | try!(write!(f, "{}\n", line)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/trainzutil.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | try!(write!(f, "OK ({} Errors, {} Warnings)", self.errors, self.warnings)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/trainzutil.rs:117:18 [INFO] [stderr] | [INFO] [stderr] 117 | let result = try!(Command::new(path).args(args).output()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/main.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | use std::error::{Error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Write`, `self` [INFO] [stderr] --> src/main.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | use std::io::{self, BufRead, BufReader, Read, Write}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/trainzutil.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | Unknown(Box) [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/trainzutil.rs:88:32 [INFO] [stderr] | [INFO] [stderr] 88 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:215:13 [INFO] [stderr] | [INFO] [stderr] 215 | else if (recursive) { [INFO] [stderr] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/displayprefix.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | try!(f.write_str("\n")); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/displayprefix.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | try!(write!(f, "{}{}", self.prefix, line)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/trainzutil.rs:65:13 [INFO] [stderr] | [INFO] [stderr] 65 | try!(write!(f, "{}\n", line)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/trainzutil.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | try!(write!(f, "OK ({} Errors, {} Warnings)", self.errors, self.warnings)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/trainzutil.rs:117:18 [INFO] [stderr] | [INFO] [stderr] 117 | let result = try!(Command::new(path).args(args).output()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/main.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | use std::error::{Error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Write`, `self` [INFO] [stderr] --> src/main.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | use std::io::{self, BufRead, BufReader, Read, Write}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/trainzutil.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | Unknown(Box) [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/trainzutil.rs:88:32 [INFO] [stderr] | [INFO] [stderr] 88 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:215:13 [INFO] [stderr] | [INFO] [stderr] 215 | else if (recursive) { [INFO] [stderr] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `decode` found for struct `docopt::Docopt` in the current scope [INFO] [stderr] --> src/main.rs:82:45 [INFO] [stderr] | [INFO] [stderr] 82 | ... .and_then(|d| d.decode()) [INFO] [stderr] | ^^^^^^ method not found in `docopt::Docopt` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:202:32 [INFO] [stderr] | [INFO] [stderr] 202 | .unwrap_or(""); [INFO] [stderr] | ^^ expected struct `regex::Match`, found `&str` [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:204:60 [INFO] [stderr] | [INFO] [stderr] 204 | log_normal!(Info, "Found asset '{}' <{}>: {}", name, kuid, path.display()); [INFO] [stderr] | ^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:204:66 [INFO] [stderr] | [INFO] [stderr] 204 | log_normal!(Info, "Found asset '{}' <{}>: {}", name, kuid, path.display()); [INFO] [stderr] | ^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `is_empty` found for struct `regex::Match<'_>` in the current scope [INFO] [stderr] --> src/main.rs:207:31 [INFO] [stderr] | [INFO] [stderr] 207 | name: if name.is_empty() { format!("<{}>", kuid) } else { name.to_owned() }, [INFO] [stderr] | ^^^^^^^^ method not found in `regex::Match<'_>` [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:207:60 [INFO] [stderr] | [INFO] [stderr] 207 | name: if name.is_empty() { format!("<{}>", kuid) } else { name.to_owned() }, [INFO] [stderr] | ^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `decode` found for struct `docopt::Docopt` in the current scope [INFO] [stderr] --> src/main.rs:82:45 [INFO] [stderr] | [INFO] [stderr] 82 | ... .and_then(|d| d.decode()) [INFO] [stderr] | ^^^^^^ method not found in `docopt::Docopt` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:207:75 [INFO] [stderr] | [INFO] [stderr] 207 | name: if name.is_empty() { format!("<{}>", kuid) } else { name.to_owned() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^ expected struct `std::string::String`, found struct `regex::Match` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:208:23 [INFO] [stderr] | [INFO] [stderr] 208 | kuid: kuid.to_owned(), [INFO] [stderr] | ^^^^^^^^^^^^^^^ expected struct `std::string::String`, found struct `regex::Match` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:202:32 [INFO] [stderr] | [INFO] [stderr] 202 | .unwrap_or(""); [INFO] [stderr] | ^^ expected struct `regex::Match`, found `&str` [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:204:60 [INFO] [stderr] | [INFO] [stderr] 204 | log_normal!(Info, "Found asset '{}' <{}>: {}", name, kuid, path.display()); [INFO] [stderr] | ^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:204:66 [INFO] [stderr] | [INFO] [stderr] 204 | log_normal!(Info, "Found asset '{}' <{}>: {}", name, kuid, path.display()); [INFO] [stderr] | ^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `is_empty` found for struct `regex::Match<'_>` in the current scope [INFO] [stderr] --> src/main.rs:207:31 [INFO] [stderr] | [INFO] [stderr] 207 | name: if name.is_empty() { format!("<{}>", kuid) } else { name.to_owned() }, [INFO] [stderr] | ^^^^^^^^ method not found in `regex::Match<'_>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:327:17 [INFO] [stderr] | [INFO] [stderr] 326 | match prefix { [INFO] [stderr] | ------ this expression has type `regex::Match<'_>` [INFO] [stderr] 327 | "-" => log_normal! (Error, "{}", message), [INFO] [stderr] | ^^^ expected struct `regex::Match`, found `&str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:328:17 [INFO] [stderr] | [INFO] [stderr] 326 | match prefix { [INFO] [stderr] | ------ this expression has type `regex::Match<'_>` [INFO] [stderr] 327 | "-" => log_normal! (Error, "{}", message), [INFO] [stderr] 328 | "!" => log_normal! ( Warn, "{}", message), [INFO] [stderr] | ^^^ expected struct `regex::Match`, found `&str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:329:17 [INFO] [stderr] | [INFO] [stderr] 326 | match prefix { [INFO] [stderr] | ------ this expression has type `regex::Match<'_>` [INFO] [stderr] ... [INFO] [stderr] 329 | "+" => log_normal! ( Info, "{}", message), [INFO] [stderr] | ^^^ expected struct `regex::Match`, found `&str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:330:17 [INFO] [stderr] | [INFO] [stderr] 326 | match prefix { [INFO] [stderr] | ------ this expression has type `regex::Match<'_>` [INFO] [stderr] ... [INFO] [stderr] 330 | ";" => log_verbose!( Info, "{}", message), [INFO] [stderr] | ^^^ expected struct `regex::Match`, found `&str` [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:327:50 [INFO] [stderr] | [INFO] [stderr] 327 | "-" => log_normal! (Error, "{}", message), [INFO] [stderr] | ^^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:328:50 [INFO] [stderr] | [INFO] [stderr] 328 | "!" => log_normal! ( Warn, "{}", message), [INFO] [stderr] | ^^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:329:50 [INFO] [stderr] | [INFO] [stderr] 329 | "+" => log_normal! ( Info, "{}", message), [INFO] [stderr] | ^^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:207:60 [INFO] [stderr] | [INFO] [stderr] 207 | name: if name.is_empty() { format!("<{}>", kuid) } else { name.to_owned() }, [INFO] [stderr] | ^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:330:50 [INFO] [stderr] | [INFO] [stderr] 330 | ";" => log_verbose!( Info, "{}", message), [INFO] [stderr] | ^^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:334:17 [INFO] [stderr] | [INFO] [stderr] 333 | match prefix { [INFO] [stderr] | ------ this expression has type `regex::Match<'_>` [INFO] [stderr] 334 | "-" => log_silent!(Error, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^ expected struct `regex::Match`, found `&str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:335:17 [INFO] [stderr] | [INFO] [stderr] 333 | match prefix { [INFO] [stderr] | ------ this expression has type `regex::Match<'_>` [INFO] [stderr] 334 | "-" => log_silent!(Error, "{} {} : {}", prefix, asset, message), [INFO] [stderr] 335 | "!" => log_silent!( Warn, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^ expected struct `regex::Match`, found `&str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:336:17 [INFO] [stderr] | [INFO] [stderr] 333 | match prefix { [INFO] [stderr] | ------ this expression has type `regex::Match<'_>` [INFO] [stderr] ... [INFO] [stderr] 336 | "+" => log_silent!( Info, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^ expected struct `regex::Match`, found `&str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:337:17 [INFO] [stderr] | [INFO] [stderr] 333 | match prefix { [INFO] [stderr] | ------ this expression has type `regex::Match<'_>` [INFO] [stderr] ... [INFO] [stderr] 337 | ";" => log_silent!( Info, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^ expected struct `regex::Match`, found `&str` [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:334:57 [INFO] [stderr] | [INFO] [stderr] 334 | "-" => log_silent!(Error, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:334:72 [INFO] [stderr] | [INFO] [stderr] 334 | "-" => log_silent!(Error, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:335:57 [INFO] [stderr] | [INFO] [stderr] 335 | "!" => log_silent!( Warn, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:335:72 [INFO] [stderr] | [INFO] [stderr] 335 | "!" => log_silent!( Warn, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:336:57 [INFO] [stderr] | [INFO] [stderr] 336 | "+" => log_silent!( Info, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:336:72 [INFO] [stderr] | [INFO] [stderr] 336 | "+" => log_silent!( Info, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:337:57 [INFO] [stderr] | [INFO] [stderr] 337 | ";" => log_silent!( Info, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:337:72 [INFO] [stderr] | [INFO] [stderr] 337 | ";" => log_silent!( Info, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:207:75 [INFO] [stderr] | [INFO] [stderr] 207 | name: if name.is_empty() { format!("<{}>", kuid) } else { name.to_owned() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^ expected struct `std::string::String`, found struct `regex::Match` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:208:23 [INFO] [stderr] | [INFO] [stderr] 208 | kuid: kuid.to_owned(), [INFO] [stderr] | ^^^^^^^^^^^^^^^ expected struct `std::string::String`, found struct `regex::Match` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/trainzutil.rs:56:75 [INFO] [stderr] | [INFO] [stderr] 56 | errors: results.name("errors").and_then(|s| FromStr::from_str(s).ok()).unwrap(), [INFO] [stderr] | ^ expected `&str`, found struct `regex::Match` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:327:17 [INFO] [stderr] | [INFO] [stderr] 326 | match prefix { [INFO] [stderr] | ------ this expression has type `regex::Match<'_>` [INFO] [stderr] 327 | "-" => log_normal! (Error, "{}", message), [INFO] [stderr] | ^^^ expected struct `regex::Match`, found `&str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:328:17 [INFO] [stderr] | [INFO] [stderr] 326 | match prefix { [INFO] [stderr] | ------ this expression has type `regex::Match<'_>` [INFO] [stderr] 327 | "-" => log_normal! (Error, "{}", message), [INFO] [stderr] 328 | "!" => log_normal! ( Warn, "{}", message), [INFO] [stderr] | ^^^ expected struct `regex::Match`, found `&str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:329:17 [INFO] [stderr] | [INFO] [stderr] 326 | match prefix { [INFO] [stderr] | ------ this expression has type `regex::Match<'_>` [INFO] [stderr] ... [INFO] [stderr] 329 | "+" => log_normal! ( Info, "{}", message), [INFO] [stderr] | ^^^ expected struct `regex::Match`, found `&str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:330:17 [INFO] [stderr] | [INFO] [stderr] 326 | match prefix { [INFO] [stderr] | ------ this expression has type `regex::Match<'_>` [INFO] [stderr] ... [INFO] [stderr] 330 | ";" => log_verbose!( Info, "{}", message), [INFO] [stderr] | ^^^ expected struct `regex::Match`, found `&str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/trainzutil.rs:57:79 [INFO] [stderr] | [INFO] [stderr] 57 | warnings: results.name("warnings").and_then(|s| FromStr::from_str(s).ok()).unwrap(), [INFO] [stderr] | ^ expected `&str`, found struct `regex::Match` [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:327:50 [INFO] [stderr] | [INFO] [stderr] 327 | "-" => log_normal! (Error, "{}", message), [INFO] [stderr] | ^^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:328:50 [INFO] [stderr] | [INFO] [stderr] 328 | "!" => log_normal! ( Warn, "{}", message), [INFO] [stderr] | ^^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:329:50 [INFO] [stderr] | [INFO] [stderr] 329 | "+" => log_normal! ( Info, "{}", message), [INFO] [stderr] | ^^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `BufRead` [INFO] [stderr] --> src/main.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | use std::io::{self, BufRead, BufReader, Read, Write}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/trainzutil.rs:2:38 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io::{self, BufRead, Cursor, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:330:50 [INFO] [stderr] | [INFO] [stderr] 330 | ";" => log_verbose!( Info, "{}", message), [INFO] [stderr] | ^^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 30 previous errors; 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:334:17 [INFO] [stderr] | [INFO] [stderr] 333 | match prefix { [INFO] [stderr] | ------ this expression has type `regex::Match<'_>` [INFO] [stderr] 334 | "-" => log_silent!(Error, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^ expected struct `regex::Match`, found `&str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:335:17 [INFO] [stderr] | [INFO] [stderr] 333 | match prefix { [INFO] [stderr] | ------ this expression has type `regex::Match<'_>` [INFO] [stderr] 334 | "-" => log_silent!(Error, "{} {} : {}", prefix, asset, message), [INFO] [stderr] 335 | "!" => log_silent!( Warn, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^ expected struct `regex::Match`, found `&str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:336:17 [INFO] [stderr] | [INFO] [stderr] 333 | match prefix { [INFO] [stderr] | ------ this expression has type `regex::Match<'_>` [INFO] [stderr] ... [INFO] [stderr] 336 | "+" => log_silent!( Info, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^ expected struct `regex::Match`, found `&str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:337:17 [INFO] [stderr] | [INFO] [stderr] 333 | match prefix { [INFO] [stderr] | ------ this expression has type `regex::Match<'_>` [INFO] [stderr] ... [INFO] [stderr] 337 | ";" => log_silent!( Info, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^ expected struct `regex::Match`, found `&str` [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:334:57 [INFO] [stderr] | [INFO] [stderr] 334 | "-" => log_silent!(Error, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: could not compile `tzbuildasset`. [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[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:334:72 [INFO] [stderr] | [INFO] [stderr] 334 | "-" => log_silent!(Error, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:335:57 [INFO] [stderr] | [INFO] [stderr] 335 | "!" => log_silent!( Warn, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:335:72 [INFO] [stderr] | [INFO] [stderr] 335 | "!" => log_silent!( Warn, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:336:57 [INFO] [stderr] | [INFO] [stderr] 336 | "+" => log_silent!( Info, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:336:72 [INFO] [stderr] | [INFO] [stderr] 336 | "+" => log_silent!( Info, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:337:57 [INFO] [stderr] | [INFO] [stderr] 337 | ";" => log_silent!( Info, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `regex::Match<'_>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:337:72 [INFO] [stderr] | [INFO] [stderr] 337 | ";" => log_silent!( Info, "{} {} : {}", prefix, asset, message), [INFO] [stderr] | ^^^^^^^ `regex::Match<'_>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `regex::Match<'_>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/trainzutil.rs:56:75 [INFO] [stderr] | [INFO] [stderr] 56 | errors: results.name("errors").and_then(|s| FromStr::from_str(s).ok()).unwrap(), [INFO] [stderr] | ^ expected `&str`, found struct `regex::Match` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/trainzutil.rs:57:79 [INFO] [stderr] | [INFO] [stderr] 57 | warnings: results.name("warnings").and_then(|s| FromStr::from_str(s).ok()).unwrap(), [INFO] [stderr] | ^ expected `&str`, found struct `regex::Match` [INFO] [stderr] [INFO] [stderr] warning: unused import: `BufRead` [INFO] [stderr] --> src/main.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | use std::io::{self, BufRead, BufReader, Read, Write}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/trainzutil.rs:2:38 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io::{self, BufRead, Cursor, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 30 previous errors; 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `tzbuildasset`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "5b83933539146c7e99bda9bdaa159584c12a4a25d9079ae701252bca9e8502af"` [INFO] running `"docker" "rm" "-f" "5b83933539146c7e99bda9bdaa159584c12a4a25d9079ae701252bca9e8502af"` [INFO] [stdout] 5b83933539146c7e99bda9bdaa159584c12a4a25d9079ae701252bca9e8502af