[INFO] fetching crate custom-slice-macros 0.1.1... [INFO] testing custom-slice-macros-0.1.1 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate custom-slice-macros 0.1.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate custom-slice-macros 0.1.1 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f505303f731b0f1b26a960739c952d51f39ff2d01633ccca51aa0ac95d182dac [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f505303f731b0f1b26a960739c952d51f39ff2d01633ccca51aa0ac95d182dac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f505303f731b0f1b26a960739c952d51f39ff2d01633ccca51aa0ac95d182dac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f505303f731b0f1b26a960739c952d51f39ff2d01633ccca51aa0ac95d182dac", kill_on_drop: false }` [INFO] [stdout] f505303f731b0f1b26a960739c952d51f39ff2d01633ccca51aa0ac95d182dac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 24dad0cd49d26e85d30ef4a34bc466708614f864957833dd567f05beee336430 [INFO] running `Command { std: "docker" "start" "-a" "24dad0cd49d26e85d30ef4a34bc466708614f864957833dd567f05beee336430", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling custom-slice-macros v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.57s [INFO] running `Command { std: "docker" "inspect" "24dad0cd49d26e85d30ef4a34bc466708614f864957833dd567f05beee336430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24dad0cd49d26e85d30ef4a34bc466708614f864957833dd567f05beee336430", kill_on_drop: false }` [INFO] [stdout] 24dad0cd49d26e85d30ef4a34bc466708614f864957833dd567f05beee336430 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa2f46af16e12c9faf2400979f1cf60fcbeefdca13b3b95bd45507e73bfd68ec [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fa2f46af16e12c9faf2400979f1cf60fcbeefdca13b3b95bd45507e73bfd68ec", kill_on_drop: false }` [INFO] [stderr] Compiling 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 a macro (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 a macro (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 a macro (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: consider importing one of these items: [INFO] [stdout] crate::owned::as_mut_slice::Owned [INFO] [stdout] crate::owned::as_mut_slice_inner::Owned [INFO] [stdout] crate::owned::as_ref_slice::Owned [INFO] [stdout] crate::owned::as_ref_slice_inner::Owned [INFO] [stdout] crate::owned::borrow::Owned [INFO] [stdout] crate::owned::borrow_mut::Owned [INFO] [stdout] crate::owned::deref::Owned [INFO] [stdout] crate::owned::deref_mut::Owned [INFO] [stdout] crate::owned::from_inner::Owned [INFO] [stdout] crate::owned::into_inner::Owned [INFO] [stdout] crate::owned::partial_eq::Owned [INFO] [stdout] crate::owned::partial_eq_bulk::Owned [INFO] [stdout] crate::owned::partial_eq_inner_bulk::Owned [INFO] [stdout] crate::owned::partial_ord::Owned [INFO] [stdout] crate::owned::partial_ord_bulk::Owned [INFO] [stdout] crate::owned::partial_ord_inner_bulk::Owned [INFO] [stdout] crate::slice::as_mut_slice::Owned [INFO] [stdout] crate::slice::as_mut_slice_inner::Owned [INFO] [stdout] crate::slice::as_ref_slice::Owned [INFO] [stdout] crate::slice::as_ref_slice_inner::Owned [INFO] [stdout] crate::slice::default_box::Owned [INFO] [stdout] crate::slice::default_ref::Owned [INFO] [stdout] crate::slice::default_ref_mut::Owned [INFO] [stdout] crate::slice::deref::Owned [INFO] [stdout] crate::slice::deref_mut::Owned [INFO] [stdout] crate::slice::from_inner::Owned [INFO] [stdout] crate::slice::from_inner_mut::Owned [INFO] [stdout] crate::slice::into_arc::Owned [INFO] [stdout] crate::slice::into_box::Owned [INFO] [stdout] crate::slice::into_rc::Owned [INFO] [stdout] crate::slice::partial_eq_bulk::Owned [INFO] [stdout] crate::slice::partial_eq_inner_bulk::Owned [INFO] [stdout] crate::slice::partial_ord_bulk::Owned [INFO] [stdout] crate::slice::partial_ord_inner_bulk::Owned [INFO] [stdout] crate::slice::to_owned::Owned [INFO] [stdout] = note: this error originates in a macro (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: consider importing one of these items: [INFO] [stdout] crate::owned::as_mut_slice::Slice [INFO] [stdout] crate::owned::as_mut_slice_inner::Slice [INFO] [stdout] crate::owned::as_ref_slice::Slice [INFO] [stdout] crate::owned::as_ref_slice_inner::Slice [INFO] [stdout] crate::owned::borrow::Slice [INFO] [stdout] crate::owned::borrow_mut::Slice [INFO] [stdout] crate::owned::deref::Slice [INFO] [stdout] crate::owned::deref_mut::Slice [INFO] [stdout] crate::owned::from_inner::Slice [INFO] [stdout] crate::owned::into_inner::Slice [INFO] [stdout] crate::owned::partial_eq::Slice [INFO] [stdout] crate::owned::partial_eq_bulk::Slice [INFO] [stdout] crate::owned::partial_eq_inner_bulk::Slice [INFO] [stdout] crate::owned::partial_ord::Slice [INFO] [stdout] crate::owned::partial_ord_bulk::Slice [INFO] [stdout] crate::owned::partial_ord_inner_bulk::Slice [INFO] [stdout] crate::slice::as_mut_slice::Slice [INFO] [stdout] crate::slice::as_mut_slice_inner::Slice [INFO] [stdout] crate::slice::as_ref_slice::Slice [INFO] [stdout] crate::slice::as_ref_slice_inner::Slice [INFO] [stdout] crate::slice::default_box::Slice [INFO] [stdout] crate::slice::default_ref::Slice [INFO] [stdout] crate::slice::default_ref_mut::Slice [INFO] [stdout] crate::slice::deref::Slice [INFO] [stdout] crate::slice::deref_mut::Slice [INFO] [stdout] crate::slice::from_inner::Slice [INFO] [stdout] crate::slice::from_inner_mut::Slice [INFO] [stdout] crate::slice::into_arc::Slice [INFO] [stdout] crate::slice::into_box::Slice [INFO] [stdout] crate::slice::into_rc::Slice [INFO] [stdout] crate::slice::partial_eq_bulk::Slice [INFO] [stdout] crate::slice::partial_eq_inner_bulk::Slice [INFO] [stdout] crate::slice::partial_ord_bulk::Slice [INFO] [stdout] crate::slice::partial_ord_inner_bulk::Slice [INFO] [stdout] crate::slice::to_owned::Slice [INFO] [stdout] = note: this error originates in a macro (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: consider importing one of these items: [INFO] [stdout] crate::owned::as_mut_slice::Slice [INFO] [stdout] crate::owned::as_mut_slice_inner::Slice [INFO] [stdout] crate::owned::as_ref_slice::Slice [INFO] [stdout] crate::owned::as_ref_slice_inner::Slice [INFO] [stdout] crate::owned::borrow::Slice [INFO] [stdout] crate::owned::borrow_mut::Slice [INFO] [stdout] crate::owned::deref::Slice [INFO] [stdout] crate::owned::deref_mut::Slice [INFO] [stdout] crate::owned::from_inner::Slice [INFO] [stdout] crate::owned::into_inner::Slice [INFO] [stdout] crate::owned::partial_eq::Slice [INFO] [stdout] crate::owned::partial_eq_bulk::Slice [INFO] [stdout] crate::owned::partial_eq_inner_bulk::Slice [INFO] [stdout] crate::owned::partial_ord::Slice [INFO] [stdout] crate::owned::partial_ord_bulk::Slice [INFO] [stdout] crate::owned::partial_ord_inner_bulk::Slice [INFO] [stdout] crate::slice::as_mut_slice::Slice [INFO] [stdout] crate::slice::as_mut_slice_inner::Slice [INFO] [stdout] crate::slice::as_ref_slice::Slice [INFO] [stdout] crate::slice::as_ref_slice_inner::Slice [INFO] [stdout] crate::slice::default_box::Slice [INFO] [stdout] crate::slice::default_ref::Slice [INFO] [stdout] crate::slice::default_ref_mut::Slice [INFO] [stdout] crate::slice::deref::Slice [INFO] [stdout] crate::slice::deref_mut::Slice [INFO] [stdout] crate::slice::from_inner::Slice [INFO] [stdout] crate::slice::from_inner_mut::Slice [INFO] [stdout] crate::slice::into_arc::Slice [INFO] [stdout] crate::slice::into_box::Slice [INFO] [stdout] crate::slice::into_rc::Slice [INFO] [stdout] crate::slice::partial_eq_bulk::Slice [INFO] [stdout] crate::slice::partial_eq_inner_bulk::Slice [INFO] [stdout] crate::slice::partial_ord_bulk::Slice [INFO] [stdout] crate::slice::partial_ord_inner_bulk::Slice [INFO] [stdout] crate::slice::to_owned::Slice [INFO] [stdout] = note: this error originates in a macro (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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fa2f46af16e12c9faf2400979f1cf60fcbeefdca13b3b95bd45507e73bfd68ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa2f46af16e12c9faf2400979f1cf60fcbeefdca13b3b95bd45507e73bfd68ec", kill_on_drop: false }` [INFO] [stdout] fa2f46af16e12c9faf2400979f1cf60fcbeefdca13b3b95bd45507e73bfd68ec