[INFO] fetching crate custom-slice-macros 0.1.1... [INFO] checking custom-slice-macros-0.1.1 against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] extracting crate custom-slice-macros 0.1.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate custom-slice-macros 0.1.1 on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d8f90dc5f0afc3e3a31ec03ff9dfc8d49024bbfa6de55b4d3f38fd0bb5dbcb5 [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" "0d8f90dc5f0afc3e3a31ec03ff9dfc8d49024bbfa6de55b4d3f38fd0bb5dbcb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d8f90dc5f0afc3e3a31ec03ff9dfc8d49024bbfa6de55b4d3f38fd0bb5dbcb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d8f90dc5f0afc3e3a31ec03ff9dfc8d49024bbfa6de55b4d3f38fd0bb5dbcb5", kill_on_drop: false }` [INFO] [stdout] 0d8f90dc5f0afc3e3a31ec03ff9dfc8d49024bbfa6de55b4d3f38fd0bb5dbcb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b35525cea4d52c5cb59ca80604b0ba8b912b103b9f7c8c9b00c63feb0f12b3e [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" "2b35525cea4d52c5cb59ca80604b0ba8b912b103b9f7c8c9b00c63feb0f12b3e", 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 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] running `Command { std: "docker" "inspect" "2b35525cea4d52c5cb59ca80604b0ba8b912b103b9f7c8c9b00c63feb0f12b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b35525cea4d52c5cb59ca80604b0ba8b912b103b9f7c8c9b00c63feb0f12b3e", kill_on_drop: false }` [INFO] [stdout] 2b35525cea4d52c5cb59ca80604b0ba8b912b103b9f7c8c9b00c63feb0f12b3e