[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenminghui1%2Fos" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 7% (372/4907) Checking out files: 8% (393/4907) Checking out files: 9% (442/4907) Checking out files: 9% (490/4907) Checking out files: 10% (491/4907) Checking out files: 11% (540/4907) Checking out files: 11% (545/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: 16% (786/4907) Checking out files: 16% (788/4907) Checking out files: 17% (835/4907) Checking out files: 18% (884/4907) Checking out files: 18% (893/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: 23% (1174/4907) Checking out files: 24% (1178/4907) Checking out files: 25% (1227/4907) Checking out files: 26% (1276/4907) Checking out files: 26% (1287/4907) Checking out files: 27% (1325/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: 33% (1623/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: 52% (2552/4907) Checking out files: 52% (2575/4907) Checking out files: 53% (2601/4907) Checking out files: 53% (2632/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: 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: 92% (4526/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 a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/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-0/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b89065d6350d5137c6f8d5150ef610eba67e7df961df5e7d18fd6d577c4e416 [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" "0b89065d6350d5137c6f8d5150ef610eba67e7df961df5e7d18fd6d577c4e416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b89065d6350d5137c6f8d5150ef610eba67e7df961df5e7d18fd6d577c4e416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b89065d6350d5137c6f8d5150ef610eba67e7df961df5e7d18fd6d577c4e416", kill_on_drop: false }` [INFO] [stdout] 0b89065d6350d5137c6f8d5150ef610eba67e7df961df5e7d18fd6d577c4e416 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e825128e22e44bcbc65833f483abb3f927481012e7245190a79b07f549e93830 [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" "e825128e22e44bcbc65833f483abb3f927481012e7245190a79b07f549e93830", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 riscv v0.5.0 (https://github.com/rcore-os/riscv#c62af464) [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking bit_field v0.9.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking log v0.4.8 [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" "e825128e22e44bcbc65833f483abb3f927481012e7245190a79b07f549e93830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e825128e22e44bcbc65833f483abb3f927481012e7245190a79b07f549e93830", kill_on_drop: false }` [INFO] [stdout] e825128e22e44bcbc65833f483abb3f927481012e7245190a79b07f549e93830