[INFO] cloning repository https://github.com/chenminghui1/os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chenminghui1/os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenminghui1%2Fos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenminghui1%2Fos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66a7342cf93e0be33b7b4783b4a372f95a762647 [INFO] checking chenminghui1/os/66a7342cf93e0be33b7b4783b4a372f95a762647 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenminghui1%2Fos" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 9% (467/4907) Updating files: 10% (491/4907) Updating files: 11% (540/4907) Updating files: 12% (589/4907) Updating files: 13% (638/4907) Updating files: 13% (649/4907) Updating files: 14% (687/4907) Updating files: 15% (737/4907) Updating files: 15% (765/4907) Updating files: 16% (786/4907) Updating files: 17% (835/4907) Updating files: 18% (884/4907) Updating files: 19% (933/4907) Updating files: 20% (982/4907) Updating files: 21% (1031/4907) Updating files: 22% (1080/4907) Updating files: 22% (1109/4907) Updating files: 23% (1129/4907) Updating files: 24% (1178/4907) Updating files: 25% (1227/4907) Updating files: 25% (1269/4907) Updating files: 26% (1276/4907) Updating files: 27% (1325/4907) Updating files: 28% (1374/4907) Updating files: 29% (1424/4907) Updating files: 30% (1473/4907) Updating files: 31% (1522/4907) Updating files: 32% (1571/4907) Updating files: 33% (1620/4907) Updating files: 34% (1669/4907) Updating files: 35% (1718/4907) Updating files: 36% (1767/4907) Updating files: 37% (1816/4907) Updating files: 38% (1865/4907) Updating files: 39% (1914/4907) Updating files: 40% (1963/4907) Updating files: 41% (2012/4907) Updating files: 42% (2061/4907) Updating files: 43% (2111/4907) Updating files: 44% (2160/4907) Updating files: 45% (2209/4907) Updating files: 46% (2258/4907) Updating files: 47% (2307/4907) Updating files: 48% (2356/4907) Updating files: 49% (2405/4907) Updating files: 50% (2454/4907) Updating files: 50% (2467/4907) Updating files: 51% (2503/4907) Updating files: 52% (2552/4907) Updating files: 53% (2601/4907) Updating files: 53% (2624/4907) Updating files: 54% (2650/4907) Updating files: 55% (2699/4907) Updating files: 56% (2748/4907) Updating files: 57% (2797/4907) Updating files: 58% (2847/4907) Updating files: 59% (2896/4907) Updating files: 60% (2945/4907) Updating files: 61% (2994/4907) Updating files: 62% (3043/4907) Updating files: 63% (3092/4907) Updating files: 64% (3141/4907) Updating files: 65% (3190/4907) Updating files: 66% (3239/4907) Updating files: 67% (3288/4907) Updating files: 68% (3337/4907) Updating files: 69% (3386/4907) Updating files: 70% (3435/4907) Updating files: 71% (3484/4907) Updating files: 72% (3534/4907) Updating files: 73% (3583/4907) Updating files: 74% (3632/4907) Updating files: 75% (3681/4907) Updating files: 76% (3730/4907) Updating files: 77% (3779/4907) Updating files: 78% (3828/4907) Updating files: 79% (3877/4907) Updating files: 80% (3926/4907) Updating files: 81% (3975/4907) Updating files: 82% (4024/4907) Updating files: 83% (4073/4907) Updating files: 84% (4122/4907) Updating files: 85% (4171/4907) Updating files: 86% (4221/4907) Updating files: 87% (4270/4907) Updating files: 88% (4319/4907) Updating files: 89% (4368/4907) Updating files: 90% (4417/4907) Updating files: 91% (4466/4907) Updating files: 92% (4515/4907) Updating files: 93% (4564/4907) Updating files: 94% (4613/4907) Updating files: 94% (4625/4907) Updating files: 95% (4662/4907) Updating files: 96% (4711/4907) Updating files: 97% (4760/4907) Updating files: 98% (4809/4907) Updating files: 99% (4858/4907) Updating files: 100% (4907/4907) Updating files: 100% (4907/4907), done. [INFO] validating manifest of git repo https://github.com/chenminghui1/os on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/chenminghui1/os [INFO] finished tweaking git repo https://github.com/chenminghui1/os [INFO] tweaked toml for git repo https://github.com/chenminghui1/os written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/chenminghui1/os 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/rcore-os/riscv` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bit_field v0.9.0 [INFO] [stderr] Downloaded buddy_system_allocator v0.3.9 [INFO] [stderr] Downloaded syn v1.0.23 [INFO] [stderr] Downloaded proc-macro2 v1.0.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 936867b3ff8a0b10d890fd22ca1116cbae44cabaf95801d37d1e5fee15b29564 [INFO] running `Command { std: "docker" "start" "-a" "936867b3ff8a0b10d890fd22ca1116cbae44cabaf95801d37d1e5fee15b29564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "936867b3ff8a0b10d890fd22ca1116cbae44cabaf95801d37d1e5fee15b29564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "936867b3ff8a0b10d890fd22ca1116cbae44cabaf95801d37d1e5fee15b29564", kill_on_drop: false }` [INFO] [stdout] 936867b3ff8a0b10d890fd22ca1116cbae44cabaf95801d37d1e5fee15b29564 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29961be3899a9d936fc1e6ce7308102f59e1621efa9d92006b39ee3fdcabe3dd [INFO] running `Command { std: "docker" "start" "-a" "29961be3899a9d936fc1e6ce7308102f59e1621efa9d92006b39ee3fdcabe3dd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling riscv v0.5.0 (https://github.com/rcore-os/riscv#c62af464) [INFO] [stderr] Checking bit_field v0.9.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stdout] error[E0425]: cannot find value `ENTRY_COUNT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/riscv-ab2abd16c438337b/c62af46/src/paging/page_table.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | entries: [PageTableEntry; ENTRY_COUNT], [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `addr::VirtAddr` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/riscv-ab2abd16c438337b/c62af46/src/addr.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VirtAddr(usize); [INFO] [stdout] | ------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 185 | Page(VirtAddr::new(vpn << 12)) [INFO] [stdout] | ^^^ function or associated item not found in `VirtAddr` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 185 | Page(VirtAddr::ne(vpn << 12)) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `p2_index` found for struct `addr::VirtAddr` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/riscv-ab2abd16c438337b/c62af46/src/addr.rs:203:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VirtAddr(usize); [INFO] [stdout] | ------------------- method `p2_index` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 203 | self.0.p2_index() [INFO] [stdout] | ^^^^^^^^ method not found in `VirtAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `p1_index` found for struct `addr::VirtAddr` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/riscv-ab2abd16c438337b/c62af46/src/addr.rs:207:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VirtAddr(usize); [INFO] [stdout] | ------------------- method `p1_index` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 207 | self.0.p1_index() [INFO] [stdout] | ^^^^^^^^ method not found in `VirtAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `page_number` found for struct `addr::VirtAddr` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/riscv-ab2abd16c438337b/c62af46/src/addr.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VirtAddr(usize); [INFO] [stdout] | ------------------- method `page_number` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 211 | self.0.page_number() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `VirtAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `addr::PhysAddr` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/riscv-ab2abd16c438337b/c62af46/src/addr.rs:253:25 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct PhysAddr(usize); [INFO] [stdout] | ------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 253 | Frame(PhysAddr::new(ppn << 12)) [INFO] [stdout] | ^^^ function or associated item not found in `PhysAddr` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 253 | Frame(PhysAddr::ne(ppn << 12)) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `p2_index` found for struct `addr::PhysAddr` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/riscv-ab2abd16c438337b/c62af46/src/addr.rs:271:16 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct PhysAddr(usize); [INFO] [stdout] | ------------------- method `p2_index` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 271 | self.0.p2_index() [INFO] [stdout] | ^^^^^^^^ method not found in `PhysAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `p1_index` found for struct `addr::PhysAddr` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/riscv-ab2abd16c438337b/c62af46/src/addr.rs:275:16 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct PhysAddr(usize); [INFO] [stdout] | ------------------- method `p1_index` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 275 | self.0.p1_index() [INFO] [stdout] | ^^^^^^^^ method not found in `PhysAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `page_number` found for struct `addr::PhysAddr` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/riscv-ab2abd16c438337b/c62af46/src/addr.rs:279:16 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct PhysAddr(usize); [INFO] [stdout] | ------------------- method `page_number` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 279 | self.0.page_number() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `PhysAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `addr::PhysAddr` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/riscv-ab2abd16c438337b/c62af46/src/paging/page_table.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | PhysAddr::new(self.ppn() << 12) [INFO] [stdout] | ^^^ function or associated item not found in `PhysAddr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/riscv-ab2abd16c438337b/c62af46/src/addr.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct PhysAddr(usize); [INFO] [stdout] | ------------------- function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 72 | PhysAddr::ne(self.ppn() << 12) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `addr::VirtAddr` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/riscv-ab2abd16c438337b/c62af46/src/paging/recursive.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 59 | let page = Page::of_addr(VirtAddr::new(frame.start_address().as_usize())); [INFO] [stdout] | ^^^ function or associated item not found in `VirtAddr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/riscv-ab2abd16c438337b/c62af46/src/addr.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VirtAddr(usize); [INFO] [stdout] | ------------------- function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 59 | let page = Page::of_addr(VirtAddr::ne(frame.start_address().as_usize())); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `riscv` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "29961be3899a9d936fc1e6ce7308102f59e1621efa9d92006b39ee3fdcabe3dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29961be3899a9d936fc1e6ce7308102f59e1621efa9d92006b39ee3fdcabe3dd", kill_on_drop: false }` [INFO] [stdout] 29961be3899a9d936fc1e6ce7308102f59e1621efa9d92006b39ee3fdcabe3dd