[INFO] cloning repository https://github.com/Xin-coder/os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Xin-coder/os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXin-coder%2Fos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXin-coder%2Fos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 062d08793e6f2e062ec0569cb7e289a5d3a071cd [INFO] checking Xin-coder/os against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXin-coder%2Fos" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Xin-coder/os on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/source/.cargo/config [INFO] started tweaking git repo https://github.com/Xin-coder/os [INFO] removed path dependency riscv from git repo https://github.com/Xin-coder/os [INFO] finished tweaking git repo https://github.com/Xin-coder/os [INFO] tweaked toml for git repo https://github.com/Xin-coder/os written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Xin-coder/os already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (riscv) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (riscv) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded buddy_system_allocator v0.3.9 [INFO] [stderr] Downloaded riscv-target v0.1.2 [INFO] [stderr] Downloaded riscv v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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] 953fe248878eef4b9b6cf437e5a00d23f5a70394b5789f73815355524880a9ea [INFO] running `Command { std: "docker" "start" "-a" "953fe248878eef4b9b6cf437e5a00d23f5a70394b5789f73815355524880a9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "953fe248878eef4b9b6cf437e5a00d23f5a70394b5789f73815355524880a9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "953fe248878eef4b9b6cf437e5a00d23f5a70394b5789f73815355524880a9ea", kill_on_drop: false }` [INFO] [stdout] 953fe248878eef4b9b6cf437e5a00d23f5a70394b5789f73815355524880a9ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e96e587f6fd6d17d0621e49c163a991275772a56c71bb1a62d9f2dd404f23de [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" "7e96e587f6fd6d17d0621e49c163a991275772a56c71bb1a62d9f2dd404f23de", kill_on_drop: false }` [INFO] [stderr] warning: dependency (riscv) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling rustversion v1.0.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling riscv v0.6.0 [INFO] [stderr] Checking buddy_system_allocator v0.3.9 [INFO] [stdout] error[E0432]: unresolved import `alloc::alloc::AllocErr` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buddy_system_allocator-0.3.9/src/lib.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use alloc::alloc::{AllocErr, Layout}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `alloc::alloc::AllocInit`, `alloc::alloc::MemoryBlock` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buddy_system_allocator-0.3.9/src/lib.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | use alloc::alloc::{AllocInit, MemoryBlock}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ no `MemoryBlock` in `alloc` [INFO] [stdout] | | [INFO] [stdout] | no `AllocInit` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `alloc` has 3 parameters but the declaration in trait `core::alloc::AllocRef::alloc` has 2 [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buddy_system_allocator-0.3.9/src/lib.rs:234:14 [INFO] [stdout] | [INFO] [stdout] 234 | fn alloc(&mut self, layout: Layout, init: AllocInit) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters, found 3 [INFO] [stdout] | [INFO] [stdout] = note: `alloc` from trait: `fn(&Self, Layout) -> core::result::Result, core::alloc::AllocError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buddy_system_allocator-0.3.9/src/lib.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | unsafe fn dealloc(&mut self, ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe fn(&Heap, NonNull<_>, Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut Heap, NonNull<_>, Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buddy_system_allocator-0.3.9/src/lib.rs:303:48 [INFO] [stdout] | [INFO] [stdout] 298 | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { [INFO] [stdout] | ------- expected `*mut u8` because of return type [INFO] [stdout] ... [INFO] [stdout] 303 | .map_or(0 as *mut u8, |allocation| allocation.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `u8`, found slice `[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut u8` [INFO] [stdout] found raw pointer `*mut [u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buddy_system_allocator-0.3.9/src/lib.rs:353:31 [INFO] [stdout] | [INFO] [stdout] 350 | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { [INFO] [stdout] | ------- expected `*mut u8` because of return type [INFO] [stdout] ... [INFO] [stdout] 353 | Ok(allocation) => allocation.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `u8`, found slice `[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut u8` [INFO] [stdout] found raw pointer `*mut [u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buddy_system_allocator-0.3.9/src/lib.rs:359:56 [INFO] [stdout] | [INFO] [stdout] 350 | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { [INFO] [stdout] | ------- expected `*mut u8` because of return type [INFO] [stdout] ... [INFO] [stdout] 359 | .map_or(0 as *mut u8, |allocation| allocation.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `u8`, found slice `[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut u8` [INFO] [stdout] found raw pointer `*mut [u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0053, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] [INFO] [stderr] error: could not compile `buddy_system_allocator` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7e96e587f6fd6d17d0621e49c163a991275772a56c71bb1a62d9f2dd404f23de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e96e587f6fd6d17d0621e49c163a991275772a56c71bb1a62d9f2dd404f23de", kill_on_drop: false }` [INFO] [stdout] 7e96e587f6fd6d17d0621e49c163a991275772a56c71bb1a62d9f2dd404f23de