[INFO] cloning repository https://github.com/dai-pch/os-r [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dai-pch/os-r" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdai-pch%2Fos-r", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdai-pch%2Fos-r'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6dd8252b0f243d940cb6e1da3f0a73ee7e37d206 [INFO] checking dai-pch/os-r/6dd8252b0f243d940cb6e1da3f0a73ee7e37d206 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdai-pch%2Fos-r" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dai-pch/os-r on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/dai-pch/os-r [INFO] finished tweaking git repo https://github.com/dai-pch/os-r [INFO] tweaked toml for git repo https://github.com/dai-pch/os-r written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dai-pch/os-r 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/rcore-os/riscv` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 525ae5221352687b70e6855c5af1779fb49c7a2c541fed32dcb9d46c3c9dc202 [INFO] running `Command { std: "docker" "start" "-a" "525ae5221352687b70e6855c5af1779fb49c7a2c541fed32dcb9d46c3c9dc202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "525ae5221352687b70e6855c5af1779fb49c7a2c541fed32dcb9d46c3c9dc202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "525ae5221352687b70e6855c5af1779fb49c7a2c541fed32dcb9d46c3c9dc202", kill_on_drop: false }` [INFO] [stdout] 525ae5221352687b70e6855c5af1779fb49c7a2c541fed32dcb9d46c3c9dc202 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cbebade55ed802106e1f0fc32fd6b08197de2cb04b76400974aa575dbf8c3a0 [INFO] running `Command { std: "docker" "start" "-a" "2cbebade55ed802106e1f0fc32fd6b08197de2cb04b76400974aa575dbf8c3a0", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [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 semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.4 [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] 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 11 previous errors [INFO] running `Command { std: "docker" "inspect" "2cbebade55ed802106e1f0fc32fd6b08197de2cb04b76400974aa575dbf8c3a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cbebade55ed802106e1f0fc32fd6b08197de2cb04b76400974aa575dbf8c3a0", kill_on_drop: false }` [INFO] [stdout] 2cbebade55ed802106e1f0fc32fd6b08197de2cb04b76400974aa575dbf8c3a0