[INFO] fetching crate custom-slice-macros 0.1.1... [INFO] checking custom-slice-macros-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate custom-slice-macros 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate custom-slice-macros 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate custom-slice-macros 0.1.1 [INFO] finished tweaking crates.io crate custom-slice-macros 0.1.1 [INFO] tweaked toml for crates.io crate custom-slice-macros 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.37) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.77) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e165babaef2d592290ba7ded794c60d852b2b894447c996aa2c6885d8e75e8d [INFO] running `Command { std: "docker" "start" "-a" "3e165babaef2d592290ba7ded794c60d852b2b894447c996aa2c6885d8e75e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e165babaef2d592290ba7ded794c60d852b2b894447c996aa2c6885d8e75e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e165babaef2d592290ba7ded794c60d852b2b894447c996aa2c6885d8e75e8d", kill_on_drop: false }` [INFO] [stdout] 3e165babaef2d592290ba7ded794c60d852b2b894447c996aa2c6885d8e75e8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d78970ad927b313f6eec7af8eea96eaf8ad1710f01a3e72400ea3e976d7f9a63 [INFO] running `Command { std: "docker" "start" "-a" "d78970ad927b313f6eec7af8eea96eaf8ad1710f01a3e72400ea3e976d7f9a63", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking custom-slice-macros v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/derives.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | / custom_slice_macros::define_slice_types_pair! { [INFO] [stdout] 49 | | #[custom_slice(owned)] [INFO] [stdout] 50 | | $(#[$meta_owned])* [INFO] [stdout] 51 | | struct Owned($owned_inner); [INFO] [stdout] ... | [INFO] [stdout] 59 | | fn validate(_: &$slice_inner) -> Result<(), $ty_error> $body [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 227 | / gen_test! { [INFO] [stdout] 228 | | name: try_from_inner, [INFO] [stdout] 229 | | #[custom_slice(derive(TryFromInner))] [INFO] [stdout] 230 | | #[custom_slice(error(r#type = "()"))] [INFO] [stdout] ... | [INFO] [stdout] 236 | | validator: () { Ok(()) }, [INFO] [stdout] 237 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: message: `#[custom_slice(error(type = "..."))]` should be specified [INFO] [stdout] = note: this error originates in the macro `gen_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/derives.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | / custom_slice_macros::define_slice_types_pair! { [INFO] [stdout] 49 | | #[custom_slice(owned)] [INFO] [stdout] 50 | | $(#[$meta_owned])* [INFO] [stdout] 51 | | struct Owned($owned_inner); [INFO] [stdout] ... | [INFO] [stdout] 59 | | fn validate(_: &$slice_inner) -> Result<(), $ty_error> $body [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 414 | / gen_test! { [INFO] [stdout] 415 | | name: try_from_inner, [INFO] [stdout] 416 | | #[custom_slice(error(r#type = "()"))] [INFO] [stdout] 417 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 423 | | validator: () { Ok(()) }, [INFO] [stdout] 424 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: message: `#[custom_slice(error(type = "..."))]` should be specified [INFO] [stdout] = note: this error originates in the macro `gen_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/derives.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | / custom_slice_macros::define_slice_types_pair! { [INFO] [stdout] 49 | | #[custom_slice(owned)] [INFO] [stdout] 50 | | $(#[$meta_owned])* [INFO] [stdout] 51 | | struct Owned($owned_inner); [INFO] [stdout] ... | [INFO] [stdout] 59 | | fn validate(_: &$slice_inner) -> Result<(), $ty_error> $body [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 426 | / gen_test! { [INFO] [stdout] 427 | | name: try_from_inner_mut, [INFO] [stdout] 428 | | #[custom_slice(error(r#type = "()"))] [INFO] [stdout] 429 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 435 | | validator: () { Ok(()) }, [INFO] [stdout] 436 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: message: `#[custom_slice(error(type = "..."))]` should be specified [INFO] [stdout] = note: this error originates in the macro `gen_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Owned` in this scope [INFO] [stdout] --> tests/derives.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | owned { Owned: Vec }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 227 | / gen_test! { [INFO] [stdout] 228 | | name: try_from_inner, [INFO] [stdout] 229 | | #[custom_slice(derive(TryFromInner))] [INFO] [stdout] 230 | | #[custom_slice(error(r#type = "()"))] [INFO] [stdout] ... | [INFO] [stdout] 236 | | validator: () { Ok(()) }, [INFO] [stdout] 237 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> tests/derives.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | struct Owned($owned_inner); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `crate::owned::as_mut_slice::Owned`: not accessible [INFO] [stdout] | `crate::owned::as_mut_slice_inner::Owned`: not accessible [INFO] [stdout] | `crate::owned::as_ref_slice::Owned`: not accessible [INFO] [stdout] | `crate::owned::as_ref_slice_inner::Owned`: not accessible [INFO] [stdout] | `crate::owned::borrow::Owned`: not accessible [INFO] [stdout] | `crate::owned::borrow_mut::Owned`: not accessible [INFO] [stdout] | `crate::owned::deref::Owned`: not accessible [INFO] [stdout] | `crate::owned::deref_mut::Owned`: not accessible [INFO] [stdout] | `crate::owned::from_inner::Owned`: not accessible [INFO] [stdout] | `crate::owned::into_inner::Owned`: not accessible [INFO] [stdout] | `crate::owned::partial_eq::Owned`: not accessible [INFO] [stdout] | `crate::owned::partial_eq_bulk::Owned`: not accessible [INFO] [stdout] | `crate::owned::partial_eq_inner_bulk::Owned`: not accessible [INFO] [stdout] | `crate::owned::partial_ord::Owned`: not accessible [INFO] [stdout] | `crate::owned::partial_ord_bulk::Owned`: not accessible [INFO] [stdout] | `crate::owned::partial_ord_inner_bulk::Owned`: not accessible [INFO] [stdout] | `crate::slice::as_mut_slice::Owned`: not accessible [INFO] [stdout] | `crate::slice::as_mut_slice_inner::Owned`: not accessible [INFO] [stdout] | `crate::slice::as_ref_slice::Owned`: not accessible [INFO] [stdout] | `crate::slice::as_ref_slice_inner::Owned`: not accessible [INFO] [stdout] | `crate::slice::default_box::Owned`: not accessible [INFO] [stdout] | `crate::slice::default_ref::Owned`: not accessible [INFO] [stdout] | `crate::slice::default_ref_mut::Owned`: not accessible [INFO] [stdout] | `crate::slice::deref::Owned`: not accessible [INFO] [stdout] | `crate::slice::deref_mut::Owned`: not accessible [INFO] [stdout] | `crate::slice::from_inner::Owned`: not accessible [INFO] [stdout] | `crate::slice::from_inner_mut::Owned`: not accessible [INFO] [stdout] | `crate::slice::into_arc::Owned`: not accessible [INFO] [stdout] | `crate::slice::into_box::Owned`: not accessible [INFO] [stdout] | `crate::slice::into_rc::Owned`: not accessible [INFO] [stdout] | `crate::slice::partial_eq_bulk::Owned`: not accessible [INFO] [stdout] | `crate::slice::partial_eq_inner_bulk::Owned`: not accessible [INFO] [stdout] | `crate::slice::partial_ord_bulk::Owned`: not accessible [INFO] [stdout] | `crate::slice::partial_ord_inner_bulk::Owned`: not accessible [INFO] [stdout] | `crate::slice::to_owned::Owned`: not accessible [INFO] [stdout] ... [INFO] [stdout] 78 | / gen_test! { [INFO] [stdout] 79 | | name: borrow, [INFO] [stdout] 80 | | owned: Vec, [INFO] [stdout] 81 | | owned_tests: { Borrow }, [INFO] [stdout] 82 | | slice: [u8], [INFO] [stdout] 83 | | slice_tests: {}, [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 85 | [INFO] [stdout] 86 | / gen_test! { [INFO] [stdout] 87 | | name: as_ref_slice, [INFO] [stdout] 88 | | #[custom_slice(derive(AsRefSlice))] [INFO] [stdout] 89 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 92 | | slice_tests: {}, [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 94 | [INFO] [stdout] 95 | / gen_test! { [INFO] [stdout] 96 | | name: as_ref_slice_inner, [INFO] [stdout] 97 | | #[custom_slice(derive(AsRefSliceInner))] [INFO] [stdout] 98 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 101 | | slice_tests: {}, [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 103 | [INFO] [stdout] 104 | / gen_test! { [INFO] [stdout] 105 | | name: as_mut_slice, [INFO] [stdout] 106 | | #[custom_slice(derive(AsMutSlice))] [INFO] [stdout] 107 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 110 | | slice_tests: {}, [INFO] [stdout] 111 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 112 | [INFO] [stdout] 113 | / gen_test! { [INFO] [stdout] 114 | | name: as_mut_slice_inner, [INFO] [stdout] 115 | | #[custom_slice(derive(AsMutSliceInner))] [INFO] [stdout] 116 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 119 | | slice_tests: {}, [INFO] [stdout] 120 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 121 | [INFO] [stdout] 122 | / gen_test! { [INFO] [stdout] 123 | | name: borrow_mut, [INFO] [stdout] 124 | | #[custom_slice(derive(BorrowMut))] [INFO] [stdout] 125 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 128 | | slice_tests: {}, [INFO] [stdout] 129 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 130 | [INFO] [stdout] 131 | / gen_test! { [INFO] [stdout] 132 | | name: deref, [INFO] [stdout] 133 | | #[custom_slice(derive(Deref))] [INFO] [stdout] 134 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 137 | | slice_tests: {}, [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 139 | [INFO] [stdout] 140 | / gen_test! { [INFO] [stdout] 141 | | name: deref_mut, [INFO] [stdout] 142 | | #[custom_slice(derive(Deref, DerefMut))] [INFO] [stdout] 143 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 146 | | slice_tests: {}, [INFO] [stdout] 147 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 148 | [INFO] [stdout] 149 | / gen_test! { [INFO] [stdout] 150 | | name: from_inner, [INFO] [stdout] 151 | | #[custom_slice(derive(FromInner))] [INFO] [stdout] 152 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 155 | | slice_tests: {}, [INFO] [stdout] 156 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 157 | [INFO] [stdout] 158 | / gen_test! { [INFO] [stdout] 159 | | name: into_inner, [INFO] [stdout] 160 | | #[custom_slice(derive(IntoInner))] [INFO] [stdout] 161 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 164 | | slice_tests: {}, [INFO] [stdout] 165 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 166 | [INFO] [stdout] 167 | / gen_test! { [INFO] [stdout] 168 | | name: partial_eq, [INFO] [stdout] 169 | | #[custom_slice(derive(PartialEq))] [INFO] [stdout] 170 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 174 | | slice_tests: {}, [INFO] [stdout] 175 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 176 | [INFO] [stdout] 177 | / gen_test! { [INFO] [stdout] 178 | | name: partial_eq_bulk, [INFO] [stdout] 179 | | #[derive(PartialEq)] [INFO] [stdout] 180 | | #[custom_slice(derive(PartialEqBulk))] [INFO] [stdout] ... | [INFO] [stdout] 185 | | slice_tests: {}, [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 187 | [INFO] [stdout] 188 | / gen_test! { [INFO] [stdout] 189 | | name: partial_eq_inner_bulk, [INFO] [stdout] 190 | | #[custom_slice(derive(PartialEqInnerBulk))] [INFO] [stdout] 191 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 194 | | slice_tests: {}, [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 196 | [INFO] [stdout] 197 | / gen_test! { [INFO] [stdout] 198 | | name: partial_ord, [INFO] [stdout] 199 | | #[custom_slice(derive(PartialEq, PartialOrd))] [INFO] [stdout] 200 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 204 | | slice_tests: {}, [INFO] [stdout] 205 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 206 | [INFO] [stdout] 207 | / gen_test! { [INFO] [stdout] 208 | | name: partial_ord_bulk, [INFO] [stdout] 209 | | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 210 | | #[custom_slice(derive(PartialEqBulk, PartialOrdBulk))] [INFO] [stdout] ... | [INFO] [stdout] 215 | | slice_tests: {}, [INFO] [stdout] 216 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 217 | [INFO] [stdout] 218 | / gen_test! { [INFO] [stdout] 219 | | name: partial_ord_inner_bulk, [INFO] [stdout] 220 | | #[custom_slice(derive(PartialEqInnerBulk, PartialOrdInnerBulk))] [INFO] [stdout] 221 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 224 | | slice_tests: {}, [INFO] [stdout] 225 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 241 | / gen_test! { [INFO] [stdout] 242 | | name: to_owned, [INFO] [stdout] 243 | | owned: Vec, [INFO] [stdout] 244 | | owned_tests: {}, [INFO] [stdout] 245 | | slice: [u8], [INFO] [stdout] 246 | | slice_tests: { ToOwned }, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 248 | [INFO] [stdout] 249 | / gen_test! { [INFO] [stdout] 250 | | name: as_ref_slice, [INFO] [stdout] 251 | | owned: Vec, [INFO] [stdout] 252 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 255 | | slice_tests: { AsRefSlice }, [INFO] [stdout] 256 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 257 | [INFO] [stdout] 258 | / gen_test! { [INFO] [stdout] 259 | | name: as_ref_slice_inner, [INFO] [stdout] 260 | | owned: Vec, [INFO] [stdout] 261 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 264 | | slice_tests: { AsRefSliceInner }, [INFO] [stdout] 265 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 266 | [INFO] [stdout] 267 | / gen_test! { [INFO] [stdout] 268 | | name: as_mut_slice, [INFO] [stdout] 269 | | owned: Vec, [INFO] [stdout] 270 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 273 | | slice_tests: { AsMutSlice }, [INFO] [stdout] 274 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 275 | [INFO] [stdout] 276 | / gen_test! { [INFO] [stdout] 277 | | name: as_mut_slice_inner, [INFO] [stdout] 278 | | owned: Vec, [INFO] [stdout] 279 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 282 | | slice_tests: { AsMutSliceInner }, [INFO] [stdout] 283 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 284 | [INFO] [stdout] 285 | / gen_test! { [INFO] [stdout] 286 | | name: default_box, [INFO] [stdout] 287 | | owned: Vec, [INFO] [stdout] 288 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 291 | | slice_tests: { DefaultBox }, [INFO] [stdout] 292 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 293 | [INFO] [stdout] 294 | / gen_test! { [INFO] [stdout] 295 | | name: default_ref, [INFO] [stdout] 296 | | owned: Vec, [INFO] [stdout] 297 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 300 | | slice_tests: { DefaultRef }, [INFO] [stdout] 301 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 302 | [INFO] [stdout] 303 | / gen_test! { [INFO] [stdout] 304 | | name: default_ref_mut, [INFO] [stdout] 305 | | owned: Vec, [INFO] [stdout] 306 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 309 | | slice_tests: { DefaultRefMut }, [INFO] [stdout] 310 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 311 | [INFO] [stdout] 312 | / gen_test! { [INFO] [stdout] 313 | | name: deref, [INFO] [stdout] 314 | | owned: Vec, [INFO] [stdout] 315 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 318 | | slice_tests: { Deref }, [INFO] [stdout] 319 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 320 | [INFO] [stdout] 321 | / gen_test! { [INFO] [stdout] 322 | | name: deref_mut, [INFO] [stdout] 323 | | owned: Vec, [INFO] [stdout] 324 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 327 | | slice_tests: { Deref, DerefMut }, [INFO] [stdout] 328 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 329 | [INFO] [stdout] 330 | / gen_test! { [INFO] [stdout] 331 | | name: from_inner, [INFO] [stdout] 332 | | owned: Vec, [INFO] [stdout] 333 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 336 | | slice_tests: { FromInner }, [INFO] [stdout] 337 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 338 | [INFO] [stdout] 339 | / gen_test! { [INFO] [stdout] 340 | | name: from_inner_mut, [INFO] [stdout] 341 | | owned: Vec, [INFO] [stdout] 342 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 345 | | slice_tests: { FromInnerMut }, [INFO] [stdout] 346 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 347 | [INFO] [stdout] 348 | / gen_test! { [INFO] [stdout] 349 | | name: into_arc, [INFO] [stdout] 350 | | owned: Vec, [INFO] [stdout] 351 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 354 | | slice_tests: { IntoArc }, [INFO] [stdout] 355 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 356 | [INFO] [stdout] 357 | / gen_test! { [INFO] [stdout] 358 | | name: into_box, [INFO] [stdout] 359 | | owned: Vec, [INFO] [stdout] 360 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 363 | | slice_tests: { IntoBox }, [INFO] [stdout] 364 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 365 | [INFO] [stdout] 366 | / gen_test! { [INFO] [stdout] 367 | | name: into_rc, [INFO] [stdout] 368 | | owned: Vec, [INFO] [stdout] 369 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 372 | | slice_tests: { IntoRc }, [INFO] [stdout] 373 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 374 | [INFO] [stdout] 375 | / gen_test! { [INFO] [stdout] 376 | | name: partial_eq_bulk, [INFO] [stdout] 377 | | owned: Vec, [INFO] [stdout] 378 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 382 | | slice_tests: { PartialEqBulk }, [INFO] [stdout] 383 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 384 | [INFO] [stdout] 385 | / gen_test! { [INFO] [stdout] 386 | | name: partial_eq_inner_bulk, [INFO] [stdout] 387 | | owned: Vec, [INFO] [stdout] 388 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 392 | | slice_tests: { PartialEqInnerBulk }, [INFO] [stdout] 393 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 394 | [INFO] [stdout] 395 | / gen_test! { [INFO] [stdout] 396 | | name: partial_ord_bulk, [INFO] [stdout] 397 | | owned: Vec, [INFO] [stdout] 398 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 402 | | slice_tests: { PartialOrdBulk }, [INFO] [stdout] 403 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 404 | [INFO] [stdout] 405 | / gen_test! { [INFO] [stdout] 406 | | name: partial_ord_inner_bulk, [INFO] [stdout] 407 | | owned: Vec, [INFO] [stdout] 408 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 411 | | slice_tests: { PartialOrdInnerBulk }, [INFO] [stdout] 412 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `gen_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Slice` in this scope [INFO] [stdout] --> tests/derives.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | slice { Slice: [u8] }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 414 | / gen_test! { [INFO] [stdout] 415 | | name: try_from_inner, [INFO] [stdout] 416 | | #[custom_slice(error(r#type = "()"))] [INFO] [stdout] 417 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 423 | | validator: () { Ok(()) }, [INFO] [stdout] 424 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> tests/derives.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | struct Slice($slice_inner); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `crate::owned::as_mut_slice::Slice`: not accessible [INFO] [stdout] | `crate::owned::as_mut_slice_inner::Slice`: not accessible [INFO] [stdout] | `crate::owned::as_ref_slice::Slice`: not accessible [INFO] [stdout] | `crate::owned::as_ref_slice_inner::Slice`: not accessible [INFO] [stdout] | `crate::owned::borrow::Slice`: not accessible [INFO] [stdout] | `crate::owned::borrow_mut::Slice`: not accessible [INFO] [stdout] | `crate::owned::deref::Slice`: not accessible [INFO] [stdout] | `crate::owned::deref_mut::Slice`: not accessible [INFO] [stdout] | `crate::owned::from_inner::Slice`: not accessible [INFO] [stdout] | `crate::owned::into_inner::Slice`: not accessible [INFO] [stdout] | `crate::owned::partial_eq::Slice`: not accessible [INFO] [stdout] | `crate::owned::partial_eq_bulk::Slice`: not accessible [INFO] [stdout] | `crate::owned::partial_eq_inner_bulk::Slice`: not accessible [INFO] [stdout] | `crate::owned::partial_ord::Slice`: not accessible [INFO] [stdout] | `crate::owned::partial_ord_bulk::Slice`: not accessible [INFO] [stdout] | `crate::owned::partial_ord_inner_bulk::Slice`: not accessible [INFO] [stdout] | `crate::slice::as_mut_slice::Slice`: not accessible [INFO] [stdout] | `crate::slice::as_mut_slice_inner::Slice`: not accessible [INFO] [stdout] | `crate::slice::as_ref_slice::Slice`: not accessible [INFO] [stdout] | `crate::slice::as_ref_slice_inner::Slice`: not accessible [INFO] [stdout] | `crate::slice::default_box::Slice`: not accessible [INFO] [stdout] | `crate::slice::default_ref::Slice`: not accessible [INFO] [stdout] | `crate::slice::default_ref_mut::Slice`: not accessible [INFO] [stdout] | `crate::slice::deref::Slice`: not accessible [INFO] [stdout] | `crate::slice::deref_mut::Slice`: not accessible [INFO] [stdout] | `crate::slice::from_inner::Slice`: not accessible [INFO] [stdout] | `crate::slice::from_inner_mut::Slice`: not accessible [INFO] [stdout] | `crate::slice::into_arc::Slice`: not accessible [INFO] [stdout] | `crate::slice::into_box::Slice`: not accessible [INFO] [stdout] | `crate::slice::into_rc::Slice`: not accessible [INFO] [stdout] | `crate::slice::partial_eq_bulk::Slice`: not accessible [INFO] [stdout] | `crate::slice::partial_eq_inner_bulk::Slice`: not accessible [INFO] [stdout] | `crate::slice::partial_ord_bulk::Slice`: not accessible [INFO] [stdout] | `crate::slice::partial_ord_inner_bulk::Slice`: not accessible [INFO] [stdout] | `crate::slice::to_owned::Slice`: not accessible [INFO] [stdout] ... [INFO] [stdout] 78 | / gen_test! { [INFO] [stdout] 79 | | name: borrow, [INFO] [stdout] 80 | | owned: Vec, [INFO] [stdout] 81 | | owned_tests: { Borrow }, [INFO] [stdout] 82 | | slice: [u8], [INFO] [stdout] 83 | | slice_tests: {}, [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 85 | [INFO] [stdout] 86 | / gen_test! { [INFO] [stdout] 87 | | name: as_ref_slice, [INFO] [stdout] 88 | | #[custom_slice(derive(AsRefSlice))] [INFO] [stdout] 89 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 92 | | slice_tests: {}, [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 94 | [INFO] [stdout] 95 | / gen_test! { [INFO] [stdout] 96 | | name: as_ref_slice_inner, [INFO] [stdout] 97 | | #[custom_slice(derive(AsRefSliceInner))] [INFO] [stdout] 98 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 101 | | slice_tests: {}, [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 103 | [INFO] [stdout] 104 | / gen_test! { [INFO] [stdout] 105 | | name: as_mut_slice, [INFO] [stdout] 106 | | #[custom_slice(derive(AsMutSlice))] [INFO] [stdout] 107 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 110 | | slice_tests: {}, [INFO] [stdout] 111 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 112 | [INFO] [stdout] 113 | / gen_test! { [INFO] [stdout] 114 | | name: as_mut_slice_inner, [INFO] [stdout] 115 | | #[custom_slice(derive(AsMutSliceInner))] [INFO] [stdout] 116 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 119 | | slice_tests: {}, [INFO] [stdout] 120 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 121 | [INFO] [stdout] 122 | / gen_test! { [INFO] [stdout] 123 | | name: borrow_mut, [INFO] [stdout] 124 | | #[custom_slice(derive(BorrowMut))] [INFO] [stdout] 125 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 128 | | slice_tests: {}, [INFO] [stdout] 129 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 130 | [INFO] [stdout] 131 | / gen_test! { [INFO] [stdout] 132 | | name: deref, [INFO] [stdout] 133 | | #[custom_slice(derive(Deref))] [INFO] [stdout] 134 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 137 | | slice_tests: {}, [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 139 | [INFO] [stdout] 140 | / gen_test! { [INFO] [stdout] 141 | | name: deref_mut, [INFO] [stdout] 142 | | #[custom_slice(derive(Deref, DerefMut))] [INFO] [stdout] 143 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 146 | | slice_tests: {}, [INFO] [stdout] 147 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 148 | [INFO] [stdout] 149 | / gen_test! { [INFO] [stdout] 150 | | name: from_inner, [INFO] [stdout] 151 | | #[custom_slice(derive(FromInner))] [INFO] [stdout] 152 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 155 | | slice_tests: {}, [INFO] [stdout] 156 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 157 | [INFO] [stdout] 158 | / gen_test! { [INFO] [stdout] 159 | | name: into_inner, [INFO] [stdout] 160 | | #[custom_slice(derive(IntoInner))] [INFO] [stdout] 161 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 164 | | slice_tests: {}, [INFO] [stdout] 165 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 166 | [INFO] [stdout] 167 | / gen_test! { [INFO] [stdout] 168 | | name: partial_eq, [INFO] [stdout] 169 | | #[custom_slice(derive(PartialEq))] [INFO] [stdout] 170 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 174 | | slice_tests: {}, [INFO] [stdout] 175 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 176 | [INFO] [stdout] 177 | / gen_test! { [INFO] [stdout] 178 | | name: partial_eq_bulk, [INFO] [stdout] 179 | | #[derive(PartialEq)] [INFO] [stdout] 180 | | #[custom_slice(derive(PartialEqBulk))] [INFO] [stdout] ... | [INFO] [stdout] 185 | | slice_tests: {}, [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 187 | [INFO] [stdout] 188 | / gen_test! { [INFO] [stdout] 189 | | name: partial_eq_inner_bulk, [INFO] [stdout] 190 | | #[custom_slice(derive(PartialEqInnerBulk))] [INFO] [stdout] 191 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 194 | | slice_tests: {}, [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 196 | [INFO] [stdout] 197 | / gen_test! { [INFO] [stdout] 198 | | name: partial_ord, [INFO] [stdout] 199 | | #[custom_slice(derive(PartialEq, PartialOrd))] [INFO] [stdout] 200 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 204 | | slice_tests: {}, [INFO] [stdout] 205 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 206 | [INFO] [stdout] 207 | / gen_test! { [INFO] [stdout] 208 | | name: partial_ord_bulk, [INFO] [stdout] 209 | | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 210 | | #[custom_slice(derive(PartialEqBulk, PartialOrdBulk))] [INFO] [stdout] ... | [INFO] [stdout] 215 | | slice_tests: {}, [INFO] [stdout] 216 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 217 | [INFO] [stdout] 218 | / gen_test! { [INFO] [stdout] 219 | | name: partial_ord_inner_bulk, [INFO] [stdout] 220 | | #[custom_slice(derive(PartialEqInnerBulk, PartialOrdInnerBulk))] [INFO] [stdout] 221 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 224 | | slice_tests: {}, [INFO] [stdout] 225 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 241 | / gen_test! { [INFO] [stdout] 242 | | name: to_owned, [INFO] [stdout] 243 | | owned: Vec, [INFO] [stdout] 244 | | owned_tests: {}, [INFO] [stdout] 245 | | slice: [u8], [INFO] [stdout] 246 | | slice_tests: { ToOwned }, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 248 | [INFO] [stdout] 249 | / gen_test! { [INFO] [stdout] 250 | | name: as_ref_slice, [INFO] [stdout] 251 | | owned: Vec, [INFO] [stdout] 252 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 255 | | slice_tests: { AsRefSlice }, [INFO] [stdout] 256 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 257 | [INFO] [stdout] 258 | / gen_test! { [INFO] [stdout] 259 | | name: as_ref_slice_inner, [INFO] [stdout] 260 | | owned: Vec, [INFO] [stdout] 261 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 264 | | slice_tests: { AsRefSliceInner }, [INFO] [stdout] 265 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 266 | [INFO] [stdout] 267 | / gen_test! { [INFO] [stdout] 268 | | name: as_mut_slice, [INFO] [stdout] 269 | | owned: Vec, [INFO] [stdout] 270 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 273 | | slice_tests: { AsMutSlice }, [INFO] [stdout] 274 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 275 | [INFO] [stdout] 276 | / gen_test! { [INFO] [stdout] 277 | | name: as_mut_slice_inner, [INFO] [stdout] 278 | | owned: Vec, [INFO] [stdout] 279 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 282 | | slice_tests: { AsMutSliceInner }, [INFO] [stdout] 283 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 284 | [INFO] [stdout] 285 | / gen_test! { [INFO] [stdout] 286 | | name: default_box, [INFO] [stdout] 287 | | owned: Vec, [INFO] [stdout] 288 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 291 | | slice_tests: { DefaultBox }, [INFO] [stdout] 292 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 293 | [INFO] [stdout] 294 | / gen_test! { [INFO] [stdout] 295 | | name: default_ref, [INFO] [stdout] 296 | | owned: Vec, [INFO] [stdout] 297 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 300 | | slice_tests: { DefaultRef }, [INFO] [stdout] 301 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 302 | [INFO] [stdout] 303 | / gen_test! { [INFO] [stdout] 304 | | name: default_ref_mut, [INFO] [stdout] 305 | | owned: Vec, [INFO] [stdout] 306 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 309 | | slice_tests: { DefaultRefMut }, [INFO] [stdout] 310 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 311 | [INFO] [stdout] 312 | / gen_test! { [INFO] [stdout] 313 | | name: deref, [INFO] [stdout] 314 | | owned: Vec, [INFO] [stdout] 315 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 318 | | slice_tests: { Deref }, [INFO] [stdout] 319 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 320 | [INFO] [stdout] 321 | / gen_test! { [INFO] [stdout] 322 | | name: deref_mut, [INFO] [stdout] 323 | | owned: Vec, [INFO] [stdout] 324 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 327 | | slice_tests: { Deref, DerefMut }, [INFO] [stdout] 328 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 329 | [INFO] [stdout] 330 | / gen_test! { [INFO] [stdout] 331 | | name: from_inner, [INFO] [stdout] 332 | | owned: Vec, [INFO] [stdout] 333 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 336 | | slice_tests: { FromInner }, [INFO] [stdout] 337 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 338 | [INFO] [stdout] 339 | / gen_test! { [INFO] [stdout] 340 | | name: from_inner_mut, [INFO] [stdout] 341 | | owned: Vec, [INFO] [stdout] 342 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 345 | | slice_tests: { FromInnerMut }, [INFO] [stdout] 346 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 347 | [INFO] [stdout] 348 | / gen_test! { [INFO] [stdout] 349 | | name: into_arc, [INFO] [stdout] 350 | | owned: Vec, [INFO] [stdout] 351 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 354 | | slice_tests: { IntoArc }, [INFO] [stdout] 355 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 356 | [INFO] [stdout] 357 | / gen_test! { [INFO] [stdout] 358 | | name: into_box, [INFO] [stdout] 359 | | owned: Vec, [INFO] [stdout] 360 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 363 | | slice_tests: { IntoBox }, [INFO] [stdout] 364 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 365 | [INFO] [stdout] 366 | / gen_test! { [INFO] [stdout] 367 | | name: into_rc, [INFO] [stdout] 368 | | owned: Vec, [INFO] [stdout] 369 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 372 | | slice_tests: { IntoRc }, [INFO] [stdout] 373 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 374 | [INFO] [stdout] 375 | / gen_test! { [INFO] [stdout] 376 | | name: partial_eq_bulk, [INFO] [stdout] 377 | | owned: Vec, [INFO] [stdout] 378 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 382 | | slice_tests: { PartialEqBulk }, [INFO] [stdout] 383 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 384 | [INFO] [stdout] 385 | / gen_test! { [INFO] [stdout] 386 | | name: partial_eq_inner_bulk, [INFO] [stdout] 387 | | owned: Vec, [INFO] [stdout] 388 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 392 | | slice_tests: { PartialEqInnerBulk }, [INFO] [stdout] 393 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 394 | [INFO] [stdout] 395 | / gen_test! { [INFO] [stdout] 396 | | name: partial_ord_bulk, [INFO] [stdout] 397 | | owned: Vec, [INFO] [stdout] 398 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 402 | | slice_tests: { PartialOrdBulk }, [INFO] [stdout] 403 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 404 | [INFO] [stdout] 405 | / gen_test! { [INFO] [stdout] 406 | | name: partial_ord_inner_bulk, [INFO] [stdout] 407 | | owned: Vec, [INFO] [stdout] 408 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 411 | | slice_tests: { PartialOrdInnerBulk }, [INFO] [stdout] 412 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `gen_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Slice` in this scope [INFO] [stdout] --> tests/derives.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | slice { Slice: [u8] }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 426 | / gen_test! { [INFO] [stdout] 427 | | name: try_from_inner_mut, [INFO] [stdout] 428 | | #[custom_slice(error(r#type = "()"))] [INFO] [stdout] 429 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 435 | | validator: () { Ok(()) }, [INFO] [stdout] 436 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> tests/derives.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | struct Slice($slice_inner); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `crate::owned::as_mut_slice::Slice`: not accessible [INFO] [stdout] | `crate::owned::as_mut_slice_inner::Slice`: not accessible [INFO] [stdout] | `crate::owned::as_ref_slice::Slice`: not accessible [INFO] [stdout] | `crate::owned::as_ref_slice_inner::Slice`: not accessible [INFO] [stdout] | `crate::owned::borrow::Slice`: not accessible [INFO] [stdout] | `crate::owned::borrow_mut::Slice`: not accessible [INFO] [stdout] | `crate::owned::deref::Slice`: not accessible [INFO] [stdout] | `crate::owned::deref_mut::Slice`: not accessible [INFO] [stdout] | `crate::owned::from_inner::Slice`: not accessible [INFO] [stdout] | `crate::owned::into_inner::Slice`: not accessible [INFO] [stdout] | `crate::owned::partial_eq::Slice`: not accessible [INFO] [stdout] | `crate::owned::partial_eq_bulk::Slice`: not accessible [INFO] [stdout] | `crate::owned::partial_eq_inner_bulk::Slice`: not accessible [INFO] [stdout] | `crate::owned::partial_ord::Slice`: not accessible [INFO] [stdout] | `crate::owned::partial_ord_bulk::Slice`: not accessible [INFO] [stdout] | `crate::owned::partial_ord_inner_bulk::Slice`: not accessible [INFO] [stdout] | `crate::slice::as_mut_slice::Slice`: not accessible [INFO] [stdout] | `crate::slice::as_mut_slice_inner::Slice`: not accessible [INFO] [stdout] | `crate::slice::as_ref_slice::Slice`: not accessible [INFO] [stdout] | `crate::slice::as_ref_slice_inner::Slice`: not accessible [INFO] [stdout] | `crate::slice::default_box::Slice`: not accessible [INFO] [stdout] | `crate::slice::default_ref::Slice`: not accessible [INFO] [stdout] | `crate::slice::default_ref_mut::Slice`: not accessible [INFO] [stdout] | `crate::slice::deref::Slice`: not accessible [INFO] [stdout] | `crate::slice::deref_mut::Slice`: not accessible [INFO] [stdout] | `crate::slice::from_inner::Slice`: not accessible [INFO] [stdout] | `crate::slice::from_inner_mut::Slice`: not accessible [INFO] [stdout] | `crate::slice::into_arc::Slice`: not accessible [INFO] [stdout] | `crate::slice::into_box::Slice`: not accessible [INFO] [stdout] | `crate::slice::into_rc::Slice`: not accessible [INFO] [stdout] | `crate::slice::partial_eq_bulk::Slice`: not accessible [INFO] [stdout] | `crate::slice::partial_eq_inner_bulk::Slice`: not accessible [INFO] [stdout] | `crate::slice::partial_ord_bulk::Slice`: not accessible [INFO] [stdout] | `crate::slice::partial_ord_inner_bulk::Slice`: not accessible [INFO] [stdout] | `crate::slice::to_owned::Slice`: not accessible [INFO] [stdout] ... [INFO] [stdout] 78 | / gen_test! { [INFO] [stdout] 79 | | name: borrow, [INFO] [stdout] 80 | | owned: Vec, [INFO] [stdout] 81 | | owned_tests: { Borrow }, [INFO] [stdout] 82 | | slice: [u8], [INFO] [stdout] 83 | | slice_tests: {}, [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 85 | [INFO] [stdout] 86 | / gen_test! { [INFO] [stdout] 87 | | name: as_ref_slice, [INFO] [stdout] 88 | | #[custom_slice(derive(AsRefSlice))] [INFO] [stdout] 89 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 92 | | slice_tests: {}, [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 94 | [INFO] [stdout] 95 | / gen_test! { [INFO] [stdout] 96 | | name: as_ref_slice_inner, [INFO] [stdout] 97 | | #[custom_slice(derive(AsRefSliceInner))] [INFO] [stdout] 98 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 101 | | slice_tests: {}, [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 103 | [INFO] [stdout] 104 | / gen_test! { [INFO] [stdout] 105 | | name: as_mut_slice, [INFO] [stdout] 106 | | #[custom_slice(derive(AsMutSlice))] [INFO] [stdout] 107 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 110 | | slice_tests: {}, [INFO] [stdout] 111 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 112 | [INFO] [stdout] 113 | / gen_test! { [INFO] [stdout] 114 | | name: as_mut_slice_inner, [INFO] [stdout] 115 | | #[custom_slice(derive(AsMutSliceInner))] [INFO] [stdout] 116 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 119 | | slice_tests: {}, [INFO] [stdout] 120 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 121 | [INFO] [stdout] 122 | / gen_test! { [INFO] [stdout] 123 | | name: borrow_mut, [INFO] [stdout] 124 | | #[custom_slice(derive(BorrowMut))] [INFO] [stdout] 125 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 128 | | slice_tests: {}, [INFO] [stdout] 129 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 130 | [INFO] [stdout] 131 | / gen_test! { [INFO] [stdout] 132 | | name: deref, [INFO] [stdout] 133 | | #[custom_slice(derive(Deref))] [INFO] [stdout] 134 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 137 | | slice_tests: {}, [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 139 | [INFO] [stdout] 140 | / gen_test! { [INFO] [stdout] 141 | | name: deref_mut, [INFO] [stdout] 142 | | #[custom_slice(derive(Deref, DerefMut))] [INFO] [stdout] 143 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 146 | | slice_tests: {}, [INFO] [stdout] 147 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 148 | [INFO] [stdout] 149 | / gen_test! { [INFO] [stdout] 150 | | name: from_inner, [INFO] [stdout] 151 | | #[custom_slice(derive(FromInner))] [INFO] [stdout] 152 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 155 | | slice_tests: {}, [INFO] [stdout] 156 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 157 | [INFO] [stdout] 158 | / gen_test! { [INFO] [stdout] 159 | | name: into_inner, [INFO] [stdout] 160 | | #[custom_slice(derive(IntoInner))] [INFO] [stdout] 161 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 164 | | slice_tests: {}, [INFO] [stdout] 165 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 166 | [INFO] [stdout] 167 | / gen_test! { [INFO] [stdout] 168 | | name: partial_eq, [INFO] [stdout] 169 | | #[custom_slice(derive(PartialEq))] [INFO] [stdout] 170 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 174 | | slice_tests: {}, [INFO] [stdout] 175 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 176 | [INFO] [stdout] 177 | / gen_test! { [INFO] [stdout] 178 | | name: partial_eq_bulk, [INFO] [stdout] 179 | | #[derive(PartialEq)] [INFO] [stdout] 180 | | #[custom_slice(derive(PartialEqBulk))] [INFO] [stdout] ... | [INFO] [stdout] 185 | | slice_tests: {}, [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 187 | [INFO] [stdout] 188 | / gen_test! { [INFO] [stdout] 189 | | name: partial_eq_inner_bulk, [INFO] [stdout] 190 | | #[custom_slice(derive(PartialEqInnerBulk))] [INFO] [stdout] 191 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 194 | | slice_tests: {}, [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 196 | [INFO] [stdout] 197 | / gen_test! { [INFO] [stdout] 198 | | name: partial_ord, [INFO] [stdout] 199 | | #[custom_slice(derive(PartialEq, PartialOrd))] [INFO] [stdout] 200 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 204 | | slice_tests: {}, [INFO] [stdout] 205 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 206 | [INFO] [stdout] 207 | / gen_test! { [INFO] [stdout] 208 | | name: partial_ord_bulk, [INFO] [stdout] 209 | | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 210 | | #[custom_slice(derive(PartialEqBulk, PartialOrdBulk))] [INFO] [stdout] ... | [INFO] [stdout] 215 | | slice_tests: {}, [INFO] [stdout] 216 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 217 | [INFO] [stdout] 218 | / gen_test! { [INFO] [stdout] 219 | | name: partial_ord_inner_bulk, [INFO] [stdout] 220 | | #[custom_slice(derive(PartialEqInnerBulk, PartialOrdInnerBulk))] [INFO] [stdout] 221 | | owned: Vec, [INFO] [stdout] ... | [INFO] [stdout] 224 | | slice_tests: {}, [INFO] [stdout] 225 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 241 | / gen_test! { [INFO] [stdout] 242 | | name: to_owned, [INFO] [stdout] 243 | | owned: Vec, [INFO] [stdout] 244 | | owned_tests: {}, [INFO] [stdout] 245 | | slice: [u8], [INFO] [stdout] 246 | | slice_tests: { ToOwned }, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 248 | [INFO] [stdout] 249 | / gen_test! { [INFO] [stdout] 250 | | name: as_ref_slice, [INFO] [stdout] 251 | | owned: Vec, [INFO] [stdout] 252 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 255 | | slice_tests: { AsRefSlice }, [INFO] [stdout] 256 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 257 | [INFO] [stdout] 258 | / gen_test! { [INFO] [stdout] 259 | | name: as_ref_slice_inner, [INFO] [stdout] 260 | | owned: Vec, [INFO] [stdout] 261 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 264 | | slice_tests: { AsRefSliceInner }, [INFO] [stdout] 265 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 266 | [INFO] [stdout] 267 | / gen_test! { [INFO] [stdout] 268 | | name: as_mut_slice, [INFO] [stdout] 269 | | owned: Vec, [INFO] [stdout] 270 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 273 | | slice_tests: { AsMutSlice }, [INFO] [stdout] 274 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 275 | [INFO] [stdout] 276 | / gen_test! { [INFO] [stdout] 277 | | name: as_mut_slice_inner, [INFO] [stdout] 278 | | owned: Vec, [INFO] [stdout] 279 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 282 | | slice_tests: { AsMutSliceInner }, [INFO] [stdout] 283 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 284 | [INFO] [stdout] 285 | / gen_test! { [INFO] [stdout] 286 | | name: default_box, [INFO] [stdout] 287 | | owned: Vec, [INFO] [stdout] 288 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 291 | | slice_tests: { DefaultBox }, [INFO] [stdout] 292 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 293 | [INFO] [stdout] 294 | / gen_test! { [INFO] [stdout] 295 | | name: default_ref, [INFO] [stdout] 296 | | owned: Vec, [INFO] [stdout] 297 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 300 | | slice_tests: { DefaultRef }, [INFO] [stdout] 301 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 302 | [INFO] [stdout] 303 | / gen_test! { [INFO] [stdout] 304 | | name: default_ref_mut, [INFO] [stdout] 305 | | owned: Vec, [INFO] [stdout] 306 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 309 | | slice_tests: { DefaultRefMut }, [INFO] [stdout] 310 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 311 | [INFO] [stdout] 312 | / gen_test! { [INFO] [stdout] 313 | | name: deref, [INFO] [stdout] 314 | | owned: Vec, [INFO] [stdout] 315 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 318 | | slice_tests: { Deref }, [INFO] [stdout] 319 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 320 | [INFO] [stdout] 321 | / gen_test! { [INFO] [stdout] 322 | | name: deref_mut, [INFO] [stdout] 323 | | owned: Vec, [INFO] [stdout] 324 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 327 | | slice_tests: { Deref, DerefMut }, [INFO] [stdout] 328 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 329 | [INFO] [stdout] 330 | / gen_test! { [INFO] [stdout] 331 | | name: from_inner, [INFO] [stdout] 332 | | owned: Vec, [INFO] [stdout] 333 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 336 | | slice_tests: { FromInner }, [INFO] [stdout] 337 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 338 | [INFO] [stdout] 339 | / gen_test! { [INFO] [stdout] 340 | | name: from_inner_mut, [INFO] [stdout] 341 | | owned: Vec, [INFO] [stdout] 342 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 345 | | slice_tests: { FromInnerMut }, [INFO] [stdout] 346 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 347 | [INFO] [stdout] 348 | / gen_test! { [INFO] [stdout] 349 | | name: into_arc, [INFO] [stdout] 350 | | owned: Vec, [INFO] [stdout] 351 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 354 | | slice_tests: { IntoArc }, [INFO] [stdout] 355 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 356 | [INFO] [stdout] 357 | / gen_test! { [INFO] [stdout] 358 | | name: into_box, [INFO] [stdout] 359 | | owned: Vec, [INFO] [stdout] 360 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 363 | | slice_tests: { IntoBox }, [INFO] [stdout] 364 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 365 | [INFO] [stdout] 366 | / gen_test! { [INFO] [stdout] 367 | | name: into_rc, [INFO] [stdout] 368 | | owned: Vec, [INFO] [stdout] 369 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 372 | | slice_tests: { IntoRc }, [INFO] [stdout] 373 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 374 | [INFO] [stdout] 375 | / gen_test! { [INFO] [stdout] 376 | | name: partial_eq_bulk, [INFO] [stdout] 377 | | owned: Vec, [INFO] [stdout] 378 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 382 | | slice_tests: { PartialEqBulk }, [INFO] [stdout] 383 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 384 | [INFO] [stdout] 385 | / gen_test! { [INFO] [stdout] 386 | | name: partial_eq_inner_bulk, [INFO] [stdout] 387 | | owned: Vec, [INFO] [stdout] 388 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 392 | | slice_tests: { PartialEqInnerBulk }, [INFO] [stdout] 393 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 394 | [INFO] [stdout] 395 | / gen_test! { [INFO] [stdout] 396 | | name: partial_ord_bulk, [INFO] [stdout] 397 | | owned: Vec, [INFO] [stdout] 398 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 402 | | slice_tests: { PartialOrdBulk }, [INFO] [stdout] 403 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] 404 | [INFO] [stdout] 405 | / gen_test! { [INFO] [stdout] 406 | | name: partial_ord_inner_bulk, [INFO] [stdout] 407 | | owned: Vec, [INFO] [stdout] 408 | | owned_tests: {}, [INFO] [stdout] ... | [INFO] [stdout] 411 | | slice_tests: { PartialOrdInnerBulk }, [INFO] [stdout] 412 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `gen_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `custom-slice-macros` (test "derives") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "d78970ad927b313f6eec7af8eea96eaf8ad1710f01a3e72400ea3e976d7f9a63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d78970ad927b313f6eec7af8eea96eaf8ad1710f01a3e72400ea3e976d7f9a63", kill_on_drop: false }` [INFO] [stdout] d78970ad927b313f6eec7af8eea96eaf8ad1710f01a3e72400ea3e976d7f9a63