[INFO] cloning repository https://github.com/LyricZhao/rCore-Tutorial-Playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LyricZhao/rCore-Tutorial-Playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLyricZhao%2FrCore-Tutorial-Playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLyricZhao%2FrCore-Tutorial-Playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc5d2316a8f1e27bd8ef83f27a366854ec481d81 [INFO] checking LyricZhao/rCore-Tutorial-Playground against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLyricZhao%2FrCore-Tutorial-Playground" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LyricZhao/rCore-Tutorial-Playground on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LyricZhao/rCore-Tutorial-Playground [INFO] finished tweaking git repo https://github.com/LyricZhao/rCore-Tutorial-Playground [INFO] tweaked toml for git repo https://github.com/LyricZhao/rCore-Tutorial-Playground written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/LyricZhao/rCore-Tutorial-Playground already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] [stderr] Downloaded bit_field v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc1aa58a9f0915e6fb37ea0b869dce4874ffe67bbc2c818e6f09d1e9eb1f429d [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" "dc1aa58a9f0915e6fb37ea0b869dce4874ffe67bbc2c818e6f09d1e9eb1f429d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc1aa58a9f0915e6fb37ea0b869dce4874ffe67bbc2c818e6f09d1e9eb1f429d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc1aa58a9f0915e6fb37ea0b869dce4874ffe67bbc2c818e6f09d1e9eb1f429d", kill_on_drop: false }` [INFO] [stdout] dc1aa58a9f0915e6fb37ea0b869dce4874ffe67bbc2c818e6f09d1e9eb1f429d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98eb001cfbdf268ac29ef61e27023ca6c05af3ec9b15e413799ac2f161201e43 [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" "98eb001cfbdf268ac29ef61e27023ca6c05af3ec9b15e413799ac2f161201e43", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [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 spin v0.5.2 [INFO] [stderr] Checking bit_field v0.9.0 [INFO] [stderr] Checking bit_field v0.10.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling syn v1.0.17 [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[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::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/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[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] [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" "98eb001cfbdf268ac29ef61e27023ca6c05af3ec9b15e413799ac2f161201e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98eb001cfbdf268ac29ef61e27023ca6c05af3ec9b15e413799ac2f161201e43", kill_on_drop: false }` [INFO] [stdout] 98eb001cfbdf268ac29ef61e27023ca6c05af3ec9b15e413799ac2f161201e43