[INFO] fetching crate custom-slice-macros 0.1.1... [INFO] checking custom-slice-macros-0.1.1 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate custom-slice-macros 0.1.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate custom-slice-macros 0.1.1 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] add065a40f972f397439256084d883a31f45cc15d9050bf0bf679177b9649bcd [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" "add065a40f972f397439256084d883a31f45cc15d9050bf0bf679177b9649bcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "add065a40f972f397439256084d883a31f45cc15d9050bf0bf679177b9649bcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "add065a40f972f397439256084d883a31f45cc15d9050bf0bf679177b9649bcd", kill_on_drop: false }` [INFO] [stdout] add065a40f972f397439256084d883a31f45cc15d9050bf0bf679177b9649bcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01b604ea4e05aadc92c02aeadb904f1e3c0cf25c540cc11d85a8492ded96b265 [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" "01b604ea4e05aadc92c02aeadb904f1e3c0cf25c540cc11d85a8492ded96b265", kill_on_drop: false }` [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling custom-slice-macros v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking proc-macro2 v0.4.30 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking syn v0.15.44 [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] [stderr] error: could not compile `custom-slice-macros` [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [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" "01b604ea4e05aadc92c02aeadb904f1e3c0cf25c540cc11d85a8492ded96b265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01b604ea4e05aadc92c02aeadb904f1e3c0cf25c540cc11d85a8492ded96b265", kill_on_drop: false }` [INFO] [stdout] 01b604ea4e05aadc92c02aeadb904f1e3c0cf25c540cc11d85a8492ded96b265