[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 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenminghui1%2Fos" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 8% (395/4907) Checking out files: 9% (442/4907) Checking out files: 10% (491/4907) Checking out files: 10% (534/4907) Checking out files: 11% (540/4907) Checking out files: 12% (589/4907) Checking out files: 13% (638/4907) Checking out files: 13% (654/4907) Checking out files: 14% (687/4907) Checking out files: 15% (737/4907) Checking out files: 15% (765/4907) Checking out files: 16% (786/4907) Checking out files: 17% (835/4907) Checking out files: 18% (884/4907) Checking out files: 18% (914/4907) Checking out files: 19% (933/4907) Checking out files: 20% (982/4907) Checking out files: 21% (1031/4907) Checking out files: 22% (1080/4907) Checking out files: 23% (1129/4907) Checking out files: 24% (1178/4907) Checking out files: 25% (1227/4907) Checking out files: 25% (1246/4907) Checking out files: 26% (1276/4907) Checking out files: 27% (1325/4907) Checking out files: 27% (1367/4907) Checking out files: 28% (1374/4907) Checking out files: 29% (1424/4907) Checking out files: 30% (1473/4907) Checking out files: 31% (1522/4907) Checking out files: 32% (1571/4907) Checking out files: 33% (1620/4907) Checking out files: 34% (1669/4907) Checking out files: 35% (1718/4907) Checking out files: 36% (1767/4907) Checking out files: 37% (1816/4907) Checking out files: 38% (1865/4907) Checking out files: 39% (1914/4907) Checking out files: 40% (1963/4907) Checking out files: 41% (2012/4907) Checking out files: 42% (2061/4907) Checking out files: 43% (2111/4907) Checking out files: 44% (2160/4907) Checking out files: 45% (2209/4907) Checking out files: 46% (2258/4907) Checking out files: 47% (2307/4907) Checking out files: 48% (2356/4907) Checking out files: 49% (2405/4907) Checking out files: 50% (2454/4907) Checking out files: 51% (2503/4907) Checking out files: 51% (2536/4907) Checking out files: 52% (2552/4907) Checking out files: 53% (2601/4907) Checking out files: 53% (2624/4907) Checking out files: 54% (2650/4907) Checking out files: 55% (2699/4907) Checking out files: 56% (2748/4907) Checking out files: 57% (2797/4907) Checking out files: 58% (2847/4907) Checking out files: 59% (2896/4907) Checking out files: 60% (2945/4907) Checking out files: 61% (2994/4907) Checking out files: 62% (3043/4907) Checking out files: 63% (3092/4907) Checking out files: 64% (3141/4907) Checking out files: 65% (3190/4907) Checking out files: 66% (3239/4907) Checking out files: 67% (3288/4907) Checking out files: 68% (3337/4907) Checking out files: 69% (3386/4907) Checking out files: 70% (3435/4907) Checking out files: 71% (3484/4907) Checking out files: 72% (3534/4907) Checking out files: 73% (3583/4907) Checking out files: 74% (3632/4907) Checking out files: 75% (3681/4907) Checking out files: 76% (3730/4907) Checking out files: 77% (3779/4907) Checking out files: 78% (3828/4907) Checking out files: 79% (3877/4907) Checking out files: 80% (3926/4907) Checking out files: 81% (3975/4907) Checking out files: 82% (4024/4907) Checking out files: 83% (4073/4907) Checking out files: 84% (4122/4907) Checking out files: 84% (4145/4907) Checking out files: 85% (4171/4907) Checking out files: 86% (4221/4907) Checking out files: 87% (4270/4907) Checking out files: 88% (4319/4907) Checking out files: 89% (4368/4907) Checking out files: 90% (4417/4907) Checking out files: 91% (4466/4907) Checking out files: 92% (4515/4907) Checking out files: 93% (4564/4907) Checking out files: 94% (4613/4907) Checking out files: 95% (4662/4907) Checking out files: 96% (4711/4907) Checking out files: 97% (4760/4907) Checking out files: 98% (4809/4907) Checking out files: 99% (4858/4907) Checking out files: 100% (4907/4907) Checking out files: 100% (4907/4907), done. [INFO] validating manifest of git repo https://github.com/chenminghui1/os on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7/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-7/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: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/rcore-os/riscv` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded buddy_system_allocator v0.3.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6466a41e1db9b107d17bb542ef19410d01c0634726e2ad323b0439cb161ba680 [INFO] running `Command { std: "docker" "start" "-a" "6466a41e1db9b107d17bb542ef19410d01c0634726e2ad323b0439cb161ba680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6466a41e1db9b107d17bb542ef19410d01c0634726e2ad323b0439cb161ba680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6466a41e1db9b107d17bb542ef19410d01c0634726e2ad323b0439cb161ba680", kill_on_drop: false }` [INFO] [stdout] 6466a41e1db9b107d17bb542ef19410d01c0634726e2ad323b0439cb161ba680 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a9d1a53aecd691f741414ef7a8e1e5454717fa5e06802553e87f34a31bd3ffd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4a9d1a53aecd691f741414ef7a8e1e5454717fa5e06802553e87f34a31bd3ffd", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling riscv v0.5.0 (https://github.com/rcore-os/riscv#c62af464) [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.6 [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 [INFO] [stdout] ... [INFO] [stdout] 185 | Page(VirtAddr::new(vpn << 12)) [INFO] [stdout] | ^^^ function or associated item not found in `addr::VirtAddr` [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 [INFO] [stdout] ... [INFO] [stdout] 203 | self.0.p2_index() [INFO] [stdout] | ^^^^^^^^ method not found in `addr::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 [INFO] [stdout] ... [INFO] [stdout] 207 | self.0.p1_index() [INFO] [stdout] | ^^^^^^^^ method not found in `addr::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 [INFO] [stdout] ... [INFO] [stdout] 211 | self.0.page_number() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `addr::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 [INFO] [stdout] ... [INFO] [stdout] 253 | Frame(PhysAddr::new(ppn << 12)) [INFO] [stdout] | ^^^ function or associated item not found in `addr::PhysAddr` [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 [INFO] [stdout] ... [INFO] [stdout] 271 | self.0.p2_index() [INFO] [stdout] | ^^^^^^^^ method not found in `addr::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 [INFO] [stdout] ... [INFO] [stdout] 275 | self.0.p1_index() [INFO] [stdout] | ^^^^^^^^ method not found in `addr::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 [INFO] [stdout] ... [INFO] [stdout] 279 | self.0.page_number() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `addr::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 `addr::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 [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 `addr::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 [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4a9d1a53aecd691f741414ef7a8e1e5454717fa5e06802553e87f34a31bd3ffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a9d1a53aecd691f741414ef7a8e1e5454717fa5e06802553e87f34a31bd3ffd", kill_on_drop: false }` [INFO] [stdout] 4a9d1a53aecd691f741414ef7a8e1e5454717fa5e06802553e87f34a31bd3ffd