[INFO] fetching crate null-terminated 0.3.17... [INFO] testing null-terminated-0.3.17 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate null-terminated 0.3.17 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate null-terminated 0.3.17 [INFO] finished tweaking crates.io crate null-terminated 0.3.17 [INFO] tweaked toml for crates.io crate null-terminated 0.3.17 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate null-terminated 0.3.17 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate null-terminated 0.3.17 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_core v0.4.2 [INFO] [stderr] Downloaded rand_core v0.3.0 [INFO] [stderr] Downloaded rand_xorshift v0.1.1 [INFO] [stderr] Downloaded quickcheck v0.8.5 [INFO] [stderr] Downloaded quickcheck_macros v0.8.0 [INFO] [stderr] Downloaded fuchsia-cprng v0.1.1 [INFO] [stderr] Downloaded system-call v0.1.1 [INFO] [stderr] Downloaded thread_local v1.0.1 [INFO] [stderr] Downloaded byte-strings-proc_macros v0.2.1 [INFO] [stderr] Downloaded cfg-if v0.1.4 [INFO] [stderr] Downloaded rand_pcg v0.1.2 [INFO] [stderr] Downloaded rand_jitter v0.1.4 [INFO] [stderr] Downloaded rand_os v0.1.3 [INFO] [stderr] Downloaded rand v0.6.5 [INFO] [stderr] Downloaded lazy_static v1.0.2 [INFO] [stderr] Downloaded env_logger v0.6.2 [INFO] [stderr] Downloaded log v0.4.3 [INFO] [stderr] Downloaded rand_chacha v0.1.1 [INFO] [stderr] Downloaded rand_hc v0.1.0 [INFO] [stderr] Downloaded regex v1.3.9 [INFO] [stderr] Downloaded rand_isaac v0.1.1 [INFO] [stderr] Downloaded aho-corasick v0.7.13 [INFO] [stderr] Downloaded rdrand v0.4.0 [INFO] [stderr] Downloaded autocfg v0.1.7 [INFO] [stderr] Downloaded bitflags v1.0.3 [INFO] [stderr] Downloaded syn v1.0.36 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] [stderr] Downloaded utf v0.1.0 [INFO] [stderr] Downloaded regex-syntax v0.6.18 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 381846697d10ac1a4b23ed4d167db8622f1c18af214308ed42fb91a824193815 [INFO] running `Command { std: "docker" "start" "-a" "381846697d10ac1a4b23ed4d167db8622f1c18af214308ed42fb91a824193815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "381846697d10ac1a4b23ed4d167db8622f1c18af214308ed42fb91a824193815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "381846697d10ac1a4b23ed4d167db8622f1c18af214308ed42fb91a824193815", kill_on_drop: false }` [INFO] [stdout] 381846697d10ac1a4b23ed4d167db8622f1c18af214308ed42fb91a824193815 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d85e7401e676d3669e277197304879d9c236b3c32eb60a90a998ae3cfe33b485 [INFO] running `Command { std: "docker" "start" "-a" "d85e7401e676d3669e277197304879d9c236b3c32eb60a90a998ae3cfe33b485", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling utf v0.1.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling byte-strings-proc_macros v0.2.1 [INFO] [stderr] Compiling null-terminated v0.3.17 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | extern { type Opaque; } [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_raw_ptr_deref` has been stable since 1.58.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | #![feature(const_raw_ptr_deref)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | fn index(&self, i: I) -> &Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `Nul`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `Nul` [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Nul([A; 0], Opaque); [INFO] [stdout] | ^^^ [INFO] [stdout] note: required by a bound in `core::ops::Index` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/index.rs:59:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | impl Index for Nul where [A]: Index { [INFO] [stdout] | ^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `Nul`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `Nul` [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Nul([A; 0], Opaque); [INFO] [stdout] | ^^^ [INFO] [stdout] note: required by a bound in `core::ops::Index` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/index.rs:59:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | fn index_mut(&mut self, i: I) -> &mut Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `Nul`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `Nul` [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Nul([A; 0], Opaque); [INFO] [stdout] | ^^^ [INFO] [stdout] note: required by a bound in `core::ops::Index` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/index.rs:59:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:168:28 [INFO] [stdout] | [INFO] [stdout] 168 | impl IndexMut for Nul where [A]: IndexMut { [INFO] [stdout] | ^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `Nul`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `Nul` [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Nul([A; 0], Opaque); [INFO] [stdout] | ^^^ [INFO] [stdout] note: required by a bound in `core::ops::IndexMut` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/index.rs:170:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 301 | #[derive(PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 302 | #[repr(transparent)] [INFO] [stdout] 303 | pub struct NulStr(Nul); [INFO] [stdout] | ^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `NulStr`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `NulStr` [INFO] [stdout] --> src/lib.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct NulStr(Nul); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required by a bound in `StructuralPartialEq` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/marker.rs:257:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:316:27 [INFO] [stdout] | [INFO] [stdout] 316 | impl Index for NulStr { [INFO] [stdout] | ^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `NulStr`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `NulStr` [INFO] [stdout] --> src/lib.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct NulStr(Nul); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required by a bound in `core::ops::Index` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/index.rs:59:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:325:30 [INFO] [stdout] | [INFO] [stdout] 325 | impl IndexMut for NulStr { [INFO] [stdout] | ^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `NulStr`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `NulStr` [INFO] [stdout] --> src/lib.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct NulStr(Nul); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required by a bound in `core::ops::IndexMut` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/index.rs:170:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:113:49 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get(&self, i: usize) -> Option<&A> { self[..].get(i) } [INFO] [stdout] | ^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `Nul`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `Nul` [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Nul([A; 0], Opaque); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:117:61 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_mut(&mut self, i: usize) -> Option<&mut A> { self[..].get_mut(i) } [INFO] [stdout] | ^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `Nul`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `Nul` [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Nul([A; 0], Opaque); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:177:60 [INFO] [stdout] | [INFO] [stdout] 177 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { self[..].fmt(f) } [INFO] [stdout] | ^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `Nul`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `Nul` [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Nul([A; 0], Opaque); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:182:42 [INFO] [stdout] | [INFO] [stdout] 182 | fn eq(&self, other: &Self) -> bool { self[..] == other[..] } [INFO] [stdout] | ^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `Nul`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `Nul` [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Nul([A; 0], Opaque); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:182:54 [INFO] [stdout] | [INFO] [stdout] 182 | fn eq(&self, other: &Self) -> bool { self[..] == other[..] } [INFO] [stdout] | ^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `Nul`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `Nul` [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Nul([A; 0], Opaque); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | <[A]>::partial_cmp(&self[..], &other[..]) [INFO] [stdout] | ^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `Nul`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `Nul` [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Nul([A; 0], Opaque); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:190:40 [INFO] [stdout] | [INFO] [stdout] 190 | <[A]>::partial_cmp(&self[..], &other[..]) [INFO] [stdout] | ^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `Nul`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `Nul` [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Nul([A; 0], Opaque); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:196:59 [INFO] [stdout] | [INFO] [stdout] 196 | fn cmp(&self, other: &Self) -> Ordering { <[A]>::cmp(&self[..], &other[..]) } [INFO] [stdout] | ^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `Nul`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `Nul` [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Nul([A; 0], Opaque); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:196:70 [INFO] [stdout] | [INFO] [stdout] 196 | fn cmp(&self, other: &Self) -> Ordering { <[A]>::cmp(&self[..], &other[..]) } [INFO] [stdout] | ^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `Nul`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `Nul` [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Nul([A; 0], Opaque); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:307:83 [INFO] [stdout] | [INFO] [stdout] 307 | fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { write!(fmt, "{:?}", &self[..]) } [INFO] [stdout] | ^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `NulStr`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `NulStr` [INFO] [stdout] --> src/lib.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct NulStr(Nul); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:313:77 [INFO] [stdout] | [INFO] [stdout] 313 | fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { fmt.write_str(&self[..]) } [INFO] [stdout] | ^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `NulStr`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `NulStr` [INFO] [stdout] --> src/lib.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct NulStr(Nul); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:321:43 [INFO] [stdout] | [INFO] [stdout] 321 | ::core::str::from_utf8_unchecked(&self.0[..]) [INFO] [stdout] | ^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `Nul`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `Nul` [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Nul([A; 0], Opaque); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:328:51 [INFO] [stdout] | [INFO] [stdout] 328 | ::core::str::from_utf8_unchecked_mut(&mut self.0[..]) [INFO] [stdout] | ^^^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `Nul`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `Nul` [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Nul([A; 0], Opaque); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:377:56 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn is_char_boundary(&self, k: usize) -> bool { self[..].is_char_boundary(k) } [INFO] [stdout] | ^^^^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `NulStr`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `NulStr` [INFO] [stdout] --> src/lib.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct NulStr(Nul); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:417:33 [INFO] [stdout] | [INFO] [stdout] 417 | ::core::str::from_utf8(&s[..])?; [INFO] [stdout] | ^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `Nul`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `Nul` [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Nul([A; 0], Opaque); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Opaque` cannot be known [INFO] [stdout] --> src/lib.rs:427:41 [INFO] [stdout] | [INFO] [stdout] 427 | ::core::str::from_utf8_mut(&mut s[..])?; [INFO] [stdout] | ^^^^^ doesn't have a known size [INFO] [stdout] | [INFO] [stdout] = help: within `Nul`, the nightly-only, unstable trait `MetaSized` is not implemented for `Opaque` [INFO] [stdout] note: required because it appears within the type `Nul` [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Nul([A; 0], Opaque); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `null-terminated` (lib) due to 23 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d85e7401e676d3669e277197304879d9c236b3c32eb60a90a998ae3cfe33b485", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d85e7401e676d3669e277197304879d9c236b3c32eb60a90a998ae3cfe33b485", kill_on_drop: false }` [INFO] [stdout] d85e7401e676d3669e277197304879d9c236b3c32eb60a90a998ae3cfe33b485