[INFO] cloning repository https://github.com/pub-solar/psos
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pub-solar/psos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpub-solar%2Fpsos", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpub-solar%2Fpsos'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b498c057a9c74d25ec228304cca5019e75ca15f0
[INFO] checking pub-solar/psos against try#b152f5575a2ac7126ae0019e4e679abe9399213e for pr-157841
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpub-solar%2Fpsos" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pub-solar/psos
[INFO] finished tweaking git repo https://github.com/pub-solar/psos
[INFO] tweaked toml for git repo https://github.com/pub-solar/psos written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pub-solar/psos on toolchain b152f5575a2ac7126ae0019e4e679abe9399213e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pub-solar/psos already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking pub-solar/psos against try#b152f5575a2ac7126ae0019e4e679abe9399213e for pr-157841
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpub-solar%2Fpsos" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pub-solar/psos
[INFO] finished tweaking git repo https://github.com/pub-solar/psos
[INFO] tweaked toml for git repo https://github.com/pub-solar/psos written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pub-solar/psos on toolchain b152f5575a2ac7126ae0019e4e679abe9399213e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pub-solar/psos already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasmer_enumset v1.0.1
[INFO] [stderr]   Downloaded term_size v0.3.2
[INFO] [stderr]   Downloaded cursive v0.16.3
[INFO] [stderr]   Downloaded wasmer_enumset_derive v0.5.0
[INFO] [stderr]   Downloaded enum-map-derive v0.4.6
[INFO] [stderr]   Downloaded array-macro v1.0.5
[INFO] [stderr]   Downloaded enum-map v0.6.4
[INFO] [stderr]   Downloaded syn v1.0.70
[INFO] [stderr]   Downloaded ncurses v5.101.0
[INFO] [stderr]   Downloaded ahash v0.6.3
[INFO] [stderr]   Downloaded signal-hook v0.3.8
[INFO] [stderr]   Downloaded cursive_core v0.2.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a6c0cd74dffeb7c4c93ec0838469072fe3b884986268bb54552689fe0eeac3db
[INFO] running `Command { std: "docker" "start" "a6c0cd74dffeb7c4c93ec0838469072fe3b884986268bb54552689fe0eeac3db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a6c0cd74dffeb7c4c93ec0838469072fe3b884986268bb54552689fe0eeac3db" "/opt/rustwide/cargo-home/bin/cargo" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a6c0cd74dffeb7c4c93ec0838469072fe3b884986268bb54552689fe0eeac3db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a6c0cd74dffeb7c4c93ec0838469072fe3b884986268bb54552689fe0eeac3db" "/opt/rustwide/cargo-home/bin/cargo" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.93
[INFO] [stderr]    Compiling syn v1.0.70
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling strsim v0.9.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]     Checking unicode-xid v0.2.1
[INFO] [stderr]    Compiling ahash v0.6.3
[INFO] [stderr]    Compiling ncurses v5.101.0
[INFO] [stderr]     Checking array-macro v1.0.5
[INFO] [stderr]    Compiling signal-hook v0.3.8
[INFO] [stderr]     Checking once_cell v1.7.2
[INFO] [stderr]     Checking owning_ref v0.4.1
[INFO] [stderr]     Checking unicode-segmentation v1.7.1
[INFO] [stderr]     Checking maplit v1.0.2
[INFO] [stderr]     Checking quote v1.0.9
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking signal-hook-registry v1.3.0
[INFO] [stderr]     Checking term_size v0.3.2
[INFO] [stderr]     Checking num-complex v0.3.1
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking num v0.3.1
[INFO] [stderr]    Compiling darling_core v0.10.2
[INFO] [stderr]    Compiling enum-map-derive v0.4.6
[INFO] [stderr]     Checking enum-map v0.6.4
[INFO] [stderr]    Compiling darling_macro v0.10.2
[INFO] [stderr]    Compiling darling v0.10.2
[INFO] [stderr]    Compiling wasmer_enumset_derive v0.5.0
[INFO] [stderr]     Checking wasmer_enumset v1.0.1
[INFO] [stderr]     Checking cursive_core v0.2.2
[INFO] [stderr]     Checking cursive v0.16.3
[INFO] [stderr]     Checking psos v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/power.rs:29:36
[INFO] [stdout]    |
[INFO] [stdout] 29 |             .button("Reboot now", |s| {
[INFO] [stdout]    |                                    ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `password`
[INFO] [stdout]   --> src/power.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let password = siv
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `on_submit`, a captured variable in an `Fn` closure
[INFO] [stdout]    --> src/text_input.rs:29:59
[INFO] [stdout]     |
[INFO] [stdout]  12 |     on_submit: F,
[INFO] [stdout]     |     ---------  - move occurs because `on_submit` has type `F`, which does not implement the `Copy` trait
[INFO] [stdout]     |     |
[INFO] [stdout]     |     captured outer variable
[INFO] [stdout] ...
[INFO] [stdout]  28 |                 .on_submit(|s, _| {
[INFO] [stdout]     |                            ------ captured by this `Fn` closure
[INFO] [stdout]  29 |                     check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]     |                                                           ^^^^^^^^^ `on_submit` is moved here
[INFO] [stdout]     |
[INFO] [stdout] help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cursive_core-0.2.2/src/views/edit_view.rs:340:12
[INFO] [stdout]     |
[INFO] [stdout] 340 |         F: Fn(&mut Cursive, &str) + 'static,
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: if `F` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> src/text_input.rs:7:15
[INFO] [stdout]     |
[INFO] [stdout]   7 | pub fn create<F>(
[INFO] [stdout]     |               ^ consider constraining this type parameter with `Clone`
[INFO] [stdout] ...
[INFO] [stdout]  29 |                     check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]     |                                                           --------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `on_submit`, a captured variable in an `Fn` closure
[INFO] [stdout]    --> src/text_input.rs:42:51
[INFO] [stdout]     |
[INFO] [stdout]  12 |     on_submit: F,
[INFO] [stdout]     |     ---------  - move occurs because `on_submit` has type `F`, which does not implement the `Copy` trait
[INFO] [stdout]     |     |
[INFO] [stdout]     |     captured outer variable
[INFO] [stdout] ...
[INFO] [stdout]  38 |         .button("Ok", |s| {
[INFO] [stdout]     |                       --- captured by this `Fn` closure
[INFO] [stdout] ...
[INFO] [stdout]  42 |             check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]     |                                                   ^^^^^^^^^ `on_submit` is moved here
[INFO] [stdout]     |
[INFO] [stdout] help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cursive_core-0.2.2/src/views/dialog.rs:203:22
[INFO] [stdout]     |
[INFO] [stdout] 203 |         F: 'static + Fn(&mut Cursive),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^
[INFO] [stdout] help: if `F` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> src/text_input.rs:7:15
[INFO] [stdout]     |
[INFO] [stdout]   7 | pub fn create<F>(
[INFO] [stdout]     |               ^ consider constraining this type parameter with `Clone`
[INFO] [stdout] ...
[INFO] [stdout]  42 |             check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]     |                                                   --------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/power.rs:29:36
[INFO] [stdout]    |
[INFO] [stdout] 29 |             .button("Reboot now", |s| {
[INFO] [stdout]    |                                    ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `password`
[INFO] [stdout]   --> src/power.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let password = siv
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `on_submit`, a captured variable in an `Fn` closure
[INFO] [stdout]    --> src/text_input.rs:29:59
[INFO] [stdout]     |
[INFO] [stdout]  12 |     on_submit: F,
[INFO] [stdout]     |     ---------  - move occurs because `on_submit` has type `F`, which does not implement the `Copy` trait
[INFO] [stdout]     |     |
[INFO] [stdout]     |     captured outer variable
[INFO] [stdout] ...
[INFO] [stdout]  28 |                 .on_submit(|s, _| {
[INFO] [stdout]     |                            ------ captured by this `Fn` closure
[INFO] [stdout]  29 |                     check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]     |                                                           ^^^^^^^^^ `on_submit` is moved here
[INFO] [stdout]     |
[INFO] [stdout] help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cursive_core-0.2.2/src/views/edit_view.rs:340:12
[INFO] [stdout]     |
[INFO] [stdout] 340 |         F: Fn(&mut Cursive, &str) + 'static,
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: if `F` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> src/text_input.rs:7:15
[INFO] [stdout]     |
[INFO] [stdout]   7 | pub fn create<F>(
[INFO] [stdout]     |               ^ consider constraining this type parameter with `Clone`
[INFO] [stdout] ...
[INFO] [stdout]  29 |                     check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]     |                                                           --------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `on_submit`, a captured variable in an `Fn` closure
[INFO] [stdout]    --> src/text_input.rs:42:51
[INFO] [stdout]     |
[INFO] [stdout]  12 |     on_submit: F,
[INFO] [stdout]     |     ---------  - move occurs because `on_submit` has type `F`, which does not implement the `Copy` trait
[INFO] [stdout]     |     |
[INFO] [stdout]     |     captured outer variable
[INFO] [stdout] ...
[INFO] [stdout]  38 |         .button("Ok", |s| {
[INFO] [stdout]     |                       --- captured by this `Fn` closure
[INFO] [stdout] ...
[INFO] [stdout]  42 |             check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]     |                                                   ^^^^^^^^^ `on_submit` is moved here
[INFO] [stdout]     |
[INFO] [stdout] help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cursive_core-0.2.2/src/views/dialog.rs:203:22
[INFO] [stdout]     |
[INFO] [stdout] 203 |         F: 'static + Fn(&mut Cursive),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^
[INFO] [stdout] help: if `F` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> src/text_input.rs:7:15
[INFO] [stdout]     |
[INFO] [stdout]   7 | pub fn create<F>(
[INFO] [stdout]     |               ^ consider constraining this type parameter with `Clone`
[INFO] [stdout] ...
[INFO] [stdout]  42 |             check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]     |                                                   --------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0384]: cannot assign to immutable argument `view_name`
[INFO] [stdout]   --> src/text_input.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         view_name = "text_input_view".to_string();
[INFO] [stdout]    |         ^^^^^^^^^ cannot assign to immutable argument
[INFO] [stdout]    |
[INFO] [stdout] help: consider making this binding mutable
[INFO] [stdout]    |
[INFO] [stdout] 13 |     mut view_name: String,
[INFO] [stdout]    |     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `F` may not live long enough
[INFO] [stdout]   --> src/text_input.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | /     Dialog::new()
[INFO] [stdout] 22 | |         .title(title)
[INFO] [stdout] 23 | |         // Padding is (left, right, top, bottom)
[INFO] [stdout] 24 | |         .padding_lrtb(1, 1, 1, 0)
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |             check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout] 43 | |         });
[INFO] [stdout]    | |          ^
[INFO] [stdout]    | |          |
[INFO] [stdout]    | |__________the parameter type `F` must be valid for the static lifetime...
[INFO] [stdout]    |            ...so that the type `F` will meet its required lifetime bounds
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding an explicit lifetime bound
[INFO] [stdout]    |
[INFO] [stdout] 15 |     F: FnMut(&mut Cursive, &str) -> () + 'static,
[INFO] [stdout]    |                                        +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `F` may not live long enough
[INFO] [stdout]   --> src/text_input.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | /             EditView::new()
[INFO] [stdout] 27 | |                 .content(content)
[INFO] [stdout] 28 | |                 .on_submit(|s, _| {
[INFO] [stdout] 29 | |                     check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout] 30 | |                 })
[INFO] [stdout]    | |                  ^
[INFO] [stdout]    | |                  |
[INFO] [stdout]    | |__________________the parameter type `F` must be valid for the static lifetime...
[INFO] [stdout]    |                    ...so that the type `F` will meet its required lifetime bounds
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding an explicit lifetime bound
[INFO] [stdout]    |
[INFO] [stdout] 15 |     F: FnMut(&mut Cursive, &str) -> () + 'static,
[INFO] [stdout]    |                                        +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `view_name`, which is owned by the current function
[INFO] [stdout]   --> src/text_input.rs:28:28
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 .on_submit(|s, _| {
[INFO] [stdout]    |                            ^^^^^^ may outlive borrowed value `view_name`
[INFO] [stdout] 29 |                     check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]    |                                    --------- `view_name` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/text_input.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | /             EditView::new()
[INFO] [stdout] 27 | |                 .content(content)
[INFO] [stdout] 28 | |                 .on_submit(|s, _| {
[INFO] [stdout] 29 | |                     check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout] 30 | |                 })
[INFO] [stdout]    | |__________________^
[INFO] [stdout] help: to force the closure to take ownership of `view_name` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 .on_submit(move |s, _| {
[INFO] [stdout]    |                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `view_name` because it is borrowed
[INFO] [stdout]    --> src/text_input.rs:31:28
[INFO] [stdout]     |
[INFO] [stdout]  26 | /             EditView::new()
[INFO] [stdout]  27 | |                 .content(content)
[INFO] [stdout]  28 | |                 .on_submit(|s, _| {
[INFO] [stdout]     | |                            ------ borrow of `view_name` occurs here
[INFO] [stdout]  29 | |                     check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]     | |                                    --------- borrow occurs due to use in closure
[INFO] [stdout]  30 | |                 })
[INFO] [stdout]     | |__________________- argument requires that `view_name` is borrowed for `'static`
[INFO] [stdout]  31 |                   .with_name(view_name)
[INFO] [stdout]     |                              ^^^^^^^^^ move out of `view_name` occurs here
[INFO] [stdout]     |
[INFO] [stdout] note: requirement that the value outlives `'static` introduced here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cursive_core-0.2.2/src/views/edit_view.rs:340:37
[INFO] [stdout]     |
[INFO] [stdout] 340 |         F: Fn(&mut Cursive, &str) + 'static,
[INFO] [stdout]     |                                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `view_name`, which is owned by the current function
[INFO] [stdout]   --> src/text_input.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 |         .button("Ok", |s| {
[INFO] [stdout]    |                       ^^^ may outlive borrowed value `view_name`
[INFO] [stdout] ...
[INFO] [stdout] 42 |             check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]    |                            --------- `view_name` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/text_input.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | /     Dialog::new()
[INFO] [stdout] 22 | |         .title(title)
[INFO] [stdout] 23 | |         // Padding is (left, right, top, bottom)
[INFO] [stdout] 24 | |         .padding_lrtb(1, 1, 1, 0)
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |             check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout] 43 | |         });
[INFO] [stdout]    | |__________^
[INFO] [stdout] help: to force the closure to take ownership of `view_name` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 38 |         .button("Ok", move |s| {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `on_submit`
[INFO] [stdout]   --> src/text_input.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |     on_submit: F,
[INFO] [stdout]    |     --------- move occurs because `on_submit` has type `F`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 28 |                 .on_submit(|s, _| {
[INFO] [stdout]    |                            ------ value moved into closure here
[INFO] [stdout] 29 |                     check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]    |                                                           --------- variable moved due to use in closure
[INFO] [stdout] ...
[INFO] [stdout] 38 |         .button("Ok", |s| {
[INFO] [stdout]    |                       ^^^ value used here after move
[INFO] [stdout] ...
[INFO] [stdout] 42 |             check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]    |                                                   --------- use occurs due to use in closure
[INFO] [stdout]    |
[INFO] [stdout] help: if `F` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/text_input.rs:7:15
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub fn create<F>(
[INFO] [stdout]    |               ^ consider constraining this type parameter with `Clone`
[INFO] [stdout] ...
[INFO] [stdout] 29 |                     check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]    |                                                           --------- you could clone this value
[INFO] [stdout] help: consider mutably borrowing `on_submit`
[INFO] [stdout]    |
[INFO] [stdout] 29 |                     check_valid(s, view_name.to_string(), &mut on_submit);
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `view_name`
[INFO] [stdout]   --> src/text_input.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     view_name: String,
[INFO] [stdout]    |     --------- move occurs because `view_name` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 31 |                 .with_name(view_name)
[INFO] [stdout]    |                            --------- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 38 |         .button("Ok", |s| {
[INFO] [stdout]    |                       ^^^ value borrowed here after move
[INFO] [stdout] ...
[INFO] [stdout] 42 |             check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]    |                            --------- borrow occurs due to use in closure
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing `view_name`
[INFO] [stdout]    |
[INFO] [stdout] 31 |                 .with_name(&view_name)
[INFO] [stdout]    |                            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `siv`
[INFO] [stdout]  --> src/text_input.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     siv: &mut Cursive,
[INFO] [stdout]   |     ^^^ help: if this is intentional, prefix it with an underscore: `_siv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `on_back_button`
[INFO] [stdout]   --> src/text_input.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     on_back_button: F,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_back_button`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `cb` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/text_input.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     cb(s, &output);
[INFO] [stdout]    |     ^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn check_valid<F>(s: &mut Cursive, view_name: String, mut cb: F)
[INFO] [stdout]    |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0384]: cannot assign to immutable argument `view_name`
[INFO] [stdout]   --> src/text_input.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         view_name = "text_input_view".to_string();
[INFO] [stdout]    |         ^^^^^^^^^ cannot assign to immutable argument
[INFO] [stdout]    |
[INFO] [stdout] help: consider making this binding mutable
[INFO] [stdout]    |
[INFO] [stdout] 13 |     mut view_name: String,
[INFO] [stdout]    |     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `F` may not live long enough
[INFO] [stdout]   --> src/text_input.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | /     Dialog::new()
[INFO] [stdout] 22 | |         .title(title)
[INFO] [stdout] 23 | |         // Padding is (left, right, top, bottom)
[INFO] [stdout] 24 | |         .padding_lrtb(1, 1, 1, 0)
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |             check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout] 43 | |         });
[INFO] [stdout]    | |          ^
[INFO] [stdout]    | |          |
[INFO] [stdout]    | |__________the parameter type `F` must be valid for the static lifetime...
[INFO] [stdout]    |            ...so that the type `F` will meet its required lifetime bounds
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding an explicit lifetime bound
[INFO] [stdout]    |
[INFO] [stdout] 15 |     F: FnMut(&mut Cursive, &str) -> () + 'static,
[INFO] [stdout]    |                                        +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `F` may not live long enough
[INFO] [stdout]   --> src/text_input.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | /             EditView::new()
[INFO] [stdout] 27 | |                 .content(content)
[INFO] [stdout] 28 | |                 .on_submit(|s, _| {
[INFO] [stdout] 29 | |                     check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout] 30 | |                 })
[INFO] [stdout]    | |                  ^
[INFO] [stdout]    | |                  |
[INFO] [stdout]    | |__________________the parameter type `F` must be valid for the static lifetime...
[INFO] [stdout]    |                    ...so that the type `F` will meet its required lifetime bounds
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding an explicit lifetime bound
[INFO] [stdout]    |
[INFO] [stdout] 15 |     F: FnMut(&mut Cursive, &str) -> () + 'static,
[INFO] [stdout]    |                                        +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `view_name`, which is owned by the current function
[INFO] [stdout]   --> src/text_input.rs:28:28
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 .on_submit(|s, _| {
[INFO] [stdout]    |                            ^^^^^^ may outlive borrowed value `view_name`
[INFO] [stdout] 29 |                     check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]    |                                    --------- `view_name` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/text_input.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | /             EditView::new()
[INFO] [stdout] 27 | |                 .content(content)
[INFO] [stdout] 28 | |                 .on_submit(|s, _| {
[INFO] [stdout] 29 | |                     check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout] 30 | |                 })
[INFO] [stdout]    | |__________________^
[INFO] [stdout] help: to force the closure to take ownership of `view_name` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 .on_submit(move |s, _| {
[INFO] [stdout]    |                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `view_name` because it is borrowed
[INFO] [stdout]    --> src/text_input.rs:31:28
[INFO] [stdout]     |
[INFO] [stdout]  26 | /             EditView::new()
[INFO] [stdout]  27 | |                 .content(content)
[INFO] [stdout]  28 | |                 .on_submit(|s, _| {
[INFO] [stdout]     | |                            ------ borrow of `view_name` occurs here
[INFO] [stdout]  29 | |                     check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]     | |                                    --------- borrow occurs due to use in closure
[INFO] [stdout]  30 | |                 })
[INFO] [stdout]     | |__________________- argument requires that `view_name` is borrowed for `'static`
[INFO] [stdout]  31 |                   .with_name(view_name)
[INFO] [stdout]     |                              ^^^^^^^^^ move out of `view_name` occurs here
[INFO] [stdout]     |
[INFO] [stdout] note: requirement that the value outlives `'static` introduced here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cursive_core-0.2.2/src/views/edit_view.rs:340:37
[INFO] [stdout]     |
[INFO] [stdout] 340 |         F: Fn(&mut Cursive, &str) + 'static,
[INFO] [stdout]     |                                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `view_name`, which is owned by the current function
[INFO] [stdout]   --> src/text_input.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 |         .button("Ok", |s| {
[INFO] [stdout]    |                       ^^^ may outlive borrowed value `view_name`
[INFO] [stdout] ...
[INFO] [stdout] 42 |             check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]    |                            --------- `view_name` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/text_input.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | /     Dialog::new()
[INFO] [stdout] 22 | |         .title(title)
[INFO] [stdout] 23 | |         // Padding is (left, right, top, bottom)
[INFO] [stdout] 24 | |         .padding_lrtb(1, 1, 1, 0)
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |             check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout] 43 | |         });
[INFO] [stdout]    | |__________^
[INFO] [stdout] help: to force the closure to take ownership of `view_name` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 38 |         .button("Ok", move |s| {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `on_submit`
[INFO] [stdout]   --> src/text_input.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |     on_submit: F,
[INFO] [stdout]    |     --------- move occurs because `on_submit` has type `F`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 28 |                 .on_submit(|s, _| {
[INFO] [stdout]    |                            ------ value moved into closure here
[INFO] [stdout] 29 |                     check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]    |                                                           --------- variable moved due to use in closure
[INFO] [stdout] ...
[INFO] [stdout] 38 |         .button("Ok", |s| {
[INFO] [stdout]    |                       ^^^ value used here after move
[INFO] [stdout] ...
[INFO] [stdout] 42 |             check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]    |                                                   --------- use occurs due to use in closure
[INFO] [stdout]    |
[INFO] [stdout] help: if `F` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/text_input.rs:7:15
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub fn create<F>(
[INFO] [stdout]    |               ^ consider constraining this type parameter with `Clone`
[INFO] [stdout] ...
[INFO] [stdout] 29 |                     check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]    |                                                           --------- you could clone this value
[INFO] [stdout] help: consider mutably borrowing `on_submit`
[INFO] [stdout]    |
[INFO] [stdout] 29 |                     check_valid(s, view_name.to_string(), &mut on_submit);
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `psos` (bin "psos" test) due to 11 previous errors; 5 warnings emitted
[INFO] [stdout] error[E0382]: borrow of moved value: `view_name`
[INFO] [stdout]   --> src/text_input.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     view_name: String,
[INFO] [stdout]    |     --------- move occurs because `view_name` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 31 |                 .with_name(view_name)
[INFO] [stdout]    |                            --------- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 38 |         .button("Ok", |s| {
[INFO] [stdout]    |                       ^^^ value borrowed here after move
[INFO] [stdout] ...
[INFO] [stdout] 42 |             check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]    |                            --------- borrow occurs due to use in closure
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing `view_name`
[INFO] [stdout]    |
[INFO] [stdout] 31 |                 .with_name(&view_name)
[INFO] [stdout]    |                            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `siv`
[INFO] [stdout]   --> src/main.rs:57:23
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn run_guided_install(siv: &mut Cursive) {}
[INFO] [stdout]    |                       ^^^ help: if this is intentional, prefix it with an underscore: `_siv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `psos` (bin "psos") due to 11 previous errors; 5 warnings emitted
[INFO] [stdout] warning: unused variable: `siv`
[INFO] [stdout]  --> src/text_input.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     siv: &mut Cursive,
[INFO] [stdout]   |     ^^^ help: if this is intentional, prefix it with an underscore: `_siv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `on_back_button`
[INFO] [stdout]   --> src/text_input.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     on_back_button: F,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_back_button`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `cb` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/text_input.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     cb(s, &output);
[INFO] [stdout]    |     ^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn check_valid<F>(s: &mut Cursive, view_name: String, mut cb: F)
[INFO] [stdout]    |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `siv`
[INFO] [stdout]   --> src/main.rs:57:23
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn run_guided_install(siv: &mut Cursive) {}
[INFO] [stdout]    |                       ^^^ help: if this is intentional, prefix it with an underscore: `_siv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0310, E0373, E0382, E0384, E0505, E0507, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0310`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0310, E0373, E0382, E0384, E0505, E0507, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0310`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a6c0cd74dffeb7c4c93ec0838469072fe3b884986268bb54552689fe0eeac3db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6c0cd74dffeb7c4c93ec0838469072fe3b884986268bb54552689fe0eeac3db", kill_on_drop: false }`
[INFO] [stdout] a6c0cd74dffeb7c4c93ec0838469072fe3b884986268bb54552689fe0eeac3db
