[INFO] fetching crate flow 0.3.5... [INFO] checking flow-0.3.5 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate flow 0.3.5 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate flow 0.3.5 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate flow 0.3.5 [INFO] finished tweaking crates.io crate flow 0.3.5 [INFO] tweaked toml for crates.io crate flow 0.3.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 35 packages [INFO] [stderr] Adding aho-corasick v0.5.3 (latest: v1.1.3) [INFO] [stderr] Adding aho-corasick v0.6.10 (latest: v1.1.3) [INFO] [stderr] Adding docopt v0.6.86 (latest: v1.1.1) [INFO] [stderr] Adding lazy_static v0.2.11 (latest: v1.4.0) [INFO] [stderr] Adding memchr v0.1.11 (latest: v2.7.2) [INFO] [stderr] Adding ncurses v5.101.0 (latest: v6.0.0) [INFO] [stderr] Adding regex v0.1.80 (latest: v1.10.4) [INFO] [stderr] Adding regex v0.2.11 (latest: v1.10.4) [INFO] [stderr] Adding regex-syntax v0.3.9 (latest: v0.8.3) [INFO] [stderr] Adding regex-syntax v0.5.6 (latest: v0.8.3) [INFO] [stderr] Adding strsim v0.5.2 (latest: v0.11.0) [INFO] [stderr] Adding thread-id v2.0.0 (latest: v4.2.1) [INFO] [stderr] Adding thread_local v0.2.7 (latest: v1.1.8) [INFO] [stderr] Adding thread_local v0.3.6 (latest: v1.1.8) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.34) [INFO] [stderr] Adding toml v0.2.1 (latest: v0.8.12) [INFO] [stderr] Adding ucd-util v0.1.10 (latest: v0.2.1) [INFO] [stderr] Adding unicode-segmentation v0.1.3 (latest: v1.11.0) [INFO] [stderr] Adding utf8-ranges v0.1.3 (latest: v1.0.5) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-segmentation v0.1.3 [INFO] [stderr] Downloaded ncurses v5.101.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a83727dae708d7f6a8b16a65fa8ed598e8fae6f4ca9787a33a9df28184736a1c [INFO] running `Command { std: "docker" "start" "-a" "a83727dae708d7f6a8b16a65fa8ed598e8fae6f4ca9787a33a9df28184736a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a83727dae708d7f6a8b16a65fa8ed598e8fae6f4ca9787a33a9df28184736a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a83727dae708d7f6a8b16a65fa8ed598e8fae6f4ca9787a33a9df28184736a1c", kill_on_drop: false }` [INFO] [stdout] a83727dae708d7f6a8b16a65fa8ed598e8fae6f4ca9787a33a9df28184736a1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ec4858830c79faa0e0dda2e7c99a44fa724acb6ba3a21e327d9ca63aea402e4 [INFO] running `Command { std: "docker" "start" "-a" "5ec4858830c79faa0e0dda2e7c99a44fa724acb6ba3a21e327d9ca63aea402e4", kill_on_drop: false }` [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking toml v0.2.1 [INFO] [stderr] Checking unicode-segmentation v0.1.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking docopt v0.6.86 [INFO] [stderr] Checking flow v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/utils/args.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/utils/args.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/utils/config_file.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/utils/config_file.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `toml` is imported redundantly [INFO] [stdout] --> src/utils/config_file.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use toml; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern crate toml; [INFO] [stdout] | ------------------ the item `toml` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `time` is imported redundantly [INFO] [stdout] --> src/core/flow.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use time; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate time; [INFO] [stdout] | ------------------ the item `time` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/core/line.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | use std::iter::{Rev, DoubleEndedIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core/filter.rs:340:23 [INFO] [stdout] | [INFO] [stdout] 340 | name: try!(d.read_struct_field("name", 0, |d| d.read_str())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/utils/args.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/utils/args.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/utils/config_file.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/utils/config_file.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `toml` is imported redundantly [INFO] [stdout] --> src/utils/config_file.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use toml; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern crate toml; [INFO] [stdout] | ------------------ the item `toml` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `time` is imported redundantly [INFO] [stdout] --> src/core/flow.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use time; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate time; [INFO] [stdout] | ------------------ the item `time` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DoubleEndedIterator` is imported redundantly [INFO] [stdout] --> src/core/line.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | use std::iter::{Rev, DoubleEndedIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `DoubleEndedIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core/filter.rs:340:23 [INFO] [stdout] | [INFO] [stdout] 340 | name: try!(d.read_struct_field("name", 0, |d| d.read_str())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/core/runner.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/core/runner.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils/ansi_decoder.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref ANSI_TO_NCURSES_MAPPING: HashMap<&'static str, Style> = { [INFO] [stdout] 27 | | let mut codes = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 64 | | }; [INFO] [stdout] 65 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils/ansi_decoder.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / lazy_static! { [INFO] [stdout] 83 | | static ref BREAK_ANSI_MATCHER: Regex = Regex::new(r"(\x1b\[\d+m)|([^\x1b]*)").unwrap(); [INFO] [stdout] 84 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils/ansi_decoder.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | / lazy_static! { [INFO] [stdout] 131 | | static ref STRIP_ANSI_MATCHER: Regex = Regex::new(r"(\x1b\[\d+m)").unwrap(); [INFO] [stdout] 132 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/utils/config_file.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | let mut path = env::home_dir().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/core/runner.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | pub static ref RUNNING: AtomicBool = AtomicBool::new(true); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/ui/search.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | / lazy_static! { [INFO] [stdout] 202 | | static ref SHORTCUT_MATCHER: Regex = Regex::new(r"(.*)?(\[(\w)\])(.*)?").unwrap(); [INFO] [stdout] 203 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/ui/readline.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | let mut path = env::home_dir().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils/ansi_decoder.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref ANSI_TO_NCURSES_MAPPING: HashMap<&'static str, Style> = { [INFO] [stdout] 27 | | let mut codes = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 64 | | }; [INFO] [stdout] 65 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils/ansi_decoder.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / lazy_static! { [INFO] [stdout] 83 | | static ref BREAK_ANSI_MATCHER: Regex = Regex::new(r"(\x1b\[\d+m)|([^\x1b]*)").unwrap(); [INFO] [stdout] 84 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils/ansi_decoder.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | / lazy_static! { [INFO] [stdout] 131 | | static ref STRIP_ANSI_MATCHER: Regex = Regex::new(r"(\x1b\[\d+m)").unwrap(); [INFO] [stdout] 132 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/utils/config_file.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | let mut path = env::home_dir().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/core/runner.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | pub static ref RUNNING: AtomicBool = AtomicBool::new(true); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/ui/search.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | / lazy_static! { [INFO] [stdout] 202 | | static ref SHORTCUT_MATCHER: Regex = Regex::new(r"(.*)?(\[(\w)\])(.*)?").unwrap(); [INFO] [stdout] 203 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/ui/readline.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | let mut path = env::home_dir().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/ui/input.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | if name.contains('^') { [INFO] [stdout] | ^^^^^^^^ method not found in `Option` [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `std::string::String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/str/mod.rs:1144:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `std::string::String` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 93 | if name.expect("REASON").contains('^') { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/ui/input.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | if name.contains('^') { [INFO] [stdout] | ^^^^^^^^ method not found in `Option` [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `std::string::String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/str/mod.rs:1144:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `std::string::String` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 93 | if name.expect("REASON").contains('^') { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chars` found for enum `Option` in the current scope [INFO] [stdout] --> src/ui/input.rs:95:40 [INFO] [stdout] | [INFO] [stdout] 95 | let value = Key::Char(name.chars().last().unwrap()); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] | [INFO] [stdout] note: the method `chars` exists on the type `std::string::String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/str/mod.rs:857:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `std::string::String` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 95 | let value = Key::Char(name.expect("REASON").chars().last().unwrap()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chars` found for enum `Option` in the current scope [INFO] [stdout] --> src/ui/input.rs:95:40 [INFO] [stdout] | [INFO] [stdout] 95 | let value = Key::Char(name.chars().last().unwrap()); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] | [INFO] [stdout] note: the method `chars` exists on the type `std::string::String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/str/mod.rs:857:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `std::string::String` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 95 | let value = Key::Char(name.expect("REASON").chars().last().unwrap()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flow` (lib) due to 7 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `flow` (lib test) due to 7 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5ec4858830c79faa0e0dda2e7c99a44fa724acb6ba3a21e327d9ca63aea402e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ec4858830c79faa0e0dda2e7c99a44fa724acb6ba3a21e327d9ca63aea402e4", kill_on_drop: false }` [INFO] [stdout] 5ec4858830c79faa0e0dda2e7c99a44fa724acb6ba3a21e327d9ca63aea402e4