[INFO] fetching crate fat_type 0.3.0... [INFO] testing fat_type-0.3.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate fat_type 0.3.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate fat_type 0.3.0 [INFO] finished tweaking crates.io crate fat_type 0.3.0 [INFO] tweaked toml for crates.io crate fat_type 0.3.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fat_type 0.3.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 894de79cf6168912bf20d35ca15a3238d31b3345e57452e6a97f7574c7b2681c [INFO] running `Command { std: "docker" "start" "-a" "894de79cf6168912bf20d35ca15a3238d31b3345e57452e6a97f7574c7b2681c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "894de79cf6168912bf20d35ca15a3238d31b3345e57452e6a97f7574c7b2681c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "894de79cf6168912bf20d35ca15a3238d31b3345e57452e6a97f7574c7b2681c", kill_on_drop: false }` [INFO] [stdout] 894de79cf6168912bf20d35ca15a3238d31b3345e57452e6a97f7574c7b2681c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efa76d03f571690f669d49d570e647db34101f57d4fb02c24aad2641d4b88735 [INFO] running `Command { std: "docker" "start" "-a" "efa76d03f571690f669d49d570e647db34101f57d4fb02c24aad2641d4b88735", kill_on_drop: false }` [INFO] [stderr] Compiling fat_type v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:238:17 [INFO] [stdout] | [INFO] [stdout] 238 | impl Fat { [INFO] [stdout] | ^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | fn as_ref(&self) -> &Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:399:28 [INFO] [stdout] | [INFO] [stdout] 399 | impl AsRef> for Fat { [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | fn as_mut(&mut self) -> &mut Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:405:28 [INFO] [stdout] | [INFO] [stdout] 405 | impl AsMut> for Fat { [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | fn borrow(&self) -> &Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:423:20 [INFO] [stdout] | [INFO] [stdout] 423 | impl Borrow> for Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 442 | fn borrow_mut(&mut self) -> &mut Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:441:20 [INFO] [stdout] | [INFO] [stdout] 441 | impl BorrowMut> for Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:257:63 [INFO] [stdout] | [INFO] [stdout] 257 | pub unsafe fn container_of(referent: *const T) -> NonNull { [INFO] [stdout] | ^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:274:38 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn erase_ref(fat: &Self) -> &Fat { [INFO] [stdout] | ^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:285:46 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn erase_mut(fat: &mut Self) -> &mut Fat { [INFO] [stdout] | ^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | fn as_ref(&self) -> &Fat { [INFO] [stdout] | ^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:406:34 [INFO] [stdout] | [INFO] [stdout] 406 | fn as_mut(&mut self) -> &mut Fat { [INFO] [stdout] | ^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:424:26 [INFO] [stdout] | [INFO] [stdout] 424 | fn borrow(&self) -> &Fat { [INFO] [stdout] | ^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:442:38 [INFO] [stdout] | [INFO] [stdout] 442 | fn borrow_mut(&mut self) -> &mut Fat { [INFO] [stdout] | ^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:259:31 [INFO] [stdout] | [INFO] [stdout] 259 | let offset = unsafe { Self::layout_for(&ptr::metadata(referent)).1 }; [INFO] [stdout] | ^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `layout_for` exists for struct `Fat`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:259:37 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | --------------------------------------------- function or associated item `layout_for` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 259 | let offset = unsafe { Self::layout_for(&ptr::metadata(referent)).1 }; [INFO] [stdout] | ^^^^^^^^^^ function or associated item cannot be called on `Fat` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Erased: MetaSized` was not satisfied [INFO] [stdout] --> src/lib.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | impl Fat { [INFO] [stdout] | ^ --------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:263:80 [INFO] [stdout] | [INFO] [stdout] 263 | unsafe { NonNull::new_unchecked((referent as *const u8).sub(offset) as *mut Self) } [INFO] [stdout] | ^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | unsafe { NonNull::new_unchecked((referent as *const u8).sub(offset) as *mut Self) } [INFO] [stdout] | ^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | unsafe { NonNull::new_unchecked((referent as *const u8).sub(offset) as *mut Self) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:276:43 [INFO] [stdout] | [INFO] [stdout] 276 | unsafe { &*(fat as *const Self as *const Fat) } [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:287:45 [INFO] [stdout] | [INFO] [stdout] 287 | unsafe { &mut *(fat as *mut Self as *mut Fat) } [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:385:51 [INFO] [stdout] | [INFO] [stdout] 385 | let layout_ptr = ptr::from_raw_parts::(ptr::null(), *metadata); [INFO] [stdout] | ------------------------ ^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `null` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `core::ptr::from_raw_parts` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ptr/metadata.rs:115:0 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 385 | let layout_ptr = ptr::from_raw_parts::(ptr::null::(), *metadata); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | Self::erase_ref(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | Self::erase_mut(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | Self::erase_ref(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Erased` cannot be known [INFO] [stdout] --> src/lib.rs:443:9 [INFO] [stdout] | [INFO] [stdout] 443 | Self::erase_mut(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: the trait `MetaSized` is not implemented for `Erased` [INFO] [stdout] note: required by a bound in `Fat` [INFO] [stdout] --> src/lib.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Fat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Fat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fat_type` (lib) due to 29 previous errors [INFO] running `Command { std: "docker" "inspect" "efa76d03f571690f669d49d570e647db34101f57d4fb02c24aad2641d4b88735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efa76d03f571690f669d49d570e647db34101f57d4fb02c24aad2641d4b88735", kill_on_drop: false }` [INFO] [stdout] efa76d03f571690f669d49d570e647db34101f57d4fb02c24aad2641d4b88735