[INFO] fetching crate custom-slice-macros 0.1.1... [INFO] testing custom-slice-macros-0.1.1 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [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 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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" "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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b05a9068c74103f16075cb0f1246656b5b9d3720a56f5bf2e97ec7fb6a6c364 [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" "4b05a9068c74103f16075cb0f1246656b5b9d3720a56f5bf2e97ec7fb6a6c364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b05a9068c74103f16075cb0f1246656b5b9d3720a56f5bf2e97ec7fb6a6c364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b05a9068c74103f16075cb0f1246656b5b9d3720a56f5bf2e97ec7fb6a6c364", kill_on_drop: false }` [INFO] [stdout] 4b05a9068c74103f16075cb0f1246656b5b9d3720a56f5bf2e97ec7fb6a6c364 [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" "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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a92107107f719b37df945cf97e437a5fe301a8ac675463b4ea9c6769d783f87 [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" "9a92107107f719b37df945cf97e437a5fe301a8ac675463b4ea9c6769d783f87", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling custom-slice-macros v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.19s [INFO] running `Command { std: "docker" "inspect" "9a92107107f719b37df945cf97e437a5fe301a8ac675463b4ea9c6769d783f87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a92107107f719b37df945cf97e437a5fe301a8ac675463b4ea9c6769d783f87", kill_on_drop: false }` [INFO] [stdout] 9a92107107f719b37df945cf97e437a5fe301a8ac675463b4ea9c6769d783f87 [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" "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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--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] 9e175dd71dfe9bd0fc8482d44971ae01e5a8aec3d6e11ab1e284c0ab03f3348c [INFO] running `Command { std: "docker" "start" "-a" "9e175dd71dfe9bd0fc8482d44971ae01e5a8aec3d6e11ab1e284c0ab03f3348c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "9e175dd71dfe9bd0fc8482d44971ae01e5a8aec3d6e11ab1e284c0ab03f3348c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e175dd71dfe9bd0fc8482d44971ae01e5a8aec3d6e11ab1e284c0ab03f3348c", kill_on_drop: false }` [INFO] [stdout] 9e175dd71dfe9bd0fc8482d44971ae01e5a8aec3d6e11ab1e284c0ab03f3348c