error[E0432]: unresolved import `crate::installed`. Build redoxer failed when building redox-os on Macos 10.15.5
Hi, I came across a problem while building redox-os.
fox:redox/ (master) $ make all [15:15:51]
cargo build --manifest-path cookbook/Cargo.toml --release
Compiling redoxer v0.2.19
error[E0432]: unresolved import `crate::installed`
--> /Users/fox/.cargo/registry/src/github.com-1ecc6299db9ec823/redoxer-0.2.19/src/exec.rs:8:13
|
8 | use crate::{installed, redoxer_dir, status_error, syscall_error, toolchain, TARGET};
| ^^^^^^^^^ no `installed` in the root
error[E0432]: unresolved import `crate::running`
--> /Users/fox/.cargo/registry/src/github.com-1ecc6299db9ec823/redoxer-0.2.19/src/redoxfs.rs:5:13
|
5 | use crate::{running, status_error};
| ^^^^^^^ no `running` in the root
error[E0599]: no method named `unmount` found for type `redoxfs::RedoxFs` in the current scope
--> /Users/fox/.cargo/registry/src/github.com-1ecc6299db9ec823/redoxer-0.2.19/src/exec.rs:95:25
|
95 | redoxfs.unmount()?;
| ^^^^^^^ method not found in `redoxfs::RedoxFs`
|
::: /Users/fox/.cargo/registry/src/github.com-1ecc6299db9ec823/redoxer-0.2.19/src/redoxfs.rs:7:1
|
7 | pub struct RedoxFs {
| ------------------ method `unmount` not found for this
error[E0599]: no method named `unmount` found for type `redoxfs::RedoxFs` in the current scope
--> /Users/fox/.cargo/registry/src/github.com-1ecc6299db9ec823/redoxer-0.2.19/src/exec.rs:267:25
|
267 | redoxfs.unmount()?;
| ^^^^^^^ method not found in `redoxfs::RedoxFs`
|
::: /Users/fox/.cargo/registry/src/github.com-1ecc6299db9ec823/redoxer-0.2.19/src/redoxfs.rs:7:1
|
7 | pub struct RedoxFs {
| ------------------ method `unmount` not found for this
error[E0599]: no method named `mount` found for type `redoxfs::RedoxFs` in the current scope
--> /Users/fox/.cargo/registry/src/github.com-1ecc6299db9ec823/redoxer-0.2.19/src/redoxfs.rs:20:11
|
7 | pub struct RedoxFs {
| ------------------ method `mount` not found for this
...
20 | s.mount()?;
| ^^^^^ method not found in `redoxfs::RedoxFs`
error[E0599]: no method named `unmount` found for type `&mut redoxfs::RedoxFs` in the current scope
--> /Users/fox/.cargo/registry/src/github.com-1ecc6299db9ec823/redoxer-0.2.19/src/redoxfs.rs:92:32
|
92 | if let Err(err) = self.unmount() {
| ^^^^^^^ method not found in `&mut redoxfs::RedoxFs`
error: aborting due to 6 previous errors
Some errors have detailed explanations: E0432, E0599.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `redoxer`.
To learn more, run the command again with --verbose.
make: *** [build/initfs.tag] Error 101
fox:redox/ (master) $
Environment:
fox:redox/ (master) $ pwd [15:00:00]
/Users/fox/Workspace/redox-os/redox
fox:redox/ (master) $ ll [15:00:11]
total 160
-rw-r--r-- 1 fox staff 13K Jul 3 17:08 CONTRIBUTING.md
-rw-r--r-- 1 fox staff 1.1K Jul 3 17:08 LICENSE
-rw-r--r-- 1 fox staff 3.5K Jul 3 17:08 Makefile
-rw-r--r-- 1 fox staff 9.2K Jul 3 17:08 README.md
-rw-r--r-- 1 fox staff 384B Jul 3 17:08 bochs.x86_64
drwxr-xr-x 6 fox staff 192B Jul 3 17:16 bootloader
drwxr-xr-x 12 fox staff 384B Jul 3 17:16 bootloader-coreboot
drwxr-xr-x 16 fox staff 512B Jul 3 17:16 bootloader-efi
-rwxr-xr-x 1 fox staff 19K Jul 3 17:08 bootstrap.sh
drwxr-xr-x 3 fox staff 96B Jul 6 17:07 build
-rw-r--r-- 1 fox staff 3.1K Jul 3 17:08 ci.toml
drwxr-xr-x 7 fox staff 224B Jul 3 17:08 config
drwxr-xr-x 29 fox staff 928B Jul 7 11:31 cookbook
drwxr-xr-x 8 fox staff 256B Jul 3 17:08 docker
lrwxr-xr-x 1 fox staff 19B Jul 3 17:08 filesystem.toml -> config/desktop.toml
-rw-r--r-- 1 fox staff 514B Jul 3 17:08 initfs.toml
-rw-r--r-- 1 fox staff 464B Jul 3 17:08 initfs_coreboot.toml
-rw-r--r-- 1 fox staff 464B Jul 3 17:08 initfs_live.toml
drwxr-xr-x 10 fox staff 320B Jul 3 17:16 installer
drwxr-xr-x 8 fox staff 256B Jul 3 17:16 isolinux
drwxr-xr-x 19 fox staff 608B Jul 3 17:16 kernel
drwxr-xr-x 12 fox staff 384B Jul 3 17:08 mk
drwxr-xr-x 3 fox staff 96B Jul 6 17:07 prefix
drwxr-xr-x 13 fox staff 416B Jul 3 17:16 redoxfs
drwxr-xr-x 29 fox staff 928B Jul 6 23:25 relibc
drwxr-xr-x 22 fox staff 704B Jul 3 17:16 rust
-rw-r--r-- 1 fox staff 19B Jul 3 17:08 rust-toolchain
fox:redox/ (master) $ git rev-parse HEAD [15:28:53]
5d67d549a7a743cb25f233d9da2779a237ac8c51
fox:redox/ (master) $ rustc --version [15:21:33]
rustc 1.41.0-nightly (412f43ac5 2019-11-24)
fox:redox/ (master) $ cargo --version [15:22:52]
cargo 1.41.0-nightly (8280633db 2019-11-11)
fox:redox/ (master) $ neofetch [15:15:33]
'c. fox@fox-laptop.local
,xNMM. --------------------
.OMMMMo OS: macOS Catalina 10.15.5 19F101 x86_64
OMMM0, Host: MacBookAir8,1
.;loddo:' loolloddol;. Kernel: 19.5.0
cKMMMMMMMMMMNWMMMMMMMMMM0: Uptime: 2 hours, 15 mins
.KMMMMMMMMMMMMMMMMMMMMMMMWd. Packages: 146 (brew)
XMMMMMMMMMMMMMMMMMMMMMMMX. Shell: zsh 5.7.1
;MMMMMMMMMMMMMMMMMMMMMMMM: Resolution: 1440x900
:MMMMMMMMMMMMMMMMMMMMMMMM: DE: Aqua
.MMMMMMMMMMMMMMMMMMMMMMMMX. WM: Quartz Compositor
kMMMMMMMMMMMMMMMMMMMMMMMMWd. WM Theme: Blue (Light)
.XMMMMMMMMMMMMMMMMMMMMMMMMMMk Terminal: iTerm2
.XMMMMMMMMMMMMMMMMMMMMMMMMK. Terminal Font: DejaVuSansMonoPowerline 13
kMMMMMMMMMMMMMMMMMMMMMMd CPU: Intel i5-8210Y (4) @ 1.60GHz
;KMMMMMMMWXXWMMMMMMMk. GPU: Intel UHD Graphics 617
.cooc,. .,coo:. Memory: 5894MiB / 8192MiB