You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
error[E0658]: or-patterns syntax is experimental
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/main.rs:414:30
|
414 | Ok(Key::Char('r' | 'R')) => reboot(),
| ^^^^^^^^^
|
= note: see issue #54883 rust-lang/rust#54883 for more information
error[E0658]: or-patterns syntax is experimental
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/main.rs:415:30
|
415 | Ok(Key::Char('q' | 'Q')) => (),
| ^^^^^^^^^
|
= note: see issue #54883 rust-lang/rust#54883 for more information
error[E0658]: or-patterns syntax is experimental
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:49:18
|
49 | Some("centos" | "rhel" | "ol") => Distribution::CentOS,
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #54883 rust-lang/rust#54883 for more information
error[E0658]: or-patterns syntax is experimental
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:53:18
|
53 | Some("debian" | "pureos") => Distribution::Debian,
| ^^^^^^^^^^^^^^^^^^^
|
= note: see issue #54883 rust-lang/rust#54883 for more information
error[E0658]: or-patterns syntax is experimental
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:54:18
|
54 | Some("arch" | "anarchy" | "manjaro-arm" | "garuda" | "artix") => Distribution::Arch,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #54883 rust-lang/rust#54883 for more information
error[E0658]: or-patterns syntax is experimental
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/terminal.rs:232:30
|
232 | Ok(Key::Char('y' | 'Y')) => break Ok(true),
| ^^^^^^^^^
|
= note: see issue #54883 rust-lang/rust#54883 for more information
error[E0658]: or-patterns syntax is experimental
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/terminal.rs:233:30
|
233 | Ok(Key::Char('s' | 'S')) => {
| ^^^^^^^^^
|
= note: see issue #54883 rust-lang/rust#54883 for more information
error[E0658]: or-patterns syntax is experimental
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/terminal.rs:238:30
|
238 | Ok(Key::Char('n' | 'N') | Key::Enter) => break Ok(false),
| ^^^^^^^^^
|
= note: see issue #54883 rust-lang/rust#54883 for more information
error[E0658]: or-patterns syntax is experimental
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/terminal.rs:238:20
|
238 | Ok(Key::Char('n' | 'N') | Key::Enter) => break Ok(false),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #54883 rust-lang/rust#54883 for more information
error[E0658]: or-patterns syntax is experimental
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/terminal.rs:243:30
|
243 | Ok(Key::Char('q' | 'Q')) => return Err(io::Error::from(io::ErrorKind::Interrupted)),
| ^^^^^^^^^
|
= note: see issue #54883 rust-lang/rust#54883 for more information
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/git.rs:56:15
|
56 | .args(["pull", "--ff-only"]);
| ^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["pull", "--ff-only"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/git.rs:64:15
|
64 | .args(["submodule", "update", "--recursive"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["submodule", "update", "--recursive"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 5] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/git.rs:84:27
|
84 | .args([
| ______^
85 | | "--no-pager",
86 | | "log",
87 | | "--no-decorate",
88 | | "--oneline",
89 | | &format!("{}..{}", before, after),
90 | | ])
| |^ expected an implementor of trait IntoIterator
|
= note: the trait bound [&str; 5]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 5]
help: consider borrowing here
|
84 | .args(&[
85 | "--no-pager",
86 | "log",
87 | "--no-decorate",
88 | "--oneline",
89 | &format!("{}..{}", before, after),
...
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/emacs.rs:61:37
|
61 | run_type.execute(doom).args(["-y", "upgrade"]).check_run()
| ^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-y", "upgrade"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/emacs.rs:79:19
|
79 | .args(["--batch", "--debug-init", "-l"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["--batch", "--debug-init", "-l"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/generic.rs:52:15
|
52 | .args(["install-update", "--git", "--all"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["install-update", "--git", "--all"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/generic.rs:109:43
|
109 | ctx.run_type().execute(&sheldon).args(["lock", "--update"]).check_run()
| ^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["lock", "--update"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/generic.rs:117:36
|
117 | run_type.execute(&fossil).args(["all", "sync"]).check_run()
| ^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["all", "sync"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/generic.rs:125:48
|
125 | let stdout = run_type.execute(µ).args(["-plugin", "update"]).string_output()?;
| ^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-plugin", "update"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/generic.rs:146:33
|
146 | run_type.execute(&apm).args(["upgrade", "--confirm=false"]).check_run()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["upgrade", "--confirm=false"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/generic.rs:155:40
|
155 | run_type.execute(&rustup).args(["self", "update"]).check_run()?;
| ^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["self", "update"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/generic.rs:167:39
|
167 | run_type.execute(&choosenim).args(["update", "self"]).check_run()?;
| ^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["update", "self"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/generic.rs:168:39
|
168 | run_type.execute(&choosenim).args(["update", "stable"]).check_run()
| ^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["update", "stable"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 1] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/generic.rs:176:34
|
176 | run_type.execute(&krew).args(["upgrade"]).check_run()
| ^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["upgrade"]
|
= note: the trait bound [&str; 1]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 1]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/generic.rs:186:15
|
186 | .args(["components", "update", "--quiet"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["components", "update", "--quiet"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/generic.rs:195:37
|
195 | run_type.execute(&jetpack).args(["global", "update"]).check_run()
| ^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["global", "update"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/generic.rs:219:35
|
219 | run_type.execute(&vcpkg).args(["upgrade", "--no-dry-run"]).check_run()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["upgrade", "--no-dry-run"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 4] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/generic.rs:239:15
|
239 | .args(["install", "--upgrade", "--user", "pip"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["install", "--upgrade", "--user", "pip"]
|
= note: the trait bound [&str; 4]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 4]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/generic.rs:290:18
|
290 | command.args(["update", "--self", "--all"]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["update", "--self", "--all"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 5] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/generic.rs:332:15
|
332 | .args(["global", "config", "--absolute", "--quiet", "home"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["global", "config", "--absolute", "--quiet", "home"]
|
= note: the trait bound [&str; 5]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 5]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/generic.rs:370:47
|
370 | let output = Command::new(&composer).args(["global", "update"]).output()?;
| ^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["global", "update"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/generic.rs:391:44
|
391 | let output = Command::new(dotnet).args(["tool", "list", "--global"]).output()?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["tool", "list", "--global"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 4] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/generic.rs:414:19
|
414 | .args(["tool", "update", package_name, "--global"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["tool", "update", package_name, "--global"]
|
= note: the trait bound [&str; 4]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 4]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/generic.rs:426:34
|
426 | run_type.execute(&raco).args(["pkg", "update", "--all"]).check_run()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["pkg", "update", "--all"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/git.rs:110:15
|
110 | .args(["rev-parse", "HEAD"])
| ^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["rev-parse", "HEAD"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/git.rs:125:15
|
125 | .args(["remote", "show"])
| ^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["remote", "show"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/git.rs:168:31
|
168 | .args(["rev-parse", "--show-toplevel"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["rev-parse", "--show-toplevel"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/node.rs:30:19
|
30 | .args(["root", "-g"])
| ^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["root", "-g"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/node.rs:40:23
|
40 | .args(["update", "-g"])
| ^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["update", "-g"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/node.rs:43:50
|
43 | run_type.execute(&self.command).args(["update", "-g"]).check_run()?;
| ^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["update", "-g"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/node.rs:101:19
|
101 | .args(["update", "-g"])
| ^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["update", "-g"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/node.rs:104:44
|
104 | ctx.run_type().execute(&pnpm).args(["update", "-g"]).check_run()
| ^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["update", "-g"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:182:19
|
182 | .args(["/usr/bin/zypper", "refresh"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["/usr/bin/zypper", "refresh"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:187:19
|
187 | .args(["/usr/bin/zypper", "dist-upgrade"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["/usr/bin/zypper", "dist-upgrade"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:200:19
|
200 | .args(["/usr/bin/xbps-install", "-Su", "xbps"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["/usr/bin/xbps-install", "-Su", "xbps"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:205:19
|
205 | .args(["/usr/bin/xbps-install", "-u"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["/usr/bin/xbps-install", "-u"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:219:54
|
219 | run_type.execute(&sudo).arg(layman).args(["-s", "ALL"]).check_run()?;
| ^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-s", "ALL"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:225:19
|
225 | .args(["/usr/bin/emerge", "--sync"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["/usr/bin/emerge", "--sync"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:291:19
|
291 | .args(["/usr/bin/eopkg", "upgrade"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["/usr/bin/eopkg", "upgrade"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:313:19
|
313 | .args(["/usr/bin/swupd", "update"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["/usr/bin/swupd", "update"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:326:19
|
326 | .args(["/usr/bin/cave", "sync"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["/usr/bin/cave", "sync"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 8] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:331:19
|
331 | .args(["/usr/bin/cave", "resolve", "world", "-c1", "-Cs", "-km", "-Km", "-x"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["/usr/bin/cave", "resolve", "world", "-c1", "-Cs", "-km", "-Km", "-x"]
|
= note: the trait bound [&str; 8]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 8]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:337:23
|
337 | .args(["/usr/bin/cave", "purge", "-x"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["/usr/bin/cave", "purge", "-x"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 5] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:343:19
|
343 | .args(["/usr/bin/cave", "fix-linkage", "-x", "--", "-Cs"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["/usr/bin/cave", "fix-linkage", "-x", "--", "-Cs"]
|
= note: the trait bound [&str; 5]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 5]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:348:19
|
348 | .args(["/usr/bin/eclectic", "config", "interactive"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["/usr/bin/eclectic", "config", "interactive"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:361:19
|
361 | .args(["/run/current-system/sw/bin/nixos-rebuild", "switch", "--upgrade"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["/run/current-system/sw/bin/nixos-rebuild", "switch", "--upgrade"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:367:23
|
367 | .args(["/run/current-system/sw/bin/nix-collect-garbage", "-d"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["/run/current-system/sw/bin/nix-collect-garbage", "-d"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:453:15
|
453 | .args(["update", "--user", "-y"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["update", "--user", "-y"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:461:19
|
461 | .args(["update", "--system", "-y"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["update", "--system", "-y"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/linux.rs:466:19
|
466 | .args(["update", "--system", "-y"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["update", "--system", "-y"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/unix.rs:78:34
|
78 | run_type.execute(&fish).args(["-c", "fisher update"]).check_run()
| ^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-c", "fisher update"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/unix.rs:88:15
|
88 | .args(["-lic", &format!("bash-it update {}", ctx.config().bashit_branch())])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-lic", &format!("bash-it update {}", ctx.config().bashit_branch())]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/unix.rs:101:40
|
101 | ctx.run_type().execute(&fish).args(["-c", "omf update"]).check_run()
| ^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-c", "omf update"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/unix.rs:131:40
|
131 | ctx.run_type().execute(&fish).args(["-c", "plug update"]).check_run()
| ^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-c", "plug update"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/unix.rs:161:15
|
161 | .args(["upgrade", "--ignore-pinned", "--formula"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["upgrade", "--ignore-pinned", "--formula"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/unix.rs:228:42
|
228 | run_type.execute(&sudo).args(["-i", "nix", "upgrade-nix"]).check_run()?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-i", "nix", "upgrade-nix"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/unix.rs:258:34
|
258 | run_type.execute(&asdf).args(["plugin", "update", "--all"]).check_run()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["plugin", "update", "--all"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/unix.rs:296:34
|
296 | run_type.execute(&bash).args(["-c", &cmd_selfupdate]).check_run()?;
| ^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-c", &cmd_selfupdate]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/unix.rs:299:34
|
299 | run_type.execute(&bash).args(["-c", &cmd_update]).check_run()?;
| ^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-c", &cmd_update]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/unix.rs:302:34
|
302 | run_type.execute(&bash).args(["-c", &cmd_upgrade]).check_run()?;
| ^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-c", &cmd_upgrade]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/unix.rs:306:38
|
306 | run_type.execute(&bash).args(["-c", &cmd_flush_archives]).check_run()?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-c", &cmd_flush_archives]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/os/unix.rs:309:38
|
309 | run_type.execute(&bash).args(["-c", &cmd_flush_temp]).check_run()?;
| ^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-c", &cmd_flush_temp]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/powershell.rs:26:23
|
26 | .args(["-NoProfile", "-Command", "Split-Path $profile"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-NoProfile", "-Command", "Split-Path $profile"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/powershell.rs:79:19
|
79 | .args(["-NoProfile", "-Command", &cmd.join(" ")])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-NoProfile", "-Command", &cmd.join(" ")]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 5] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/remote/ssh.rs:20:17
|
20 | args.extend(["env", &env, "$SHELL", "-lc", topgrade]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["env", &env, "$SHELL", "-lc", topgrade]
|
= note: the trait bound [&str; 5]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 5]
error[E0277]: [&str; 5] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/remote/ssh.rs:48:21
|
48 | args.extend(["env", &env, "$SHELL", "-lc", topgrade]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["env", &env, "$SHELL", "-lc", topgrade]
|
= note: the trait bound [&str; 5]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 5]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/remote/vagrant.rs:113:19
|
113 | .args([subcommand, &vagrant_box.name])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &[subcommand, &vagrant_box.name]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/remote/vagrant.rs:140:19
|
140 | .args([subcommand, &self.vagrant_box.name])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &[subcommand, &self.vagrant_box.name]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/remote/vagrant.rs:198:15
|
198 | .args(["ssh", "-c", &command])
| ^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["ssh", "-c", &command]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/tmux.rs:52:19
|
52 | .args(["has-session", "-t", session_name])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["has-session", "-t", session_name]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 6] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/tmux.rs:61:19
|
61 | .args(["new-session", "-d", "-s", session_name, "-n", "dummy"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["new-session", "-d", "-s", session_name, "-n", "dummy"]
|
= note: the trait bound [&str; 6]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 6]
error[E0277]: [&str; 4] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/tmux.rs:69:19
|
69 | .args(["new-window", "-t", "topgrade", command])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["new-window", "-t", "topgrade", command]
|
= note: the trait bound [&str; 4]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 4]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/tmux.rs:97:15
|
97 | .args(["kill-window", "-t", "topgrade:dummy"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["kill-window", "-t", "topgrade:dummy"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/tmux.rs:102:37
|
102 | let err = tmux.build().args(["attach", "-t", "topgrade"]).exec();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["attach", "-t", "topgrade"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 5] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/tmux.rs:113:15
|
113 | .args(["new-window", "-a", "-t", "topgrade:1", command])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["new-window", "-a", "-t", "topgrade:1", command]
|
= note: the trait bound [&str; 5]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 5]
error[E0277]: [&str; 4] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/vim.rs:53:15
|
53 | .args(["-U", "NONE", "-V1", "-nNesS"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-U", "NONE", "-V1", "-nNesS"]
|
= note: the trait bound [&str; 4]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 4]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/zsh.rs:22:32
|
22 | run_type.execute(zsh).args(["-l", "-c", &cmd]).check_run()
| ^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-l", "-c", &cmd]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/zsh.rs:51:32
|
51 | run_type.execute(zsh).args(["-l", "-c", &cmd]).check_run()
| ^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-l", "-c", &cmd]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/zsh.rs:65:32
|
65 | run_type.execute(zsh).args(["-i", "-c", "zplug update"]).check_run()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-i", "-c", "zplug update"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/zsh.rs:80:32
|
80 | run_type.execute(zsh).args(["-i", "-c", &cmd]).check_run()
| ^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-i", "-c", &cmd]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/zsh.rs:88:23
|
88 | .args(["-c", "[[ -n ${ZIM_HOME} ]] && print -n ${ZIM_HOME}"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-c", "[[ -n ${ZIM_HOME} ]] && print -n ${ZIM_HOME}"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 3] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/zsh.rs:99:15
|
99 | .args(["-i", "-c", "zimfw upgrade && zimfw update"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-i", "-c", "zimfw upgrade && zimfw update"]
|
= note: the trait bound [&str; 3]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 3]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/steps/zsh.rs:112:23
|
112 | .args(["-c", "test $ZSH_CUSTOM && echo -n $ZSH_CUSTOM"])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-c", "test $ZSH_CUSTOM && echo -n $ZSH_CUSTOM"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error[E0277]: [&str; 2] is not an iterator
--> /home/sagu/.cargo/registry/src/github.com-1ecc6299db9ec823/topgrade-8.0.0/src/terminal.rs:100:38
|
100 | command.args(["-a", "Topgrade"]);
| ^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait IntoIterator
| help: consider borrowing here: &["-a", "Topgrade"]
|
= note: the trait bound [&str; 2]: IntoIterator is not satisfied
= note: required because of the requirements on the impl of IntoIterator for [&str; 2]
error: aborting due to 95 previous errors
Some errors have detailed explanations: E0277, E0658.
For more information about an error, try rustc --explain E0277.
error: failed to compile topgrade v8.0.0, intermediate artifacts can be found at /tmp/cargo-installidDolH
Caused by:
could not compile topgrade
To learn more, run the command again with --verbose.
You need at least Rust 1.53 for this release, due to or-patterns being stabilized. (in case someone other than OP reads this: you can check your rust version using rustc --version).
If the ubuntu repos do not have 1.53 yet, you can either install rust using rustup or place the binaries from the release page somewhere in your path, where it will self-update. Conventionally that would be in /usr/local/bin/.
Note that 8.0.0 doesn't yet have linux binaries, see #780 for that.
If topgrade tries to update itself via cargo-update i get error like this:
cargo version is:
What did you expect to happen?
I executed topgrade and it should update itself and the system
What actually happened?
it couldn't update itself using cargo
Additional details:
I installed topgrade via cargo
The text was updated successfully, but these errors were encountered: