[INFO] cloning repository https://github.com/Lincyaw/os_exp_lab0to6 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lincyaw/os_exp_lab0to6" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLincyaw%2Fos_exp_lab0to6", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLincyaw%2Fos_exp_lab0to6'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54e6ee0be5c5fe7e9c71ae0b14c4ed57ad895ed0 [INFO] testing Lincyaw/os_exp_lab0to6 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLincyaw%2Fos_exp_lab0to6" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 26% (326/1220) Checking out files: 27% (330/1220) Checking out files: 28% (342/1220) Checking out files: 29% (354/1220) Checking out files: 30% (366/1220) Checking out files: 31% (379/1220) Checking out files: 32% (391/1220) Checking out files: 33% (403/1220) Checking out files: 34% (415/1220) Checking out files: 35% (427/1220) Checking out files: 36% (440/1220) Checking out files: 37% (452/1220) Checking out files: 38% (464/1220) Checking out files: 39% (476/1220) Checking out files: 40% (488/1220) Checking out files: 41% (501/1220) Checking out files: 42% (513/1220) Checking out files: 43% (525/1220) Checking out files: 44% (537/1220) Checking out files: 45% (549/1220) Checking out files: 46% (562/1220) Checking out files: 47% (574/1220) Checking out files: 48% (586/1220) Checking out files: 49% (598/1220) Checking out files: 50% (610/1220) Checking out files: 51% (623/1220) Checking out files: 52% (635/1220) Checking out files: 53% (647/1220) Checking out files: 54% (659/1220) Checking out files: 55% (671/1220) Checking out files: 56% (684/1220) Checking out files: 57% (696/1220) Checking out files: 58% (708/1220) Checking out files: 59% (720/1220) Checking out files: 60% (732/1220) Checking out files: 61% (745/1220) Checking out files: 62% (757/1220) Checking out files: 63% (769/1220) Checking out files: 64% (781/1220) Checking out files: 65% (793/1220) Checking out files: 66% (806/1220) Checking out files: 67% (818/1220) Checking out files: 68% (830/1220) Checking out files: 69% (842/1220) Checking out files: 70% (854/1220) Checking out files: 71% (867/1220) Checking out files: 72% (879/1220) Checking out files: 73% (891/1220) Checking out files: 74% (903/1220) Checking out files: 75% (915/1220) Checking out files: 76% (928/1220) Checking out files: 77% (940/1220) Checking out files: 77% (948/1220) Checking out files: 78% (952/1220) Checking out files: 79% (964/1220) Checking out files: 80% (976/1220) Checking out files: 81% (989/1220) Checking out files: 82% (1001/1220) Checking out files: 83% (1013/1220) Checking out files: 84% (1025/1220) Checking out files: 85% (1037/1220) Checking out files: 86% (1050/1220) Checking out files: 87% (1062/1220) Checking out files: 88% (1074/1220) Checking out files: 89% (1086/1220) Checking out files: 90% (1098/1220) Checking out files: 91% (1111/1220) Checking out files: 92% (1123/1220) Checking out files: 93% (1135/1220) Checking out files: 94% (1147/1220) Checking out files: 95% (1159/1220) Checking out files: 96% (1172/1220) Checking out files: 97% (1184/1220) Checking out files: 98% (1196/1220) Checking out files: 99% (1208/1220) Checking out files: 100% (1220/1220) Checking out files: 100% (1220/1220), done. [INFO] validating manifest of git repo https://github.com/Lincyaw/os_exp_lab0to6 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6/source/.cargo/config [INFO] started tweaking git repo https://github.com/Lincyaw/os_exp_lab0to6 [INFO] finished tweaking git repo https://github.com/Lincyaw/os_exp_lab0to6 [INFO] tweaked toml for git repo https://github.com/Lincyaw/os_exp_lab0to6 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/Lincyaw/os_exp_lab0to6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] d1afb125278c2adc8c627a62c30f516cd673d39029852de5ac78f69efcdd6969 [INFO] running `Command { std: "docker" "start" "-a" "d1afb125278c2adc8c627a62c30f516cd673d39029852de5ac78f69efcdd6969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1afb125278c2adc8c627a62c30f516cd673d39029852de5ac78f69efcdd6969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1afb125278c2adc8c627a62c30f516cd673d39029852de5ac78f69efcdd6969", kill_on_drop: false }` [INFO] [stdout] d1afb125278c2adc8c627a62c30f516cd673d39029852de5ac78f69efcdd6969 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53747662f3ad952c7a880fc0685e7d5718fb3d31dfd51230c0247d0ad4bbff0f [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" "53747662f3ad952c7a880fc0685e7d5718fb3d31dfd51230c0247d0ad4bbff0f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling rustversion v1.0.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling static_assertions v0.3.4 [INFO] [stderr] Compiling zero v0.1.2 [INFO] [stderr] Compiling bit_field v0.10.0 [INFO] [stderr] Compiling volatile v0.2.6 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling device_tree v1.0.3 (https://github.com/rcore-os/device_tree-rs#2fa8411c) [INFO] [stderr] Compiling rcore-fs v0.1.0 (https://github.com/rcore-os/rcore-fs#b9aaa4c1) [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling xmas-elf v0.7.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling virtio-drivers v0.1.0 (https://github.com/rcore-os/virtio-drivers#dfa70e14) [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rcore-fs-sfs v0.1.0 (https://github.com/rcore-os/rcore-fs#b9aaa4c1) [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling riscv v0.6.0 (https://github.com/rcore-os/riscv#21e32ee1) [INFO] [stderr] Compiling buddy_system_allocator v0.3.9 [INFO] [stderr] Compiling os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::memory::FRAME_ALLOCATOR` [INFO] [stdout] --> src/memory/frame/frame_tracker.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::memory::{address::*, FRAME_ALLOCATOR, PAGE_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `FRAME_ALLOCATOR` in `memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `allocator::FRAME_ALLOCATOR` [INFO] [stdout] --> src/memory/frame/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use allocator::FRAME_ALLOCATOR; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `FRAME_ALLOCATOR` in `memory::frame::allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lazy_static` in this scope [INFO] [stdout] --> src/memory/frame/allocator.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Allocator` in this scope [INFO] [stdout] --> src/memory/frame/allocator.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FrameAllocator { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhysicalPageNumber` in this scope [INFO] [stdout] --> src/memory/frame/allocator.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | start_ppn: PhysicalPageNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::memory::address::PhysicalPageNumber; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Allocator` in this scope [INFO] [stdout] --> src/memory/frame/allocator.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | impl FrameAllocator { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Range` in this scope [INFO] [stdout] --> src/memory/frame/allocator.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(range: impl Into> + Copy) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::collections::btree_map::Range; [INFO] [stdout] | [INFO] [stdout] 10 | use alloc::collections::btree_set::Range; [INFO] [stdout] | [INFO] [stdout] 10 | use core::ops::Range; [INFO] [stdout] | [INFO] [stdout] 10 | use crate::console::fmt::str::slice::Range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhysicalPageNumber` in this scope [INFO] [stdout] --> src/memory/frame/allocator.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(range: impl Into> + Copy) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::memory::address::PhysicalPageNumber; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MemoryResult` in this scope [INFO] [stdout] --> src/memory/frame/allocator.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn alloc(&mut self) -> MemoryResult { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FrameTracker` in this scope [INFO] [stdout] --> src/memory/frame/allocator.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn alloc(&mut self) -> MemoryResult { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::memory::frame::FrameTracker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `FrameTracker` [INFO] [stdout] --> src/memory/frame/allocator.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | .map(|offset| FrameTracker::from(self.start_ppn + offset)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::memory::frame::FrameTracker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FrameTracker` in this scope [INFO] [stdout] --> src/memory/frame/allocator.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | pub(super) fn dealloc(&mut self, frame: &FrameTracker) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 | use crate::memory::frame::FrameTracker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `os`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "53747662f3ad952c7a880fc0685e7d5718fb3d31dfd51230c0247d0ad4bbff0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53747662f3ad952c7a880fc0685e7d5718fb3d31dfd51230c0247d0ad4bbff0f", kill_on_drop: false }` [INFO] [stdout] 53747662f3ad952c7a880fc0685e7d5718fb3d31dfd51230c0247d0ad4bbff0f