[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] testing pub-solar/psos against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpub-solar%2Fpsos" "/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/pub-solar/psos on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-2/source/Cargo.toml
[INFO] crate git repo https://github.com/pub-solar/psos already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d50c60272cffad5be981bd705097960418395a2d06212df11766c403d8ec274a
[INFO] running `Command { std: "docker" "start" "-a" "d50c60272cffad5be981bd705097960418395a2d06212df11766c403d8ec274a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d50c60272cffad5be981bd705097960418395a2d06212df11766c403d8ec274a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d50c60272cffad5be981bd705097960418395a2d06212df11766c403d8ec274a", kill_on_drop: false }`
[INFO] [stdout] d50c60272cffad5be981bd705097960418395a2d06212df11766c403d8ec274a
[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=warn" "-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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cf29732e0f00eb9f3836104126c1d0b65e7d35e462ff12391555d60bb6d0cfab
[INFO] running `Command { std: "docker" "start" "-a" "cf29732e0f00eb9f3836104126c1d0b65e7d35e462ff12391555d60bb6d0cfab", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling libc v0.2.93
[INFO] [stderr]    Compiling syn v1.0.70
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling strsim v0.9.3
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]    Compiling array-macro v1.0.5
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling signal-hook v0.3.8
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling xi-unicode v0.3.0
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.3
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling ahash v0.6.3
[INFO] [stderr]    Compiling owning_ref v0.4.1
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling signal-hook-registry v1.3.0
[INFO] [stderr]    Compiling term_size v0.3.2
[INFO] [stderr]    Compiling ncurses v5.101.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling num-complex v0.3.1
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling num v0.3.1
[INFO] [stderr]    Compiling darling_core v0.10.2
[INFO] [stderr]    Compiling enum-map-derive v0.4.6
[INFO] [stderr]    Compiling darling_macro v0.10.2
[INFO] [stderr]    Compiling enum-map v0.6.4
[INFO] [stderr]    Compiling darling v0.10.2
[INFO] [stderr]    Compiling wasmer_enumset_derive v0.5.0
[INFO] [stderr]    Compiling wasmer_enumset v1.0.1
[INFO] [stderr]    Compiling cursive_core v0.2.2
[INFO] [stderr]    Compiling cursive v0.16.3
[INFO] [stderr]    Compiling psos v0.1.0 (/opt/rustwide/workdir)
[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]    = note: `#[warn(unused_variables)]` on by default
[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] 
[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] 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[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]    |       --------- captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 28 |                   .on_submit(|s, _| {
[INFO] [stdout]    |  ____________________________-
[INFO] [stdout] 29 | |                     check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]    | |                                                           ^^^^^^^^^ move occurs because `on_submit` has type `F`, which does not implement the `Copy` trait
[INFO] [stdout] 30 | |                 })
[INFO] [stdout]    | |_________________- captured by this `Fn` closure
[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]    |       --------- captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 38 |           .button("Ok", |s| {
[INFO] [stdout]    |  _______________________-
[INFO] [stdout] 39 | |             // This will run the given closure, *ONLY* if a view with the
[INFO] [stdout] 40 | |             // correct type and the given name is found.
[INFO] [stdout] 41 | |
[INFO] [stdout] 42 | |             check_valid(s, view_name.to_string(), on_submit);
[INFO] [stdout]    | |                                                   ^^^^^^^^^ move occurs because `on_submit` has type `F`, which does not implement the `Copy` trait
[INFO] [stdout] 43 | |         });
[INFO] [stdout]    | |_________- captured by this `Fn` closure
[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] 13 |     view_name: String,
[INFO] [stdout]    |     --------- help: consider making this binding mutable: `mut view_name`
[INFO] [stdout] ...
[INFO] [stdout] 18 |         view_name = "text_input_view".to_string();
[INFO] [stdout]    |         ^^^^^^^^^ cannot assign to immutable argument
[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]    | |__________^ ...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]    | |__________________^ ...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] 
[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: consider mutably borrowing `on_submit`
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 .on_submit(&mut |s, _| {
[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] 
[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] 46 | fn check_valid<F>(s: &mut Cursive, view_name: String, cb: F)
[INFO] [stdout]    |                                                       -- help: consider changing this to be mutable: `mut cb`
[INFO] [stdout] ...
[INFO] [stdout] 58 |     cb(s, &output);
[INFO] [stdout]    |     ^^ cannot borrow as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors; 5 warnings emitted
[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] [stderr] error: could not compile `psos` due to 12 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cf29732e0f00eb9f3836104126c1d0b65e7d35e462ff12391555d60bb6d0cfab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf29732e0f00eb9f3836104126c1d0b65e7d35e462ff12391555d60bb6d0cfab", kill_on_drop: false }`
[INFO] [stdout] cf29732e0f00eb9f3836104126c1d0b65e7d35e462ff12391555d60bb6d0cfab
