[INFO] fetching crate tulip-derivative 2.2.1... [INFO] checking tulip-derivative-2.2.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate tulip-derivative 2.2.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate tulip-derivative 2.2.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tulip-derivative 2.2.1 [INFO] finished tweaking crates.io crate tulip-derivative 2.2.1 [INFO] tweaked toml for crates.io crate tulip-derivative 2.2.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 30 packages to latest compatible versions [INFO] [stderr] Adding runtime-macros-derive v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding trybuild v1.0.22 (available: v1.0.99) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.22 [INFO] [stderr] Downloaded runtime-macros-derive v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ba70de367b108575684f25ef8e145abde6947a8d5d64f753c08361403700507 [INFO] running `Command { std: "docker" "start" "-a" "4ba70de367b108575684f25ef8e145abde6947a8d5d64f753c08361403700507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ba70de367b108575684f25ef8e145abde6947a8d5d64f753c08361403700507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ba70de367b108575684f25ef8e145abde6947a8d5d64f753c08361403700507", kill_on_drop: false }` [INFO] [stdout] 4ba70de367b108575684f25ef8e145abde6947a8d5d64f753c08361403700507 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe279b91bf207612a3bba4e6eb721c1b4f1543665054c033eef4c45a6af271c6 [INFO] running `Command { std: "docker" "start" "-a" "fe279b91bf207612a3bba4e6eb721c1b4f1543665054c033eef4c45a6af271c6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking runtime-macros-derive v0.4.0 [INFO] [stderr] Checking tulip-derivative v2.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/lib.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Field<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub span: proc_macro2::Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/lib.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde v1.0.210 [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Field<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub span: proc_macro2::Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking trybuild v1.0.22 [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-issue-6341.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-clone-generic-enum.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-copyclone.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/issue-58.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-enum-single-variant.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-copyclone.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-clone-generic-enum.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-6341.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-copyclone.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[derivative(Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-copyclone.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-6341.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-issue-6341.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-clone-generic-enum.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(Clone)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-clone-generic-enum.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-copyclone.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-copyclone.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | #[derivative(Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-copyclone.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> tests/rustc-deriving-copyclone.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(not(tarpaulin_include))] // The intended effect is for this function not to be called! [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/issue-58.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Default, Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | / define! { [INFO] [stdout] 42 | | struct; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/issue-58.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/issue-58.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | / define! { [INFO] [stdout] 42 | | struct; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | / define! { [INFO] [stdout] 50 | | struct { [INFO] [stdout] 51 | | foo: u8 [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-enum-single-variant.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | / define! { [INFO] [stdout] 50 | | struct { [INFO] [stdout] 51 | | foo: u8 [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | / define! { [INFO] [stdout] 61 | | struct<'a> { [INFO] [stdout] 62 | | foo: u8, [INFO] [stdout] 63 | | bar: &'a str, [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-issue-6341") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | / define! { [INFO] [stdout] 61 | | struct<'a> { [INFO] [stdout] 62 | | foo: u8, [INFO] [stdout] 63 | | bar: &'a str, [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | / define! { [INFO] [stdout] 73 | | struct<'a> (u8, &'a str); [INFO] [stdout] 74 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-enum-single-variant.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[derivative(PartialEq="feature_allow_slow_enum")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-enum-single-variant.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-zero-sized-btreemap-insert.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for enum `E` in the current scope [INFO] [stdout] --> tests/rustc-deriving-clone-generic-enum.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 22 | enum E { [INFO] [stdout] | ----------- method `clone` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 30 | let _ = E::A::(1).clone(); [INFO] [stdout] | ^^^^^ method not found in `E` [INFO] [stdout] | [INFO] [stdout] note: the method `clone` exists on the type `isize` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/clone.rs:165:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `OurOur1` in the current scope [INFO] [stdout] --> tests/rustc-deriving-copyclone.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 48 | struct OurOur1(Liar); [INFO] [stdout] | -------------- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 58 | let _ = OurOur1(Liar).clone(); [INFO] [stdout] | ^^^^^ method not found in `OurOur1` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | / define! { [INFO] [stdout] 73 | | struct<'a> (u8, &'a str); [INFO] [stdout] 74 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `OurOur2` in the current scope [INFO] [stdout] --> tests/rustc-deriving-copyclone.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 51 | struct OurOur2(Liar); [INFO] [stdout] | -------------- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 60 | let _ = OurOur2(Liar).clone(); [INFO] [stdout] | ^^^^^ method not found in `OurOur2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | / define! { [INFO] [stdout] 82 | | enum { [INFO] [stdout] 83 | | A, B, C [INFO] [stdout] 84 | | } [INFO] [stdout] 85 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | / define! { [INFO] [stdout] 82 | | enum { [INFO] [stdout] 83 | | A, B, C [INFO] [stdout] 84 | | } [INFO] [stdout] 85 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | / define! { [INFO] [stdout] 94 | | enum { [INFO] [stdout] 95 | | A, B = 42, C [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Foo` doesn't implement `Debug` [INFO] [stdout] --> tests/issue-58.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | println!("foo = {:?}", foo1); [INFO] [stdout] | ^^^^ `Foo` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Foo` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Foo` or manually `impl Debug for Foo` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Foo` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 11 + #[derive(Debug)] [INFO] [stdout] 12 | pub struct Foo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-clone-generic-enum") due to 5 previous errors [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | / define! { [INFO] [stdout] 94 | | enum { [INFO] [stdout] 95 | | A, B = 42, C [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | / define! { [INFO] [stdout] 106 | | enum { [INFO] [stdout] 107 | | A, B = 42, C=1 [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-zero-sized-btreemap-insert.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | / define! { [INFO] [stdout] 106 | | enum { [INFO] [stdout] 107 | | A, B = 42, C=1 [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-zero-sized-btreemap-insert.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[derivative(Eq, Hash, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-zero-sized-btreemap-insert.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | #[derivative(Hash="ignore")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-copyclone") due to 8 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-enum-single-variant") due to 4 previous errors [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> tests/derive-hash.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "issue-58") due to 5 previous errors [INFO] [stdout] error[E0277]: the trait bound `Zst: Eq` is not satisfied [INFO] [stdout] --> tests/rustc-zero-sized-btreemap-insert.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Ord, PartialOrd)] [INFO] [stdout] | ^^^ the trait `Eq` is not implemented for `Zst` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Ord` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/cmp.rs:820:1 [INFO] [stdout] = note: this error originates in the derive macro `Ord` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Zst` with `#[derive(Eq)]` [INFO] [stdout] | [INFO] [stdout] 24 + #[derive(Eq)] [INFO] [stdout] 25 | struct Zst; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `B` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 17 | enum B { V1, V2, V3 } [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `B: Debug` or `B: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 65 | assert_eq!(B::V1.to_show(), "V1".to_string()); [INFO] [stdout] | ^^^^^^^ `B` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: trait bound `B: Debug` was not satisfied [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `B` or manually `impl Debug for B` [INFO] [stdout] help: consider annotating `B` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Debug)] [INFO] [stdout] 18 | enum B { V1, V2, V3 } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `Zst` with `Zst` [INFO] [stdout] --> tests/rustc-zero-sized-btreemap-insert.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Ord, PartialOrd)] [INFO] [stdout] | ^^^^^^^^^^ no implementation for `Zst == Zst` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `Zst` [INFO] [stdout] note: required by a bound in `PartialOrd` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/cmp.rs:1136:1 [INFO] [stdout] = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Zst` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 24 + #[derive(PartialEq)] [INFO] [stdout] 25 | struct Zst; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `B` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 17 | enum B { V1, V2, V3 } [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `B: Debug` or `B: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 66 | assert_eq!(B::V2.to_show(), "V2".to_string()); [INFO] [stdout] | ^^^^^^^ `B` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: trait bound `B: Debug` was not satisfied [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `B` or manually `impl Debug for B` [INFO] [stdout] help: consider annotating `B` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Debug)] [INFO] [stdout] 18 | enum B { V1, V2, V3 } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `C` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 21 | enum C { V1(isize), V2(B), V3(String) } [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `C: Debug` or `C: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 67 | assert_eq!(C::V1(3).to_show(), "V1(3)".to_string()); [INFO] [stdout] | ^^^^^^^ `C` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Debug` was not satisfied [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `C` or manually `impl Debug for C` [INFO] [stdout] help: consider annotating `C` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(Debug)] [INFO] [stdout] 22 | enum C { V1(isize), V2(B), V3(String) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `C` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 21 | enum C { V1(isize), V2(B), V3(String) } [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `C: Debug` or `C: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 68 | assert_eq!(C::V2(B::V2).to_show(), "V2(V2)".to_string()); [INFO] [stdout] | ^^^^^^^ `C` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Debug` was not satisfied [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `C` or manually `impl Debug for C` [INFO] [stdout] help: consider annotating `C` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(Debug)] [INFO] [stdout] 22 | enum C { V1(isize), V2(B), V3(String) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(fake_hash(Ours), fake_hash(Theirs)); [INFO] [stdout] | --------- ^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] help: consider annotating `main::Ours` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 42 + #[derive(Hash)] [INFO] [stdout] 43 | struct; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `D` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 25 | enum D { V1{ a: isize } } [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `D: Debug` or `D: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 69 | assert_eq!(D::V1{ a: 2 }.to_show(), "V1 { a: 2 }".to_string()); [INFO] [stdout] | ^^^^^^^ `D` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: trait bound `D: Debug` was not satisfied [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `D` or manually `impl Debug for D` [INFO] [stdout] note: the method `to_show` exists on the type `isize` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_show(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider annotating `D` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 25 + #[derive(Debug)] [INFO] [stdout] 26 | enum D { V1{ a: isize } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(fake_hash(Ours { foo: 0 }), fake_hash(Theirs { foo: 0 })); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] help: consider annotating `main::Ours` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 50 + #[derive(Hash)] [INFO] [stdout] 51 | struct { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(fake_hash(Ours { foo: 42 }), fake_hash(Theirs { foo: 42 })); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] help: consider annotating `main::Ours` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 50 + #[derive(Hash)] [INFO] [stdout] 51 | struct { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours<'_>: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(fake_hash(Ours { foo: 0, bar: "bar" }), fake_hash(Theirs { foo: 0, bar: "bar" })); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `main::Ours<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] help: consider annotating `main::Ours<'_>` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 61 + #[derive(Hash)] [INFO] [stdout] 62 | struct<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `E` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 29 | struct E; [INFO] [stdout] | -------- method `to_show` not found for this struct because it doesn't satisfy `E: Debug` or `E: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 70 | assert_eq!(E.to_show(), "E".to_string()); [INFO] [stdout] | ^^^^^^^ `E` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: trait bound `E: Debug` was not satisfied [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `E` or manually `impl Debug for E` [INFO] [stdout] help: consider annotating `E` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 29 + #[derive(Debug)] [INFO] [stdout] 30 | struct E; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours<'_>: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(fake_hash(Ours { foo: 42, bar: "bar" }), fake_hash(Theirs { foo: 42, bar: "bar" })); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `main::Ours<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] help: consider annotating `main::Ours<'_>` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 61 + #[derive(Hash)] [INFO] [stdout] 62 | struct<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours<'_>: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | assert_eq!(fake_hash(Ours ( 0, "bar" )), fake_hash(Theirs ( 0, "bar" ))); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `main::Ours<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] help: consider annotating `main::Ours<'_>` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 73 + #[derive(Hash)] [INFO] [stdout] 74 | struct<'a> (u8, &'a str); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours<'_>: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(fake_hash(Ours ( 42, "bar" )), fake_hash(Theirs ( 42, "bar" ))); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `main::Ours<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] help: consider annotating `main::Ours<'_>` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 73 + #[derive(Hash)] [INFO] [stdout] 74 | struct<'a> (u8, &'a str); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `F` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 32 | struct F(isize); [INFO] [stdout] | -------- method `to_show` not found for this struct because it doesn't satisfy `F: Debug` or `F: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 71 | assert_eq!(F(3).to_show(), "F(3)".to_string()); [INFO] [stdout] | ^^^^^^^ `F` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: trait bound `F: Debug` was not satisfied [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `F` or manually `impl Debug for F` [INFO] [stdout] help: consider annotating `F` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 32 + #[derive(Debug)] [INFO] [stdout] 33 | struct F(isize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | assert_eq!(fake_hash(Ours::A), fake_hash(Theirs::A)); [INFO] [stdout] | --------- ^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] help: consider annotating `main::Ours` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 82 + #[derive(Hash)] [INFO] [stdout] 83 | enum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | assert_eq!(fake_hash(Ours::B), fake_hash(Theirs::B)); [INFO] [stdout] | --------- ^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] help: consider annotating `main::Ours` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 82 + #[derive(Hash)] [INFO] [stdout] 83 | enum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(fake_hash(Ours::C), fake_hash(Theirs::C)); [INFO] [stdout] | --------- ^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] help: consider annotating `main::Ours` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 82 + #[derive(Hash)] [INFO] [stdout] 83 | enum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `G` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 35 | struct G(isize, isize); [INFO] [stdout] | -------- method `to_show` not found for this struct because it doesn't satisfy `G: Debug` or `G: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 72 | assert_eq!(G(3, 4).to_show(), "G(3, 4)".to_string()); [INFO] [stdout] | ^^^^^^^ `G` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: trait bound `G: Debug` was not satisfied [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `G` or manually `impl Debug for G` [INFO] [stdout] help: consider annotating `G` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(Debug)] [INFO] [stdout] 36 | struct G(isize, isize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | assert_eq!(fake_hash(Ours::A), fake_hash(Theirs::A)); [INFO] [stdout] | --------- ^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] help: consider annotating `main::Ours` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 94 + #[derive(Hash)] [INFO] [stdout] 95 | enum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | assert_eq!(fake_hash(Ours::B), fake_hash(Theirs::B)); [INFO] [stdout] | --------- ^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] help: consider annotating `main::Ours` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 94 + #[derive(Hash)] [INFO] [stdout] 95 | enum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(fake_hash(Ours::C), fake_hash(Theirs::C)); [INFO] [stdout] | --------- ^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] help: consider annotating `main::Ours` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 94 + #[derive(Hash)] [INFO] [stdout] 95 | enum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | assert_eq!(fake_hash(Ours::A), fake_hash(Theirs::A)); [INFO] [stdout] | --------- ^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] help: consider annotating `main::Ours` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 106 + #[derive(Hash)] [INFO] [stdout] 107 | enum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(fake_hash(Ours::B), fake_hash(Theirs::B)); [INFO] [stdout] | --------- ^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] help: consider annotating `main::Ours` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 106 + #[derive(Hash)] [INFO] [stdout] 107 | enum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `I` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 41 | struct I { a: isize, b: isize } [INFO] [stdout] | -------- method `to_show` not found for this struct because it doesn't satisfy `I: Debug` or `I: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 73 | assert_eq!(I{ a: 2, b: 4 }.to_show(), "I { a: 2, b: 4 }".to_string()); [INFO] [stdout] | ^^^^^^^ `I` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: trait bound `I: Debug` was not satisfied [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `I` or manually `impl Debug for I` [INFO] [stdout] help: consider annotating `I` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 41 + #[derive(Debug)] [INFO] [stdout] 42 | struct I { a: isize, b: isize } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(fake_hash(Ours::C), fake_hash(Theirs::C)); [INFO] [stdout] | --------- ^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] help: consider annotating `main::Ours` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 106 + #[derive(Hash)] [INFO] [stdout] 107 | enum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-zero-sized-btreemap-insert") due to 6 previous errors [INFO] [stdout] error[E0277]: the trait bound `main::Ours<'_>: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:132:30 [INFO] [stdout] | [INFO] [stdout] 132 | assert_eq!(fake_hash(Ours { foo: 0, bar: "bar", baz: 312 }), fake_hash(Theirs { foo: 0, baz: 312 })); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `main::Ours<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] help: consider annotating `main::Ours<'_>` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 119 + #[derive(Hash)] [INFO] [stdout] 120 | struct Ours<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `J` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 44 | struct J(Custom); [INFO] [stdout] | -------- method `to_show` not found for this struct because it doesn't satisfy `J: Debug` or `J: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 74 | assert_eq!(J(Custom).to_show(), "J(yay)".to_string()); [INFO] [stdout] | ^^^^^^^ `J` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: trait bound `J: Debug` was not satisfied [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `J` or manually `impl Debug for J` [INFO] [stdout] help: consider annotating `J` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 44 + #[derive(Debug)] [INFO] [stdout] 45 | struct J(Custom); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours<'_>: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | assert_eq!(fake_hash(Ours { foo: 42, bar: "bar", baz: 312 }), fake_hash(Theirs { foo: 42, baz: 312 })); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `main::Ours<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] help: consider annotating `main::Ours<'_>` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 119 + #[derive(Hash)] [INFO] [stdout] 120 | struct Ours<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 36 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-show-2") due to 32 previous errors [INFO] [stderr] error: could not compile `tulip-derivative` (test "derive-hash") due to 37 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fe279b91bf207612a3bba4e6eb721c1b4f1543665054c033eef4c45a6af271c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe279b91bf207612a3bba4e6eb721c1b4f1543665054c033eef4c45a6af271c6", kill_on_drop: false }` [INFO] [stdout] fe279b91bf207612a3bba4e6eb721c1b4f1543665054c033eef4c45a6af271c6