[INFO] fetching crate custom-slice-macros 0.1.1... [INFO] checking custom-slice-macros-0.1.1 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate custom-slice-macros 0.1.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate custom-slice-macros 0.1.1 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3dbba3dd4b5e911ae25715a5f63bdc9c12ac5a3fcde5a73a654a03cae1738f37 [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" "3dbba3dd4b5e911ae25715a5f63bdc9c12ac5a3fcde5a73a654a03cae1738f37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3dbba3dd4b5e911ae25715a5f63bdc9c12ac5a3fcde5a73a654a03cae1738f37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dbba3dd4b5e911ae25715a5f63bdc9c12ac5a3fcde5a73a654a03cae1738f37", kill_on_drop: false }` [INFO] [stdout] 3dbba3dd4b5e911ae25715a5f63bdc9c12ac5a3fcde5a73a654a03cae1738f37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--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] db680669b297bed7d4d2fa97f1975c99ea70ca2921f06fb83de1e7bf8bc74713 [INFO] running `Command { std: "docker" "start" "-a" "db680669b297bed7d4d2fa97f1975c99ea70ca2921f06fb83de1e7bf8bc74713", kill_on_drop: false }` [INFO] [stderr] Checking proc-macro2 v0.4.30 [INFO] [stderr] Compiling custom-slice-macros v0.1.1 (/opt/rustwide/workdir) [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] [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" "db680669b297bed7d4d2fa97f1975c99ea70ca2921f06fb83de1e7bf8bc74713", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db680669b297bed7d4d2fa97f1975c99ea70ca2921f06fb83de1e7bf8bc74713", kill_on_drop: false }` [INFO] [stdout] db680669b297bed7d4d2fa97f1975c99ea70ca2921f06fb83de1e7bf8bc74713