[INFO] cloning repository https://github.com/tonnylyz/rustpi-user [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tonnylyz/rustpi-user" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonnylyz%2Frustpi-user", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonnylyz%2Frustpi-user'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a7620bdfd1b41b27f9486e01269ff5a2591d3ad [INFO] testing tonnylyz/rustpi-user against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonnylyz%2Frustpi-user" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tonnylyz/rustpi-user on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tonnylyz/rustpi-user [INFO] finished tweaking git repo https://github.com/tonnylyz/rustpi-user [INFO] tweaked toml for git repo https://github.com/tonnylyz/rustpi-user written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/tonnylyz/rustpi-user 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] [stdout] f2f54969a8f5dd6230d3661d5e6d48f481ad4f9b7b5497e796c65fba7d6194dd [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" "f2f54969a8f5dd6230d3661d5e6d48f481ad4f9b7b5497e796c65fba7d6194dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2f54969a8f5dd6230d3661d5e6d48f481ad4f9b7b5497e796c65fba7d6194dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2f54969a8f5dd6230d3661d5e6d48f481ad4f9b7b5497e796c65fba7d6194dd", kill_on_drop: false }` [INFO] [stdout] f2f54969a8f5dd6230d3661d5e6d48f481ad4f9b7b5497e796c65fba7d6194dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 83a8906de4fee0c843c6a9a28287e1498bcafeb10f2a5acfe61e43d21595b7b5 [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" "83a8906de4fee0c843c6a9a28287e1498bcafeb10f2a5acfe61e43d21595b7b5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling tock-registers v0.5.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling rlibc v0.1.5 [INFO] [stderr] Compiling register v0.5.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling buddy_system_allocator v0.4.0 [INFO] [stderr] Compiling rustpi-user v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `arch::page_table` [INFO] [stdout] --> src/main.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | use arch::page_table::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `page_table` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::page_table` [INFO] [stdout] --> src/page_fault.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::arch::page_table::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `page_table` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::page_table` [INFO] [stdout] --> src/syscall.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::arch::page_table::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `page_table` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::page_table` [INFO] [stdout] --> src/fork.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::arch::page_table::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `page_table` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::page_table` [INFO] [stdout] --> src/ipc.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::arch::page_table::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `page_table` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::arch::page_table` [INFO] [stdout] --> src/heap.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::arch::page_table::PTE_DEFAULT; [INFO] [stdout] | ^^^^^^^^^^ could not find `page_table` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ArchEntryAttribute` [INFO] [stdout] --> src/syscall.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | let attr = ArchEntryAttribute::from(attr).to_usize(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ArchEntryAttribute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ArchEntryAttribute` [INFO] [stdout] --> src/syscall.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | let attr = ArchEntryAttribute::from(attr).to_usize(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ArchEntryAttribute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ArchEntryAttribute` [INFO] [stdout] --> src/syscall.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | let attr = ArchEntryAttribute::from(attr).to_usize(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ArchEntryAttribute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ArchEntryAttribute` [INFO] [stdout] --> src/ipc.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | ((*get_self_ipc()).from, (*get_self_ipc()).value, ArchEntryAttribute::new((*get_self_ipc()).attribute as u64)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ArchEntryAttribute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query` in this scope [INFO] [stdout] --> src/page_fault.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | if let Some(pte) = query(va) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query` in this scope [INFO] [stdout] --> src/page_fault.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | if let Some(_) = query(va_tmp) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PTE_W` in this scope [INFO] [stdout] --> src/page_fault.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | match mem_alloc(0, va_tmp, PTE_W) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PTE_W` in this scope [INFO] [stdout] --> src/page_fault.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | match mem_map(0, va_tmp, 0, va, pte + PTE_W - PTE_COW) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PTE_COW` in this scope [INFO] [stdout] --> src/page_fault.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | match mem_map(0, va_tmp, 0, va, pte + PTE_W - PTE_COW) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PTE_DEFAULT` in this scope [INFO] [stdout] --> src/page_fault.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | match mem_alloc(0, va, PTE_DEFAULT) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PTE_W` in this scope [INFO] [stdout] --> src/page_fault.rs:53:59 [INFO] [stdout] | [INFO] [stdout] 53 | match mem_alloc(0, EXCEPTION_STACK_TOP - PAGE_SIZE, PTE_W) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntryAttribute` in this scope [INFO] [stdout] --> src/syscall.rs:103:45 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn mem_alloc(pid: u16, va: usize, attr: EntryAttribute) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntryAttribute` in this scope [INFO] [stdout] --> src/syscall.rs:108:80 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn mem_map(src_pid: u16, src_va: usize, dst_pid: u16, dst_va: usize, attr: EntryAttribute) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntryAttribute` in this scope [INFO] [stdout] --> src/syscall.rs:130:66 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn ipc_can_send(pid: u16, value: usize, src_va: usize, attr: EntryAttribute) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntryAttribute` in this scope [INFO] [stdout] --> src/fork.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | fn duplicate_page(pid: u16, va: usize, pte: EntryAttribute) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PTE_W` in this scope [INFO] [stdout] --> src/fork.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | match mem_map(0, va, pid, va, pte - PTE_W + PTE_COW) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PTE_COW` in this scope [INFO] [stdout] --> src/fork.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | match mem_map(0, va, pid, va, pte - PTE_W + PTE_COW) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PTE_W` in this scope [INFO] [stdout] --> src/fork.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | match mem_map(0, va, 0, va, pte - PTE_W + PTE_COW) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PTE_COW` in this scope [INFO] [stdout] --> src/fork.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | match mem_map(0, va, 0, va, pte - PTE_W + PTE_COW) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `traverse` in this scope [INFO] [stdout] --> src/fork.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | traverse(TRAVERSE_LIMIT, |va, attr| { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PTE_W` in this scope [INFO] [stdout] --> src/fork.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 42 | match mem_alloc(pid, EXCEPTION_STACK_TOP - PAGE_SIZE, PTE_W) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntryAttribute` in this scope [INFO] [stdout] --> src/ipc.rs:30:59 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn send(whom: u16, value: usize, src_va: usize, attr: EntryAttribute) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArchEntryAttribute` in this scope [INFO] [stdout] --> src/ipc.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn receive(dst_va: usize) -> (u16, usize, ArchEntryAttribute) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PTE_DEFAULT` in this scope [INFO] [stdout] --> src/main.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | ipc::send(who as u16, 0, 0, PTE_DEFAULT); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PTE_DEFAULT` in this scope [INFO] [stdout] --> src/main.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | ipc::send(who, value, 0, PTE_DEFAULT); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustpi-user`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "83a8906de4fee0c843c6a9a28287e1498bcafeb10f2a5acfe61e43d21595b7b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83a8906de4fee0c843c6a9a28287e1498bcafeb10f2a5acfe61e43d21595b7b5", kill_on_drop: false }` [INFO] [stdout] 83a8906de4fee0c843c6a9a28287e1498bcafeb10f2a5acfe61e43d21595b7b5