[INFO] crate flow 0.3.5 is already in cache [INFO] checking flow-0.3.5 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate flow 0.3.5 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate flow 0.3.5 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-7/source/Cargo.toml [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] [stdout] 74154117945d033478f566a16d57f414598c7b1d8876920d638ea6c30589598a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "74154117945d033478f566a16d57f414598c7b1d8876920d638ea6c30589598a"` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking toml v0.2.1 [INFO] [stderr] Checking docopt v0.6.86 [INFO] [stderr] Checking flow v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/core/filter.rs:340:23 [INFO] [stderr] | [INFO] [stderr] 340 | name: try!(d.read_struct_field("name", 0, |d| d.read_str())), [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/core/filter.rs:340:23 [INFO] [stderr] | [INFO] [stderr] 340 | name: try!(d.read_struct_field("name", 0, |d| d.read_str())), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils/ansi_decoder.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref ANSI_TO_NCURSES_MAPPING: HashMap<&'static str, Style> = { [INFO] [stderr] 27 | | let mut codes = HashMap::new(); [INFO] [stderr] 28 | | [INFO] [stderr] ... | [INFO] [stderr] 64 | | }; [INFO] [stderr] 65 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils/ansi_decoder.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | / lazy_static! { [INFO] [stderr] 83 | | static ref BREAK_ANSI_MATCHER: Regex = Regex::new(r"(\x1b\[\d+m)|([^\x1b]*)").unwrap(); [INFO] [stderr] 84 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils/ansi_decoder.rs:130:9 [INFO] [stderr] | [INFO] [stderr] 130 | / lazy_static! { [INFO] [stderr] 131 | | static ref STRIP_ANSI_MATCHER: Regex = Regex::new(r"(\x1b\[\d+m)").unwrap(); [INFO] [stderr] 132 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/utils/config_file.rs:63:24 [INFO] [stderr] | [INFO] [stderr] 63 | let mut path = env::home_dir().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/core/runner.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | / lazy_static! { [INFO] [stderr] 29 | | pub static ref RUNNING: AtomicBool = AtomicBool::new(true); [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/ui/search.rs:201:9 [INFO] [stderr] | [INFO] [stderr] 201 | / lazy_static! { [INFO] [stderr] 202 | | static ref SHORTCUT_MATCHER: Regex = Regex::new(r"(.*)?(\[(\w)\])(.*)?").unwrap(); [INFO] [stderr] 203 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/ui/readline.rs:122:20 [INFO] [stderr] | [INFO] [stderr] 122 | let mut path = env::home_dir().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils/ansi_decoder.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref ANSI_TO_NCURSES_MAPPING: HashMap<&'static str, Style> = { [INFO] [stderr] 27 | | let mut codes = HashMap::new(); [INFO] [stderr] 28 | | [INFO] [stderr] ... | [INFO] [stderr] 64 | | }; [INFO] [stderr] 65 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils/ansi_decoder.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | / lazy_static! { [INFO] [stderr] 83 | | static ref BREAK_ANSI_MATCHER: Regex = Regex::new(r"(\x1b\[\d+m)|([^\x1b]*)").unwrap(); [INFO] [stderr] 84 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils/ansi_decoder.rs:130:9 [INFO] [stderr] | [INFO] [stderr] 130 | / lazy_static! { [INFO] [stderr] 131 | | static ref STRIP_ANSI_MATCHER: Regex = Regex::new(r"(\x1b\[\d+m)").unwrap(); [INFO] [stderr] 132 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/utils/config_file.rs:63:24 [INFO] [stderr] | [INFO] [stderr] 63 | let mut path = env::home_dir().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/core/runner.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | / lazy_static! { [INFO] [stderr] 29 | | pub static ref RUNNING: AtomicBool = AtomicBool::new(true); [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/ui/search.rs:201:9 [INFO] [stderr] | [INFO] [stderr] 201 | / lazy_static! { [INFO] [stderr] 202 | | static ref SHORTCUT_MATCHER: Regex = Regex::new(r"(.*)?(\[(\w)\])(.*)?").unwrap(); [INFO] [stderr] 203 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/ui/readline.rs:122:20 [INFO] [stderr] | [INFO] [stderr] 122 | let mut path = env::home_dir().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `usize` is invalid [INFO] [stderr] --> src/core/line.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 54 | (self.width as f32 / container_width as f32).ceil() as usize) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'option_result_contains' [INFO] [stderr] --> src/ui/input.rs:93:17 [INFO] [stderr] | [INFO] [stderr] 93 | if name.contains('^') { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #62358 for more information [INFO] [stderr] = help: add `#![feature(option_result_contains)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ui/input.rs:93:26 [INFO] [stderr] | [INFO] [stderr] 93 | if name.contains('^') { [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | expected reference, found `char` [INFO] [stderr] | help: consider borrowing here: `&'^'` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&_` [INFO] [stderr] found type `char` [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `usize` is invalid [INFO] [stderr] --> src/core/line.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 54 | (self.width as f32 / container_width as f32).ceil() as usize) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `chars` found for enum `std::option::Option` in the current scope [INFO] [stderr] --> src/ui/input.rs:95:40 [INFO] [stderr] | [INFO] [stderr] 95 | let value = Key::Char(name.chars().last().unwrap()); [INFO] [stderr] | ^^^^^ method not found in `std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'option_result_contains' [INFO] [stderr] --> src/ui/input.rs:93:17 [INFO] [stderr] | [INFO] [stderr] 93 | if name.contains('^') { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #62358 for more information [INFO] [stderr] = help: add `#![feature(option_result_contains)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ui/input.rs:93:26 [INFO] [stderr] | [INFO] [stderr] 93 | if name.contains('^') { [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | expected reference, found `char` [INFO] [stderr] | help: consider borrowing here: `&'^'` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&_` [INFO] [stderr] found type `char` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `chars` found for enum `std::option::Option` in the current scope [INFO] [stderr] --> src/ui/input.rs:95:40 [INFO] [stderr] | [INFO] [stderr] 95 | let value = Key::Char(name.chars().last().unwrap()); [INFO] [stderr] | ^^^^^ method not found in `std::option::Option` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0599, E0606, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `flow`. [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: aborting due to 4 previous errors; 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0599, E0606, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `flow`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "74154117945d033478f566a16d57f414598c7b1d8876920d638ea6c30589598a"` [INFO] running `"docker" "rm" "-f" "74154117945d033478f566a16d57f414598c7b1d8876920d638ea6c30589598a"` [INFO] [stdout] 74154117945d033478f566a16d57f414598c7b1d8876920d638ea6c30589598a