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
Downloading all works but during compiling, I get the following:
error[E0433]: failed to resolve: could not find unix in os
--> rootshell\src\main.rs:6:14
|
6 | use std::os::unix::process::CommandExt;
| ^^^^ could not find unix in os
|
note: found an item that was configured out
--> /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181\library\std\src\os\mod.rs:36:9
note: the item is gated here
--> /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181\library\std\src\os\mod.rs:28:1
note: found an item that was configured out
--> /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181\library\std\src\os\mod.rs:85:9
note: the item is gated here
--> /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181\library\std\src\os\mod.rs:84:1
error[E0599]: no method named uid found for mutable reference &mut Command in the current scope
--> rootshell\src\main.rs:30:3
|
28 | / Command::new("/bin/bash")
29 | | .args(args)
30 | | .uid(0)
| | -^^^ method not found in &mut Command
| |_____|
|
Some errors have detailed explanations: E0433, E0599.
For more information about an error, try rustc --explain E0433.
error: could not compile rootshell (bin "rootshell") due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
The text was updated successfully, but these errors were encountered:
Downloading all works but during compiling, I get the following:
error[E0433]: failed to resolve: could not find
unix
inos
--> rootshell\src\main.rs:6:14
|
6 | use std::os::unix::process::CommandExt;
| ^^^^ could not find
unix
inos
|
note: found an item that was configured out
--> /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181\library\std\src\os\mod.rs:36:9
note: the item is gated here
--> /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181\library\std\src\os\mod.rs:28:1
note: found an item that was configured out
--> /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181\library\std\src\os\mod.rs:85:9
note: the item is gated here
--> /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181\library\std\src\os\mod.rs:84:1
error[E0599]: no method named
uid
found for mutable reference&mut Command
in the current scope--> rootshell\src\main.rs:30:3
|
28 | / Command::new("/bin/bash")
29 | | .args(args)
30 | | .uid(0)
| | -^^^ method not found in
&mut Command
| |_____|
|
Some errors have detailed explanations: E0433, E0599.
For more information about an error, try
rustc --explain E0433
.error: could not compile
rootshell
(bin "rootshell") due to 2 previous errorswarning: build failed, waiting for other jobs to finish...
The text was updated successfully, but these errors were encountered: