[INFO] cloning repository https://github.com/various3211workd/mel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/various3211workd/mel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvarious3211workd%2Fmel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvarious3211workd%2Fmel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5fce0a2bf718882c2af6ba3713880d1bbb9e9427 [INFO] checking various3211workd/mel against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvarious3211workd%2Fmel" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/various3211workd/mel on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/various3211workd/mel [INFO] finished tweaking git repo https://github.com/various3211workd/mel [INFO] tweaked toml for git repo https://github.com/various3211workd/mel written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/various3211workd/mel already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cookie_store v0.5.1 [INFO] [stderr] Downloaded hyper v0.12.28 [INFO] [stderr] Downloaded openssl-sys v0.9.45 [INFO] [stderr] Downloaded tokio v0.1.19 [INFO] [stderr] Downloaded docopt v0.8.3 [INFO] [stderr] Downloaded reqwest v0.9.16 [INFO] [stderr] Downloaded futures v0.1.26 [INFO] [stderr] Downloaded openssl v0.10.21 [INFO] running `Command { std: "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" "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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fe9ef02f2f174dab2925ae4b8d92136413f8e1c1769811940639ebbe362d522 [INFO] running `Command { std: "docker" "start" "-a" "1fe9ef02f2f174dab2925ae4b8d92136413f8e1c1769811940639ebbe362d522", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fe9ef02f2f174dab2925ae4b8d92136413f8e1c1769811940639ebbe362d522", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fe9ef02f2f174dab2925ae4b8d92136413f8e1c1769811940639ebbe362d522", kill_on_drop: false }` [INFO] [stdout] 1fe9ef02f2f174dab2925ae4b8d92136413f8e1c1769811940639ebbe362d522 [INFO] running `Command { std: "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" "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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64c70940567bac1b98c07b82489fd62c674597d762624d222a1305af88997c2e [INFO] running `Command { std: "docker" "start" "-a" "64c70940567bac1b98c07b82489fd62c674597d762624d222a1305af88997c2e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling cc v1.0.36 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling serde v1.0.88 [INFO] [stderr] Checking rustc-demangle v0.1.14 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling openssl v0.10.21 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking string v0.1.3 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling winapi v0.3.6 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Checking miniz_oxide v0.2.1 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking tokio-trace-core v0.1.0 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking tokio-sync v0.1.5 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking getopts v0.2.18 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking tokio-executor v0.1.7 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking tokio-timer v0.2.10 [INFO] [stderr] Checking mime v0.3.13 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking wincolor v0.1.6 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling openssl-sys v0.9.45 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking flate2 v1.0.7 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking cookie v0.11.1 [INFO] [stderr] Checking pbr v1.0.1 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking http v0.1.17 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking tokio-threadpool v0.1.14 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking publicsuffix v1.5.2 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking serde_json v1.0.38 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio v0.1.19 [INFO] [stderr] Compiling serde_derive v1.0.88 [INFO] [stderr] Checking h2 v0.1.18 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking hyper v0.12.28 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking cookie_store v0.5.1 [INFO] [stderr] Checking docopt v0.8.3 [INFO] [stderr] Checking reqwest v0.9.16 [INFO] [stderr] Checking mel v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/modules/wconsole/linux_mac.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | writeln!(&mut stdout, text).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 26 | writeln!(&mut stdout, "{}", text).unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/modules/wconsole/linux_mac.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | writeln!(&mut stdout, text).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 39 | writeln!(&mut stdout, "{}", text).unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `wincolor::Console`, `wincolor::Color`, `wincolor::Intense` [INFO] [stdout] --> src/modules/markdown.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | Console, [INFO] [stdout] | ^^^^^^^ no `Console` in the root [INFO] [stdout] 5 | Color, [INFO] [stdout] | ^^^^^ no `Color` in the root [INFO] [stdout] 6 | Intense [INFO] [stdout] | ^^^^^^^ no `Intense` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `wincolor::Console`, `wincolor::Color`, `wincolor::Intense` [INFO] [stdout] --> src/modules/wconsole/linux_mac.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | Console, [INFO] [stdout] | ^^^^^^^ no `Console` in the root [INFO] [stdout] 5 | Color, [INFO] [stdout] | ^^^^^ no `Color` in the root [INFO] [stdout] 6 | Intense [INFO] [stdout] | ^^^^^^^ no `Intense` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/modules/wconsole/linux_mac.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | writeln!(&mut stdout, text).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 26 | writeln!(&mut stdout, "{}", text).unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/modules/wconsole/linux_mac.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | writeln!(&mut stdout, text).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 39 | writeln!(&mut stdout, "{}", text).unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `wincolor::Console`, `wincolor::Color`, `wincolor::Intense` [INFO] [stdout] --> src/modules/markdown.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | Console, [INFO] [stdout] | ^^^^^^^ no `Console` in the root [INFO] [stdout] 5 | Color, [INFO] [stdout] | ^^^^^ no `Color` in the root [INFO] [stdout] 6 | Intense [INFO] [stdout] | ^^^^^^^ no `Intense` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `wincolor::Console`, `wincolor::Color`, `wincolor::Intense` [INFO] [stdout] --> src/modules/wconsole/linux_mac.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | Console, [INFO] [stdout] | ^^^^^^^ no `Console` in the root [INFO] [stdout] 5 | Color, [INFO] [stdout] | ^^^^^ no `Color` in the root [INFO] [stdout] 6 | Intense [INFO] [stdout] | ^^^^^^^ no `Intense` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/modules/options.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | if (tils.find(&delete_string) != None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/modules/uname.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | let user_name = match env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/modules/uname.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let user_name = match env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/modules/options.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | if (tils.find(&delete_string) != None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/modules/uname.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | let user_name = match env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/modules/uname.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let user_name = match env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/modules/wconsole/linux_mac.rs:25:63 [INFO] [stdout] | [INFO] [stdout] 23 | / pub fn complete_str(text :String) { [INFO] [stdout] 24 | | let mut stdout = StandardStream::stdout(ColorChoice::Always); [INFO] [stdout] 25 | | stdout.set_color(ColorSpec::new().set_fg(Some(Color::Cyan)))?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 26 | | writeln!(&mut stdout, text).unwrap(); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_fmt` found for mutable reference `&mut StandardStream` in the current scope [INFO] [stdout] --> src/modules/wconsole/linux_mac.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | writeln!(&mut stdout, text).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut StandardStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::io::Write;` [INFO] [stdout] = note: this error originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/modules/wconsole/linux_mac.rs:38:66 [INFO] [stdout] | [INFO] [stdout] 36 | / pub fn err_str(text :String) { [INFO] [stdout] 37 | | let mut stdout = StandardStream::stdout(ColorChoice::Always); [INFO] [stdout] 38 | | stdout.set_color(ColorSpec::new().set_fg(Some(Color::Magenta)))?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 39 | | writeln!(&mut stdout, text).unwrap(); [INFO] [stdout] 40 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_fmt` found for mutable reference `&mut StandardStream` in the current scope [INFO] [stdout] --> src/modules/wconsole/linux_mac.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | writeln!(&mut stdout, text).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut StandardStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::io::Write;` [INFO] [stdout] = note: this error originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/modules/wconsole/linux_mac.rs:25:63 [INFO] [stdout] | [INFO] [stdout] 23 | / pub fn complete_str(text :String) { [INFO] [stdout] 24 | | let mut stdout = StandardStream::stdout(ColorChoice::Always); [INFO] [stdout] 25 | | stdout.set_color(ColorSpec::new().set_fg(Some(Color::Cyan)))?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 26 | | writeln!(&mut stdout, text).unwrap(); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_fmt` found for mutable reference `&mut StandardStream` in the current scope [INFO] [stdout] --> src/modules/wconsole/linux_mac.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | writeln!(&mut stdout, text).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut StandardStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::io::Write;` [INFO] [stdout] = note: this error originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mel` due to 9 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/modules/wconsole/linux_mac.rs:38:66 [INFO] [stdout] | [INFO] [stdout] 36 | / pub fn err_str(text :String) { [INFO] [stdout] 37 | | let mut stdout = StandardStream::stdout(ColorChoice::Always); [INFO] [stdout] 38 | | stdout.set_color(ColorSpec::new().set_fg(Some(Color::Magenta)))?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 39 | | writeln!(&mut stdout, text).unwrap(); [INFO] [stdout] 40 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_fmt` found for mutable reference `&mut StandardStream` in the current scope [INFO] [stdout] --> src/modules/wconsole/linux_mac.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | writeln!(&mut stdout, text).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut StandardStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::io::Write;` [INFO] [stdout] = note: this error originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "64c70940567bac1b98c07b82489fd62c674597d762624d222a1305af88997c2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64c70940567bac1b98c07b82489fd62c674597d762624d222a1305af88997c2e", kill_on_drop: false }` [INFO] [stdout] 64c70940567bac1b98c07b82489fd62c674597d762624d222a1305af88997c2e