[INFO] fetching crate bulk_allocator 0.1.0... [INFO] checking bulk_allocator-0.1.0 against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] extracting crate bulk_allocator 0.1.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate bulk_allocator 0.1.0 on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate bulk_allocator 0.1.0 [INFO] finished tweaking crates.io crate bulk_allocator 0.1.0 [INFO] tweaked toml for crates.io crate bulk_allocator 0.1.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e55bd16c4d0057c1c2feee3ded1e9e0fbff250ae68680aa190bb9f0acbfbd367 [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" "e55bd16c4d0057c1c2feee3ded1e9e0fbff250ae68680aa190bb9f0acbfbd367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e55bd16c4d0057c1c2feee3ded1e9e0fbff250ae68680aa190bb9f0acbfbd367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e55bd16c4d0057c1c2feee3ded1e9e0fbff250ae68680aa190bb9f0acbfbd367", kill_on_drop: false }` [INFO] [stdout] e55bd16c4d0057c1c2feee3ded1e9e0fbff250ae68680aa190bb9f0acbfbd367 [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" "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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ebf4475cb35b47b6ab2d56484ea6bdf6f48d6d1117ab3526d3f2b31ae11f399 [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" "5ebf4475cb35b47b6ab2d56484ea6bdf6f48d6d1117ab3526d3f2b31ae11f399", kill_on_drop: false }` [INFO] [stderr] Checking bulk_allocator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `core::alloc::AllocInit`, `core::alloc::MemoryBlock` [INFO] [stdout] --> src/backend.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | use core::alloc::{AllocErr, AllocInit, AllocRef, Layout, MemoryBlock}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ no `MemoryBlock` in `alloc` [INFO] [stdout] | | [INFO] [stdout] | no `AllocInit` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `core::alloc::AllocInit`, `core::alloc::MemoryBlock` [INFO] [stdout] --> src/bulk_allocator.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | use core::alloc::{AllocErr, AllocInit, AllocRef, Layout, MemoryBlock}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ no `MemoryBlock` in `alloc` [INFO] [stdout] | | [INFO] [stdout] | no `AllocInit` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::MemoryBlock` [INFO] [stdout] --> src/cache_chain.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | use core::alloc::{Layout, MemoryBlock}; [INFO] [stdout] | ^^^^^^^^^^^ no `MemoryBlock` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `core::alloc::AllocInit`, `core::alloc::MemoryBlock` [INFO] [stdout] --> src/layout_bulk_allocator.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | use core::alloc::{AllocErr, AllocInit, AllocRef, Layout, MemoryBlock}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ no `MemoryBlock` in `alloc` [INFO] [stdout] | | [INFO] [stdout] | no `AllocInit` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::MemoryBlock` [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use core::alloc::MemoryBlock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `MemoryBlock` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `core::alloc::AllocInit`, `core::alloc::MemoryBlock` [INFO] [stdout] --> src/backend.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | use core::alloc::{AllocErr, AllocInit, AllocRef, Layout, MemoryBlock}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ no `MemoryBlock` in `alloc` [INFO] [stdout] | | [INFO] [stdout] | no `AllocInit` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `core::alloc::AllocInit`, `core::alloc::MemoryBlock` [INFO] [stdout] --> src/bulk_allocator.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | use core::alloc::{AllocErr, AllocInit, AllocRef, Layout, MemoryBlock}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ no `MemoryBlock` in `alloc` [INFO] [stdout] | | [INFO] [stdout] | no `AllocInit` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::MemoryBlock` [INFO] [stdout] --> src/cache_chain.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | use core::alloc::{Layout, MemoryBlock}; [INFO] [stdout] | ^^^^^^^^^^^ no `MemoryBlock` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `core::alloc::AllocInit`, `core::alloc::MemoryBlock` [INFO] [stdout] --> src/layout_bulk_allocator.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | use core::alloc::{AllocErr, AllocInit, AllocRef, Layout, MemoryBlock}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ no `MemoryBlock` in `alloc` [INFO] [stdout] | | [INFO] [stdout] | no `AllocInit` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::MemoryBlock` [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use core::alloc::MemoryBlock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `MemoryBlock` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `alloc` has 3 parameters but the declaration in trait `std::alloc::AllocRef::alloc` has 2 [INFO] [stdout] --> src/backend.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | 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(&mut Self, std::alloc::Layout) -> std::result::Result, std::alloc::AllocErr>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `alloc` has 3 parameters but the declaration in trait `std::alloc::AllocRef::alloc` has 2 [INFO] [stdout] --> src/bulk_allocator.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | 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(&mut Self, std::alloc::Layout) -> std::result::Result, std::alloc::AllocErr>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `alloc` has 3 parameters but the declaration in trait `std::alloc::AllocRef::alloc` has 2 [INFO] [stdout] --> src/layout_bulk_allocator.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | 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(&mut Self, std::alloc::Layout) -> std::result::Result, std::alloc::AllocErr>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/backend.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | Self::Borrowed(b) => b.alloc(layout, init), [INFO] [stdout] | ^^^^^ ------ ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/backend.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | Self::Owned(b) => b.alloc(layout, init), [INFO] [stdout] | ^^^^^ ------ ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bulk_allocator.rs:146:34 [INFO] [stdout] | [INFO] [stdout] 146 | None => self.backend.alloc(layout, init), [INFO] [stdout] | ^^^^^ ------ ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bulk_allocator.rs:154:30 [INFO] [stdout] | [INFO] [stdout] 154 | ... .alloc(Self::MEMORY_CHUNK_LAYOUT, AllocInit::Uninitialized)?; [INFO] [stdout] | ^^^^^ ------------------------- ------------------------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `alloc` has 3 parameters but the declaration in trait `std::alloc::AllocRef::alloc` has 2 [INFO] [stdout] --> src/backend.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | 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(&mut Self, std::alloc::Layout) -> std::result::Result, std::alloc::AllocErr>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `alloc` has 3 parameters but the declaration in trait `std::alloc::AllocRef::alloc` has 2 [INFO] [stdout] --> src/bulk_allocator.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | 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(&mut Self, std::alloc::Layout) -> std::result::Result, std::alloc::AllocErr>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/layout_bulk_allocator.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | self.backend.alloc(layout, init) [INFO] [stdout] | ^^^^^ ------ ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `alloc` has 3 parameters but the declaration in trait `std::alloc::AllocRef::alloc` has 2 [INFO] [stdout] --> src/layout_bulk_allocator.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | 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(&mut Self, std::alloc::Layout) -> std::result::Result, std::alloc::AllocErr>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/layout_bulk_allocator.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | .alloc(self.memory_chunk_layout(), AllocInit::Uninitialized)?; [INFO] [stdout] | ^^^^^ -------------------------- ------------------------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/backend.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | Self::Borrowed(b) => b.alloc(layout, init), [INFO] [stdout] | ^^^^^ ------ ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/backend.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | Self::Owned(b) => b.alloc(layout, init), [INFO] [stdout] | ^^^^^ ------ ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bulk_allocator.rs:146:34 [INFO] [stdout] | [INFO] [stdout] 146 | None => self.backend.alloc(layout, init), [INFO] [stdout] | ^^^^^ ------ ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bulk_allocator.rs:154:30 [INFO] [stdout] | [INFO] [stdout] 154 | ... .alloc(Self::MEMORY_CHUNK_LAYOUT, AllocInit::Uninitialized)?; [INFO] [stdout] | ^^^^^ ------------------------- ------------------------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bulk_allocator.rs:249:35 [INFO] [stdout] | [INFO] [stdout] 249 | let block = alloc.alloc(layout, AllocInit::Uninitialized).unwrap(); [INFO] [stdout] | ^^^^^ ------ ------------------------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `size` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/layout_bulk_allocator.rs:178:37 [INFO] [stdout] | [INFO] [stdout] 178 | while size <= block.size { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0061, E0432, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bulk_allocator`. [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] [stdout] error[E0609]: no field `size` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/bulk_allocator.rs:251:48 [INFO] [stdout] | [INFO] [stdout] 251 | assert!(layout.size() <= block.size); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ptr` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/bulk_allocator.rs:253:33 [INFO] [stdout] | [INFO] [stdout] 253 | let ptr = block.ptr.as_ptr() as usize; [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ptr` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/bulk_allocator.rs:257:41 [INFO] [stdout] | [INFO] [stdout] 257 | alloc.dealloc(block.ptr, layout); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bulk_allocator.rs:263:35 [INFO] [stdout] | [INFO] [stdout] 263 | let block = alloc.alloc(layout, AllocInit::Zeroed).unwrap(); [INFO] [stdout] | ^^^^^ ------ ----------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `size` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/bulk_allocator.rs:265:48 [INFO] [stdout] | [INFO] [stdout] 265 | assert!(layout.size() <= block.size); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ptr` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/bulk_allocator.rs:267:33 [INFO] [stdout] | [INFO] [stdout] 267 | let ptr = block.ptr.as_ptr() as usize; [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `size` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/bulk_allocator.rs:271:81 [INFO] [stdout] | [INFO] [stdout] 271 | let s = core::slice::from_raw_parts(ptr as *const u8, block.size); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ptr` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/bulk_allocator.rs:276:41 [INFO] [stdout] | [INFO] [stdout] 276 | alloc.dealloc(block.ptr, layout); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bulk_allocator.rs:299:19 [INFO] [stdout] | [INFO] [stdout] 299 | alloc.alloc(l, AllocInit::Zeroed).unwrap(); [INFO] [stdout] | ^^^^^ - ----------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bulk_allocator.rs:306:19 [INFO] [stdout] | [INFO] [stdout] 306 | alloc.alloc(layout, AllocInit::Zeroed).unwrap(); [INFO] [stdout] | ^^^^^ ------ ----------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bulk_allocator.rs:313:31 [INFO] [stdout] | [INFO] [stdout] 313 | let block = alloc.alloc(layout, AllocInit::Zeroed).unwrap(); [INFO] [stdout] | ^^^^^ ------ ----------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ptr` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/bulk_allocator.rs:315:42 [INFO] [stdout] | [INFO] [stdout] 315 | unsafe { alloc.dealloc(block.ptr, layout) }; [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bulk_allocator.rs:320:19 [INFO] [stdout] | [INFO] [stdout] 320 | alloc.alloc(l, AllocInit::Zeroed).unwrap(); [INFO] [stdout] | ^^^^^ - ----------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bulk_allocator.rs:335:23 [INFO] [stdout] | [INFO] [stdout] 335 | alloc.alloc(layout, AllocInit::Uninitialized).unwrap(); [INFO] [stdout] | ^^^^^ ------ ------------------------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/layout_bulk_allocator.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | self.backend.alloc(layout, init) [INFO] [stdout] | ^^^^^ ------ ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/layout_bulk_allocator.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | .alloc(self.memory_chunk_layout(), AllocInit::Uninitialized)?; [INFO] [stdout] | ^^^^^ -------------------------- ------------------------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `size` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/layout_bulk_allocator.rs:178:37 [INFO] [stdout] | [INFO] [stdout] 178 | while size <= block.size { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/layout_bulk_allocator.rs:287:35 [INFO] [stdout] | [INFO] [stdout] 287 | let block = alloc.alloc(layout, AllocInit::Uninitialized).unwrap(); [INFO] [stdout] | ^^^^^ ------ ------------------------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `size` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/layout_bulk_allocator.rs:289:48 [INFO] [stdout] | [INFO] [stdout] 289 | assert!(layout.size() <= block.size); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ptr` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/layout_bulk_allocator.rs:291:33 [INFO] [stdout] | [INFO] [stdout] 291 | let ptr = block.ptr.as_ptr() as usize; [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ptr` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/layout_bulk_allocator.rs:295:41 [INFO] [stdout] | [INFO] [stdout] 295 | alloc.dealloc(block.ptr, layout); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/layout_bulk_allocator.rs:301:35 [INFO] [stdout] | [INFO] [stdout] 301 | let block = alloc.alloc(layout, AllocInit::Zeroed).unwrap(); [INFO] [stdout] | ^^^^^ ------ ----------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `size` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/layout_bulk_allocator.rs:303:48 [INFO] [stdout] | [INFO] [stdout] 303 | assert!(layout.size() <= block.size); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ptr` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/layout_bulk_allocator.rs:305:33 [INFO] [stdout] | [INFO] [stdout] 305 | let ptr = block.ptr.as_ptr() as usize; [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `size` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/layout_bulk_allocator.rs:309:81 [INFO] [stdout] | [INFO] [stdout] 309 | let s = core::slice::from_raw_parts(ptr as *const u8, block.size); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ptr` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/layout_bulk_allocator.rs:314:41 [INFO] [stdout] | [INFO] [stdout] 314 | alloc.dealloc(block.ptr, layout); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/layout_bulk_allocator.rs:347:27 [INFO] [stdout] | [INFO] [stdout] 347 | let block = alloc.alloc(layout, AllocInit::Uninitialized).unwrap(); [INFO] [stdout] | ^^^^^ ------ ------------------------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ptr` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/layout_bulk_allocator.rs:350:33 [INFO] [stdout] | [INFO] [stdout] 350 | alloc.dealloc(block.ptr, layout); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/layout_bulk_allocator.rs:355:31 [INFO] [stdout] | [INFO] [stdout] 355 | let block = alloc.alloc(layout, AllocInit::Zeroed).unwrap(); [INFO] [stdout] | ^^^^^ ------ ----------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ptr` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/layout_bulk_allocator.rs:358:37 [INFO] [stdout] | [INFO] [stdout] 358 | alloc.dealloc(block.ptr, layout); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/layout_bulk_allocator.rs:365:35 [INFO] [stdout] | [INFO] [stdout] 365 | let block = alloc.alloc(layout, AllocInit::Zeroed).unwrap(); [INFO] [stdout] | ^^^^^ ------ ----------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ptr` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/layout_bulk_allocator.rs:366:33 [INFO] [stdout] | [INFO] [stdout] 366 | ptrs.push(block.ptr); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/layout_bulk_allocator.rs:382:35 [INFO] [stdout] | [INFO] [stdout] 382 | let block = alloc.alloc(layout_, AllocInit::Uninitialized).unwrap(); [INFO] [stdout] | ^^^^^ ------- ------------------------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ptr` on type `std::ptr::NonNull<[u8]>` [INFO] [stdout] --> src/layout_bulk_allocator.rs:385:41 [INFO] [stdout] | [INFO] [stdout] 385 | alloc.dealloc(block.ptr, layout); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 47 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0061, E0432, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5ebf4475cb35b47b6ab2d56484ea6bdf6f48d6d1117ab3526d3f2b31ae11f399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ebf4475cb35b47b6ab2d56484ea6bdf6f48d6d1117ab3526d3f2b31ae11f399", kill_on_drop: false }` [INFO] [stdout] 5ebf4475cb35b47b6ab2d56484ea6bdf6f48d6d1117ab3526d3f2b31ae11f399