[INFO] fetching crate thin_cstr 0.1.1... [INFO] testing thin_cstr-0.1.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate thin_cstr 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate thin_cstr 0.1.1 [INFO] finished tweaking crates.io crate thin_cstr 0.1.1 [INFO] tweaked toml for crates.io crate thin_cstr 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate thin_cstr 0.1.1 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] 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] cafc47090e455d27530ba7a68d4d959093c332e2a4b67c27cf46ad4cc0b4f819 [INFO] running `Command { std: "docker" "start" "-a" "cafc47090e455d27530ba7a68d4d959093c332e2a4b67c27cf46ad4cc0b4f819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cafc47090e455d27530ba7a68d4d959093c332e2a4b67c27cf46ad4cc0b4f819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cafc47090e455d27530ba7a68d4d959093c332e2a4b67c27cf46ad4cc0b4f819", kill_on_drop: false }` [INFO] [stdout] cafc47090e455d27530ba7a68d4d959093c332e2a4b67c27cf46ad4cc0b4f819 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 3e26482e862878905f4a4599e8929c5026825e26c3e51a4b2e79caf740830416 [INFO] running `Command { std: "docker" "start" "-a" "3e26482e862878905f4a4599e8929c5026825e26c3e51a4b2e79caf740830416", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling thin_cstr v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:620:19 [INFO] [stdout] | [INFO] [stdout] 620 | type Target = CStr; [INFO] [stdout] | ^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `std::ops::Deref::Target` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/deref.rs:144:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:670:6 [INFO] [stdout] | [INFO] [stdout] 670 | impl Borrow for CString { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Borrow` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/borrow.rs:158:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:678:5 [INFO] [stdout] | [INFO] [stdout] 678 | fn from(s: &'a CStr) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:677:29 [INFO] [stdout] | [INFO] [stdout] 677 | impl<'a> From<&'a CStr> for Box { [INFO] [stdout] | ^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:686:5 [INFO] [stdout] | [INFO] [stdout] 686 | fn from(s: Box) -> CString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:684:6 [INFO] [stdout] | [INFO] [stdout] 684 | impl From> for CString { [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:693:5 [INFO] [stdout] | [INFO] [stdout] 693 | fn from(s: CString) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:691:24 [INFO] [stdout] | [INFO] [stdout] 691 | impl From for Box { [INFO] [stdout] | ^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:699:5 [INFO] [stdout] | [INFO] [stdout] 699 | fn default() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:698:18 [INFO] [stdout] | [INFO] [stdout] 698 | impl Default for Box { [INFO] [stdout] | ^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:1145:18 [INFO] [stdout] | [INFO] [stdout] 1145 | impl ToOwned for CStr { [INFO] [stdout] | ^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `ToOwned` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/borrow.rs:40:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:1162:19 [INFO] [stdout] | [INFO] [stdout] 1162 | type Output = CStr; [INFO] [stdout] | ^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `std::ops::Index::Output` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/index.rs:63:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:591:38 [INFO] [stdout] | [INFO] [stdout] 591 | pub fn into_boxed_c_str(self) -> Box { [INFO] [stdout] | ^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:678:29 [INFO] [stdout] | [INFO] [stdout] 678 | fn from(s: &'a CStr) -> Box { [INFO] [stdout] | ^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:686:16 [INFO] [stdout] | [INFO] [stdout] 686 | fn from(s: Box) -> CString { [INFO] [stdout] | ^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:693:28 [INFO] [stdout] | [INFO] [stdout] 693 | fn from(s: CString) -> Box { [INFO] [stdout] | ^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:699:21 [INFO] [stdout] | [INFO] [stdout] 699 | fn default() -> Box { [INFO] [stdout] | ^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `Box` cannot be used as the type of `self` without the `arbitrary_self_types` feature [INFO] [stdout] --> src/c_str.rs:1110:32 [INFO] [stdout] | [INFO] [stdout] 1110 | pub fn into_c_string(self: Box) -> CString { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #44874 for more information [INFO] [stdout] = help: add `#![feature(arbitrary_self_types)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date [INFO] [stdout] = help: consider changing to `self`, `&self`, `&mut self`, or a type implementing `Receiver` such as `self: Box`, `self: Rc`, or `self: Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:592:18 [INFO] [stdout] | [INFO] [stdout] 592 | unsafe { Box::from_raw(Box::into_raw(self.into_inner()) as *mut CStr) } [INFO] [stdout] | ^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:592:18 [INFO] [stdout] | [INFO] [stdout] 592 | unsafe { Box::from_raw(Box::into_raw(self.into_inner()) as *mut CStr) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:666:11 [INFO] [stdout] | [INFO] [stdout] 666 | a.to_owned() [INFO] [stdout] | ^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `to_owned` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/borrow.rs:61:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:680:18 [INFO] [stdout] | [INFO] [stdout] 680 | unsafe { Box::from_raw(Box::into_raw(boxed) as *mut CStr) } [INFO] [stdout] | ^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:680:18 [INFO] [stdout] | [INFO] [stdout] 680 | unsafe { Box::from_raw(Box::into_raw(boxed) as *mut CStr) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:687:11 [INFO] [stdout] | [INFO] [stdout] 687 | s.into_c_string() [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:694:11 [INFO] [stdout] | [INFO] [stdout] 694 | s.into_boxed_c_str() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:701:18 [INFO] [stdout] | [INFO] [stdout] 701 | unsafe { Box::from_raw(Box::into_raw(boxed) as *mut CStr) } [INFO] [stdout] | ^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:701:18 [INFO] [stdout] | [INFO] [stdout] 701 | unsafe { Box::from_raw(Box::into_raw(boxed) as *mut CStr) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/c_str.rs:776:26 [INFO] [stdout] | [INFO] [stdout] 776 | f.write_str(self.description())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/c_str.rs:811:14 [INFO] [stdout] | [INFO] [stdout] 811 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:1113:23 [INFO] [stdout] | [INFO] [stdout] 1113 | let raw = Box::into_raw(self) as *mut u8; [INFO] [stdout] | ^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `Box` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:235:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `c_str::CStrRepr` cannot be known [INFO] [stdout] --> src/c_str.rs:1157:11 [INFO] [stdout] | [INFO] [stdout] 1157 | s.to_owned() [INFO] [stdout] | ^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `c_str::CStr`, the trait `MetaSized` is not implemented for `c_str::CStrRepr` [INFO] [stdout] note: required because it appears within the type `c_str::CStr` [INFO] [stdout] --> src/c_str.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required by a bound in `to_owned` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/borrow.rs:61:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `thin_cstr` (lib) due to 29 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3e26482e862878905f4a4599e8929c5026825e26c3e51a4b2e79caf740830416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e26482e862878905f4a4599e8929c5026825e26c3e51a4b2e79caf740830416", kill_on_drop: false }` [INFO] [stdout] 3e26482e862878905f4a4599e8929c5026825e26c3e51a4b2e79caf740830416